Commit f0301afc by 陶光胜

观云台小程序

parent 51ba90da
......@@ -50,8 +50,8 @@ public class BaseSalesController {
List<Long> mbrAreaIdList = this.dataAuthUtils.getMbrAreaId(qo.getUserId(), qo.getEnterpriseId());
Integer maxLevel = 0;
/******线下渠道需要点击下钻,该值只会在线下时才会使用********/
LevelVo levelVo = this.storeSearchUtils.getLevel(qo.getUserId(), qo.getEnterpriseId(), qo.getSearchJSON());
if(qo.getLevel() == null){
LevelVo levelVo = this.storeSearchUtils.getLevel(qo.getUserId(), qo.getEnterpriseId(), qo.getSearchJSON());
qo.setLevel(levelVo.getLevel());
maxLevel = levelVo.getMaxLevel();
}
......@@ -67,7 +67,9 @@ public class BaseSalesController {
vo.setLevelName("店铺层级");
}
qo.setChannel(newChannel);
vo.setChannel(newChannel);
}
if(qo.getChannel() == StoreChannelEnum.OFFLINE.getChannel() && qo.getLevel() == levelVo.getLevel()){
vo.setChangeLevel(1);
}
BaseSalesParamsDTO dto = new BaseSalesParamsDTO();
dto.setChannel(qo.getChannel());
......
......@@ -8,7 +8,7 @@ public class BaseSalesVo {
private BaseSalesDTO total;
private BaseSalesDTO wgs;
private String levelName;
private Integer channel;
private Integer changeLevel = 0;
public Page<BaseSalesDTO> getPage() {
return page;
......@@ -42,11 +42,11 @@ public class BaseSalesVo {
this.levelName = levelName;
}
public Integer getChannel() {
return channel;
public Integer getChangeLevel() {
return changeLevel;
}
public void setChannel(Integer channel) {
this.channel = channel;
public void setChangeLevel(Integer changeLevel) {
this.changeLevel = changeLevel;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment