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
2d14e9c6
Commit
2d14e9c6
authored
Jun 29, 2021
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工作量带出BUG修复
parent
f639bb1f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
performance/Performance.Api/wwwroot/Performance.DtoModels.xml
+5
-0
performance/Performance.Services/RedistributionService.cs
+5
-3
No files found.
performance/Performance.Api/wwwroot/Performance.DtoModels.xml
View file @
2d14e9c6
...
...
@@ -2525,6 +2525,11 @@
是否是单项奖励
</summary>
</member>
<member
name=
"P:Performance.DtoModels.WorkloadRequest.SourceCategory"
>
<summary>
工作量带出HIS来源
</summary>
</member>
<member
name=
"P:Performance.DtoModels.WorkyearRequest.MaxRange"
>
<summary>
最大工龄范围(小于)
...
...
performance/Performance.Services/RedistributionService.cs
View file @
2d14e9c6
...
...
@@ -1348,9 +1348,11 @@ public object RedistributionEmployee(SecondEmployeeDto request)
// 工作量带出
if
(
secondWorkload
!=
null
&&
secondWorkload
.
Any
())
{
var
workload
=
secondWorkload
.
FirstOrDefault
(
w
=>
w
.
DoctorName
==
employee
.
DoctorName
&&
w
.
PersonnelNumber
==
employee
.
PersonnelNumber
&&
loads
.
Select
(
score
=>
score
.
Title
).
Contains
(
w
.
ItemId
));
if
(
workload
!=
null
)
item
.
AddOrUpdate
(
workload
.
ItemId
,
workload
.
Value
);
var
workload
=
secondWorkload
.
Where
(
w
=>
w
.
DoctorName
==
employee
.
DoctorName
&&
w
.
PersonnelNumber
==
employee
.
PersonnelNumber
&&
loads
.
Select
(
score
=>
score
.
Title
).
Contains
(
w
.
ItemId
));
foreach
(
var
wl
in
workload
)
{
item
.
AddOrUpdate
(
wl
.
ItemId
,
wl
.
Value
);
}
}
}
...
...
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