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
70bcfefc
Commit
70bcfefc
authored
Jan 26, 2022
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码位置调整
parent
8f6ab64c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
performance/Performance.Api/Controllers/SecondAllotController.cs
+4
-3
No files found.
performance/Performance.Api/Controllers/SecondAllotController.cs
View file @
70bcfefc
...
...
@@ -839,11 +839,12 @@ public ApiResponse RedistributionSubmit([FromBody] SecondComputeDto request)
var
saveResult
=
secondAllotService
.
RedistributionSave
(
allot
,
second
,
request
.
Head
,
cleanDatas
);
var
res
=
_redistributionService
.
ValidationData
(
second
);
if
(!
string
.
IsNullOrEmpty
(
res
))
return
new
ApiResponse
(
ResponseType
.
Fail
,
$"提交数据中存在无效数据,已经被删除,确认正确后请重新提交;删除工号清单如下:
{
res
}
"
);
if
(
saveResult
)
{
var
res
=
_redistributionService
.
ValidationData
(
second
);
if
(!
string
.
IsNullOrEmpty
(
res
))
return
new
ApiResponse
(
ResponseType
.
Fail
,
$"提交数据中存在无效数据,已经被删除,确认正确后请重新提交;删除工号清单如下:
{
res
}
"
);
var
userid
=
claimService
.
GetUserId
();
var
result
=
secondAllotService
.
AuditSubmit
(
second
,
userid
);
if
(
result
)
...
...
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