Commit 60d1dcfd by 陶光胜

Merge branch 'developer' of http://115.159.76.241/base_platform_enterprise/gic-store into developer

parents e3b674c6 4905d711
......@@ -218,8 +218,9 @@ public class StoreStrategyApiServiceImpl implements StoreStrategyApiService{
searchDBDTO.setRegionIdList(regionIdList);
searchDBDTO.setStatusList(storeStatusList);
com.github.pagehelper.Page<StoreDTO> listStore = this.storeService.listStore(searchDBDTO, 1, Integer.MAX_VALUE);
for (StoreDTO store : listStore.getResult()) {
String result = storeStrategyService.isHitStrategy(store.getStoreInfoId(), store.getEnterpriseId(), StoreGroupConstant.STORE_GROUP_STRATEGY_TYPE);
List<StoreDTO> storeList = listStore.getResult();
for (StoreDTO store : storeList) {
String result = storeStrategyService.isHitStrategy(store.getStoreId(), store.getEnterpriseId(), StoreGroupConstant.STORE_GROUP_STRATEGY_TYPE);
if (StringUtils.isNotBlank(result)) {
storeService.updateStoreGroupId(store.getStoreInfoId(), Integer.parseInt(result));
}
......
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