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
6c3525f8
Commit
6c3525f8
authored
Aug 04, 2020
by
guojuxing
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/developer' into developer
parents
7e258a2d
00b4adfb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
BaseSalesController.java
...ava/com/gic/cloud/web/controller/BaseSalesController.java
+5
-3
No files found.
gic-data-cloud-wxapp/src/main/java/com/gic/cloud/web/controller/BaseSalesController.java
View file @
6c3525f8
...
...
@@ -47,6 +47,9 @@ public class BaseSalesController {
List
<
String
>
onLine
=
this
.
storeSearchUtils
.
onLineStoreSearch
(
userId
,
enterpriseId
,
searchJSON
);
List
<
Integer
>
childrenStoreGroupIdList
=
this
.
storeSearchUtils
.
getChildrenStoreGroupIdList
(
parentId
);
List
<
Long
>
mbrAreaIdList
=
this
.
dataAuthUtils
.
getMbrAreaId
(
userId
,
enterpriseId
);
if
(
level
==
null
){
level
=
this
.
storeSearchUtils
.
getLevel
(
userId
,
enterpriseId
,
searchJSON
).
getLevel
();
}
BaseSalesParamsDTO
dto
=
new
BaseSalesParamsDTO
();
dto
.
setChannel
(
channel
);
dto
.
setEnterpriseId
(
enterpriseId
);
...
...
@@ -58,12 +61,11 @@ public class BaseSalesController {
dto
.
setDate
(
dateTypeQo
.
getDate
());
dto
.
setChildrenStoreGroupIdList
(
childrenStoreGroupIdList
);
dto
.
setLevel
(
level
);
dto
.
setSortField
(
sortField
);
dto
.
setSortType
(
sortType
==
null
?
1
:
sortType
);
dto
.
setPageNum
(
pageNum
);
dto
.
setPageSize
(
pageSize
);
ServiceResponse
<
Page
<
BaseSalesDTO
>>
response
=
this
.
baseSalesApiService
.
pageBaseSales
(
dto
);
if
(
level
==
null
){
level
=
this
.
storeSearchUtils
.
getLevel
(
userId
,
enterpriseId
,
searchJSON
).
getLevel
();
}
BaseSalesVo
vo
=
new
BaseSalesVo
();
vo
.
setPage
(
this
.
parseData
(
response
.
getResult
(),
channel
,
enterpriseId
,
level
));
dto
.
setCountType
(
2
);
//合计
...
...
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