Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-data-cloud
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
base_platform_enterprise
gic-data-cloud
Commits
bd9c2fc0
Commit
bd9c2fc0
authored
Aug 20, 2020
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
观云台小程序
parent
c8028cb8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
IndexController.java
...in/java/com/gic/cloud/web/controller/IndexController.java
+8
-0
No files found.
gic-data-cloud-wxapp/src/main/java/com/gic/cloud/web/controller/IndexController.java
View file @
bd9c2fc0
package
com
.
gic
.
cloud
.
web
.
controller
;
import
com.alibaba.fastjson.JSON
;
import
com.gic.api.base.commons.ServiceResponse
;
import
com.gic.cloud.dto.FunctionDTO
;
import
com.gic.cloud.dto.FunctionModuleDTO
;
...
...
@@ -21,6 +22,8 @@ import com.gic.data.api.dto.*;
import
com.gic.data.api.service.IndexSalesApiService
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.logging.log4j.LogManager
;
import
org.apache.logging.log4j.Logger
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
...
...
@@ -30,6 +33,7 @@ import java.util.List;
@RestController
public
class
IndexController
{
private
Logger
log
=
LogManager
.
getLogger
(
IndexController
.
class
);
@Autowired
private
IndexSalesApiService
indexSalesApiService
;
@Autowired
...
...
@@ -85,6 +89,10 @@ public class IndexController {
ServiceResponse
<
IndexMemberBirthCntDTO
>
birthOrderCnt
=
this
.
indexSalesApiService
.
getIndexMemberBirthOrderCnt
(
enterpriseId
,
list
,
onLine
,
StringUtils
.
isNoneBlank
(
mbrAreaId
)
?
Long
.
valueOf
(
mbrAreaId
)
:
null
,
mbrAreaIdList
,
dateTypeQo
.
getType
(),
dateTypeQo
.
getDate
());
log
.
info
(
"response1:"
,
JSON
.
toJSONString
(
response1
));
log
.
info
(
"response2:"
,
JSON
.
toJSONString
(
response2
));
log
.
info
(
"oldOrderCnt:"
,
JSON
.
toJSONString
(
oldOrderCnt
));
log
.
info
(
"birthOrderCnt:"
,
JSON
.
toJSONString
(
birthOrderCnt
));
IndexConsume
consume
=
new
IndexConsume
();
if
(
response1
.
isSuccess
()
&&
response1
.
getResult
()
!=
null
&&
response2
.
getResult
()
!=
null
){
IndexMemberOrderCntDTO
indexMemberOrderCntDTO1
=
response1
.
getResult
();
...
...
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