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
046bf4c7
Commit
046bf4c7
authored
Oct 12, 2024
by
tianyiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
大屏检验检测、监管列表添加业务状态筛选
parent
ffc7fd68
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
168 additions
and
0 deletions
+168
-0
DPFilterParamDto.java
...oin/amos/boot/module/common/api/dto/DPFilterParamDto.java
+5
-0
DPFilterParamForDetailDto.java
...boot/module/common/api/dto/DPFilterParamForDetailDto.java
+5
-0
JGStatisticsMapper.xml
...tics-api/src/main/resources/mapper/JGStatisticsMapper.xml
+156
-0
JGDPStatisticsServiceImpl.java
...statistcs/biz/service/impl/JGDPStatisticsServiceImpl.java
+1
-0
JYJCDPStatisticsServiceImpl.java
...atistcs/biz/service/impl/JYJCDPStatisticsServiceImpl.java
+1
-0
No files found.
amos-boot-system-tzs/amos-boot-module-common/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/dto/DPFilterParamDto.java
View file @
046bf4c7
...
...
@@ -80,4 +80,9 @@ public class DPFilterParamDto {
* 设备类别code
*/
private
String
equCategoryCode
;
/**
* 业务状态
*/
private
String
status
;
}
amos-boot-system-tzs/amos-boot-module-common/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/dto/DPFilterParamForDetailDto.java
View file @
046bf4c7
...
...
@@ -103,4 +103,9 @@ public class DPFilterParamForDetailDto {
*/
private
String
address
;
/**
* 业务状态
*/
private
String
status
;
}
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-api/src/main/resources/mapper/JGStatisticsMapper.xml
View file @
046bf4c7
...
...
@@ -960,6 +960,12 @@
<if
test=
"dto.equCategoryCode != null and dto.equCategoryCode != ''"
>
and equ_category_code = #{dto.equCategoryCode}
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status != '6616'"
>
and notice_status != 6616
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status == '6616'"
>
and notice_status = 6616
</if>
</if>
<if
test=
"treeValue != null"
>
union all
...
...
@@ -1002,6 +1008,12 @@
<if
test=
"dto.equCategoryCode != null and dto.equCategoryCode != ''"
>
and equ_category = #{dto.equCategoryCode}
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status != '6616'"
>
and notice_status != 6616
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status == '6616'"
>
and notice_status = 6616
</if>
</if>
<if
test=
"treeValue != null"
>
union all
...
...
@@ -1044,6 +1056,12 @@
<if
test=
"dto.equCategoryCode != null and dto.equCategoryCode != ''"
>
and equ_category_code = #{dto.equCategoryCode}
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status != '6616'"
>
and notice_status != 6616
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status == '6616'"
>
and notice_status = 6616
</if>
</if>
<if
test=
"treeValue != null"
>
union all
...
...
@@ -1088,6 +1106,12 @@
<if
test=
"dto.equCategoryCode != null and dto.equCategoryCode != ''"
>
and ri.EQU_CATEGORY = #{dto.equCategoryCode}
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status != '6616'"
>
and notice_status != 6616
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status == '6616'"
>
and notice_status = 6616
</if>
GROUP BY tn.sequence_nbr
</if>
order by createDate desc
...
...
@@ -1133,6 +1157,12 @@
<if
test=
"dto.equCategoryCode != null and dto.equCategoryCode != ''"
>
and ri.EQU_CATEGORY = #{dto.equCategoryCode}
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status != '6616'"
>
and tjur.status != '已完成'
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status == '6616'"
>
and tjur.status = '已完成'
</if>
</if>
<if
test=
"treeValue != null"
>
union all
...
...
@@ -1177,6 +1207,12 @@
<if
test=
"dto.equCategoryCode != null and dto.equCategoryCode != ''"
>
and ri.EQU_CATEGORY = #{dto.equCategoryCode}
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status != '6616'"
>
and tjvi.status != '已完成'
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status == '6616'"
>
and tjvi.status = '已完成'
</if>
GROUP BY tjvi.sequence_nbr
</if>
order by createDate desc
...
...
@@ -1222,6 +1258,12 @@
<if
test=
"dto.equCategoryCode != null and dto.equCategoryCode != ''"
>
and ri.EQU_CATEGORY = #{dto.equCategoryCode}
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status != '6616'"
>
and tjcrr.audit_status != '已完成'
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status == '6616'"
>
and tjcrr.audit_status = '已完成'
</if>
GROUP BY tjcrr.sequence_nbr
</if>
<if
test=
"treeValue != null"
>
...
...
@@ -1267,6 +1309,12 @@
<if
test=
"dto.equCategoryCode != null and dto.equCategoryCode != ''"
>
and ri.EQU_CATEGORY = #{dto.equCategoryCode}
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status != '6616'"
>
and tjcrt.audit_status != '已完成'
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status == '6616'"
>
and tjcrt.audit_status = '已完成'
</if>
GROUP BY tjcrt.sequence_nbr
</if>
<if
test=
"treeValue != null"
>
...
...
@@ -1312,6 +1360,12 @@
<if
test=
"dto.equCategoryCode != null and dto.equCategoryCode != ''"
>
and ri.EQU_CATEGORY = #{dto.equCategoryCode}
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status != '6616'"
>
and tjcru.status != '已完成'
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status == '6616'"
>
and tjcru.status = '已完成'
</if>
GROUP BY tjcru.sequence_nbr
</if>
<if
test=
"treeValue != null"
>
...
...
@@ -1357,6 +1411,12 @@
<if
test=
"dto.equCategoryCode != null and dto.equCategoryCode != ''"
>
and 1 = 2
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status != '6616'"
>
and tjcrn.audit_status != '已完成'
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status == '6616'"
>
and tjcrn.audit_status = '已完成'
</if>
GROUP BY tjcrn.sequence_nbr
</if>
order by createDate desc
...
...
@@ -1404,6 +1464,12 @@
<if
test=
"dto.equCategoryCode != null and dto.equCategoryCode != ''"
>
and ri.EQU_CATEGORY = #{dto.equCategoryCode}
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status != '6616'"
>
and tjed.audit_status != '已完成'
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status == '6616'"
>
and tjed.audit_status = '已完成'
</if>
GROUP BY tjed.sequence_nbr
</if>
<if
test=
"treeValue != null"
>
...
...
@@ -1451,6 +1517,12 @@
<if
test=
"dto.equCategoryCode != null and dto.equCategoryCode != ''"
>
and ri.EQU_CATEGORY = #{dto.equCategoryCode}
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status != '6616'"
>
and tjed.audit_status != '已完成'
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status == '6616'"
>
and tjed.audit_status = '已完成'
</if>
GROUP BY tjed.sequence_nbr
</if>
order by createDate desc
...
...
@@ -1498,6 +1570,12 @@
<if
test=
"dto.equCategoryCode != null and dto.equCategoryCode != ''"
>
and ri.EQU_CATEGORY = #{dto.equCategoryCode}
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status != '6616'"
>
and tjsc.audit_status != '已完成'
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status == '6616'"
>
and tjsc.audit_status = '已完成'
</if>
GROUP BY tjsc.sequence_nbr
</if>
<if
test=
"treeValue != null"
>
...
...
@@ -1545,6 +1623,12 @@
<if
test=
"dto.equCategoryCode != null and dto.equCategoryCode != ''"
>
and ri.EQU_CATEGORY = #{dto.equCategoryCode}
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status != '6616'"
>
and tjsc.audit_status != '已完成'
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status == '6616'"
>
and tjsc.audit_status = '已完成'
</if>
GROUP BY tjsc.sequence_nbr
</if>
order by createDate desc
...
...
@@ -1588,6 +1672,12 @@
<if
test=
"dto.equCategoryCode != null and dto.equCategoryCode != ''"
>
and equ_category_code = #{dto.equCategoryCode}
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status != '6616'"
>
and notice_status != 6616
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status == '6616'"
>
and notice_status = 6616
</if>
</if>
<if
test=
"treeValue != null"
>
union all
...
...
@@ -1630,6 +1720,12 @@
<if
test=
"dto.equCategoryCode != null and dto.equCategoryCode != ''"
>
and equ_category = #{dto.equCategoryCode}
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status != '6616'"
>
and notice_status != 6616
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status == '6616'"
>
and notice_status = 6616
</if>
</if>
<if
test=
"treeValue != null"
>
union all
...
...
@@ -1672,6 +1768,12 @@
<if
test=
"dto.equCategoryCode != null and dto.equCategoryCode != ''"
>
and equ_category_code = #{dto.equCategoryCode}
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status != '6616'"
>
and notice_status != 6616
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status == '6616'"
>
and notice_status = 6616
</if>
</if>
<if
test=
"treeValue != null"
>
union all
...
...
@@ -1716,6 +1818,12 @@
<if
test=
"dto.equCategoryCode != null and dto.equCategoryCode != ''"
>
and ri.EQU_CATEGORY = #{dto.equCategoryCode}
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status != '6616'"
>
and notice_status != 6616
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status == '6616'"
>
and notice_status = 6616
</if>
GROUP BY tn.sequence_nbr
</if>
<if
test=
"treeValue != null"
>
...
...
@@ -1761,6 +1869,12 @@
<if
test=
"dto.equCategoryCode != null and dto.equCategoryCode != ''"
>
and ri.EQU_CATEGORY = #{dto.equCategoryCode}
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status != '6616'"
>
and tjur.status != '已完成'
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status == '6616'"
>
and tjur.status = '已完成'
</if>
</if>
<if
test=
"treeValue != null"
>
union all
...
...
@@ -1805,6 +1919,12 @@
<if
test=
"dto.equCategoryCode != null and dto.equCategoryCode != ''"
>
and ri.EQU_CATEGORY = #{dto.equCategoryCode}
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status != '6616'"
>
and tjvi.status != '已完成'
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status == '6616'"
>
and tjvi.status = '已完成'
</if>
GROUP BY tjvi.sequence_nbr
</if>
<if
test=
"treeValue != null"
>
...
...
@@ -1850,6 +1970,12 @@
<if
test=
"dto.equCategoryCode != null and dto.equCategoryCode != ''"
>
and ri.EQU_CATEGORY = #{dto.equCategoryCode}
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status != '6616'"
>
and tjcrr.audit_status != '已完成'
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status == '6616'"
>
and tjcrr.audit_status = '已完成'
</if>
GROUP BY tjcrr.sequence_nbr
</if>
<if
test=
"treeValue != null"
>
...
...
@@ -1895,6 +2021,12 @@
<if
test=
"dto.equCategoryCode != null and dto.equCategoryCode != ''"
>
and ri.EQU_CATEGORY = #{dto.equCategoryCode}
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status != '6616'"
>
and tjcrt.audit_status != '已完成'
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status == '6616'"
>
and tjcrt.audit_status = '已完成'
</if>
GROUP BY tjcrt.sequence_nbr
</if>
<if
test=
"treeValue != null"
>
...
...
@@ -1940,6 +2072,12 @@
<if
test=
"dto.equCategoryCode != null and dto.equCategoryCode != ''"
>
and ri.EQU_CATEGORY = #{dto.equCategoryCode}
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status != '6616'"
>
and tjcru.status != '已完成'
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status == '6616'"
>
and tjcru.status = '已完成'
</if>
GROUP BY tjcru.sequence_nbr
</if>
<if
test=
"treeValue != null"
>
...
...
@@ -1985,6 +2123,12 @@
<if
test=
"dto.equCategoryCode != null and dto.equCategoryCode != ''"
>
and 1 = 2
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status != '6616'"
>
and tjcrn.audit_status != '已完成'
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status == '6616'"
>
and tjcrn.audit_status = '已完成'
</if>
GROUP BY tjcrn.sequence_nbr
</if>
<if
test=
"treeValue != null"
>
...
...
@@ -2034,6 +2178,12 @@
<if
test=
"dto.equCategoryCode != null and dto.equCategoryCode != ''"
>
and ri.EQU_CATEGORY = #{dto.equCategoryCode}
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status != '6616'"
>
and tjed.audit_status != '已完成'
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status == '6616'"
>
and tjed.audit_status = '已完成'
</if>
GROUP BY tjed.sequence_nbr
</if>
<if
test=
"treeValue != null"
>
...
...
@@ -2083,6 +2233,12 @@
<if
test=
"dto.equCategoryCode != null and dto.equCategoryCode != ''"
>
and ri.EQU_CATEGORY = #{dto.equCategoryCode}
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status != '6616'"
>
and tjsc.audit_status != '已完成'
</if>
<if
test=
"dto.status != null and dto.status != '' and dto.status == '6616'"
>
and tjsc.audit_status = '已完成'
</if>
GROUP BY tjsc.sequence_nbr
</if>
</select>
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/java/com/yeejoin/amos/boot/module/statistcs/biz/service/impl/JGDPStatisticsServiceImpl.java
View file @
046bf4c7
...
...
@@ -3345,6 +3345,7 @@ public class JGDPStatisticsServiceImpl {
filterParamDto
.
setBusinessTypeCode
(
dpFilterParamForDetailDto
.
getBusinessTypeCode
());
filterParamDto
.
setEquCategoryCode
(
dpFilterParamForDetailDto
.
getEquCategoryCode
());
filterParamDto
.
setEquListCode
(
dpFilterParamForDetailDto
.
getEquListCode
());
filterParamDto
.
setStatus
(
dpFilterParamForDetailDto
.
getStatus
());
if
(
null
!=
dpFilterParamForDetailDto
.
getTimeSearchOne
())
{
filterParamDto
.
setBeginDate
(
dpFilterParamForDetailDto
.
getTimeSearchOne
().
getBeginDate
());
filterParamDto
.
setEndDate
(
dpFilterParamForDetailDto
.
getTimeSearchOne
().
getEndDate
());
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/java/com/yeejoin/amos/boot/module/statistcs/biz/service/impl/JYJCDPStatisticsServiceImpl.java
View file @
046bf4c7
...
...
@@ -1113,6 +1113,7 @@ public class JYJCDPStatisticsServiceImpl {
filterParamDto
.
setSuperviseUnitName
(
dpFilterParamForDetailDto
.
getSuperviseUnitName
());
filterParamDto
.
setEquListCode
(
dpFilterParamForDetailDto
.
getEquListCode
());
filterParamDto
.
setEquCategoryCode
(
dpFilterParamForDetailDto
.
getEquCategoryCode
());
filterParamDto
.
setStatus
(
dpFilterParamForDetailDto
.
getStatus
());
if
(
null
!=
dpFilterParamForDetailDto
.
getTimeSearchOne
())
{
filterParamDto
.
setBeginDate
(
dpFilterParamForDetailDto
.
getTimeSearchOne
().
getBeginDate
());
filterParamDto
.
setEndDate
(
dpFilterParamForDetailDto
.
getTimeSearchOne
().
getEndDate
());
...
...
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