Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
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
fangxinjiang
yifu-mvp
Commits
c5bd567f
Commit
c5bd567f
authored
Jul 04, 2022
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
projectStatus
parent
bdf116c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
TEmployeeProjectController.java
.../yifu/archives/controller/TEmployeeProjectController.java
+6
-3
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/TEmployeeProjectController.java
View file @
c5bd567f
...
...
@@ -63,10 +63,13 @@ public class TEmployeeProjectController {
* @Date: 2022/6/21 19:19
* @return: com.yifu.cloud.plus.v1.yifu.common.core.util.R<java.util.List < com.yifu.cloud.plus.v1.yifu.archives.entity.TEmployeeProject>>
**/
@Operation
(
summary
=
"根据人员档案id获取项目list"
,
description
=
"根据人员档案id获取项目list"
)
@Operation
(
summary
=
"根据人员档案id获取项目list
,projectStatus:1或不传,则查全部;0,查在项。
"
,
description
=
"根据人员档案id获取项目list"
)
@GetMapping
(
"/getListByEmpId"
)
public
R
<
List
<
TEmployeeProject
>>
getListByEmpId
(
@RequestParam
String
empId
)
{
return
R
.
ok
(
tEmployeeProjectService
.
getListByEmpId
(
empId
,
CommonConstants
.
ONE_INT
));
public
R
<
List
<
TEmployeeProject
>>
getListByEmpId
(
@RequestParam
String
empId
,
Integer
projectStatus
)
{
if
(
projectStatus
==
null
)
{
projectStatus
=
CommonConstants
.
ONE_INT
;
}
return
R
.
ok
(
tEmployeeProjectService
.
getListByEmpId
(
empId
,
projectStatus
));
}
/**
...
...
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