Commit aa3f1791 by 陶光胜

门店品牌变更

parent 5d1e0bec
......@@ -4,6 +4,7 @@ import java.io.Serializable;
import java.util.List;
public class StoreBrandChangeDTO implements Serializable {
private List<Integer> storeInfoIdList;
private List<Integer> add;
private List<Integer> del;
private boolean change = false;
......@@ -31,4 +32,12 @@ public class StoreBrandChangeDTO implements Serializable {
public void setChange(boolean change) {
this.change = change;
}
public List<Integer> getStoreInfoIdList() {
return storeInfoIdList;
}
public void setStoreInfoIdList(List<Integer> storeInfoIdList) {
this.storeInfoIdList = storeInfoIdList;
}
}
......@@ -213,6 +213,7 @@ public class StoreApiServiceImpl implements StoreApiService {
}
if(storeBrandChangeDTO.isChange()){
//调用归属重算
storeBrandChangeDTO.setStoreInfoIdList(Collections.singletonList(storeDTO.getStoreInfoId()));
this.storeUpdateApiService.storeBrandChange(storeDTO.getEnterpriseId(), Collections.singletonList(storeDTO.getStoreInfoId()), storeDTO.getOperatorId());
logger.info("调用会员接口进行归属重算, {}", storeDTO.getStoreInfoId());
}
......
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