Commit a05b986c by zhiwj

订单资源修改

parent 08222b30
...@@ -15,6 +15,7 @@ public class OrderResourceDTO implements Serializable { ...@@ -15,6 +15,7 @@ public class OrderResourceDTO implements Serializable {
private Integer type; private Integer type;
// //
private List<Integer> storeIdList; private List<Integer> storeIdList;
private List<Integer> storeInfoIdList;
// 达摩微商城 // 达摩微商城
private List<Long> shopIdList; private List<Long> shopIdList;
...@@ -53,4 +54,12 @@ public class OrderResourceDTO implements Serializable { ...@@ -53,4 +54,12 @@ public class OrderResourceDTO implements Serializable {
public void setWmStoreList(List<Long> wmStoreList) { public void setWmStoreList(List<Long> wmStoreList) {
this.wmStoreList = wmStoreList; this.wmStoreList = wmStoreList;
} }
public void setStoreInfoIdList(List<Integer> storeInfoIdList) {
this.storeInfoIdList = storeInfoIdList;
}
public List<Integer> getStoreInfoIdList() {
return storeInfoIdList;
}
} }
...@@ -382,6 +382,10 @@ public class ResourceApiServiceImpl implements ResourceApiService { ...@@ -382,6 +382,10 @@ public class ResourceApiServiceImpl implements ResourceApiService {
if (CollectionUtils.isNotEmpty(result)) { if (CollectionUtils.isNotEmpty(result)) {
defaultResource.setStoreIdList(result); defaultResource.setStoreIdList(result);
} }
List<Integer> result2 = storeWidgetApiService.listStoreInfoIdByStoreWidgetId(user.getEnterpriseId(), orderResourceContentDTO.getStoreWidgetId()).getResult();
if (CollectionUtils.isNotEmpty(result2)) {
defaultResource.setStoreInfoIdList(result2);
}
} else if (OrderResourceChannelEnum.DAMO_MALL.getCode().equals(orderResourceContentDTO.getChannel())) { } else if (OrderResourceChannelEnum.DAMO_MALL.getCode().equals(orderResourceContentDTO.getChannel())) {
defaultResource.setShopIdList(orderResourceContentDTO.getStoreContent()); defaultResource.setShopIdList(orderResourceContentDTO.getStoreContent());
} }
......
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