|
|
|
@ -1541,6 +1541,10 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImpl<Distrib
|
|
|
|
|
log.error("deliveryListDTO参数异常+{" + deliveryListDTO + "}"); |
|
|
|
|
return R.fail("服务器正忙!!"); |
|
|
|
|
} |
|
|
|
|
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient.getMyCurrentWarehouse(); |
|
|
|
|
if (Func.isEmpty(myCurrentWarehouse)){ |
|
|
|
|
return R.fail("无仓库信息!!!"); |
|
|
|
|
} |
|
|
|
|
//首先对配送任务进行修改
|
|
|
|
|
//查询出配送任务的基本信息
|
|
|
|
|
DistributionDeliveryListEntity deliveryListEntity = this.getById(deliveryListDTO.getId()); |
|
|
|
@ -1643,6 +1647,7 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImpl<Distrib
|
|
|
|
|
reservationEntity.setDeliveryType(DistributionTypeConstant.shangpei.getValue()); |
|
|
|
|
reservationEntity.setPeriodOfTime(ServiceConstant.RESERVATION_PERIOED_TIME_DAY); |
|
|
|
|
reservationEntity.setStockupStatus(ReservationStockupStatusConstant.daibeihuo.getValue()); |
|
|
|
|
reservationEntity.setWarehouseId(myCurrentWarehouse.getId()); |
|
|
|
|
BladeUser user = AuthUtil.getUser(); |
|
|
|
|
reservationEntity.setCreateUser(user.getUserId()); |
|
|
|
|
reservationEntity.setDeliveryWay(reservation.getDeliveryWay()); |
|
|
|
|