Commit 55a30679 by 陶光胜

加字段

parent e3ae9420
......@@ -27,6 +27,7 @@ public enum StoreESFieldsEnum {
CUSTOM("custom", "自定义字段"),
SELECT("select", "选项字段"),
STORETAG("storeTag", "门店标签"),
OWNTYPE("ownType", "门店是否共享"),
C1("c1", "自定义字段1"),
C2("c2", "自定义字段2"),
C3("c3", "自定义字段3"),
......
......@@ -27,6 +27,7 @@ public class StoreEsDTO implements Serializable {
private Integer erpStatus;
private List<String> areaIds;
private String id;
private Integer ownType;
public Integer getStoreId() {
return storeId;
......@@ -211,4 +212,12 @@ public class StoreEsDTO implements Serializable {
public void setStoreInfoId(Integer storeInfoId) {
this.storeInfoId = storeInfoId;
}
public Integer getOwnType() {
return ownType;
}
public void setOwnType(Integer ownType) {
this.ownType = ownType;
}
}
......@@ -613,6 +613,7 @@ public class StoreApiServiceImpl implements StoreApiService {
esDTO.setStoreGroupName(dto.getStoreGroupName());
esDTO.setStoreName(dto.getStoreName());
esDTO.setStoreType(dto.getStoreType());
esDTO.setOwnType(dto.getOwnType());
JSONObject jsonObject = JSON.parseObject(JSON.toJSONString(esDTO));
List<StoreExtendDTO> storeExtendDTOList = dto.getStoreExtendList();
for (StoreExtendDTO extendDTO : storeExtendDTOList) {
......
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