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
600951f8
Commit
600951f8
authored
Aug 16, 2024
by
麻笑宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
下钻接口修改类型筛选
parent
6478c5c3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
3 deletions
+19
-3
JyjcInspectionApplicationMapper.xml
...main/resources/mapper/JyjcInspectionApplicationMapper.xml
+3
-3
JYJCDPStatisticsServiceImpl.java
...atistcs/biz/service/impl/JYJCDPStatisticsServiceImpl.java
+16
-0
No files found.
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-api/src/main/resources/mapper/JyjcInspectionApplicationMapper.xml
View file @
600951f8
...
@@ -351,7 +351,7 @@
...
@@ -351,7 +351,7 @@
<if
test=
"dto.endDate != null and dto.endDate != ''"
>
<if
test=
"dto.endDate != null and dto.endDate != ''"
>
and date_le(CAST(a.accept_date as date),#{dto.endDate})
and date_le(CAST(a.accept_date as date),#{dto.endDate})
</if>
</if>
<if
test=
'businessType !=null and businessType !="" and businessType !="0"'
>
<if
test=
"businessType !=null and businessType !=''"
>
and a.inspection_type = #{businessType}
and a.inspection_type = #{businessType}
</if>
</if>
</select>
</select>
...
@@ -371,7 +371,7 @@
...
@@ -371,7 +371,7 @@
<if
test=
"dto.endDate != null and dto.endDate != ''"
>
<if
test=
"dto.endDate != null and dto.endDate != ''"
>
and date_le(CAST(a.application_date as date),#{dto.endDate})
and date_le(CAST(a.application_date as date),#{dto.endDate})
</if>
</if>
<if
test=
'businessType !=null and businessType !="" and businessType !="0"'
>
<if
test=
"businessType !=null and businessType !=''"
>
and a.inspection_type = #{businessType}
and a.inspection_type = #{businessType}
</if>
</if>
</select>
</select>
...
@@ -397,7 +397,7 @@
...
@@ -397,7 +397,7 @@
<if
test=
"dto.superviseUnitName != null and dto.superviseUnitName != ''"
>
<if
test=
"dto.superviseUnitName != null and dto.superviseUnitName != ''"
>
and inspection_unit_name like CONCAT('%', #{dto.superviseUnitName}, '%')
and inspection_unit_name like CONCAT('%', #{dto.superviseUnitName}, '%')
</if>
</if>
<if
test=
'businessType !=null and businessType !="" and businessType != "0"'
>
<if
test=
"businessType !=null and businessType !=''"
>
and a.inspection_type = #{businessType}
and a.inspection_type = #{businessType}
</if>
</if>
</select>
</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/JYJCDPStatisticsServiceImpl.java
View file @
600951f8
...
@@ -946,6 +946,11 @@ public class JYJCDPStatisticsServiceImpl {
...
@@ -946,6 +946,11 @@ public class JYJCDPStatisticsServiceImpl {
if
(
orgCode
==
null
)
{
if
(
orgCode
==
null
)
{
return
0L
;
return
0L
;
}
}
if
(
null
!=
businessType
){
if
(
"0"
.
equals
(
businessType
)){
return
inspectionApplicationMapper
.
countBizFinishedNumForDP
(
orgCode
,
dpFilterParamDto
,
null
);
}
}
return
inspectionApplicationMapper
.
countBizFinishedNumForDP
(
orgCode
,
dpFilterParamDto
,
businessType
);
return
inspectionApplicationMapper
.
countBizFinishedNumForDP
(
orgCode
,
dpFilterParamDto
,
businessType
);
}
}
...
@@ -954,6 +959,11 @@ public class JYJCDPStatisticsServiceImpl {
...
@@ -954,6 +959,11 @@ public class JYJCDPStatisticsServiceImpl {
if
(
orgCode
==
null
)
{
if
(
orgCode
==
null
)
{
return
0L
;
return
0L
;
}
}
if
(
null
!=
businessType
){
if
(
"0"
.
equals
(
businessType
)){
return
inspectionApplicationMapper
.
countBizFinishedNumForDP
(
orgCode
,
dpFilterParamDto
,
null
);
}
}
return
inspectionApplicationMapper
.
countAllInFlowingForDPNoFinishedBizData
(
orgCode
,
dpFilterParamDto
,
businessType
);
return
inspectionApplicationMapper
.
countAllInFlowingForDPNoFinishedBizData
(
orgCode
,
dpFilterParamDto
,
businessType
);
}
}
...
@@ -967,6 +977,12 @@ public class JYJCDPStatisticsServiceImpl {
...
@@ -967,6 +977,12 @@ public class JYJCDPStatisticsServiceImpl {
filterParamDto
.
setBeginDate
(
dpFilterParamForDetailDto
.
getTimeSearchOne
().
getBeginDate
());
filterParamDto
.
setBeginDate
(
dpFilterParamForDetailDto
.
getTimeSearchOne
().
getBeginDate
());
filterParamDto
.
setEndDate
(
dpFilterParamForDetailDto
.
getTimeSearchOne
().
getEndDate
());
filterParamDto
.
setEndDate
(
dpFilterParamForDetailDto
.
getTimeSearchOne
().
getEndDate
());
}
}
if
(
null
!=
dpFilterParamForDetailDto
.
getTreeValue
()){
if
(
"0"
.
equals
(
dpFilterParamForDetailDto
.
getTreeValue
())){
Page
<
Map
<
String
,
Object
>>
maps
=
inspectionApplicationMapper
.
getInspectDetailList
(
page
,
orgCode
,
filterParamDto
,
null
);
return
maps
;
}
}
Page
<
Map
<
String
,
Object
>>
maps
=
inspectionApplicationMapper
.
getInspectDetailList
(
page
,
orgCode
,
filterParamDto
,
dpFilterParamForDetailDto
.
getTreeValue
());
Page
<
Map
<
String
,
Object
>>
maps
=
inspectionApplicationMapper
.
getInspectDetailList
(
page
,
orgCode
,
filterParamDto
,
dpFilterParamForDetailDto
.
getTreeValue
());
return
maps
;
return
maps
;
}
}
...
...
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