mirror of
https://github.com/weizhiqiang1995/erp-pro.git
synced 2025-01-31 11:41:08 +08:00
feat: 去除多余代码
This commit is contained in:
parent
3d0b782651
commit
9707326d76
1 changed files with 2 additions and 2 deletions
|
@ -294,8 +294,8 @@ public class ShopMaterialStoreServiceImpl extends SkyeyeBusinessServiceImpl<Shop
|
|||
Map<String, Object> params = inputObject.getParams();
|
||||
List<String> materialIdList = JSONUtil.toList(params.get("materialId").toString(), null);
|
||||
List<String> storeIdList = JSONUtil.toList(params.get("storeId").toString(), null);
|
||||
materialIdList = materialIdList.stream().filter(StrUtil::isNotBlank).distinct().collect(Collectors.toList());
|
||||
storeIdList = storeIdList.stream().filter(StrUtil::isNotBlank).distinct().collect(Collectors.toList());
|
||||
materialIdList = materialIdList.stream().filter(StrUtil::isNotBlank).collect(Collectors.toList());
|
||||
storeIdList = storeIdList.stream().filter(StrUtil::isNotBlank).collect(Collectors.toList());
|
||||
if (CollectionUtil.isEmpty(materialIdList) || CollectionUtil.isEmpty(storeIdList)) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue