zx 2 anos atrás
pai
commit
bf2f1b3eb2

+ 2 - 0
src/main/java/com/steerinfo/dil/service/impl/OmsshipShipmentInstructionsServiceImpl.java

@@ -138,6 +138,8 @@ public class OmsshipShipmentInstructionsServiceImpl implements IOmsshipShipmentI
         omsshipShipmentInstructions1.setShipmentInstructionsId(instructionsId);
         omsshipShipmentInstructions1.setInstructionsTotalTonnage(instructionsTotalTonnage);
         omsshipShipmentInstructions1.setInstructionTime(new Date(instructionTime));
+        String status =(String) omsshipShipmentInstructions.get("status");
+        omsshipShipmentInstructions1.setInstructionsStatus(status);
         return omsshipShipmentInstructionsMapper.updateByPrimaryKeySelective(omsshipShipmentInstructions1);
 
     }

+ 2 - 1
src/main/java/com/steerinfo/dil/service/impl/TmsshipUnloadShipResultServiceImpl.java

@@ -68,6 +68,7 @@ public class TmsshipUnloadShipResultServiceImpl implements ITmsshipUnloadShipRes
         Map<String,Object> mapVal = (Map<String, Object>) map.get("mapVal");
         Map<String,Object> unloadMap = (Map<String, Object>) map.get("unloadMap");
         BigDecimal downSwimPortId= DataChange.dataToBigDecimal(unloadMap.get("downSwimPortId"));
+        BigDecimal portId= DataChange.dataToBigDecimal(unloadMap.get("portId"));
         TmsshipUnloadShipResult tmsshipUnloadShipResult = new TmsshipUnloadShipResult();
         BigDecimal resultId = selectMaxId();
         BigDecimal orderId = new BigDecimal((Integer) unloadMap.get("orderId"));
@@ -108,7 +109,7 @@ public class TmsshipUnloadShipResultServiceImpl implements ITmsshipUnloadShipRes
         Map<String,Object> tmsshipLoadShipResult = tmsshipLoadShipResults.get(0);
         Map<String,Object> mapValue = new HashMap<>();
         mapValue.put("batchId",tmsshipLoadShipResult.get("batchId"));
-        mapValue.put("portId",downSwimPortId);
+        mapValue.put("portId",portId);
         mapValue.put("resultMaterialNumber",tmsshipLoadShipResult.get("resultMaterialNumber"));
         wmshboundFeign.addWarehousingResult(mapValue);