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