|
|
|
@ -934,13 +934,6 @@ public class PartInformationServiceImpl extends ServiceImpl<PartInformationMappe |
|
|
|
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()) { |
|
|
|
PartIfsInventoryConfig partIfsInventoryConfig = getPartIfsInventoryConfig(data); // costs对象 |
|
|
|
// 同步Costs表数据 |
|
|
|
@ -989,6 +982,14 @@ public class PartInformationServiceImpl extends ServiceImpl<PartInformationMappe |
|
|
|
log.info("ifsProperty 为空,跳过物料属性同步"); |
|
|
|
} |
|
|
|
} |
|
|
|
// 商品组3的编辑放到最后调用 |
|
|
|
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")); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@Transactional |
|
|
|
|