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
8ab8bb3b
Commit
8ab8bb3b
authored
Oct 11, 2025
by
zhangxingmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
c0ca24a8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletions
+10
-1
yd-csf-feign/src/main/java/com/yd/csf/feign/request/appointmentfile/ApiAppointmentFilePageRequest.java
+8
-0
yd-csf-service/src/main/resources/mappers/AppointmentFileMapper.xml
+2
-1
No files found.
yd-csf-feign/src/main/java/com/yd/csf/feign/request/appointmentfile/ApiAppointmentFilePageRequest.java
View file @
8ab8bb3b
...
@@ -3,6 +3,8 @@ package com.yd.csf.feign.request.appointmentfile;
...
@@ -3,6 +3,8 @@ package com.yd.csf.feign.request.appointmentfile;
import
com.yd.common.dto.PageDto
;
import
com.yd.common.dto.PageDto
;
import
lombok.Data
;
import
lombok.Data
;
import
javax.validation.constraints.NotBlank
;
/**
/**
* 预约附件信息分页查询入参
* 预约附件信息分页查询入参
*/
*/
...
@@ -10,6 +12,12 @@ import lombok.Data;
...
@@ -10,6 +12,12 @@ import lombok.Data;
public
class
ApiAppointmentFilePageRequest
extends
PageDto
{
public
class
ApiAppointmentFilePageRequest
extends
PageDto
{
/**
/**
* 预约信息主表唯一业务ID
*/
@NotBlank
(
message
=
"预约信息主表唯一业务ID不能为空"
)
private
String
appointmentBizId
;
/**
* 文件名
* 文件名
*/
*/
private
String
fileName
;
private
String
fileName
;
...
...
yd-csf-service/src/main/resources/mappers/AppointmentFileMapper.xml
View file @
8ab8bb3b
...
@@ -6,11 +6,12 @@
...
@@ -6,11 +6,12 @@
select af.* from appointment_file af
select af.* from appointment_file af
<where>
<where>
<if
test=
"request.fileName != null and request.fileName != ''"
>
<if
test=
"request.fileName != null and request.fileName != ''"
>
and af.file_name like concat('%', #{request.fileName}, '%')
and af.file_name like concat('%', #{request.fileName}, '%')
</if>
</if>
and af.is_deleted = 0
and af.
appointment_biz_id = #{request.appointmentBizId} and af.
is_deleted = 0
</where>
</where>
</select>
</select>
</mapper>
</mapper>
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