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
fa44fce8
Commit
fa44fce8
authored
Aug 13, 2024
by
tianyiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
特设大屏-监管页面-右屏使用办理的设备情况统计
parent
952d9cf4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
DPStatisticsMapper.xml
...e-jg-api/src/main/resources/mapper/DPStatisticsMapper.xml
+2
-2
JGDPStatisticsServiceImpl.java
...statistcs/biz/service/impl/JGDPStatisticsServiceImpl.java
+5
-6
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/DPStatisticsMapper.xml
View file @
fa44fce8
...
...
@@ -117,7 +117,7 @@
privilege_company pc
INNER JOIN tz_base_enterprise_info bi ON bi.supervise_org_code LIKE CONCAT ( pc.org_code, '%' )
INNER JOIN tzs_jg_use_registration ur ON ur.use_unit_credit_code = bi.use_unit_code
AND ur.
audit_
status = '已完成'
AND ur.status = '已完成'
INNER JOIN tzs_jg_use_registration_eq te ON te.equip_transfer_id = ur.sequence_nbr
INNER JOIN idx_biz_jg_register_info jri ON te.equ_id = jri.record
WHERE
...
...
@@ -187,7 +187,7 @@
privilege_company pc
INNER JOIN tz_base_enterprise_info bi ON bi.supervise_org_code LIKE CONCAT ( pc.org_code, '%' )
INNER JOIN tzs_jg_vehicle_information ur ON ur.use_unit_credit_code = bi.use_unit_code
AND ur.
audit_
status = '已完成'
AND ur.status = '已完成'
INNER JOIN tzs_jg_vehicle_information_eq te ON te.vehicle_id = ur.sequence_nbr
INNER JOIN idx_biz_jg_register_info jri ON te.equ_id = jri.record
WHERE
...
...
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 @
fa44fce8
...
...
@@ -14,7 +14,6 @@ import com.yeejoin.amos.boot.module.jg.api.mapper.*;
import
com.yeejoin.amos.boot.module.statistics.api.mapper.ZLStatisticsMapper
;
import
com.yeejoin.amos.boot.module.ymt.api.dto.EquipmentCategoryDto
;
import
com.yeejoin.amos.boot.module.ymt.api.enums.EquimentEnum
;
import
com.yeejoin.amos.boot.module.ymt.api.enums.EquipmentClassifityEnum
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.TzBaseEnterpriseInfoMapper
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.TzsUserInfoMapper
;
import
com.yeejoin.amos.feign.systemctl.model.RegionModel
;
...
...
@@ -1299,10 +1298,10 @@ public class JGDPStatisticsServiceImpl {
List
<
Map
<
String
,
Object
>>
uselist
=
dpStatisticsMapper
.
useEquCount
(
dpFilterParamDto
.
getCityCode
(),
startTime
);
Map
<
String
,
Integer
>
useCountMap
=
new
HashMap
<>();
countNoticEquList
(
useCountMap
,
uselist
);
//
气瓶使用登记
List
<
Map
<
String
,
Object
>>
vehicleList
=
dpStatisticsMapper
.
vehicleEquCount
(
dpFilterParamDto
.
getCityCode
(),
startTime
);
Map
<
String
,
Integer
>
vehicleCountMap
=
new
HashMap
<>();
countNoticEquList
(
vehicleCountMap
,
vehicleList
);
//
车用气瓶使用登记-
//
List<Map<String, Object>> vehicleList = dpStatisticsMapper.vehicleEquCount(dpFilterParamDto.getCityCode(), startTime);
//
Map<String, Integer> vehicleCountMap = new HashMap<>();
//
countNoticEquList(vehicleCountMap, vehicleList);
//改造变更登记
List
<
Map
<
String
,
Object
>>
changeReformList
=
dpStatisticsMapper
.
changeReformEquCount
(
dpFilterParamDto
.
getCityCode
(),
startTime
);
Map
<
String
,
Integer
>
changeReformCountMap
=
new
HashMap
<>();
...
...
@@ -1343,7 +1342,7 @@ public class JGDPStatisticsServiceImpl {
List
unitModifyRegistration
=
new
ArrayList
<>();
for
(
int
i
=
0
;
i
<
xDataList
.
size
();
i
++)
{
if
(
i
==
0
)
{
useRegistration
.
add
(
vehicl
eCountMap
.
getOrDefault
(
"2300"
,
0
));
useRegistration
.
add
(
us
eCountMap
.
getOrDefault
(
"2300"
,
0
));
modificateModifyRegistration
.
add
(
changeReformCountMap
.
getOrDefault
(
"2300"
,
0
));
transloadingModifyRegistration
.
add
(
changeTransferCountMap
.
getOrDefault
(
"2300"
,
0
));
unitModifyRegistration
.
add
(
changeUnitCountMap
.
getOrDefault
(
"2300"
,
0
));
...
...
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