Commit b145b71b by zhangxingmin

push

parent 6e4bc45a
package com.yd.csf.feign.request.appointment; package com.yd.csf.feign.request.appointment;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yd.common.dto.PageDto; import com.yd.common.dto.PageDto;
import lombok.Data; import lombok.Data;
import java.time.LocalDateTime; import java.time.LocalDateTime;
...@@ -38,10 +39,12 @@ public class ApiAppointmentPageRequest extends PageDto { ...@@ -38,10 +39,12 @@ public class ApiAppointmentPageRequest extends PageDto {
/** /**
* 确定预约开始时间 * 确定预约开始时间
*/ */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime startTime; private LocalDateTime startTime;
/** /**
* 确定预约结束时间 * 确定预约结束时间
*/ */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime endTime; private LocalDateTime endTime;
} }
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
left join policyholder p on a.appointment_biz_id = p.appointment_biz_id and p.is_deleted = 0 left join policyholder p on a.appointment_biz_id = p.appointment_biz_id and p.is_deleted = 0
left join insurant i on a.appointment_biz_id = i.appointment_biz_id and i.is_deleted = 0 left join insurant i on a.appointment_biz_id = i.appointment_biz_id and i.is_deleted = 0
<where>
<if test="request.status != null"> <if test="request.status != null">
and a.status = #{request.status} and a.status = #{request.status}
</if> </if>
...@@ -53,6 +54,8 @@ ...@@ -53,6 +54,8 @@
</if> </if>
and a.is_deleted = 0 and a.is_deleted = 0
</where>
order by a.create_time desc
</select> </select>
<select id="getItineraryDto" resultType="com.yd.csf.service.dto.ItineraryDto"> <select id="getItineraryDto" resultType="com.yd.csf.service.dto.ItineraryDto">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment