排单面积属性修改

This commit is contained in:
gaoqr
2026-06-04 09:14:40 +08:00
parent b8918481d8
commit c61f994ed5
@@ -1434,7 +1434,7 @@ public class PlanServiceImpl implements PlanService {
planMapper.update(new LambdaUpdateWrapper<PlanDO>() planMapper.update(new LambdaUpdateWrapper<PlanDO>()
.eq(PlanDO::getId, planId) .eq(PlanDO::getId, planId)
.set(PlanDO::getPlateNum, plateNum) .set(PlanDO::getPlateNum, plateNum)
.set(PlanDO::getArea, area)); .set(PlanDO::getPlateArea, area));
} }
} }
@@ -1502,7 +1502,7 @@ public class PlanServiceImpl implements PlanService {
planMapper.update(new LambdaUpdateWrapper<PlanDO>() planMapper.update(new LambdaUpdateWrapper<PlanDO>()
.eq(PlanDO::getId, planId) .eq(PlanDO::getId, planId)
.set(PlanDO::getPlateNum, plateNum) .set(PlanDO::getPlateNum, plateNum)
.set(PlanDO::getArea, area)); .set(PlanDO::getPlateArea, area));
} }
} }
@@ -1944,7 +1944,7 @@ public class PlanServiceImpl implements PlanService {
.build(); .build();
// 更新板件排单id & 统计更新order_goods的数量和面积 // 更新板件排单id & 统计更新order_goods的数量和面积
planDO.setArea(computePlatePlanAndComputeOrderGoodsInfo(planId, goodsPlateIdMap)); planDO.setPlateArea(computePlatePlanAndComputeOrderGoodsInfo(planId, goodsPlateIdMap));
planDOS.add(planDO); planDOS.add(planDO);
} }
@@ -2015,7 +2015,7 @@ public class PlanServiceImpl implements PlanService {
.build(); .build();
// 更新板件排单id & 统计更新order_goods的数量和面积 // 更新板件排单id & 统计更新order_goods的数量和面积
planDO.setArea(computePlatePlanAndComputeOrderGoodsInfo(planId, goodsPlateIdMap)); planDO.setPlateArea(computePlatePlanAndComputeOrderGoodsInfo(planId, goodsPlateIdMap));
planDOS.add(planDO); planDOS.add(planDO);
} }
// 统计更新orders的小板数量和面积 // 统计更新orders的小板数量和面积