新增小板返回参数类型修改

This commit is contained in:
liuzhaotian
2025-03-08 15:15:06 +08:00
parent caa5743503
commit 1022234dcd
@@ -536,8 +536,6 @@ public class PlateServiceImpl implements PlateService {
List<OrderModelDO> orderPlateModelDOS = new ArrayList<>();
Map<String,String> plateIdAndNo = new HashMap<>();
Long planId = Optional.ofNullable(reqVO.get(0).getPlanId()).orElseThrow(()-> exception(ORDER_PLAN_PLATE_ERROR));
PlanDO planDO = planMapper.selectById(planId);
@@ -554,6 +552,8 @@ public class PlateServiceImpl implements PlateService {
reqVO.forEach(f->{
Map<String,String> plateIdAndNo = new HashMap<>();
Long orderId = f.getOrderId();
GoodsDO goodsDO = goodsDOS.stream().filter(g -> g.getOrderId().equals(f.getOrderId())).toList().get(0);