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
1821e17f
Commit
1821e17f
authored
Jul 30, 2019
by
799284587@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复bug
parent
c96be038
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
performance/Performance.Api/Controllers/AllotController.cs
+2
-2
performance/Performance.Repository/PerforCofdirectorRepository.cs
+1
-0
No files found.
performance/Performance.Api/Controllers/AllotController.cs
View file @
1821e17f
...
@@ -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.M
ail));
BackgroundJob
.
Enqueue
(()
=>
_allotService
.
Generate
(
allot
,
em
ail
));
return
new
ApiResponse
(
ResponseType
.
OK
);
return
new
ApiResponse
(
ResponseType
.
OK
);
}
}
...
...
performance/Performance.Repository/PerforCofdirectorRepository.cs
View file @
1821e17f
...
@@ -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"
,
...
...
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