Browse Source

1.干线bug修复

dev
zhenghaoyu 2 months ago
parent
commit
a1d20b83a6
  1. 5
      blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/service/impl/AftersalesAbnormalRecordServiceImpl.java

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

@ -135,6 +135,7 @@ public class AftersalesAbnormalRecordServiceImpl extends BaseServiceImpl<Aftersa
Integer dealType = abnormalRecordDTO.getDealType(); Integer dealType = abnormalRecordDTO.getDealType();
Long carsLoadScanId = abnormalRecordEntity.getAssociationId(); Long carsLoadScanId = abnormalRecordEntity.getAssociationId();
String orderPackageCode = abnormalRecordEntity.getOrderPackageCode(); String orderPackageCode = abnormalRecordEntity.getOrderPackageCode();
String carsNo = abnormalRecordEntity.getCarsNo();
if(dealType.equals(1)){ if(dealType.equals(1)){
//无效包条码 //无效包条码
abnormalRecordEntity.setRemark("已确认为无效包条码("+upWarehouseName+" "+ AuthUtil.getNickName()+")"); abnormalRecordEntity.setRemark("已确认为无效包条码("+upWarehouseName+" "+ AuthUtil.getNickName()+")");
@ -172,7 +173,7 @@ public class AftersalesAbnormalRecordServiceImpl extends BaseServiceImpl<Aftersa
warehousePackageTrackLogEntity.setWarehouseId(abnormalRecordDTO.getWarehouseId()); warehousePackageTrackLogEntity.setWarehouseId(abnormalRecordDTO.getWarehouseId());
warehousePackageTrackLogEntity.setWarehouseName(abnormalRecordDTO.getWarehouseName()); warehousePackageTrackLogEntity.setWarehouseName(abnormalRecordDTO.getWarehouseName());
warehousePackageTrackLogEntity.setWorkNode(WorkNodeEnums.UNLOAD_INCOMING_WAREHOUSE.getCode()); warehousePackageTrackLogEntity.setWorkNode(WorkNodeEnums.UNLOAD_INCOMING_WAREHOUSE.getCode());
warehousePackageTrackLogEntity.setContent("异常处理系统数据同步入库"); warehousePackageTrackLogEntity.setContent("异常处理系统数据同步入库,车次号:"+carsNo);
warehousePackageTrackLogEntity.setOperator(AuthUtil.getNickName()); warehousePackageTrackLogEntity.setOperator(AuthUtil.getNickName());
List<JSONObject> ls = new ArrayList<>(); List<JSONObject> ls = new ArrayList<>();
ls.add(JSON.parseObject(JSON.toJSONString(warehousePackageTrackLogEntity))); ls.add(JSON.parseObject(JSON.toJSONString(warehousePackageTrackLogEntity)));
@ -220,7 +221,7 @@ public class AftersalesAbnormalRecordServiceImpl extends BaseServiceImpl<Aftersa
warehousePackageTrackLogEntity.setWarehouseId(abnormalRecordDTO.getWarehouseId()); warehousePackageTrackLogEntity.setWarehouseId(abnormalRecordDTO.getWarehouseId());
warehousePackageTrackLogEntity.setWarehouseName(abnormalRecordDTO.getWarehouseName()); warehousePackageTrackLogEntity.setWarehouseName(abnormalRecordDTO.getWarehouseName());
warehousePackageTrackLogEntity.setWorkNode(WorkNodeEnums.UNLOAD_INCOMING_WAREHOUSE.getCode()); warehousePackageTrackLogEntity.setWorkNode(WorkNodeEnums.UNLOAD_INCOMING_WAREHOUSE.getCode());
warehousePackageTrackLogEntity.setContent("异常处理包件已入库"); warehousePackageTrackLogEntity.setContent("异常处理包件已入库,入库车次号:"+carsNo);
warehousePackageTrackLogEntity.setOperator(AuthUtil.getNickName()); warehousePackageTrackLogEntity.setOperator(AuthUtil.getNickName());
List<JSONObject> ls = new ArrayList<>(); List<JSONObject> ls = new ArrayList<>();
ls.add(JSON.parseObject(JSON.toJSONString(warehousePackageTrackLogEntity))); ls.add(JSON.parseObject(JSON.toJSONString(warehousePackageTrackLogEntity)));

Loading…
Cancel
Save