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
5083ecf5
Commit
5083ecf5
authored
Apr 23, 2024
by
韩桐桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):改造变更列表查询修改
parent
dce064ff
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
7 deletions
+14
-7
JgChangeRegistrationReformDto.java
...boot/module/jg/api/dto/JgChangeRegistrationReformDto.java
+3
-0
JgChangeRegistrationReformMapper.xml
...ain/resources/mapper/JgChangeRegistrationReformMapper.xml
+11
-7
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/dto/JgChangeRegistrationReformDto.java
View file @
5083ecf5
...
...
@@ -147,4 +147,7 @@ public class JgChangeRegistrationReformDto extends BaseDto {
@ApiModelProperty
(
value
=
"code96333"
)
private
String
code96333
;
@ApiModelProperty
(
value
=
"设备地址"
)
private
String
equAddress
;
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgChangeRegistrationReformMapper.xml
View file @
5083ecf5
...
...
@@ -56,7 +56,7 @@
<if
test=
"dto.applicationDate != null and dto.applicationDate != ''"
>
and ur.ur.reg_date like concat('%',DATE_FORMAT(#{dto.applicationDate},'%Y-%m-%d'),'%')
</if>
<if
test=
"dto.equList
Code != null and dto.equListCode
!= ''"
>
<if
test=
"dto.equList
!= null and dto.equList
!= ''"
>
AND jri."EQU_LIST" = #{dto.equList}
</if>
<if
test=
"dto.equCategory != null and dto.equCategory != ''"
>
...
...
@@ -71,12 +71,12 @@
<if
test=
"dto.code96333 != null and dto.code96333 != ''"
>
AND oi.CODE96333 like concat('%',#{dto.code96333},'%')
</if>
<if
test=
"dto.
address != null and dto.a
ddress != ''"
>
<if
test=
"dto.
equAddress != null and dto.equA
ddress != ''"
>
AND (
ibjui."PROVINCE_NAME" LIKE CONCAT('%', #{dto.
a
ddress}, '%')
OR ibjui."CITY_NAME" LIKE CONCAT('%', #{dto.
a
ddress}, '%')
OR ibjui."COUNTY_NAME" LIKE CONCAT('%', #{dto.
a
ddress}, '%')
OR ibjui."STREET_NAME" LIKE CONCAT('%', #{dto.
a
ddress}, '%')
ibjui."PROVINCE_NAME" LIKE CONCAT('%', #{dto.
equA
ddress}, '%')
OR ibjui."CITY_NAME" LIKE CONCAT('%', #{dto.
equA
ddress}, '%')
OR ibjui."COUNTY_NAME" LIKE CONCAT('%', #{dto.
equA
ddress}, '%')
OR ibjui."STREET_NAME" LIKE CONCAT('%', #{dto.
equA
ddress}, '%')
)
</if>
<if
test=
"roleIds != null and dto.dataType == 'supervision'"
>
...
...
@@ -92,7 +92,11 @@
and (ur.use_unit_credit_code = #{dto.useUnitCreditCode} or (ur.transfer_to_user_ids like concat('%',#{currentUserId},'%')))
</if>
</where>
order by ur.rec_date desc
order by
<if
test=
"sort != null"
>
isn.${sort.field} ${sort.sortType},
</if>
ur.rec_date desc
</select>
<select
id=
"getDetail"
resultType=
"java.util.Map"
>
SELECT jri.EQU_CODE as equCode,
...
...
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