|
@@ -223,6 +223,7 @@ public class PlatformWarehouseServiceImpl implements IPlatformWarehouseService {
|
|
public int afterInwardOutbound(Map<String, Object> map) throws Exception {
|
|
public int afterInwardOutbound(Map<String, Object> map) throws Exception {
|
|
//需要参数 运输订单ID,人员ssoId
|
|
//需要参数 运输订单ID,人员ssoId
|
|
BigDecimal orderId = DataChange.dataToBigDecimal(map.get("orderId"));
|
|
BigDecimal orderId = DataChange.dataToBigDecimal(map.get("orderId"));
|
|
|
|
+ String personnelSsoId = map.get("personnelSsoId").toString();
|
|
//根据运输订单id去查询是否有入库
|
|
//根据运输订单id去查询是否有入库
|
|
if(rmsPwarehouseGridMapper.selectGridByOrderId(orderId) == null){
|
|
if(rmsPwarehouseGridMapper.selectGridByOrderId(orderId) == null){
|
|
try {
|
|
try {
|
|
@@ -238,6 +239,7 @@ public class PlatformWarehouseServiceImpl implements IPlatformWarehouseService {
|
|
}
|
|
}
|
|
//根据运输订单ID,出库
|
|
//根据运输订单ID,出库
|
|
int i = wmspGridMaterialMapper.updateWgmByOrderId(orderId);
|
|
int i = wmspGridMaterialMapper.updateWgmByOrderId(orderId);
|
|
|
|
+ i =+ wmspGridMaterialMapper.updateRmsPg(personnelSsoId,orderId);
|
|
//同步生成火运实绩
|
|
//同步生成火运实绩
|
|
try {
|
|
try {
|
|
omsFeign.generateOmstrain(map);
|
|
omsFeign.generateOmstrain(map);
|