Commit 634d940c by 江和松

工序质检生成实时库存bug修改V2

parent ea67414c
......@@ -379,7 +379,7 @@ public class HGKCTools {
AssertUtils.isNull(hgpz005A, "未获取到当前工序信息!");
//查询比当前工序靠后的工序是否存在,不存在说明是最后工序,修改实时库存
List<HGPZ005A> nextHgpz005AList = hgpz005AList.stream()
.filter(o -> o.getProcessOrder().compareTo(hgpz005A.getProcessOrder()) == 1)
.filter(o ->o.getInventCode().equals(hgpz005A.getInventCode()) && o.getProcessOrder().compareTo(hgpz005A.getProcessOrder()) == 1)
.collect(Collectors.toList());
if (CollectionUtils.isEmpty(nextHgpz005AList)) {
// 修改库存
......
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