Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-evaluate
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-evaluate
Commits
d77942f4
Commit
d77942f4
authored
May 12, 2020
by
zhiwj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
31dc7c84
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
EvaluateOverviewApiServiceImpl.java
...te/service/outer/impl/EvaluateOverviewApiServiceImpl.java
+4
-5
No files found.
gic-evaluate-service/src/main/java/com/gic/evaluate/service/outer/impl/EvaluateOverviewApiServiceImpl.java
View file @
d77942f4
...
...
@@ -11,7 +11,6 @@ import com.gic.enterprise.response.EnterpriseServiceResponse;
import
com.gic.evaluate.constant.QuickReplyTypeEnum
;
import
com.gic.evaluate.qo.StoreScoreQO
;
import
com.gic.evaluate.qo.StoreTrendQO
;
import
com.gic.evaluate.service.EvaluateMsgLogService
;
import
com.gic.evaluate.service.EvaluateOverviewApiService
;
import
com.gic.evaluate.service.EvaluateQuickService
;
import
com.gic.evaluate.service.EvaluateService
;
...
...
@@ -40,8 +39,8 @@ public class EvaluateOverviewApiServiceImpl implements EvaluateOverviewApiServic
@Autowired
private
EvaluateService
evaluateService
;
@Autowired
private
EvaluateMsgLogService
evaluateMsgLogService
;
//
@Autowired
//
private EvaluateMsgLogService evaluateMsgLogService;
@Autowired
private
EvaluateQuickService
evaluateQuickService
;
@Autowired
...
...
@@ -72,7 +71,7 @@ public class EvaluateOverviewApiServiceImpl implements EvaluateOverviewApiServic
public
ServiceResponse
<
Map
<
String
,
List
<
Map
<
String
,
Object
>>>>
chart3
(
Integer
enterpriseId
,
String
startTime
,
String
endTime
,
List
<
Integer
>
storeIdList
)
{
List
<
Map
<
String
,
Object
>>
listTrendTotalEvaluate
=
this
.
evaluateService
.
listTrendTotalEvaluate
(
enterpriseId
,
startTime
,
endTime
,
storeIdList
);
List
<
Map
<
String
,
Object
>>
listTrendGoodEvaluate
=
this
.
evaluateService
.
listTrendGoodEvaluate
(
enterpriseId
,
startTime
,
endTime
,
storeIdList
);
List
<
Map
<
String
,
Object
>>
listTrendOrderCount
=
evaluateMsgLogService
.
listTrendOrderCount
(
enterpriseId
,
startTime
,
endTime
,
storeIdList
);
List
<
Map
<
String
,
Object
>>
listTrendOrderCount
=
this
.
storeEvaluateApiService
.
listTrendOrderCount
(
enterpriseId
,
startTime
,
endTime
,
storeIdList
).
getResult
(
);
Map
<
String
,
List
<
Map
<
String
,
Object
>>>
map
=
new
HashMap
<>();
...
...
@@ -141,7 +140,7 @@ public class EvaluateOverviewApiServiceImpl implements EvaluateOverviewApiServic
return
storeId
==
null
?
null
:
Integer
.
valueOf
(
storeId
.
toString
());
}
).
collect
(
Collectors
.
toList
());
//
todo
这里要取数据组的数据
// 这里要取数据组的数据
Map
<
Integer
,
StoreOrderEvaluateDTO
>
orderCountMap
=
storeEvaluateApiService
.
getStoreOrderEvaluateByStoreId
(
storeTrendQO
.
getEnterpriseId
(),
storeIdList
).
getResult
();
// Map<Integer, Map<String, Object>> orderCountMap = evaluateMsgLogService.orderCountByStoreId(storeTrendQO.getEnterpriseId(), storeIdList);
for
(
Map
<
String
,
Object
>
e
:
trendList
)
{
...
...
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