Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-zx-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
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
Jobs
Commits
Open sidebar
项目统一框架
一体化_户用光伏项目代码
amos-boot-zx-biz
Commits
91757556
Commit
91757556
authored
Jul 22, 2024
by
yangyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
对接聚富通
parent
4f2e454e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
8 deletions
+18
-8
HygfIcbcRecordMapper.xml
.../src/main/resources/mapper/mysql/HygfIcbcRecordMapper.xml
+18
-8
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/mysql/HygfIcbcRecordMapper.xml
View file @
91757556
...
@@ -18,16 +18,21 @@
...
@@ -18,16 +18,21 @@
ph.is_delete = 0
ph.is_delete = 0
<if
test=
"param != null"
>
<if
test=
"param != null"
>
<if
test=
"param.openAccountStatus != null and param.openAccountStatus != ''"
>
<if
test=
"param.openAccountStatus != null and param.openAccountStatus != ''"
>
AND icbc.protocol_status = #{param.openAccountStatus}
<if
test=
"param.openAccountStatus != '00'"
>
AND icbc.protocol_status = #{param.openAccountStatus}
</if>
<if
test=
"param.openAccountStatus == '00'"
>
AND (icbc.protocol_status = #{param.openAccountStatus} OR icbc.protocol_status is null)
</if>
</if>
</if>
<if
test=
"param.custName != null and param.custName != ''"
>
<if
test=
"param.custName != null and param.custName != ''"
>
AND
ph.owners_name LIKE CONCAT('%', #{param.custName}, '%'
)
AND
(ph.owners_name LIKE CONCAT('%', #{param.custName}, '%') OR icbc.cust_name LIKE CONCAT('%', #{param.custName}, '%')
)
</if>
</if>
<if
test=
"param.idCard != null and param.idCard != ''"
>
<if
test=
"param.idCard != null and param.idCard != ''"
>
AND
ph.id_card LIKE CONCAT('%', #{param.idCard}, '%'
)
AND
(ph.id_card LIKE CONCAT('%', #{param.idCard}, '%') OR icbc.id_card LIKE CONCAT('%', #{param.idCard}, '%')
)
</if>
</if>
<if
test=
"param.phone != null and param.phone != ''"
>
<if
test=
"param.phone != null and param.phone != ''"
>
AND
ph.telephone LIKE CONCAT('%', #{param.phone}, '%'
)
AND
(ph.telephone LIKE CONCAT('%', #{param.phone}, '%') OR icbc.phone LIKE CONCAT('%', #{param.phone}, '%')
)
</if>
</if>
<if
test=
"param.regionalCompaniesName != null and param.regionalCompaniesName != ''"
>
<if
test=
"param.regionalCompaniesName != null and param.regionalCompaniesName != ''"
>
AND ph.regional_companies_name LIKE CONCAT('%', #{param.regionalCompaniesName}, '%')
AND ph.regional_companies_name LIKE CONCAT('%', #{param.regionalCompaniesName}, '%')
...
@@ -54,16 +59,21 @@
...
@@ -54,16 +59,21 @@
ph.is_delete = 0
ph.is_delete = 0
<if
test=
"param != null"
>
<if
test=
"param != null"
>
<if
test=
"param.openAccountStatus != null and param.openAccountStatus != ''"
>
<if
test=
"param.openAccountStatus != null and param.openAccountStatus != ''"
>
AND icbc.protocol_status = #{param.openAccountStatus}
<if
test=
"param.openAccountStatus != '00'"
>
AND icbc.protocol_status = #{param.openAccountStatus}
</if>
<if
test=
"param.openAccountStatus == '00'"
>
AND (icbc.protocol_status = #{param.openAccountStatus} OR icbc.protocol_status is null)
</if>
</if>
</if>
<if
test=
"param.custName != null and param.custName != ''"
>
<if
test=
"param.custName != null and param.custName != ''"
>
AND
ph.owners_name LIKE CONCAT('%', #{param.custName}, '%'
)
AND
(ph.owners_name LIKE CONCAT('%', #{param.custName}, '%') OR icbc.cust_name LIKE CONCAT('%', #{param.custName}, '%')
)
</if>
</if>
<if
test=
"param.idCard != null and param.idCard != ''"
>
<if
test=
"param.idCard != null and param.idCard != ''"
>
AND
ph.id_card LIKE CONCAT('%', #{param.idCard}, '%'
)
AND
(ph.id_card LIKE CONCAT('%', #{param.idCard}, '%') OR icbc.id_card LIKE CONCAT('%', #{param.idCard}, '%')
)
</if>
</if>
<if
test=
"param.phone != null and param.phone != ''"
>
<if
test=
"param.phone != null and param.phone != ''"
>
AND
ph.telephone LIKE CONCAT('%', #{param.phone}, '%'
)
AND
(ph.telephone LIKE CONCAT('%', #{param.phone}, '%') OR icbc.phone LIKE CONCAT('%', #{param.phone}, '%')
)
</if>
</if>
<if
test=
"param.regionalCompaniesName != null and param.regionalCompaniesName != ''"
>
<if
test=
"param.regionalCompaniesName != null and param.regionalCompaniesName != ''"
>
AND ph.regional_companies_name LIKE CONCAT('%', #{param.regionalCompaniesName}, '%')
AND ph.regional_companies_name LIKE CONCAT('%', #{param.regionalCompaniesName}, '%')
...
...
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