代码位置调整

parent 8f6ab64c
......@@ -839,11 +839,12 @@ public ApiResponse RedistributionSubmit([FromBody] SecondComputeDto request)
var saveResult = secondAllotService.RedistributionSave(allot, second, request.Head, cleanDatas);
if (saveResult)
{
var res = _redistributionService.ValidationData(second);
if (!string.IsNullOrEmpty(res))
return new ApiResponse(ResponseType.Fail, $"提交数据中存在无效数据,已经被删除,确认正确后请重新提交;删除工号清单如下:{res}");
if (saveResult)
{
var userid = claimService.GetUserId();
var result = secondAllotService.AuditSubmit(second, userid);
if (result)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment