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
0ab673c9
Commit
0ab673c9
authored
Nov 16, 2022
by
zhangyingbin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改根据当前登录人所在单位获取人员列表接口
parent
7719bd09
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
3 deletions
+14
-3
ProjectController.java
...mos/boot/module/ugp/biz/controller/ProjectController.java
+14
-3
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 @
0ab673c9
...
...
@@ -102,7 +102,7 @@ public class ProjectController extends BaseController {
private
static
final
AtomicInteger
atomicNum
=
new
AtomicInteger
();
private
static
final
Integer
INIT_CODE_NUM
=
0
;
public
String
getCode
(){
String
date
=
new
SimpleDateFormat
(
"
MMdd
"
).
format
(
new
Date
());
String
date
=
new
SimpleDateFormat
(
"
yyyy
"
).
format
(
new
Date
());
String
code
=
"XM"
+
date
+
"-"
;
String
format
=
""
;
LambdaQueryWrapper
<
Project
>
wrapper
=
new
LambdaQueryWrapper
<>();
...
...
@@ -240,12 +240,23 @@ public class ProjectController extends BaseController {
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"查询下拉选择框的值"
,
notes
=
"查询下拉选择框的值"
)
@GetMapping
(
value
=
"/get
Charge
"
)
public
ResponseModel
<
List
<
OrgUsr
>>
get
Charge
(
String
insDepId
){
@GetMapping
(
value
=
"/get
DepPerson
"
)
public
ResponseModel
<
List
<
OrgUsr
>>
get
DepPerson
(
String
insDepId
){
return
ResponseHelper
.
buildResponse
(
orgServiceImpl
.
getVerInfo
(
insDepId
));
}
/**
* 查询当前登录单位下的人员列表
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"查询下拉选择框的值"
,
notes
=
"查询下拉选择框的值"
)
@GetMapping
(
value
=
"/getCharge"
)
public
ResponseModel
<
List
<
OrgUsr
>>
getCharge
(){
return
ResponseHelper
.
buildResponse
(
orgServiceImpl
.
getCharge
());
}
/**
* 查询当前登陆人所在单位下的所以项目列表
* @return
*/
...
...
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