Browse Source

1.零担异常列表处理日志增加

pre-production
zhenghaoyu 3 weeks ago
parent
commit
c76b97e0e0
  1. 14
      blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/service/impl/AftersalesAbnormalRecordServiceImpl.java

14
blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/service/impl/AftersalesAbnormalRecordServiceImpl.java

@ -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)){

Loading…
Cancel
Save