|
|
@ -258,6 +258,20 @@ public class AftersalesAbnormalRecordServiceImpl extends BaseServiceImpl<Aftersa |
|
|
|
stockArticleClient.addHandQuantity(stockId,num); |
|
|
|
stockArticleClient.addHandQuantity(stockId,num); |
|
|
|
recordZeroDetailService.updateBatchById(recordZeroDetailEntities); |
|
|
|
recordZeroDetailService.updateBatchById(recordZeroDetailEntities); |
|
|
|
abnormalRecordEntity.setRemark("差异件数退回原仓"); |
|
|
|
abnormalRecordEntity.setRemark("差异件数退回原仓"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
String operationRemark = upWarehouseName+"差异"+num+"件数退回原仓,处理时间"+ CommonUtil.dateToStringGeneral(new Date()); |
|
|
|
|
|
|
|
AddWaybillTrackDTO addWaybillTrackDTO = new AddWaybillTrackDTO(); |
|
|
|
|
|
|
|
addWaybillTrackDTO.setTrackType("31"); |
|
|
|
|
|
|
|
addWaybillTrackDTO.setWaybillId(waybillId); |
|
|
|
|
|
|
|
addWaybillTrackDTO.setWaybillNo(abnormalRecordEntity.getWaybillNo()); |
|
|
|
|
|
|
|
addWaybillTrackDTO.setRefer("异常列表卸车"); |
|
|
|
|
|
|
|
addWaybillTrackDTO.setOperationRemark(operationRemark); |
|
|
|
|
|
|
|
addWaybillTrackDTO.setUserId(AuthUtil.getUserId()); |
|
|
|
|
|
|
|
addWaybillTrackDTO.setWarehouseId(abnormalRecordEntity.getWarehouseId()); |
|
|
|
|
|
|
|
addWaybillTrackDTO.setWarehouseName(abnormalRecordEntity.getWarehouseName()); |
|
|
|
|
|
|
|
addWaybillTrackDTO.setNickName(AuthUtil.getNickName()); |
|
|
|
|
|
|
|
trunklineWaybillTrackClient.addWaybillLog(addWaybillTrackDTO); |
|
|
|
|
|
|
|
|
|
|
|
}else if(dealType.equals(6)){ |
|
|
|
}else if(dealType.equals(6)){ |
|
|
|
List<PackageData> packageDataList = new ArrayList<>(); |
|
|
|
List<PackageData> packageDataList = new ArrayList<>(); |
|
|
|
if(CollUtil.isEmpty(zeroPackageDTOS)){ |
|
|
|
if(CollUtil.isEmpty(zeroPackageDTOS)){ |
|
|
|