新增排单-板材分组接口Bug修改

This commit is contained in:
liuzhaotian
2024-07-04 16:06:38 +08:00
parent b0d4dc684d
commit 7862c8188c
@@ -120,7 +120,7 @@ public class PlanServiceImpl implements PlanService {
for (Long orderId : orderIds) {
// 传入的生产单的大板数量
int size1 = itemList.stream().filter(f -> Objects.equals(f.getOrderId(), orderId)).map(PlanSaveReqVO.Item::getGoodsId).distinct().toList().size();
int size1 = itemList.stream().filter(f -> Objects.equals(f.getOrderId(), orderId)).map(PlanSaveReqVO.Item::getId).distinct().toList().size();
// 当前生产单对应的大板数量
List<Long> list = goodsNums.stream().filter(f -> Objects.equals(f.getOrderId(), orderId)).map(GoodsNum::getGoodsNum).toList();