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
f3689943
Commit
f3689943
authored
Dec 13, 2022
by
李灿灿
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:保单维护时间区间查询bug修复
parent
11efed77
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
TInsurancePolicyMapper.xml
...in/resources/mapper/insurances/TInsurancePolicyMapper.xml
+4
-4
No files found.
yifu-insurances/yifu-insurances-biz/src/main/resources/mapper/insurances/TInsurancePolicyMapper.xml
View file @
f3689943
...
@@ -36,10 +36,10 @@
...
@@ -36,10 +36,10 @@
and POLICY_NO like concat('%',replace(replace(#{param.policyNo},'_','\_'),'%','\%'),'%')
and POLICY_NO like concat('%',replace(replace(#{param.policyNo},'_','\_'),'%','\%'),'%')
</if>
</if>
<if
test=
"param.policyStart != null and param.policyStart.trim() != ''"
>
<if
test=
"param.policyStart != null and param.policyStart.trim() != ''"
>
AND
POLICY_START
<![CDATA[ >= ]]>
concat(#{param.policyStart},'')
AND
DATE(POLICY_START)
<![CDATA[ >= ]]>
#{param.policyStart}
</if>
</if>
<if
test=
"param.policyEnd != null and param.policyEnd.trim() != ''"
>
<if
test=
"param.policyEnd != null and param.policyEnd.trim() != ''"
>
AND
POLICY_END
<![CDATA[ <= ]]>
concat(#{param.policyEnd},'')
AND
DATE(POLICY_END)
<![CDATA[ <= ]]>
#{param.policyEnd}
</if>
</if>
<if
test=
"param.insuranceCompanyName != null and param.insuranceCompanyName.trim() != ''"
>
<if
test=
"param.insuranceCompanyName != null and param.insuranceCompanyName.trim() != ''"
>
and INSURANCE_COMPANY_NAME like concat('%',replace(replace(#{param.insuranceCompanyName},'_','\_'),'%','\%'),'%')
and INSURANCE_COMPANY_NAME like concat('%',replace(replace(#{param.insuranceCompanyName},'_','\_'),'%','\%'),'%')
...
@@ -62,10 +62,10 @@
...
@@ -62,10 +62,10 @@
and POLICY_NO like concat('%',replace(replace(#{param.policyNo},'_','\_'),'%','\%'),'%')
and POLICY_NO like concat('%',replace(replace(#{param.policyNo},'_','\_'),'%','\%'),'%')
</if>
</if>
<if
test=
"param.policyStart != null and param.policyStart.trim() != ''"
>
<if
test=
"param.policyStart != null and param.policyStart.trim() != ''"
>
AND
POLICY_START
<![CDATA[ >= ]]>
concat(#{param.policyStart},'')
AND
DATE(POLICY_START)
<![CDATA[ >= ]]>
#{param.policyStart}
</if>
</if>
<if
test=
"param.policyEnd != null and param.policyEnd.trim() != ''"
>
<if
test=
"param.policyEnd != null and param.policyEnd.trim() != ''"
>
AND
POLICY_END
<![CDATA[ <= ]]>
concat(#{param.policyEnd},'')
AND
DATE(POLICY_END)
<![CDATA[ <= ]]>
#{param.policyEnd}
</if>
</if>
<if
test=
"param.insuranceCompanyName != null and param.insuranceCompanyName.trim() != ''"
>
<if
test=
"param.insuranceCompanyName != null and param.insuranceCompanyName.trim() != ''"
>
and INSURANCE_COMPANY_NAME like concat('%',replace(replace(#{param.insuranceCompanyName},'_','\_'),'%','\%'),'%')
and INSURANCE_COMPANY_NAME like concat('%',replace(replace(#{param.insuranceCompanyName},'_','\_'),'%','\%'),'%')
...
...
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