|
@@ -72,7 +72,7 @@ public class TmsshipLoadShipResultServiceImpl implements ITmsshipLoadShipResultS
|
|
|
Date resultArrivalTime = new Date((Long)mapVal.get("resultArrivalTime"));
|
|
|
BigDecimal totalResultId = tmsshipTotalResultService.getResultTotalId(orderId);
|
|
|
tmsshipEntryWharyResult.setTotalResultId(totalResultId);
|
|
|
- BigDecimal resultEntryId = tmsshipEntryWharyResultMapper.selectMaxId();
|
|
|
+ BigDecimal resultEntryId = tmsshipEntryWharyResultMapper.selectEntryId();
|
|
|
tmsshipEntryWharyResult.setResultId(resultEntryId);
|
|
|
String resultEntryNumber = noUtil.setResultNo("DG",resultEntryId);
|
|
|
tmsshipEntryWharyResult.setResultNumber(resultEntryNumber);
|
|
@@ -94,7 +94,7 @@ public class TmsshipLoadShipResultServiceImpl implements ITmsshipLoadShipResultS
|
|
|
Date resultOutWharyTime = new Date((Long) mapVal.get("resultOutWharyTime"));
|
|
|
TmsshipOutWharyResult tmsshipOutWharyResult = new TmsshipOutWharyResult();
|
|
|
tmsshipOutWharyResult.setTotalResultId(totalResultId);
|
|
|
- BigDecimal resultOutId = tmsshipOutWharyResultMapper.selectMaxId();
|
|
|
+ BigDecimal resultOutId = tmsshipOutWharyResultMapper.selectOutId();
|
|
|
tmsshipOutWharyResult.setResultId(resultOutId);
|
|
|
String resultOutNumber = noUtil.setResultNo("LG",resultOutId);
|
|
|
tmsshipOutWharyResult.setResultNumber(resultOutNumber);
|
|
@@ -111,7 +111,7 @@ public class TmsshipLoadShipResultServiceImpl implements ITmsshipLoadShipResultS
|
|
|
tmsshipOutWharyResult.setDeleteName(null);
|
|
|
tmsshipOutWharyResult.setDeleteTime(null);
|
|
|
// 装船
|
|
|
- BigDecimal resultId = tmsshipLoadShipResultMapper.selectMaxId();
|
|
|
+ BigDecimal resultId = tmsshipLoadShipResultMapper.selectLoadId();
|
|
|
BigDecimal locationStartPortId = new BigDecimal((Integer) mapVal.get("locationStartPortId"));
|
|
|
BigDecimal arrivalPortId = new BigDecimal((Integer) mapVal.get("arrivalPortId"));
|
|
|
BigDecimal batchId = getBatchId(rowMap);
|