Commit 0f435d3a426838ce97799cb18ca5f2a4433efe5e

Authored by 房远帅
1 parent de430dc0

延期发货:延期到后日预发问题修复

@@ -163,6 +163,7 @@ public class ShipmentsPlanDetailServiceImpl extends BaseMpServiceImpl<ShipmentsP @@ -163,6 +163,7 @@ public class ShipmentsPlanDetailServiceImpl extends BaseMpServiceImpl<ShipmentsP
163 163
164 LambdaUpdateWrapper<ShipmentsPlanDetail> updateWrapper = Wrappers.lambdaUpdate(ShipmentsPlanDetail.class) 164 LambdaUpdateWrapper<ShipmentsPlanDetail> updateWrapper = Wrappers.lambdaUpdate(ShipmentsPlanDetail.class)
165 .set(ShipmentsPlanDetail::getShipmentsDate, shipmentDate) 165 .set(ShipmentsPlanDetail::getShipmentsDate, shipmentDate)
  166 + .set(ShipmentsPlanDetail::getPreShipments, true)
166 .eq(ShipmentsPlanDetail::getId, id); 167 .eq(ShipmentsPlanDetail::getId, id);
167 getBaseMapper().update(updateWrapper); 168 getBaseMapper().update(updateWrapper);
168 169
@@ -48,7 +48,7 @@ public interface ShipmentsPlanDetailService extends BaseMpService<ShipmentsPlanD @@ -48,7 +48,7 @@ public interface ShipmentsPlanDetailService extends BaseMpService<ShipmentsPlanD
48 void create(CreateShipmentsPlanDetailVo vo); 48 void create(CreateShipmentsPlanDetailVo vo);
49 49
50 /** 50 /**
51 - * 更新发货日期 51 + * 更新发货日期且加入到后日预发
52 * 52 *
53 * @param shipmentDate 发货日期 53 * @param shipmentDate 发货日期
54 */ 54 */