Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
Overview
Overview
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
haoban3.0
haoban-manage3.0
Commits
5a23f2bd
Commit
5a23f2bd
authored
Nov 30, 2023
by
guojx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
趋势图
parent
0970f50f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
DataController.java
...gic/haoban/manage/web/controller/data/DataController.java
+6
-0
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/data/DataController.java
View file @
5a23f2bd
...
...
@@ -28,6 +28,7 @@ import com.gic.haoban.manage.web.qo.data.HandleQO;
import
com.gic.haoban.manage.web.utils.DateFillUtils
;
import
com.gic.haoban.manage.web.utils.StoreAuthUtils
;
import
com.gic.haoban.manage.web.vo.data.DataMemberExtendVO
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
@@ -46,6 +47,7 @@ import java.util.stream.Collectors;
*/
@Controller
@RequestMapping
(
"data"
)
@Slf4j
public
class
DataController
{
@Autowired
private
StoreAuthUtils
storeAuthUtils
;
...
...
@@ -160,7 +162,11 @@ public class DataController {
(
jsonObject
.
getInteger
(
"storeGroup"
)
==
3
||
jsonObject
.
getInteger
(
"storeGroup"
)
==
4
))
||
(
apolloKey
.
contains
(
"data_mbr"
)
&&
jsonObject
.
getInteger
(
"storeGroup"
)
==
2
));
if
(
isNeedFill
)
{
log
.
info
(
"需要补零"
);
List
<
JSONObject
>
resultList
=
DataApiUtils
.
getDataList
(
res
);
if
(
CollectionUtils
.
isEmpty
(
resultList
))
{
resultList
=
new
ArrayList
<>();
}
List
<
String
>
dateTypeList
=
null
;
if
(
apolloKey
.
contains
(
"day"
))
{
dateTypeList
=
DateFillUtils
.
getDay
(
jsonObject
.
getString
(
"bizDate"
));
...
...
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