Commit 4e2947f7d79f8f05a0afcbd7a46bcb5ac6ef8366

Authored by 房远帅
1 parent d3713aa2

销售发货计划:问题修复

@@ -157,8 +157,8 @@ public class ShipmentsPlanDetailServiceImpl extends BaseMpServiceImpl<ShipmentsP @@ -157,8 +157,8 @@ public class ShipmentsPlanDetailServiceImpl extends BaseMpServiceImpl<ShipmentsP
157 } 157 }
158 158
159 LambdaUpdateWrapper<ShipmentsPlanDetail> updateWrapper = Wrappers.lambdaUpdate(ShipmentsPlanDetail.class) 159 LambdaUpdateWrapper<ShipmentsPlanDetail> updateWrapper = Wrappers.lambdaUpdate(ShipmentsPlanDetail.class)
160 - .set(vo.getShipmentsTime() != null, ShipmentsPlanDetail::getShipmentsTime, vo.getShipmentsTime())  
161 - .set(vo.getCanShipments() != null, ShipmentsPlanDetail::getCanShipments, vo.getCanShipments()) 160 + .set(ShipmentsPlanDetail::getShipmentsTime, vo.getShipmentsTime())
  161 + .set(ShipmentsPlanDetail::getCanShipments, vo.getCanShipments())
162 .eq(ShipmentsPlanDetail::getId, vo.getId()); 162 .eq(ShipmentsPlanDetail::getId, vo.getId());
163 163
164 getBaseMapper().update(updateWrapper); 164 getBaseMapper().update(updateWrapper);