Commit 1821e17f by 799284587@qq.com

修复bug

parent c96be038
...@@ -156,8 +156,8 @@ public ApiResponse Generate([CustomizeValidator(RuleSet = "Delete"), FromBody]Al ...@@ -156,8 +156,8 @@ public ApiResponse Generate([CustomizeValidator(RuleSet = "Delete"), FromBody]Al
if (null == allot || string.IsNullOrEmpty(allot.Path)) if (null == allot || string.IsNullOrEmpty(allot.Path))
throw new PerformanceException("当前绩效记录不存在或没有上传数据文件"); throw new PerformanceException("当前绩效记录不存在或没有上传数据文件");
var email = _claim.GetUserClaim(JwtClaimTypes.Mail); var email = _claim.GetUserClaim(JwtClaimTypes.Mail);
_allotService.Generate(allot, email); //_allotService.Generate(allot, email);
//BackgroundJob.Enqueue(() => _allotService.Generate(allot, user.Mail)); BackgroundJob.Enqueue(() => _allotService.Generate(allot, email));
return new ApiResponse(ResponseType.OK); return new ApiResponse(ResponseType.OK);
} }
......
...@@ -25,6 +25,7 @@ public int DeleteData(int allotId) ...@@ -25,6 +25,7 @@ public int DeleteData(int allotId)
"im_header", "im_header",
"im_specialunit", "im_specialunit",
"per_sheet", "per_sheet",
"res_account",
"res_accountdoctor", "res_accountdoctor",
"res_accountnurse", "res_accountnurse",
"res_baiscnorm", "res_baiscnorm",
......
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