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
b4344e26
Commit
b4344e26
authored
Oct 13, 2020
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
医技科室详情奖罚BUG修复
parent
9bde245c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
performance/Performance.Services/AllotCompute/ProcessComputService.cs
+0
-1
performance/Performance.Services/AllotService.cs
+1
-1
performance/Performance.Services/ComputeService.cs
+2
-1
No files found.
performance/Performance.Services/AllotCompute/ProcessComputService.cs
View file @
b4344e26
...
...
@@ -403,7 +403,6 @@ public IEnumerable<AccountUnitTotal> GetAccountExtra(PerExcel excel, SheetType s
assessList
=
(
isTotal
)
?
assessList
?.
Where
(
w
=>
w
.
IsTotal
==
1
)
:
assessList
?.
Where
(
w
=>
w
.
IsTotal
!=
1
);
return
assessList
?.
Select
(
t
=>
new
EmpolyeeTotal
{
UnitType
=
t
.
UnitType
,
...
...
performance/Performance.Services/AllotService.cs
View file @
b4344e26
...
...
@@ -352,7 +352,7 @@ public void Generate(per_allot allot, string mail)
// 科室奖罚汇总
logManageService
.
WriteMsg
(
"正在生成绩效"
,
"科室奖罚汇总"
,
1
,
allot
.
ID
,
"ReceiveMessage"
,
true
);
var
accountExtras
=
processComputService
.
GetAccountExtra
(
excel
,
SheetType
.
AccountExtra
);
var
accountExtras
=
processComputService
.
GetAccountExtra
(
excel
,
SheetType
.
AccountExtra
,
true
);
// 科室药占比考核
logManageService
.
WriteMsg
(
"正在生成绩效"
,
"科室药占比考核"
,
1
,
allot
.
ID
,
"ReceiveMessage"
,
true
);
var
drugExtras
=
processComputService
.
GetAccountExtra
(
excel
,
SheetType
.
AccountDrugAssess
,
true
);
...
...
performance/Performance.Services/ComputeService.cs
View file @
b4344e26
...
...
@@ -714,7 +714,7 @@ public DeptDataDetails<DetailModuleExtend> DeptDetail(int accountId)
};
foreach
(
var
stype
in
sheetType
)
{
if
(
type
==
3
&&
stype
==
(
int
)
SheetType
.
Workload
)
type
=
1
;
//
if (type == 3 && stype == (int)SheetType.Workload) type = 1;
foreach
(
var
sheet
in
persheet
.
Where
(
t
=>
t
.
SheetType
==
stype
))
{
if
(
single
!=
""
&&
sheet
.
SheetName
.
Substring
(
0
,
3
)
!=
single
)
...
...
@@ -722,6 +722,7 @@ public DeptDataDetails<DetailModuleExtend> DeptDetail(int accountId)
single
=
sheet
.
SheetName
.
Substring
(
0
,
3
);
var
sheetName
=
reg
.
Replace
(
sheet
.
SheetName
,
""
,
5
).
Replace
(
"."
,
""
).
Replace
(
" "
,
""
);
//var nType = (stype == (int)SheetType.Workload) ? 1 : type;
var
sheetData
=
basicData
.
Where
(
t
=>
t
.
SheetID
==
sheet
.
ID
&&
t
.
UnitType
==
type
&&
t
.
IsTotal
!=
1
).
ToList
();
if
(
sheetData
==
null
||
!
sheetData
.
Any
())
continue
;
...
...
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