feat(material): 增加高压IMS-物料推送-配置参数检查
This commit is contained in:
parent
509fdd3098
commit
3a54f42340
|
|
@ -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);
|
||||||
// 更新启用状态
|
// 更新启用状态
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue