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
bc3eb9f7
Commit
bc3eb9f7
authored
Feb 15, 2022
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
5cb6c8fa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
OrgPersonFormDto.java
...oin/amos/boot/module/common/api/dto/OrgPersonFormDto.java
+3
-0
OrgPersonController.java
...oot/module/common/biz/controller/OrgPersonController.java
+7
-3
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/dto/OrgPersonFormDto.java
View file @
bc3eb9f7
...
...
@@ -75,6 +75,9 @@ public class OrgPersonFormDto extends BaseEntity{
private
String
orgExpandAttr8
;
//当前登录人id
private
String
userId
;
public
OrgPersonFormDto
()
{
}
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/controller/OrgPersonController.java
View file @
bc3eb9f7
...
...
@@ -58,7 +58,7 @@ import io.swagger.annotations.ApiOperation;
@RestController
@Api
(
tags
=
"人员Api"
)
@RequestMapping
(
value
=
"/org-person"
)
public
class
OrgPersonController
{
public
class
OrgPersonController
extends
BaseController
{
@Autowired
OrgUsrServiceImpl
iOrgUsrService
;
@Autowired
...
...
@@ -124,11 +124,15 @@ public class OrgPersonController {
* @return
* @throws Exception
*/
@TycloudOperation
(
needAuth
=
false
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"获取人员详情"
,
notes
=
"获取人员详情"
)
public
ResponseModel
<
OrgPersonFormDto
>
selectById
(
HttpServletRequest
request
,
@PathVariable
Long
id
)
throws
Exception
{
return
ResponseHelper
.
buildResponse
(
iOrgUsrService
.
selectPersonById
(
id
));
OrgPersonFormDto
orgPersonFormDto
=
iOrgUsrService
.
selectPersonById
(
id
);
AgencyUserModel
user
=
getUserInfo
();
orgPersonFormDto
.
setUserId
(
user
.
getUserId
());
return
ResponseHelper
.
buildResponse
(
orgPersonFormDto
);
}
/**
...
...
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