Showing
1 changed file
with
2 additions
and
2 deletions
| @@ -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); |