Commit ca9bd750 authored by tianbo's avatar tianbo

机场单位加根节点引起bug修改

parent ed936616
......@@ -563,7 +563,8 @@ GROUP BY
SELECT
company_sur.sequence_nbr as sequenceNbr,
company_sur.biz_org_name as bizOrgName ,
company_sur.biz_org_name as bizOrgName,
company_sur.biz_org_code as bizOrgCode,
company_sur.parent_id as parentId,
company_sur.biz_org_type as bizOrgType,
-- cb.field_value_label,
......@@ -580,6 +581,7 @@ GROUP BY
company.sequence_nbr,
company.parent_id,
company.biz_org_name,
company.biz_org_code,
company.biz_org_type
FROM
cb_org_usr company
......
......@@ -1469,7 +1469,8 @@ public class OrgUsrServiceImpl extends BaseService<OrgUsrDto, OrgUsr, OrgUsrMapp
int num = orgUsrTreeDto.getNum() + value.getNum();
orgUsrTreeDto.setNum(num);
} else {
if (value.getBizOrgType().equals(OrgPersonEnum.公司.getKey()) && null == value.getParentId()) {
// 只查出一级单位,顶级为西部机场集团
if (value.getBizOrgType().equals(OrgPersonEnum.公司.getKey()) && value.getBizOrgCode().length() == TreeParser.CODE_LENGTH * 2) {
list.add(value);
}
}
......
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