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
8f98585a
Commit
8f98585a
authored
Feb 21, 2022
by
tangwei
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop_ccs' of
http://172.16.10.76/moa/amos-boot-biz
into develop_ccs
parents
97ea10a1
aba27531
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
1 deletion
+27
-1
OrgUsrController.java
...s/boot/module/common/biz/controller/OrgUsrController.java
+24
-0
OrgUsrServiceImpl.java
...oot/module/common/biz/service/impl/OrgUsrServiceImpl.java
+0
-0
ExcelServiceImpl.java
...os/boot/module/jcs/biz/service/impl/ExcelServiceImpl.java
+3
-1
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/controller/OrgUsrController.java
View file @
8f98585a
...
...
@@ -750,4 +750,27 @@ public class OrgUsrController extends BaseController {
}
return
ResponseHelper
.
buildResponse
(
iOrgUsrService
.
getCompanyByBizOrgCodeList
(
bizOrgCode
));
}
/**
* 查询多个组织机构下面的所有人员列表信息
*
* @param
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"查询当前人员所属的第一级公司"
,
notes
=
"查询当前人员所属的第一级公司"
)
@GetMapping
(
value
=
"find/getCompanyByUserId"
)
public
ResponseModel
<
Object
>
getCompanyByUserId
(
@RequestParam
Long
userId
)
{
return
ResponseHelper
.
buildResponse
(
iOrgUsrService
.
getCompanyByUserId
(
userId
));
}
}
\ No newline at end of file
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 @
8f98585a
This diff is collapsed.
Click to expand it.
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/service/impl/ExcelServiceImpl.java
View file @
8f98585a
...
...
@@ -746,9 +746,11 @@ public class ExcelServiceImpl {
if
(
firefighters
.
getCompanyName
()
!=
null
)
{
String
[]
tempCompany
=
firefighters
.
getCompanyName
().
split
(
"@"
);
firefighters
.
setCompanyName
(
tempCompany
[
0
]);
firefighters
.
setCompanyCode
(
tempCompany
[
1
]);
firefighters
.
setCompany
(
tempCompany
[
1
]);
OrgUsr
result
=
orgUsrService
.
getById
(
Long
.
valueOf
(
tempCompany
[
1
]));
firefighters
.
setBizOrgName
(
tempCompany
[
0
]);
firefighters
.
setBizOrgCode
(
tempCompany
[
2
]
);
firefighters
.
setBizOrgCode
(
result
.
getBizOrgCode
()
);
}
if
(
firefighters
.
getNativePlaceValue
()
!=
null
)
{
String
[]
tempCity
=
firefighters
.
getNativePlaceValue
().
split
(
"@"
);
...
...
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