Commit 1efae27c by 陶光胜

观云台小程序

parent 5ca47ba2
......@@ -81,8 +81,8 @@ public class StoreWidgetController {
if(CollectionUtils.isNotEmpty(onLineStoreVos)){
for(OnLineStoreVo onLineStoreVo : onLineStoreVos){
IndexItemVo indexItemVo = new IndexItemVo();
indexItemVo.setId(onLineStoreVo.getOnStoreId());
indexItemVo.setName(onLineStoreVo.getOnStoreName());
indexItemVo.setId(onLineStoreVo.getId());
indexItemVo.setName(onLineStoreVo.getName());
indexItemVo.setType(2);
items.add(indexItemVo);
}
......@@ -321,7 +321,8 @@ public class StoreWidgetController {
storeSearchVo.setId(dto.getId().toString());
storeSearchVo.setName(dto.getName());
storeSearchVo.setDesc(StoreChannelEnum.GICMALL.getMessage());
storeSearchVo.setNameChain(StoreChannelEnum.GICMALL.getMessage());
storeSearchVo.setIdChain("_" + StoreChannelEnum.GICMALL.getChannel() + "_" + dto.getId() +"_");
storeSearchVo.setNameChain(StoreChannelEnum.GICMALL.getMessage() + "/" + dto.getName());
storeSearchVo.setChannel(StoreChannelEnum.GICMALL.getChannel());
list.add(storeSearchVo);
}
......@@ -337,7 +338,8 @@ public class StoreWidgetController {
storeSearchVo.setId(wmStoreDTO.getWmStoreId());
storeSearchVo.setName(wmStoreDTO.getWmMainAccount());
storeSearchVo.setDesc(StoreChannelEnum.WMMALL.getMessage());
storeSearchVo.setNameChain(StoreChannelEnum.GICMALL.getMessage());
storeSearchVo.setIdChain("_" + StoreChannelEnum.GICMALL.getChannel() + "_" + wmStoreDTO.getWmStoreId() +"_");
storeSearchVo.setNameChain(StoreChannelEnum.GICMALL.getMessage() + "/" + wmStoreDTO.getWmMainAccount());
storeSearchVo.setChannel(StoreChannelEnum.GICMALL.getChannel());
list.add(storeSearchVo);
}
......@@ -394,8 +396,10 @@ public class StoreWidgetController {
log.info("shopId:{}", dto.getId());
if(storeIdList.contains(dto.getId().toString())){
OnLineStoreVo onLineStoreVo = new OnLineStoreVo();
onLineStoreVo.setOnStoreId(dto.getId()+"");
onLineStoreVo.setOnStoreName(dto.getName());
onLineStoreVo.setId(dto.getId()+"");
onLineStoreVo.setName(dto.getName());
onLineStoreVo.setIdChain("_" + type + "_" + dto.getId()+"_");
onLineStoreVo.setNameChain(StoreChannelEnum.GICMALL.getMessage() + "/" + dto.getName());
list.add(onLineStoreVo);
}
}
......@@ -406,8 +410,10 @@ public class StoreWidgetController {
for(WmStoreDTO wmStoreDTO : result){
if(storeIdList.contains(wmStoreDTO.getWmMallStoreId().toString())){
OnLineStoreVo onLineStoreVo = new OnLineStoreVo();
onLineStoreVo.setOnStoreId(wmStoreDTO.getWmStoreId()+"");
onLineStoreVo.setOnStoreName(wmStoreDTO.getWmPidName());
onLineStoreVo.setId(wmStoreDTO.getWmStoreId()+"");
onLineStoreVo.setName(wmStoreDTO.getWmPidName());
onLineStoreVo.setIdChain("_" + type + "_" + wmStoreDTO.getWmStoreId()+"_");
onLineStoreVo.setNameChain(StoreChannelEnum.WMMALL.getMessage() + "/" + wmStoreDTO.getWmPidName());
list.add(onLineStoreVo);
}
}
......
package com.gic.cloud.web.vo;
public class OnLineStoreVo {
private String onStoreId;
private String onStoreName;
private String id;
private String name;
private String idChain;
private String nameChain;
private Integer hasChildren = 0;
public String getOnStoreId() {
return onStoreId;
public Integer getHasChildren() {
return hasChildren;
}
public void setOnStoreId(String onStoreId) {
this.onStoreId = onStoreId;
public void setHasChildren(Integer hasChildren) {
this.hasChildren = hasChildren;
}
public String getOnStoreName() {
return onStoreName;
public String getId() {
return id;
}
public void setOnStoreName(String onStoreName) {
this.onStoreName = onStoreName;
public void setId(String id) {
this.id = id;
}
public Integer getHasChildren() {
return hasChildren;
public String getName() {
return name;
}
public void setHasChildren(Integer hasChildren) {
this.hasChildren = hasChildren;
public void setName(String name) {
this.name = name;
}
public String getIdChain() {
return idChain;
}
public void setIdChain(String idChain) {
this.idChain = idChain;
}
public String getNameChain() {
return nameChain;
}
public void setNameChain(String nameChain) {
this.nameChain = nameChain;
}
}
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