Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangxinjiang
yifu-mvp
Commits
54d2561d
Commit
54d2561d
authored
Aug 30, 2022
by
查济
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-zhaji' into 'develop'
Feature zhaji See merge request fangxinjiang/yifu!211
parents
ec86982f
a467f97f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
35 deletions
+35
-35
TInsuranceDetailMapper.xml
...in/resources/mapper/insurances/TInsuranceDetailMapper.xml
+35
-35
No files found.
yifu-insurances/yifu-insurances-biz/src/main/resources/mapper/insurances/TInsuranceDetailMapper.xml
View file @
54d2561d
...
...
@@ -133,7 +133,7 @@
and detail.CREATE_NAME like concat('%',replace(replace(#{param.createName},'_','\_'),'%','\%'),'%')
</if>
<if
test=
"param.startDate != null and param.startDate.trim() != '' and param.endDate != null and param.endDate.trim() != ''"
>
and detail.CREATE_TIME
<![CDATA[ >= ]]>
concat(#{param.startDate}, '
00:00:00') and detail.CREATE_TIME
<![CDATA[ <= ]]>
concat(#{param.endDate}, '
23:59:59')
and detail.CREATE_TIME
<![CDATA[ >= ]]>
concat(#{param.startDate}, '
00:00:00') and detail.CREATE_TIME
<![CDATA[ <= ]]>
concat(#{param.endDate}, '
23:59:59')
</if>
ORDER BY detail.BUY_HANDLE_STATUS,detail.CREATE_TIME DESC
</select>
...
...
@@ -194,7 +194,7 @@
and detail.CREATE_NAME like concat('%',replace(replace(#{param.createName},'_','\_'),'%','\%'),'%')
</if>
<if
test=
"param.startDate != null and param.startDate.trim() != '' and param.endDate != null and param.endDate.trim() != ''"
>
and detail.CREATE_TIME
<![CDATA[ >= ]]>
concat(#{param.startDate}, '
00:00:00') and detail.CREATE_TIME
<![CDATA[ <= ]]>
concat(#{param.endDate}, '
23:59:59')
and detail.CREATE_TIME
<![CDATA[ >= ]]>
concat(#{param.startDate}, '
00:00:00') and detail.CREATE_TIME
<![CDATA[ <= ]]>
concat(#{param.endDate}, '
23:59:59')
</if>
ORDER BY detail.BUY_HANDLE_STATUS,detail.CREATE_TIME DESC
</select>
...
...
@@ -254,7 +254,7 @@
and detail.CREATE_NAME like concat('%',replace(replace(#{param.createName},'_','\_'),'%','\%'),'%')
</if>
<if
test=
"param.startDate != null and param.startDate.trim() != '' and param.endDate != null and param.endDate.trim() != ''"
>
and detail.CREATE_TIME
<![CDATA[ >= ]]>
concat(#{param.startDate}, '
00:00:00') and detail.CREATE_TIME
<![CDATA[ <= ]]>
concat(#{param.endDate}, '
23:59:59')
and detail.CREATE_TIME
<![CDATA[ >= ]]>
concat(#{param.startDate}, '
00:00:00') and detail.CREATE_TIME
<![CDATA[ <= ]]>
concat(#{param.endDate}, '
23:59:59')
</if>
ORDER BY detail.BUY_HANDLE_STATUS,detail.CREATE_TIME DESC
</select>
...
...
@@ -385,7 +385,7 @@
and detail.CREATE_NAME like concat('%',replace(replace(#{param.createName},'_','\_'),'%','\%'),'%')
</if>
<if
test=
"param.startDate != null and param.startDate.trim() != '' and param.endDate != null and param.endDate.trim() != ''"
>
and detail.CREATE_TIME
<![CDATA[ >= ]]>
concat(#{param.startDate}, '
00:00:00') and detail.CREATE_TIME
<![CDATA[ <= ]]>
concat(#{param.endDate}, '
23:59:59')
and detail.CREATE_TIME
<![CDATA[ >= ]]>
concat(#{param.startDate}, '
00:00:00') and detail.CREATE_TIME
<![CDATA[ <= ]]>
concat(#{param.endDate}, '
23:59:59')
</if>
ORDER BY detail.CREATE_TIME DESC
</select>
...
...
@@ -449,16 +449,16 @@
and detail.POLICY_NO like concat('%',replace(replace(#{param.policyNo},'_','\_'),'%','\%'),'%')
</if>
<if
test=
"param.policyStart != null and param.policyStart.trim() != '' and param.policyEnd == null and param.policyEnd.trim() == ''"
>
AND detail.POLICY_END
<![CDATA[ >= ]]>
concat(#{param.policyStart}, '
00:00:00')
AND detail.POLICY_END
<![CDATA[ >= ]]>
concat(#{param.policyStart}, '00:00:00')
</if>
<if
test=
"param.policyEnd != null and param.policyEnd.trim() != '' and param.policyStart == null and param.policyStart.trim() == ''"
>
AND detail.POLICY_START
<![CDATA[ <= ]]>
concat(#{param.policyEnd}, '
23:59:59')
AND detail.POLICY_START
<![CDATA[ <= ]]>
concat(#{param.policyEnd}, '23:59:59')
</if>
<if
test=
"param.policyStart != null and param.policyStart.trim() != '' and param.policyEnd != null and param.policyEnd.trim() != ''"
>
and (
(detail.POLICY_START
<![CDATA[ <= ]]>
concat(#{param.policyStart}, '
00:00:00') and detail.POLICY_END
<![CDATA[ >= ]]>
concat(#{param.policyEnd}, '
23:59:59')) OR
(detail.POLICY_START
<![CDATA[ >= ]]>
concat(#{param.policyStart}, '
00:00:00') and detail.POLICY_START
<![CDATA[ <= ]]>
concat(#{param.policyEnd}, '
23:59:59')) OR
(detail.POLICY_END
<![CDATA[ >= ]]>
concat(#{param.policyStart}, '
00:00:00') and detail.POLICY_END
<![CDATA[ <= ]]>
concat(#{param.policyEnd}, '
23:59:59'))
(detail.POLICY_START
<![CDATA[ <= ]]>
concat(#{param.policyStart}, '
00:00:00') and detail.POLICY_END
<![CDATA[ >= ]]>
concat(#{param.policyEnd}, '
23:59:59')) OR
(detail.POLICY_START
<![CDATA[ >= ]]>
concat(#{param.policyStart}, '
00:00:00') and detail.POLICY_START
<![CDATA[ <= ]]>
concat(#{param.policyEnd}, '
23:59:59')) OR
(detail.POLICY_END
<![CDATA[ >= ]]>
concat(#{param.policyStart}, '
00:00:00') and detail.POLICY_END
<![CDATA[ <= ]]>
concat(#{param.policyEnd}, '
23:59:59'))
)
</if>
<if
test=
"param.invoiceNo != null and param.invoiceNo.trim() != ''"
>
...
...
@@ -471,10 +471,10 @@
and detail.IS_OVERDUE = #{param.isOverdue}
</if>
<if
test=
"param.createStartTime != null and param.createStartTime.trim() != ''"
>
AND detail.CREATE_TIME
<![CDATA[ >= ]]>
concat(#{param.createStartTime}, '
00:00:00')
AND detail.CREATE_TIME
<![CDATA[ >= ]]>
concat(#{param.createStartTime}, '00:00:00')
</if>
<if
test=
"param.createEndTime != null and param.createEndTime.trim() != ''"
>
AND detail.CREATE_TIME
<![CDATA[ <= ]]>
concat(#{param.createEndTime}, '
23:59:59')
AND detail.CREATE_TIME
<![CDATA[ <= ]]>
concat(#{param.createEndTime}, '23:59:59')
</if>
ORDER BY detail.CREATE_TIME DESC ,detail.ID ASC
</select>
...
...
@@ -536,16 +536,16 @@
and detail.POLICY_NO like concat('%',replace(replace(#{param.policyNo},'_','\_'),'%','\%'),'%')
</if>
<if
test=
"param.policyStart != null and param.policyStart.trim() != '' and param.policyEnd == null and param.policyEnd.trim() == ''"
>
AND detail.POLICY_END
<![CDATA[ >= ]]>
concat(#{param.policyStart}, '
00:00:00')
AND detail.POLICY_END
<![CDATA[ >= ]]>
concat(#{param.policyStart}, '00:00:00')
</if>
<if
test=
"param.policyEnd != null and param.policyEnd.trim() != '' and param.policyStart == null and param.policyStart.trim() == ''"
>
AND detail.POLICY_START
<![CDATA[ <= ]]>
concat(#{param.policyEnd}, '
23:59:59')
AND detail.POLICY_START
<![CDATA[ <= ]]>
concat(#{param.policyEnd}, '23:59:59')
</if>
<if
test=
"param.policyStart != null and param.policyStart.trim() != '' and param.policyEnd != null and param.policyEnd.trim() != ''"
>
and (
(detail.POLICY_START
<![CDATA[ <= ]]>
concat(#{param.policyStart}, '
00:00:00') and detail.POLICY_END
<![CDATA[ >= ]]>
concat(#{param.policyEnd}, '
23:59:59')) OR
(detail.POLICY_START
<![CDATA[ >= ]]>
concat(#{param.policyStart}, '
00:00:00') and detail.POLICY_START
<![CDATA[ <= ]]>
concat(#{param.policyEnd}, '
23:59:59')) OR
(detail.POLICY_END
<![CDATA[ >= ]]>
concat(#{param.policyStart}, '
00:00:00') and detail.POLICY_END
<![CDATA[ <= ]]>
concat(#{param.policyEnd}, '
23:59:59'))
(detail.POLICY_START
<![CDATA[ <= ]]>
concat(#{param.policyStart}, '
00:00:00') and detail.POLICY_END
<![CDATA[ >= ]]>
concat(#{param.policyEnd}, '
23:59:59')) OR
(detail.POLICY_START
<![CDATA[ >= ]]>
concat(#{param.policyStart}, '
00:00:00') and detail.POLICY_START
<![CDATA[ <= ]]>
concat(#{param.policyEnd}, '
23:59:59')) OR
(detail.POLICY_END
<![CDATA[ >= ]]>
concat(#{param.policyStart}, '
00:00:00') and detail.POLICY_END
<![CDATA[ <= ]]>
concat(#{param.policyEnd}, '
23:59:59'))
)
</if>
<if
test=
"param.invoiceNo != null and param.invoiceNo.trim() != ''"
>
...
...
@@ -558,10 +558,10 @@
and detail.IS_OVERDUE = #{param.isOverdue}
</if>
<if
test=
"param.createStartTime != null and param.createStartTime.trim() != ''"
>
AND detail.CREATE_TIME
<![CDATA[ >= ]]>
concat(#{param.createStartTime}, '
00:00:00')
AND detail.CREATE_TIME
<![CDATA[ >= ]]>
concat(#{param.createStartTime}, '00:00:00')
</if>
<if
test=
"param.createEndTime != null and param.createEndTime.trim() != ''"
>
AND detail.CREATE_TIME
<![CDATA[ <= ]]>
concat(#{param.createEndTime}, '
23:59:59')
AND detail.CREATE_TIME
<![CDATA[ <= ]]>
concat(#{param.createEndTime}, '23:59:59')
</if>
ORDER BY detail.CREATE_TIME DESC
</select>
...
...
@@ -610,16 +610,16 @@
and detail.POLICY_NO like concat('%',replace(replace(#{param.policyNo},'_','\_'),'%','\%'),'%')
</if>
<if
test=
"param.policyStart != null and param.policyStart.trim() != '' and param.policyEnd == null and param.policyEnd.trim() == ''"
>
AND detail.POLICY_END
<![CDATA[ >= ]]>
concat(#{param.policyStart}, '
00:00:00')
AND detail.POLICY_END
<![CDATA[ >= ]]>
concat(#{param.policyStart}, '00:00:00')
</if>
<if
test=
"param.policyEnd != null and param.policyEnd.trim() != '' and param.policyStart == null and param.policyStart.trim() == ''"
>
AND detail.POLICY_START
<![CDATA[ <= ]]>
concat(#{param.policyEnd}, '
23:59:59')
AND detail.POLICY_START
<![CDATA[ <= ]]>
concat(#{param.policyEnd}, '23:59:59')
</if>
<if
test=
"param.policyStart != null and param.policyStart.trim() != '' and param.policyEnd != null and param.policyEnd.trim() != ''"
>
and (
(detail.POLICY_START
<![CDATA[ <= ]]>
concat(#{param.policyStart}, '
00:00:00') and detail.POLICY_END
<![CDATA[ >= ]]>
concat(#{param.policyEnd}, '
23:59:59')) OR
(detail.POLICY_START
<![CDATA[ >= ]]>
concat(#{param.policyStart}, '
00:00:00') and detail.POLICY_START
<![CDATA[ <= ]]>
concat(#{param.policyEnd}, '
23:59:59')) OR
(detail.POLICY_END
<![CDATA[ >= ]]>
concat(#{param.policyStart}, '
00:00:00') and detail.POLICY_END
<![CDATA[ <= ]]>
concat(#{param.policyEnd}, '
23:59:59'))
(detail.POLICY_START
<![CDATA[ <= ]]>
concat(#{param.policyStart}, '
00:00:00') and detail.POLICY_END
<![CDATA[ >= ]]>
concat(#{param.policyEnd}, '
23:59:59')) OR
(detail.POLICY_START
<![CDATA[ >= ]]>
concat(#{param.policyStart}, '
00:00:00') and detail.POLICY_START
<![CDATA[ <= ]]>
concat(#{param.policyEnd}, '
23:59:59')) OR
(detail.POLICY_END
<![CDATA[ >= ]]>
concat(#{param.policyStart}, '
00:00:00') and detail.POLICY_END
<![CDATA[ <= ]]>
concat(#{param.policyEnd}, '
23:59:59'))
)
</if>
ORDER BY refund.CREATE_TIME DESC,detail.ID ASC
...
...
@@ -676,16 +676,16 @@
and detail.POLICY_NO like concat('%',replace(replace(#{param.policyNo},'_','\_'),'%','\%'),'%')
</if>
<if
test=
"param.policyStart != null and param.policyStart.trim() != '' and param.policyEnd == null and param.policyEnd.trim() == ''"
>
AND detail.POLICY_END
<![CDATA[ >= ]]>
concat(#{param.policyStart}, '
00:00:00')
AND detail.POLICY_END
<![CDATA[ >= ]]>
concat(#{param.policyStart}, '00:00:00')
</if>
<if
test=
"param.policyEnd != null and param.policyEnd.trim() != '' and param.policyStart == null and param.policyStart.trim() == ''"
>
AND detail.POLICY_START
<![CDATA[ <= ]]>
concat(#{param.policyEnd}, '
23:59:59')
AND detail.POLICY_START
<![CDATA[ <= ]]>
concat(#{param.policyEnd}, '23:59:59')
</if>
<if
test=
"param.policyStart != null and param.policyStart.trim() != '' and param.policyEnd != null and param.policyEnd.trim() != ''"
>
and (
(detail.POLICY_START
<![CDATA[ <= ]]>
concat(#{param.policyStart}, '
00:00:00') and detail.POLICY_END
<![CDATA[ >= ]]>
concat(#{param.policyEnd}, '
23:59:59')) OR
(detail.POLICY_START
<![CDATA[ >= ]]>
concat(#{param.policyStart}, '
00:00:00') and detail.POLICY_START
<![CDATA[ <= ]]>
concat(#{param.policyEnd}, '
23:59:59')) OR
(detail.POLICY_END
<![CDATA[ >= ]]>
concat(#{param.policyStart}, '
00:00:00') and detail.POLICY_END
<![CDATA[ <= ]]>
concat(#{param.policyEnd}, '
23:59:59'))
(detail.POLICY_START
<![CDATA[ <= ]]>
concat(#{param.policyStart}, '
00:00:00') and detail.POLICY_END
<![CDATA[ >= ]]>
concat(#{param.policyEnd}, '
23:59:59')) OR
(detail.POLICY_START
<![CDATA[ >= ]]>
concat(#{param.policyStart}, '
00:00:00') and detail.POLICY_START
<![CDATA[ <= ]]>
concat(#{param.policyEnd}, '
23:59:59')) OR
(detail.POLICY_END
<![CDATA[ >= ]]>
concat(#{param.policyStart}, '
00:00:00') and detail.POLICY_END
<![CDATA[ <= ]]>
concat(#{param.policyEnd}, '
23:59:59'))
)
</if>
ORDER BY refund.CREATE_TIME DESC
...
...
@@ -746,10 +746,10 @@
and refund.CREATE_NAME like concat('%',replace(replace(#{param.createName},'_','\_'),'%','\%'),'%')
</if>
<if
test=
"param.startDate != null and param.startDate.trim() != ''"
>
AND refund.CREATE_TIME
<![CDATA[ >= ]]>
concat(#{param.startDate}, '
00:00:00')
AND refund.CREATE_TIME
<![CDATA[ >= ]]>
concat(#{param.startDate}, '00:00:00')
</if>
<if
test=
"param.endDate != null and param.endDate.trim() != ''"
>
AND refund.CREATE_TIME
<![CDATA[ <= ]]>
concat(#{param.endDate}, '
23:59:59')
AND refund.CREATE_TIME
<![CDATA[ <= ]]>
concat(#{param.endDate}, '23:59:59')
</if>
ORDER BY refund.CREATE_TIME DESC,detail.ID ASC
</select>
...
...
@@ -965,10 +965,10 @@
and detail.EMP_IDCARD_NO like concat('%',replace(replace(#{param.empIdcardNo},'_','\_'),'%','\%'),'%')
</if>
<if
test=
"param.startDate != null and param.startDate.trim() != ''"
>
AND detail.CREATE_TIME
<![CDATA[ >= ]]>
concat(#{param.startDate}, '00:00:00')
AND detail.CREATE_TIME
<![CDATA[ >= ]]>
concat(#{param.startDate}, '00:00:00')
</if>
<if
test=
"param.endDate != null and param.endDate.trim() != ''"
>
AND detail.CREATE_TIME
<![CDATA[ <= ]]>
concat(#{param.endDate}, '
23:59:59')
AND detail.CREATE_TIME
<![CDATA[ <= ]]>
concat(#{param.endDate}, '
23:59:59')
</if>
<if
test=
"param.deptNoList != null"
>
and detail.DEPT_NO in
...
...
@@ -1008,10 +1008,10 @@
and detail.EMP_IDCARD_NO like concat('%',replace(replace(#{param.empIdcardNo},'_','\_'),'%','\%'),'%')
</if>
<if
test=
"param.startDate != null and param.startDate.trim() != ''"
>
AND refund.CREATE_TIME
<![CDATA[ >= ]]>
concat(#{param.startDate}, '00:00:00')
AND refund.CREATE_TIME
<![CDATA[ >= ]]>
concat(#{param.startDate}, '00:00:00')
</if>
<if
test=
"param.endDate != null and param.endDate.trim() != ''"
>
AND refund.CREATE_TIME
<![CDATA[ <= ]]>
concat(#{param.endDate}, '
23:59:59')
AND refund.CREATE_TIME
<![CDATA[ <= ]]>
concat(#{param.endDate}, '
23:59:59')
</if>
<if
test=
"param.deptNoList != null"
>
and detail.DEPT_NO in
...
...
@@ -1052,7 +1052,7 @@
AND detail.CREATE_TIME
<![CDATA[ >= ]]>
concat(#{param.startDate}, '00:00:00')
</if>
<if
test=
"param.endDate != null and param.endDate.trim() != ''"
>
AND detail.CREATE_TIME
<![CDATA[ <= ]]>
concat(#{param.endDate}, '
23:59:59')
AND detail.CREATE_TIME
<![CDATA[ <= ]]>
concat(#{param.endDate}, '23:59:59')
</if>
<if
test=
"param.deptNoList != null"
>
and detail.DEPT_NO in
...
...
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