Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
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
8timerv2
8timerapiv200
Commits
06bcf2e9
Commit
06bcf2e9
authored
May 30, 2022
by
翁国栋
Committed by
284718418@qq.com
Mar 30, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
8小时后台--
更新查询条件
parent
9151f508
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
src/main/java/cn/timer/api/dto/insure/PolicyDto.java
+1
-0
src/main/resources/mapping/insure/InsureUserMapper.xml
+6
-0
No files found.
src/main/java/cn/timer/api/dto/insure/PolicyDto.java
View file @
06bcf2e9
...
@@ -45,4 +45,5 @@ public class PolicyDto {
...
@@ -45,4 +45,5 @@ public class PolicyDto {
private
Integer
policyId
;
private
Integer
policyId
;
private
Integer
applyType
;
private
Integer
applyType
;
private
String
monthD
;
private
String
monthD
;
private
String
userName
;
}
}
src/main/resources/mapping/insure/InsureUserMapper.xml
View file @
06bcf2e9
...
@@ -329,6 +329,12 @@
...
@@ -329,6 +329,12 @@
<if
test=
"policyDto.policyDateStart !=null and policyDto.policyDateStart !='' and policyDto.policyDateEnd !=null and policyDto.policyDateEnd !=''"
>
<if
test=
"policyDto.policyDateStart !=null and policyDto.policyDateStart !='' and policyDto.policyDateEnd !=null and policyDto.policyDateEnd !=''"
>
and iu.create_time BETWEEN #{policyDto.policyDateStart} and #{policyDto.policyDateEnd}
and iu.create_time BETWEEN #{policyDto.policyDateStart} and #{policyDto.policyDateEnd}
</if>
</if>
<if
test=
"policyDto.userName !=null and policyDto.userName !='' "
>
and yme.`name` like CONCAT('%',#{policyDto.userName},'%')
</if>
<if
test=
"policyDto.zjNum !=null and policyDto.zjNum !='' "
>
and yme.zj_num like CONCAT('%',#{policyDto.zjNum},'%')
</if>
</where>
</where>
order by iu.create_time desc
order by iu.create_time desc
...
...
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