|
|
@ -934,6 +934,13 @@ public class PartInformationServiceImpl extends ServiceImpl<PartInformationMappe |
|
|
throw new RuntimeException("ifs 库存件修改异常信息:" + updateInventoryPartResponse.get("resultMsg")); |
|
|
throw new RuntimeException("ifs 库存件修改异常信息:" + updateInventoryPartResponse.get("resultMsg")); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
if (data.getCommGroup3InfoFlag() != null && data.getCommGroup3InfoFlag()) { |
|
|
|
|
|
PartIfsInventory partIfsInventory = getPartIfsInventory(data); // 主表对象 |
|
|
|
|
|
Map<String, String> modifyCommGroup3Response = inventoryServiceBean.modifyInventoryPartCommGroup3(srv, partIfsInventory); |
|
|
|
|
|
if (!"200".equals(modifyCommGroup3Response.get("resultCode"))) { |
|
|
|
|
|
throw new RuntimeException("ifs 库存件CommGroup3修改异常信息:" + modifyCommGroup3Response.get("resultMsg")); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
if (data.getCostsInfoFlag()) { |
|
|
if (data.getCostsInfoFlag()) { |
|
|
PartIfsInventoryConfig partIfsInventoryConfig = getPartIfsInventoryConfig(data); // costs对象 |
|
|
PartIfsInventoryConfig partIfsInventoryConfig = getPartIfsInventoryConfig(data); // costs对象 |
|
|
// 同步Costs表数据 |
|
|
// 同步Costs表数据 |
|
|
@ -3062,6 +3069,11 @@ public class PartInformationServiceImpl extends ServiceImpl<PartInformationMappe |
|
|
throw new RuntimeException("IFS库存件属性新增异常:" + addInventoryPartPropertyResponse.get("resultMsg")); |
|
|
throw new RuntimeException("IFS库存件属性新增异常:" + addInventoryPartPropertyResponse.get("resultMsg")); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
// 商品组3的编辑放到最后调用 |
|
|
|
|
|
Map<String, String> modifyCommGroup3Response = inventoryServiceBean.modifyInventoryPartCommGroup3(srv, partIfsInventory); |
|
|
|
|
|
if (!"200".equals(modifyCommGroup3Response.get("resultCode"))) { |
|
|
|
|
|
throw new RuntimeException("IFS库存件CommGroup3修改异常:" + modifyCommGroup3Response.get("resultMsg")); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// 创建 IFS 物料的 BOM 和 Routing |
|
|
// 创建 IFS 物料的 BOM 和 Routing |
|
|
@ -3795,6 +3807,11 @@ public class PartInformationServiceImpl extends ServiceImpl<PartInformationMappe |
|
|
if (!"200".equals(addInventoryPartLocationResponse.get("resultCode"))) { |
|
|
if (!"200".equals(addInventoryPartLocationResponse.get("resultCode"))) { |
|
|
throw new RuntimeException("IFS 库存件Location新增异常:" + addInventoryPartLocationResponse.get("resultMsg")); |
|
|
throw new RuntimeException("IFS 库存件Location新增异常:" + addInventoryPartLocationResponse.get("resultMsg")); |
|
|
} |
|
|
} |
|
|
|
|
|
// 商品组3的编辑放到最后调用 |
|
|
|
|
|
Map<String, String> modifyCommGroup3Response = inventoryServiceBean.modifyInventoryPartCommGroup3(srv, partIfsInventory); |
|
|
|
|
|
if (!"200".equals(modifyCommGroup3Response.get("resultCode"))) { |
|
|
|
|
|
throw new RuntimeException("IFS库存件CommGroup3修改异常:" + modifyCommGroup3Response.get("resultMsg")); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} catch (Exception e) { |
|
|
} catch (Exception e) { |
|
|
// 删除库存件关联信息 |
|
|
// 删除库存件关联信息 |
|
|
|