景区管控

l
chenfeng 7 months ago
parent 6da7c23450
commit bc4b33006e
  1. 4
      src/main/java/com/cjy/back/ybsjAppointment/dao/YbsjyAppointmentRecordMapper.xml
  2. 9
      src/main/java/com/cjy/back/ybsjAppointment/entity/vo/GetAppointmentRecordVO.java

@ -142,7 +142,9 @@
<if test="getAppointmentRecordVO.scenicId !=null and getAppointmentRecordVO.scenicId !='' ">
and t1.scenic_id =#{getAppointmentRecordVO.scenicId}
</if>
<if test="getAppointmentRecordVO.visitTypes !=null and getAppointmentRecordVO.visitTypes !='' ">
and t1.visit_types like concat ('%',#{getAppointmentRecordVO.visitTypes},'%')
</if>
GROUP BY t1.id
ORDER BY t1.create_time desc
</select>

@ -33,6 +33,15 @@ public class GetAppointmentRecordVO {
private String scenicId;
//预约类型
private String appointmentTypeId;
private String visitTypes;
public String getVisitTypes() {
return visitTypes;
}
public void setVisitTypes(String visitTypes) {
this.visitTypes = visitTypes;
}
public String getAppointmentTypeId() {
return appointmentTypeId;

Loading…
Cancel
Save