|
@@ -161,6 +161,10 @@ public class AmsshipDeliveryNoticeServiceImpl implements IAmsshipDeliveryNoticeS
|
|
|
mapValue.put("batchId",map1.get("batchIds"));
|
|
|
mapValue.put("portId",portId);
|
|
|
mapValue.put("resultMaterialNumber",DataChange.dataToBigDecimal(map.get("resultNumberOfLoans")));
|
|
|
+ if(mapValue.get("batchId") ==null || DataChange.dataToBigDecimal(mapValue.get("batchId")).compareTo(new BigDecimal(0))==0){
|
|
|
+ //如果是录入批次,则传新增批次的批次id
|
|
|
+ mapValue.put("batchId",map1.get("batchId"));
|
|
|
+ }
|
|
|
wmshboundFeign.addWarehousingResult(mapValue);
|
|
|
i += amsshipDeliveryNoticeMapper.insertSelective(amsshipDeliveryNotice);
|
|
|
return i ;
|