Commit d5471453 by zhiwj

修bug

parent df984659
......@@ -216,8 +216,7 @@ public class StoreServiceImpl implements StoreService {
for (String s : storeIdArr) {
list.add(Integer.valueOf(s));
}
List<Integer> storeInfoIdList = this.tabStoreMapper.listStoreInfoIdByStoreIds(list, enterpriseId);
return this.tabStoreInfoMapper.updateStoreStatusBystoreInfoIds(Integer.valueOf(value), storeInfoIdList);
return this.tabStoreInfoMapper.updateStoreStatusBystoreInfoIds(Integer.valueOf(value), list);
}
@Override
......
......@@ -1024,7 +1024,7 @@ public class StoreApiServiceImpl implements StoreApiService {
try {
String storeInfoIds = storeService.listStoreInfoIdByStoreIds(storeIds, enterpriseId);
if (StringUtils.isBlank(storeInfoIds)) {
return ServiceResponse.success();
return ServiceResponse.failure(ErrorCode.PARAMETER_ERROR.getCode(), "门店不存在或非自有门店");
}
i = storeStrtegyMap.get(type+"").bulkUpdateStore(storeInfoIds, enterpriseId, value, storeService, operatorId, operatorName);
List<Integer> storeIdList = new ArrayList<>();
......
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