@ -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},'%')
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;