Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
1a79b09d
Commit
1a79b09d
authored
Apr 23, 2024
by
韩桐桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):改造变更列表查询修改
parent
5bf001ac
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
JgChangeRegistrationReformMapper.xml
...ain/resources/mapper/JgChangeRegistrationReformMapper.xml
+9
-6
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgChangeRegistrationReformMapper.xml
View file @
1a79b09d
...
...
@@ -20,7 +20,7 @@
jri.PRODUCT_NAME as productName,
jri.EQU_CODE as equCode,
use.USE_INNER_CODE as innerCode,
concat(use.PROVINCE_NAME,use.CITY_NAME,use.COUNTY_NAME,use.STREET_NAME
,use.ADDRESS
) as place,
concat(use.PROVINCE_NAME,use.CITY_NAME,use.COUNTY_NAME,use.STREET_NAME) as place,
use."ADDRESS" as detailedAddress,
ifnull(ur.instance_id, '') as instanceId,
re.equ_id as equipId,
...
...
@@ -47,6 +47,9 @@
<if
test=
"dto.supervisoryCode != null and dto.supervisoryCode != ''"
>
and ur.supervisory_code like concat('%',#{dto.supervisoryCode},'%')
</if>
<if
test=
"dto.useRegistrationCode != null and dto.useRegistrationCode != ''"
>
and ur.use_registration_code like concat('%',#{dto.useRegistrationCode},'%')
</if>
<if
test=
"dto.receiveCompanyCode != null and dto.receiveCompanyCode != ''"
>
and ur.receive_company_code = #{dto.receiveCompanyCode}
</if>
...
...
@@ -54,7 +57,7 @@
and ur.use_unit_name like concat('%',#{dto.useUnitName},'%')
</if>
<if
test=
"dto.applicationDate != null and dto.applicationDate != ''"
>
and ur.
ur.
reg_date like concat('%',DATE_FORMAT(#{dto.applicationDate},'%Y-%m-%d'),'%')
and ur.reg_date like concat('%',DATE_FORMAT(#{dto.applicationDate},'%Y-%m-%d'),'%')
</if>
<if
test=
"dto.equList != null and dto.equList != ''"
>
AND jri."EQU_LIST" = #{dto.equList}
...
...
@@ -73,10 +76,10 @@
</if>
<if
test=
"dto.equAddress != null and dto.equAddress != ''"
>
AND (
ibjui
."PROVINCE_NAME" LIKE CONCAT('%', #{dto.equAddress}, '%')
OR
ibjui
."CITY_NAME" LIKE CONCAT('%', #{dto.equAddress}, '%')
OR
ibjui
."COUNTY_NAME" LIKE CONCAT('%', #{dto.equAddress}, '%')
OR
ibjui
."STREET_NAME" LIKE CONCAT('%', #{dto.equAddress}, '%')
use
."PROVINCE_NAME" LIKE CONCAT('%', #{dto.equAddress}, '%')
OR
use
."CITY_NAME" LIKE CONCAT('%', #{dto.equAddress}, '%')
OR
use
."COUNTY_NAME" LIKE CONCAT('%', #{dto.equAddress}, '%')
OR
use
."STREET_NAME" LIKE CONCAT('%', #{dto.equAddress}, '%')
)
</if>
<if
test=
"roleIds != null and dto.dataType == 'supervision'"
>
...
...
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