Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
performance
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zry
performance
Commits
4fda7511
Commit
4fda7511
authored
Dec 10, 2021
by
纪旭 韦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
加入必传验证
parent
895b76e1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
performance/Performance.Api/Controllers/EmployeeController.cs
+4
-4
No files found.
performance/Performance.Api/Controllers/EmployeeController.cs
View file @
4fda7511
...
...
@@ -802,12 +802,12 @@ public ApiResponse SaveGatherHands(int allotId, [FromBody] SaveGatherData reques
/// <param name="source">来源</param>
/// <param name="request">分页</param>
/// <returns></returns>
[
Route
(
"getgather/{allotId}"
)]
[
Route
(
"getgather/{allotId}
,{department},{source}
"
)]
[
HttpPost
]
public
ApiResponse
GetGather
([
FromRoute
]
int
allotId
,
string
department
,
string
source
,[
FromBody
]
PersonParamsRequest
request
)
public
ApiResponse
GetGather
([
FromRoute
]
int
allotId
,
[
FromRoute
]
string
department
,
[
FromRoute
]
string
source
,[
FromBody
]
PersonParamsRequest
request
)
{
if
(
allotId
<=
0
)
return
new
ApiResponse
(
ResponseType
.
Fail
,
"参数错误"
,
"
allotid无效
"
);
if
(
allotId
<=
0
||
string
.
IsNullOrEmpty
(
department
)
||
string
.
IsNullOrEmpty
(
source
)
)
return
new
ApiResponse
(
ResponseType
.
Fail
,
"参数错误"
,
"
请检查allotId,department,source是否正确
"
);
var
result
=
employeeService
.
GetGather
(
allotId
,
department
,
source
,
request
);
...
...
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