Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-csf
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xingmin
yd-csf
Commits
b145b71b
Commit
b145b71b
authored
Sep 30, 2025
by
zhangxingmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
6e4bc45a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
19 deletions
+25
-19
yd-csf-feign/src/main/java/com/yd/csf/feign/request/appointment/ApiAppointmentPageRequest.java
+3
-0
yd-csf-service/src/main/resources/mappers/AppointmentMapper.xml
+22
-19
No files found.
yd-csf-feign/src/main/java/com/yd/csf/feign/request/appointment/ApiAppointmentPageRequest.java
View file @
b145b71b
package
com
.
yd
.
csf
.
feign
.
request
.
appointment
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.yd.common.dto.PageDto
;
import
lombok.Data
;
import
java.time.LocalDateTime
;
...
...
@@ -38,10 +39,12 @@ public class ApiAppointmentPageRequest extends PageDto {
/**
* 确定预约开始时间
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
LocalDateTime
startTime
;
/**
* 确定预约结束时间
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
LocalDateTime
endTime
;
}
yd-csf-service/src/main/resources/mappers/AppointmentMapper.xml
View file @
b145b71b
...
...
@@ -28,31 +28,34 @@
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
<if
test=
"request.status != null"
>
and a.status = #{request.status}
</if>
<where>
<if
test=
"request.status != null"
>
and a.status = #{request.status}
</if>
<if
test=
"request.appointmentNo != null and request.appointmentNo != ''"
>
and a.appointment_no like concat('%', #{request.appointmentNo}, '%')
</if>
<if
test=
"request.appointmentNo != null and request.appointmentNo != ''"
>
and a.appointment_no like concat('%', #{request.appointmentNo}, '%')
</if>
<if
test=
"request.customerNo != null and request.customerNo != ''"
>
and a.customer_no like concat('%', #{request.customerNo}, '%')
</if>
<if
test=
"request.customerNo != null and request.customerNo != ''"
>
and a.customer_no like concat('%', #{request.customerNo}, '%')
</if>
<if
test=
"request.productBizId != null and request.productBizId != ''"
>
and pp.product_biz_id = #{request.productBizId}
</if>
<if
test=
"request.productBizId != null and request.productBizId != ''"
>
and pp.product_biz_id = #{request.productBizId}
</if>
<if
test=
"request.startTime != null"
>
and a.confirm_appointment_time
>
= #{request.startTime}
</if>
<if
test=
"request.startTime != null"
>
and a.confirm_appointment_time
>
= #{request.startTime}
</if>
<if
test=
"request.endTime != null"
>
and a.confirm_appointment_time
<
= #{request.endTime}
</if>
<if
test=
"request.endTime != null"
>
and a.confirm_appointment_time
<
= #{request.endTime}
</if>
and a.is_deleted = 0
and a.is_deleted = 0
</where>
order by a.create_time desc
</select>
<select
id=
"getItineraryDto"
resultType=
"com.yd.csf.service.dto.ItineraryDto"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment