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
2e442ea0
Commit
2e442ea0
authored
Nov 15, 2022
by
wanglong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
获取监检机构下的人员
parent
ebb52cdd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
4 deletions
+25
-4
ProjectController.java
...mos/boot/module/ugp/biz/controller/ProjectController.java
+3
-4
OrgServiceImpl.java
...amos/boot/module/ugp/biz/service/impl/OrgServiceImpl.java
+22
-0
No files found.
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/controller/ProjectController.java
View file @
2e442ea0
...
@@ -235,15 +235,14 @@ public class ProjectController extends BaseController {
...
@@ -235,15 +235,14 @@ public class ProjectController extends BaseController {
}
}
/**
/**
* 查询
当前登录单位
下的人员列表
* 查询
监检机构
下的人员列表
* @return
* @return
*/
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"查询下拉选择框的值"
,
notes
=
"查询下拉选择框的值"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"查询下拉选择框的值"
,
notes
=
"查询下拉选择框的值"
)
@GetMapping
(
value
=
"/getCharge"
)
@GetMapping
(
value
=
"/getCharge"
)
public
ResponseModel
<
List
<
OrgUsr
>>
getCharge
(){
public
ResponseModel
<
List
<
OrgUsr
>>
getCharge
(
String
insDepId
){
return
ResponseHelper
.
buildResponse
(
orgServiceImpl
.
getVerInfo
(
insDepId
));
return
ResponseHelper
.
buildResponse
(
orgServiceImpl
.
getCharge
());
}
}
/**
/**
...
...
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/service/impl/OrgServiceImpl.java
View file @
2e442ea0
...
@@ -232,6 +232,28 @@ public class OrgServiceImpl {
...
@@ -232,6 +232,28 @@ public class OrgServiceImpl {
return
page
;
return
page
;
}
}
/**
* 获取监检机构下的人员
*
* @param insDepId 机构id
* @return
*/
public
List
<
OrgUsr
>
getVerInfo
(
String
insDepId
)
{
LambdaQueryWrapper
<
OrgUsr
>
wrapper
=
new
LambdaQueryWrapper
<>();
wrapper
.
eq
(
OrgUsr:
:
getSequenceNbr
,
insDepId
);
OrgUsr
orgUsrCompany
=
orgUsrServiceImpl
.
getOne
(
wrapper
);
LambdaQueryWrapper
<
OrgUsr
>
welderWrapper
=
new
LambdaQueryWrapper
<>();
welderWrapper
.
likeRight
(
OrgUsr:
:
getBizOrgCode
,
orgUsrCompany
.
getBizOrgCode
()).
eq
(
OrgUsr:
:
getBizOrgType
,
OrgEnum
.
普通人员
.
getKey
());
//默认拿到为空的getOrgExpandAttr1
welderWrapper
.
isNull
(
OrgUsr:
:
getOrgExpandAttr1
);
List
<
OrgUsr
>
orgUsrList
=
orgUsrServiceImpl
.
list
(
welderWrapper
);
return
orgUsrList
;
}
/**
/**
* 根据id查询详细信息
* 根据id查询详细信息
* @param sequenceNbr
* @param sequenceNbr
...
...
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