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
418fbd18
Commit
418fbd18
authored
Apr 09, 2021
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
门店控件修复
parent
d7ca81d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
GoDownComponent.java
...in/java/com/gic/cloud/web/controller/GoDownComponent.java
+3
-3
No files found.
gic-data-cloud-wxapp/src/main/java/com/gic/cloud/web/controller/GoDownComponent.java
View file @
418fbd18
...
...
@@ -104,7 +104,7 @@ public class GoDownComponent {
List
<
Integer
>
childrenStoreGroupIdList
=
this
.
storeSearchUtils
.
getChildrenStoreGroupIdList
(
params
.
getEnterpriseId
(),
params
.
getParentId
(),
params
.
getLevel
(),
params
.
getChannel
());
params
.
setGroupIdList
(
childrenStoreGroupIdList
);
/****首页进入基础页面时,如果渠道为空,根据当前条件判断渠道,channel==null表示多渠道***/
if
(
params
.
getChannel
()
==
null
){
if
(
params
.
getChannel
()
==
Constants
.
ZERO
){
/**********设置层级名称,只有在首次进入页面会展示,下钻均显示返回上一级*********/
Integer
newChannel
=
this
.
storeSearchUtils
.
getChannel
(
params
.
getUserId
(),
params
.
getEnterpriseId
(),
params
.
getSearchJson
());
params
.
setChannel
(
newChannel
);
...
...
@@ -129,7 +129,7 @@ public class GoDownComponent {
public
void
setValueTotal
(
AbstractCommonQo
params
,
LevelVo
levelVo
){
Integer
wgs
=
storeSearchUtils
.
isWgs
(
params
.
getUserId
(),
params
.
getEnterpriseId
(),
params
.
getSearchJson
());
/**所有渠道或者线下渠道第一层级 合计算上无归属数据**/
boolean
isContainNoOwnership
=
(
params
.
getChannel
()
==
null
||
(
StoreChannelEnum
.
OFFLINE
.
getChannel
().
equals
(
params
.
getChannel
())
&&
params
.
getLevel
().
intValue
()
==
levelVo
.
getLevel
()))
&&
wgs
==
1
;
boolean
isContainNoOwnership
=
(
params
.
getChannel
()
==
Constants
.
ZERO
||
(
StoreChannelEnum
.
OFFLINE
.
getChannel
().
equals
(
params
.
getChannel
())
&&
params
.
getLevel
().
intValue
()
==
levelVo
.
getLevel
()))
&&
wgs
==
1
;
if
(
isContainNoOwnership
){
if
(
CollectionUtils
.
isEmpty
(
params
.
getStoreInfoIdList
()))
{
params
.
setStoreInfoIdList
(
new
ArrayList
<>());
...
...
@@ -144,7 +144,7 @@ public class GoDownComponent {
public
void
setValueTotalForArea
(
AbstractCommonQo
params
,
LevelVo
levelVo
){
/**所有渠道或者线下渠道第一层级 合计算上无归属数据**/
boolean
isContainNoOwnership
=
(
params
.
getChannel
()
==
null
||
(
StoreChannelEnum
.
OFFLINE
.
getChannel
().
equals
(
params
.
getChannel
())
&&
params
.
getLevel
().
intValue
()
==
levelVo
.
getLevel
()));
boolean
isContainNoOwnership
=
(
params
.
getChannel
()
==
Constants
.
ZERO
||
(
StoreChannelEnum
.
OFFLINE
.
getChannel
().
equals
(
params
.
getChannel
())
&&
params
.
getLevel
().
intValue
()
==
levelVo
.
getLevel
()));
if
(
isContainNoOwnership
){
if
(
CollectionUtils
.
isEmpty
(
params
.
getStoreInfoIdList
()))
{
params
.
setStoreInfoIdList
(
new
ArrayList
<>());
...
...
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