Commit 15eb6dd5 by liuyang

2024-07-25 组织信息为空判断

parent 12001afd
......@@ -83,6 +83,9 @@ public class HGXSUtils {
public static void setInfo(EiInfo inInfo, String codeKey, String valueKey) {
List<Map> resultRows = inInfo.getBlock(EiConstant.resultBlock).getRows();
List<String> orgIds = ObjectUtils.listKey(resultRows, codeKey);
if (CollectionUtils.isEmpty(orgIds)) {
return;
}
Map<String, Org> resultMap = HGXSTools.XsOrg.map(orgIds);
if (MapUtils.isEmpty(resultMap)) {
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment