Commit a120359d by guojuxing

微盟店铺列表添加字段还未配置的项目列表

parent 977e6b31
......@@ -75,6 +75,11 @@ public class WmMallStoreController {
if (isAllConfig){
vo.setHasCompleteConfig(1);
}
//还未配置的项目
vo.setHasNotConfig(Stream.of(WmStoreConfigTypeEnum.values())
.filter(configItem -> !set.contains(String.valueOf(configItem.getCode())))
.map(configItem -> configItem.getCode())
.collect(Collectors.toList()));
}
return vo;
})
......
package com.gic.enterprise.web.vo.wm;
import java.io.Serializable;
import java.util.List;
/**
* 微盟店铺列表
* @ClassName: WmStoreVO

......@@ -56,6 +58,11 @@ public class WmStoreVO implements Serializable{
*/
private Integer hasCompleteConfig;
/**
* 还未配置的项目 WmStoreConfigTypeEnum枚举
*/
private List<Integer> hasNotConfig;
public String getWmMainAccount() {
return wmMainAccount;
}
......@@ -136,4 +143,13 @@ public class WmStoreVO implements Serializable{
this.wmMallStoreId = wmMallStoreId;
return this;
}
public List<Integer> getHasNotConfig() {
return hasNotConfig;
}
public WmStoreVO setHasNotConfig(List<Integer> hasNotConfig) {
this.hasNotConfig = hasNotConfig;
return this;
}
}
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