|
@@ -83,6 +83,13 @@ public class TmsshipLoadShipResultServiceImpl implements ITmsshipLoadShipResultS
|
|
Date resultArrivalTime = new Date((Long)mapVal.get("resultArrivalTime"));
|
|
Date resultArrivalTime = new Date((Long)mapVal.get("resultArrivalTime"));
|
|
tmsshipLoadShipResult.setResultArrivalPortTime(resultArrivalTime);
|
|
tmsshipLoadShipResult.setResultArrivalPortTime(resultArrivalTime);
|
|
BigDecimal totalResultId = tmsshipTotalResultService.getResultTotalId(orderId);
|
|
BigDecimal totalResultId = tmsshipTotalResultService.getResultTotalId(orderId);
|
|
|
|
+ //新增时删除原来抵港、离港、水分总实绩的所有数据
|
|
|
|
+ Map<String,Object> delMap=new HashMap<>();
|
|
|
|
+ delMap.put("totalResultId",totalResultId);
|
|
|
|
+ tmsshipEntryWharyResultMapper.deleteBySelectiveElement(delMap);
|
|
|
|
+ tmsshipOutWharyResultMapper.deleteBySelectiveElement(delMap);
|
|
|
|
+ tmsshipShipLocationMapper.deleteBySelectiveElement(delMap);
|
|
|
|
+ tmsshipWaterQualityResultMapper.deleteBySelectiveElement(delMap);
|
|
tmsshipEntryWharyResult.setTotalResultId(totalResultId);
|
|
tmsshipEntryWharyResult.setTotalResultId(totalResultId);
|
|
BigDecimal resultEntryId = tmsshipEntryWharyResultMapper.selectEntryId();
|
|
BigDecimal resultEntryId = tmsshipEntryWharyResultMapper.selectEntryId();
|
|
tmsshipEntryWharyResult.setResultId(resultEntryId);
|
|
tmsshipEntryWharyResult.setResultId(resultEntryId);
|