Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
ca9bd750
Commit
ca9bd750
authored
Jan 21, 2022
by
tianbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
机场单位加根节点引起bug修改
parent
ed936616
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
OrgUsrMapper.xml
...ule-common-api/src/main/resources/mapper/OrgUsrMapper.xml
+3
-1
OrgUsrServiceImpl.java
...oot/module/common/biz/service/impl/OrgUsrServiceImpl.java
+2
-1
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-common-api/src/main/resources/mapper/OrgUsrMapper.xml
View file @
ca9bd750
...
@@ -563,7 +563,8 @@ GROUP BY
...
@@ -563,7 +563,8 @@ GROUP BY
SELECT
SELECT
company_sur.sequence_nbr as sequenceNbr,
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.parent_id as parentId,
company_sur.biz_org_type as bizOrgType,
company_sur.biz_org_type as bizOrgType,
-- cb.field_value_label,
-- cb.field_value_label,
...
@@ -580,6 +581,7 @@ GROUP BY
...
@@ -580,6 +581,7 @@ GROUP BY
company.sequence_nbr,
company.sequence_nbr,
company.parent_id,
company.parent_id,
company.biz_org_name,
company.biz_org_name,
company.biz_org_code,
company.biz_org_type
company.biz_org_type
FROM
FROM
cb_org_usr company
cb_org_usr company
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/service/impl/OrgUsrServiceImpl.java
View file @
ca9bd750
...
@@ -1469,7 +1469,8 @@ public class OrgUsrServiceImpl extends BaseService<OrgUsrDto, OrgUsr, OrgUsrMapp
...
@@ -1469,7 +1469,8 @@ public class OrgUsrServiceImpl extends BaseService<OrgUsrDto, OrgUsr, OrgUsrMapp
int
num
=
orgUsrTreeDto
.
getNum
()
+
value
.
getNum
();
int
num
=
orgUsrTreeDto
.
getNum
()
+
value
.
getNum
();
orgUsrTreeDto
.
setNum
(
num
);
orgUsrTreeDto
.
setNum
(
num
);
}
else
{
}
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
);
list
.
add
(
value
);
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment