Compare commits
No commits in common. "60bb0a296a554f96c296f369309c973476585cce" and "24ab2d1b5d3c06e20778a582119020d0bc6fe31c" have entirely different histories.
60bb0a296a
...
24ab2d1b5d
@ -492,10 +492,6 @@ public class DlRepairSoServiceImpl extends ServiceImpl<DlRepairSoMapper, DlRepai
|
|||||||
DlRepairSo inSo = new DlRepairSo();
|
DlRepairSo inSo = new DlRepairSo();
|
||||||
//过滤掉入库数量为null或0的情况(此为无效数据)
|
//过滤掉入库数量为null或0的情况(此为无效数据)
|
||||||
List<DlRepairSoi> filterWare = reqVO.getSoiList().stream().filter(item -> item.getInCount() != null && item.getInCount() > 0).collect(Collectors.toList());
|
List<DlRepairSoi> filterWare = reqVO.getSoiList().stream().filter(item -> item.getInCount() != null && item.getInCount() > 0).collect(Collectors.toList());
|
||||||
//如果为空代表无需入库
|
|
||||||
if (CollectionUtil.isEmpty(filterWare)) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
//即将入库采购品
|
//即将入库采购品
|
||||||
List<DlRepairSoi> pmsWaresList = repairSoiService.listByIds(filterWare.stream().map(DlRepairSoi::getId).collect(Collectors.toList()));
|
List<DlRepairSoi> pmsWaresList = repairSoiService.listByIds(filterWare.stream().map(DlRepairSoi::getId).collect(Collectors.toList()));
|
||||||
//初始化本次入库采购品
|
//初始化本次入库采购品
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user