parent
ac1b67e3e5
commit
81e36b992e
|
|
@ -72,7 +72,7 @@ public class ShopProdSpecController {
|
|||
shopProdSpecService.updateShopProdSpec(dto);
|
||||
List<Long> affectedIdList = dto.getAffectedIdList();
|
||||
if (CollUtil.isNotEmpty(affectedIdList)) {
|
||||
affectedIdList.parallelStream().forEach(this::asyncToBranchShop);
|
||||
affectedIdList.forEach(this::asyncToBranchShop);
|
||||
}
|
||||
return CzgResult.success();
|
||||
}
|
||||
|
|
@ -116,7 +116,7 @@ public class ShopProdSpecController {
|
|||
shopProdSpecService.quickAddShopProdSpec(dto);
|
||||
List<Long> affectedIdList = dto.getAffectedIdList();
|
||||
if (CollUtil.isNotEmpty(affectedIdList)) {
|
||||
affectedIdList.parallelStream().forEach(this::asyncToBranchShop);
|
||||
affectedIdList.forEach(this::asyncToBranchShop);
|
||||
}
|
||||
return CzgResult.success();
|
||||
}
|
||||
|
|
@ -137,7 +137,7 @@ public class ShopProdSpecController {
|
|||
shopProdSpecService.quickUpdateShopProdSpec(dto);
|
||||
List<Long> affectedIdList = dto.getAffectedIdList();
|
||||
if (CollUtil.isNotEmpty(affectedIdList)) {
|
||||
affectedIdList.parallelStream().forEach(this::asyncToBranchShop);
|
||||
affectedIdList.forEach(this::asyncToBranchShop);
|
||||
}
|
||||
return CzgResult.success();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue