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
982b2cdd
Commit
982b2cdd
authored
Dec 05, 2024
by
麻笑宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
特种设备bug修改
parent
11ce7833
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
12 deletions
+32
-12
AQZSDPStatisticsMapper.xml
...-api/src/main/resources/mapper/AQZSDPStatisticsMapper.xml
+1
-1
JGStatisticsMapper.xml
...tics-api/src/main/resources/mapper/JGStatisticsMapper.xml
+30
-10
AQZSDPStatisticsServiceImpl.java
...atistcs/biz/service/impl/AQZSDPStatisticsServiceImpl.java
+1
-1
No files found.
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-api/src/main/resources/mapper/AQZSDPStatisticsMapper.xml
View file @
982b2cdd
...
...
@@ -148,7 +148,7 @@
tzs_safety_problem_tracing
WHERE
governing_body_org_code LIKE concat ( #{orgCode}, '%' )
AND DATE_FORMAT ( problem_time, '%Y-%m
' )
= #{time}
AND DATE_FORMAT ( problem_time, '%Y-%m
-%d' )
>
= #{time}
</select>
<select
id=
"cylinderIssueMonthList"
resultType=
"java.util.Map"
>
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-api/src/main/resources/mapper/JGStatisticsMapper.xml
View file @
982b2cdd
...
...
@@ -318,13 +318,29 @@
</select>
<select
id=
"useCountByOrgCode"
resultType=
"java.lang.Long"
>
SELECT
COUNT
( 1
)
SELECT
SUM
( COUNT
)
FROM
tzs_jg_use_registration T
WHERE
T.status = '已完成' and T.is_delete = 0
AND T.receive_company_org_code LIKE CONCAT ( #{orgCode}, '%' )
(
SELECT COUNT
( 1 )
FROM
tzs_jg_use_registration T
WHERE
T.status = '已完成'
AND T.is_delete = 0
AND T.receive_company_org_code LIKE CONCAT ( #{orgCode}, '%' ) UNION ALL
SELECT COUNT
( 1 )
FROM
tzs_jg_vehicle_information T,
privilege_company pc
WHERE
T.status = '已完成'
AND T.is_delete = 0
AND T.receive_company_code = pc.company_code
AND pc.org_code LIKE concat ( #{orgCode}, '%' )
)
</select>
<select
id=
"over15yearsCount"
resultType=
"java.lang.Long"
>
SELECT
...
...
@@ -430,7 +446,8 @@
FROM
tzs_jg_installation_notice T
WHERE
install_start_date
>
= #{time}
handle_date
>
= #{time}
and notice_status != 6617
AND T.receive_company_org_code LIKE CONCAT ( #{orgCode}, '%' ) UNION ALL
SELECT
CONCAT ( T.city_name, T.county_name ) AS location,
...
...
@@ -441,7 +458,8 @@
FROM
tzs_jg_maintain_notice T
WHERE
plan_date
>
= #{time}
accept_date
>
= #{time}
and notice_status != 6617
AND T.receive_company_org_code LIKE CONCAT ( #{orgCode}, '%' ) UNION ALL
SELECT
CONCAT ( T.city_name, T.county_name ) AS location,
...
...
@@ -452,7 +470,8 @@
FROM
tzs_jg_reform_notice T
WHERE
plan_date
>
= #{time}
accept_date
>
= #{time}
and notice_status != 6617
AND T.receive_company_org_code LIKE CONCAT ( #{orgCode}, '%' ) UNION ALL
SELECT
CONCAT ( T.city_name, T.county_name ) AS location,
...
...
@@ -463,7 +482,8 @@
FROM
tzs_jg_transfer_notice T
WHERE
plan_date
>
= #{time}
handle_date
>
= #{time}
and notice_status != 6617
AND T.receive_company_org_code LIKE CONCAT ( #{orgCode}, '%' )) A
ORDER BY A."constructionDate" DESC
</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/AQZSDPStatisticsServiceImpl.java
View file @
982b2cdd
...
...
@@ -689,7 +689,7 @@ public class AQZSDPStatisticsServiceImpl {
if
(
orgCode
==
null
)
{
return
new
ArrayList
<>(
0
);
}
String
time
=
LocalDate
.
now
().
format
(
DateTimeFormatter
.
ofPattern
(
"yyyy-MM
"
));
String
time
=
LocalDate
.
now
().
minusDays
(
29
).
format
(
DateTimeFormatter
.
ofPattern
(
"yyyy-MM-dd
"
));
return
statisticsMapper
.
issueMonthList
(
orgCode
,
time
);
}
...
...
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