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
efe91d5c
Commit
efe91d5c
authored
Feb 17, 2022
by
chenhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加查询当前用户的第一层绑定单位
parent
dced088b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
0 deletions
+24
-0
OrgUsrController.java
...s/boot/module/common/biz/controller/OrgUsrController.java
+24
-0
OrgUsrServiceImpl.java
...oot/module/common/biz/service/impl/OrgUsrServiceImpl.java
+0
-0
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 @
efe91d5c
...
...
@@ -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 @
efe91d5c
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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