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
24c3a189
Commit
24c3a189
authored
Apr 24, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1,业务全过程近30天与详情保持一致
parent
479a59c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
JGDPStatisticsServiceImpl.java
...statistcs/biz/service/impl/JGDPStatisticsServiceImpl.java
+11
-1
No files found.
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 @
24c3a189
...
@@ -351,6 +351,15 @@ public class JGDPStatisticsServiceImpl {
...
@@ -351,6 +351,15 @@ public class JGDPStatisticsServiceImpl {
}
}
}
}
private
void
setDefaultFilter30
(
DPFilterParamDto
dpFilterParamDto
)
{
if
(
StringUtils
.
isEmpty
(
dpFilterParamDto
.
getBeginDate
()))
{
dpFilterParamDto
.
setBeginDate
(
cn
.
hutool
.
core
.
date
.
DateUtil
.
offsetDay
(
new
Date
(),
-
29
).
toDateStr
());
}
if
(
StringUtils
.
isEmpty
(
dpFilterParamDto
.
getEndDate
()))
{
dpFilterParamDto
.
setEndDate
(
DateUtil
.
today
());
}
}
public
Map
<
String
,
Object
>
getCenterMapCountDataForGlobal
(
DPFilterParamDto
dpFilterParamDto
)
{
public
Map
<
String
,
Object
>
getCenterMapCountDataForGlobal
(
DPFilterParamDto
dpFilterParamDto
)
{
Map
<
String
,
Object
>
result
=
new
HashMap
<>();
Map
<
String
,
Object
>
result
=
new
HashMap
<>();
...
@@ -853,7 +862,8 @@ public class JGDPStatisticsServiceImpl {
...
@@ -853,7 +862,8 @@ public class JGDPStatisticsServiceImpl {
public
Map
<
String
,
Object
>
queryBizCycleData
(
DPFilterParamDto
dpFilterParamDto
)
{
public
Map
<
String
,
Object
>
queryBizCycleData
(
DPFilterParamDto
dpFilterParamDto
)
{
Map
<
String
,
Object
>
result
=
new
HashMap
<>();
Map
<
String
,
Object
>
result
=
new
HashMap
<>();
this
.
setDefaultFilter
(
dpFilterParamDto
);
// 近30天
this
.
setDefaultFilter30
(
dpFilterParamDto
);
result
.
put
(
"xdata"
,
Arrays
.
asList
(
"安装告知"
,
"监督检验"
,
"使用登记"
,
"定期检验"
,
"变更登记"
,
"注销报废"
));
result
.
put
(
"xdata"
,
Arrays
.
asList
(
"安装告知"
,
"监督检验"
,
"使用登记"
,
"定期检验"
,
"变更登记"
,
"注销报废"
));
// 进行中
// 进行中
List
<
Long
>
everyFlowingNum
=
this
.
countBizDataInFlowing
(
dpFilterParamDto
);
List
<
Long
>
everyFlowingNum
=
this
.
countBizDataInFlowing
(
dpFilterParamDto
);
...
...
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