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
a6401720
Commit
a6401720
authored
Dec 16, 2025
by
刘林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(大屏):大屏接口修改
parent
4aae199e
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
20 deletions
+24
-20
JgEnableDisableMapper.xml
...g-api/src/main/resources/mapper/JgEnableDisableMapper.xml
+2
-1
JgScrapCancelMapper.xml
...-jg-api/src/main/resources/mapper/JgScrapCancelMapper.xml
+2
-0
JgUseRegistrationMapper.xml
...api/src/main/resources/mapper/JgUseRegistrationMapper.xml
+10
-18
JGDPStatisticsServiceImpl.java
...statistcs/biz/service/impl/JGDPStatisticsServiceImpl.java
+10
-1
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgEnableDisableMapper.xml
View file @
a6401720
...
...
@@ -137,7 +137,8 @@
INNER JOIN tzs_jg_enable_disable_eq tjede ON tjede.enable_disable_apply_id = tjed.sequence_nbr
INNER JOIN idx_biz_jg_register_info jri ON tjede.equ_id = jri.record
WHERE pc.company_code = #{cityCode}
AND ( tjed.audit_pass_date BETWEEN #{ beginDate } AND #{ endDate } )
AND tjed.audit_pass_date
<![CDATA[ >= ]]>
#{beginDate}
AND tjed.audit_pass_date
<![CDATA[ < ]]>
#{endDate}
AND tjed.is_delete = 0
GROUP BY jri.equ_category
</select>
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgScrapCancelMapper.xml
View file @
a6401720
...
...
@@ -269,6 +269,8 @@
INNER JOIN idx_biz_jg_register_info jri ON tjsce.equ_id = jri.record
WHERE pc.company_code = #{cityCode}
AND ( tjsc.audit_pass_date BETWEEN #{ beginDate } AND #{ endDate } )
AND tjsc.audit_pass_date
<![CDATA[ >= ]]>
#{beginDate}
AND tjsc.audit_pass_date
<![CDATA[ < ]]>
#{endDate}
AND tjsc.is_delete = 0
GROUP BY jri.equ_category
</select>
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgUseRegistrationMapper.xml
View file @
a6401720
...
...
@@ -1500,7 +1500,8 @@
INNER JOIN tzs_jg_use_registration_eq tjure ON tjure.equip_transfer_id = tjur.sequence_nbr
INNER JOIN idx_biz_jg_register_info jri ON tjure.equ_id = jri.record
WHERE pc.company_code = #{cityCode}
and (tjur.audit_pass_date between #{beginDate} and #{endDate})
AND tjur.audit_pass_date
<![CDATA[ >= ]]>
#{beginDate}
AND tjur.audit_pass_date
<![CDATA[ < ]]>
#{endDate}
and tjur.is_delete = 0
GROUP BY jri.equ_category
</select>
...
...
@@ -1574,34 +1575,25 @@
ORDER BY ui.REC_DATE DESC
</select>
<select
id=
"stopStateCount"
resultType=
"java.util.Map"
>
SELECT COUNT
( * ),
SELECT COUNT(*),
EQU_LIST as equList,
EQU_CATEGORY as equCategory
FROM
idx_biz_jg_register_info
WHERE
"RECORD" IN (
SELECT
equ_id
FROM
tzs_jg_enable_disable_eq
WHERE
"enable_disable_apply_id" IN (
SELECT A
.sequence_nbr
FROM
tzs_jg_enable_disable
A LEFT JOIN tz_base_enterprise_info b ON A.use_unit_credit_code = b.use_unit_code
WHERE
A.audit_status LIKE'%已完成%'
SELECT equ_id FROM tzs_jg_enable_disable_eq
WHERE "enable_disable_apply_id" IN (
SELECT A.sequence_nbr
FROM tzs_jg_enable_disable A
LEFT JOIN tz_base_enterprise_info b ON A.use_unit_credit_code = b.use_unit_code
WHERE A.audit_status LIKE'%已完成%'
AND b.supervise_org_code LIKE concat ( #{orgCode}, '%' )
AND A.apply_type = 'SB_TY'
AND A.audit_pass_date > CURDATE ( ) - 30
)
)
GROUP BY
"EQU_CATEGORY"
GROUP BY "EQU_CATEGORY"
</select>
<select
id=
"cancelStateCount"
resultType=
"java.util.Map"
>
...
...
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 @
a6401720
...
...
@@ -300,7 +300,7 @@ public class JGDPStatisticsServiceImpl {
public
Map
<
String
,
Object
>
useRegisterCountByEquList
(
DPFilterParamDto
dpFilterParamDto
)
{
// 1.查询条件构造未上送时间时,默认查询数据为近一个月数据
this
.
setDefaultFilter
(
dpFilterParamDto
);
this
.
applyDefaultDateRange
(
dpFilterParamDto
);
// 2.按照前端约定格式返回数据
Map
<
String
,
Object
>
result
=
new
HashMap
<>();
List
<
LegendDataDto
>
legendDataDtos
=
this
.
buildLegendDataList
();
...
...
@@ -375,6 +375,15 @@ public class JGDPStatisticsServiceImpl {
}
}
private
void
applyDefaultDateRange
(
DPFilterParamDto
dpFilterParamDto
)
{
if
(
StringUtils
.
isEmpty
(
dpFilterParamDto
.
getBeginDate
()))
{
dpFilterParamDto
.
setBeginDate
(
cn
.
hutool
.
core
.
date
.
DateUtil
.
offsetDay
(
new
Date
(),
-
30
).
toDateStr
());
}
if
(
StringUtils
.
isEmpty
(
dpFilterParamDto
.
getEndDate
()))
{
dpFilterParamDto
.
setEndDate
(
cn
.
hutool
.
core
.
date
.
DateUtil
.
offsetDay
(
new
Date
(),
1
).
toDateStr
());
}
}
private
void
setDefaultFilter30
(
DPFilterParamDto
dpFilterParamDto
)
{
if
(
StringUtils
.
isEmpty
(
dpFilterParamDto
.
getBeginDate
()))
{
dpFilterParamDto
.
setBeginDate
(
cn
.
hutool
.
core
.
date
.
DateUtil
.
offsetDay
(
new
Date
(),
-
29
).
toDateStr
());
...
...
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