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
7f8c840f
Commit
7f8c840f
authored
Aug 05, 2020
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
观云台小程序
parent
f0301afc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
BaseSalesController.java
...ava/com/gic/cloud/web/controller/BaseSalesController.java
+8
-7
No files found.
gic-data-cloud-wxapp/src/main/java/com/gic/cloud/web/controller/BaseSalesController.java
View file @
7f8c840f
...
...
@@ -59,18 +59,19 @@ public class BaseSalesController {
if
(
qo
.
getChannel
()
==
null
){
/**********设置层级名称,只有在首次进入页面会展示,下钻均显示返回上一级*********/
Integer
newChannel
=
this
.
storeSearchUtils
.
getChannel
(
qo
.
getUserId
(),
qo
.
getEnterpriseId
(),
qo
.
getSearchJSON
());
if
(
newChannel
==
null
){
vo
.
setLevelName
(
"所有渠道"
);
}
else
if
(
newChannel
==
StoreChannelEnum
.
OFFLINE
.
getChannel
()){
vo
.
setLevelName
(
LevelUtil
.
getLevelName
(
qo
.
getLevel
()));
}
else
{
vo
.
setLevelName
(
"店铺层级"
);
}
qo
.
setChannel
(
newChannel
);
}
/***********如果是线下的第一层级,需要展示切换层级按钮*************/
if
(
qo
.
getChannel
()
==
StoreChannelEnum
.
OFFLINE
.
getChannel
()
&&
qo
.
getLevel
()
==
levelVo
.
getLevel
()){
vo
.
setChangeLevel
(
1
);
}
if
(
qo
.
getChannel
()
==
null
){
vo
.
setLevelName
(
"所有渠道"
);
}
else
if
(
qo
.
getChannel
()
==
StoreChannelEnum
.
OFFLINE
.
getChannel
()){
vo
.
setLevelName
(
LevelUtil
.
getLevelName
(
qo
.
getLevel
()));
}
else
{
vo
.
setLevelName
(
"店铺层级"
);
}
BaseSalesParamsDTO
dto
=
new
BaseSalesParamsDTO
();
dto
.
setChannel
(
qo
.
getChannel
());
dto
.
setEnterpriseId
(
qo
.
getEnterpriseId
());
...
...
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