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
fa67c909
Commit
fa67c909
authored
Apr 25, 2021
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
读取“5.2业务中层行政中高层医院奖罚”BUG修复
parent
f4ed88dc
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
performance/Performance.Services/AllotCompute/ProcessComputService.cs
+1
-1
performance/Performance.Services/PerExcelService/NopiSevice.cs
+1
-1
performance/Performance.Services/PerExcelService/SheetDataRead/PerSheetDataReadPersonExtra.cs
+3
-2
No files found.
performance/Performance.Services/AllotCompute/ProcessComputService.cs
View file @
fa67c909
...
...
@@ -387,7 +387,7 @@ public void ComputeOffice(per_allot allot, PerExcel excel)
// 夜班绩效 从医院奖罚的明细项中获取
var
nightShift
=
adjustLaterOtherFee
?.
FirstOrDefault
(
w
=>
w
.
UnitType
==
resAccount
?.
UnitType
&&
w
.
AccountingUnit
==
dept
.
AccountingUnit
&&
w
.
TypeName
?.
Trim
()
==
"夜班绩效"
)?.
CellValue
??
0
;
dept
.
NightShiftWorkPerforFee
=
0
;
dept
.
NightShiftWorkPerforFee
=
nightShift
;
dept
.
ScoringAverage
=
resAccount
?.
ScoringAverage
==
null
?
0
:
resAccount
.
ScoringAverage
;
dept
.
AdjustFactor
=
(
isBudget
?
adjust
:
resAccount
?.
AdjustFactor
)
??
1
;
dept
.
Extra
=
resAccount
?.
Extra
??
0
;
...
...
performance/Performance.Services/PerExcelService/NopiSevice.cs
View file @
fa67c909
...
...
@@ -71,7 +71,7 @@ public static string GetValue(this ICell cell)
case
CellType
.
Numeric
:
return
cell
?.
NumericCellValue
.
ToString
();
case
CellType
.
String
:
return
cell
?.
StringCellValue
.
ToString
()
;
return
cell
?.
StringCellValue
?.
ToString
()
??
""
;
case
CellType
.
Formula
:
cell
?.
SetCellType
(
CellType
.
String
);
return
cell
?.
StringCellValue
?.
ToString
();
...
...
performance/Performance.Services/PerExcelService/SheetDataRead/PerSheetDataReadPersonExtra.cs
View file @
fa67c909
...
...
@@ -39,14 +39,15 @@ public List<IPerData> ReadData(ISheet sheet, List<PerHeader> perHeader)
var
unit
=
Point
.
AccountingUnit
.
First
();
//查询除了 核算单元 科室名称 有效数据列头位置
var
vhead
=
perHeader
.
Where
(
t
=>
t
.
PointCell
!=
unit
.
UnitTypeNum
&&
t
.
PointCell
!=
unit
.
AccountingUnitCellNum
&&
t
.
PointCell
!=
unit
.
DeptCellNum
).
OrderBy
(
t
=>
t
.
PointCell
);
var
vhead
=
perHeader
.
Where
(
t
=>
t
.
PointCell
!=
unit
.
UnitTypeNum
&&
t
.
PointCell
!=
unit
.
AccountingUnitCellNum
&&
t
.
PointCell
!=
unit
.
JobCellNum
&&
t
.
PointCell
!=
unit
.
EmpNameCellNum
).
OrderBy
(
t
=>
t
.
PointCell
);
//var vhead = perHeader.OrderBy(t => t.PointCell);
for
(
int
r
=
Point
.
DataFirstRowNum
.
Value
;
r
<
sheet
.
LastRowNum
+
1
;
r
++)
{
var
row
=
sheet
.
GetRow
(
r
);
if
(
row
==
null
)
continue
;
for
(
int
c
=
Point
.
DataFirstCellNum
.
Value
;
c
<
vhead
.
Count
();
c
++)
for
(
int
c
=
0
;
c
<
vhead
.
Count
();
c
++)
{
var
athead
=
vhead
.
ElementAt
(
c
);
//var cellValue = NopiSevice.GetCellValue(row.GetCell(athead.PointCell));
...
...
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