feat(material): 增加高压IMS-物料推送-配置参数检查

This commit is contained in:
mzr 2025-11-11 21:05:42 +08:00
parent 509fdd3098
commit 3a54f42340
1 changed files with 4 additions and 0 deletions

View File

@ -99,6 +99,10 @@ public class MaterialToGyImsListener implements IBusinessListener {
} }
} }
}else if ("1004".equals(eventType) ) { }else if ("1004".equals(eventType) ) {
configParams = MyHelper.getConfigParams("gy-config", null);
if (configParams.isEmpty()) {
throw new BusinessException("高压的gymes接口缺少配置");
}
MaterialVO[] useVOs = ArrayClassConvertUtil.convert(objs, MaterialVO.class); MaterialVO[] useVOs = ArrayClassConvertUtil.convert(objs, MaterialVO.class);
// 更新启用状态 // 更新启用状态