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
9f2c83b5
Commit
9f2c83b5
authored
Sep 23, 2021
by
lcx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
全院绩效发放排序、其他绩效审核只根据工号核对
parent
6b93e79f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
2 deletions
+9
-2
performance/Performance.Api/wwwroot/Performance.DtoModels.xml
+5
-0
performance/Performance.Services/ComputeService.cs
+3
-1
performance/Performance.Services/EmployeeService.cs
+1
-1
No files found.
performance/Performance.Api/wwwroot/Performance.DtoModels.xml
View file @
9f2c83b5
...
...
@@ -1938,6 +1938,11 @@
工号
</summary>
</member>
<member
name=
"P:Performance.DtoModels.Request.BatchDetail.Batch"
>
<summary>
批次
</summary>
</member>
<member
name=
"P:Performance.DtoModels.Request.ComputerAvgRequest.PositionName"
>
<summary>
绩效核算人群
...
...
performance/Performance.Services/ComputeService.cs
View file @
9f2c83b5
...
...
@@ -929,7 +929,9 @@ public List<ComputeResponse> AllCompute(int allotId, int hospitalId, int isShowM
});
}
return
response
?.
OrderByDescending
(
t
=>
t
.
AccountingUnit
).
ToList
();
var
AccountTypes
=
EnumHelper
.
GetItems
<
AccountUnitType
>();
return
response
?.
OrderBy
(
t
=>
AccountTypes
.
FirstOrDefault
(
a
=>
a
.
Name
==
t
.
UnitType
)?.
Value
).
ThenByDescending
(
t
=>
t
.
AccountingUnit
).
ToList
();
}
///// <summary>
...
...
performance/Performance.Services/EmployeeService.cs
View file @
9f2c83b5
...
...
@@ -517,7 +517,7 @@ public bool ConfirmAudit(int userid, AprAmountAuditRequest request)
var
allApramounts
=
perapramountRepository
.
GetEntities
(
t
=>
t
.
AllotId
==
request
.
AllotId
);
foreach
(
var
member
in
request
.
Members
)
{
var
apramounts
=
allApramounts
?.
Where
(
t
=>
(
t
.
DoctorName
??
""
)
==
member
.
DoctorName
&&
(
t
.
PersonnelNumber
??
""
)
==
member
.
PersonnelNumber
);
var
apramounts
=
allApramounts
?.
Where
(
t
=>
(
t
.
PersonnelNumber
??
""
)
==
member
.
PersonnelNumber
);
if
(
request
.
IsPass
==
1
&&
(
apramounts
==
null
||
!
apramounts
.
Any
()))
throw
new
PerformanceException
(
$"工号为“
{
member
.
PersonnelNumber
}
”的审核信息无效,请确认"
);
...
...
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