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
36d1a4ba
Commit
36d1a4ba
authored
Jul 20, 2022
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增接口
parent
d5bef3b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
1 deletion
+21
-1
OrgPersonController.java
...oot/module/common/biz/controller/OrgPersonController.java
+21
-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/OrgPersonController.java
View file @
36d1a4ba
...
...
@@ -6,6 +6,7 @@ import java.util.HashMap;
import
java.util.List
;
import
java.util.Map
;
import
javax.annotation.Resource
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletResponse
;
...
...
@@ -76,7 +77,8 @@ public class OrgPersonController extends BaseController {
@Autowired
FireCompanyInfoServiceImpl
fireCompanyInfoServiceImpl
;
@Autowired
OrgUsrMapper
orgUsrMapper
;
/**
* 新增人员信息
*
...
...
@@ -219,6 +221,24 @@ public class OrgPersonController extends BaseController {
requestBody
));
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/getUserByCode/list/{code}"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表分页查询"
,
notes
=
"列表分页查询"
)
public
ResponseModel
<
List
<
OrgUsr
>>
getUserByCode
(
@PathVariable
String
code
)
{
LambdaQueryWrapper
<
OrgUsr
>
wrapper
=
new
LambdaQueryWrapper
<
OrgUsr
>();
wrapper
.
eq
(
OrgUsr:
:
getIsDelete
,
false
);
wrapper
.
eq
(
OrgUsr:
:
getBizOrgType
,
CommonConstant
.
BIZ_ORG_TYPE_PERSON
);
wrapper
.
likeRight
(
OrgUsr:
:
getBizOrgCode
,
code
);
List
<
OrgUsr
>
orgUsr
=
orgUsrMapper
.
selectList
(
wrapper
);
return
ResponseHelper
.
buildResponse
(
orgUsr
);
}
/**
* 根据orgCode查询
*
...
...
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