|
|
|
@ -2055,7 +2055,7 @@ public class DistributionReservationServiceImpl extends BaseServiceImpl<Distribu
|
|
|
|
|
Func.copy(distributionReservationDTO, reservationEntity); |
|
|
|
|
reservationEntity.setWarehouseId(myCurrentWarehouse.getId()); |
|
|
|
|
//新建预约单为待确认状态
|
|
|
|
|
reservationEntity.setReservationStatus(ReservationStatusConstant.daiqueren.getValue()); |
|
|
|
|
reservationEntity.setReservationStatus(ReservationStatusConstant.yiqueren.getValue()); |
|
|
|
|
//新建预约单订单处于未备货状态
|
|
|
|
|
reservationEntity.setStockupStatus(ReservationStockupStatusConstant.weibeihuo.getValue()); |
|
|
|
|
this.save(reservationEntity); |
|
|
|
@ -2275,7 +2275,7 @@ public class DistributionReservationServiceImpl extends BaseServiceImpl<Distribu
|
|
|
|
|
String s = String.join(",", serviceNumber); |
|
|
|
|
reservationEntity.setServiceNumber(s); |
|
|
|
|
} |
|
|
|
|
reservationEntity.setReservationStatus(distributionReservationDTO.getReservationStatus()); |
|
|
|
|
// reservationEntity.setReservationStatus(distributionReservationDTO.getReservationStatus());
|
|
|
|
|
reservationEntity.setOrderSource(ReservationOrderSourceConstant.zijian.getValue()); |
|
|
|
|
if (Func.isNotEmpty(distributionReservationDTO.getServeType())){ |
|
|
|
|
reservationEntity.setServeType(distributionReservationDTO.getServeType()); |
|
|
|
|