|
|
|
@ -53,6 +53,7 @@ public class DeliveryNoteServiceImpl extends BaseServiceImpl<DeliveryNoteMapper,
|
|
|
|
|
@Override |
|
|
|
|
@LogpmAsync("asyncExecutor") |
|
|
|
|
public void buildAdvance(DeliveryNoteVO vo) { |
|
|
|
|
log.info("林氏新系统生成暂存单:{}", JSONUtil.toJsonStr(vo)); |
|
|
|
|
// 新起线程构建暂存单发送mq
|
|
|
|
|
Long startWarehouseId = null; |
|
|
|
|
String startWarehouseName = null; |
|
|
|
@ -134,7 +135,7 @@ public class DeliveryNoteServiceImpl extends BaseServiceImpl<DeliveryNoteMapper,
|
|
|
|
|
advanceDetailEntity.setOrderPackageCode(orderPackageDTO.getBarcode()); |
|
|
|
|
advanceDetailEntity.setTrainNumber(StrUtil.replace(DateUtil.today(), "-", "")); |
|
|
|
|
advanceDetailEntity.setServiceNum(vo.getCustomizedBillCode()); |
|
|
|
|
advanceDetailEntity.setWaybillNo(""); |
|
|
|
|
// advanceDetailEntity.setWaybillNo("");
|
|
|
|
|
advanceDetailEntity.setPackageStatus("0"); |
|
|
|
|
advanceDetailEntity.setWeight(StrUtil.isNotBlank(orderPackageDTO.getWeight()) ? new BigDecimal(orderPackageDTO.getWeight()) : BigDecimal.ZERO); |
|
|
|
|
advanceDetailEntity.setVolume(StrUtil.isNotBlank(orderPackageDTO.getVolume()) ? new BigDecimal(orderPackageDTO.getVolume()) : BigDecimal.ZERO); |
|
|
|
|