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
8eca6a2b
Commit
8eca6a2b
authored
Aug 13, 2019
by
李承祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
排序
parent
aead617a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
performance/Performance.Services/NewExtractService.cs
+3
-3
No files found.
performance/Performance.Services/NewExtractService.cs
View file @
8eca6a2b
...
...
@@ -404,7 +404,7 @@ private void WriteWorkload(ISheet sheet, int hospitalId, List<AccountUnitEntity>
if
(
category
==
null
||
category
.
Count
()
==
0
)
continue
;
foreach
(
var
moditem
in
category
)
{
LogHelper
.
Information
(
$"执行SQL脚本获取数据 --
{
mod
ule
.
Module
Name
}
,"
,
"提取绩效数据"
);
LogHelper
.
Information
(
$"执行SQL脚本获取数据 --
{
mod
item
.
Item
Name
}
,"
,
"提取绩效数据"
);
var
result
=
QueryDatabase
(
hospitalConfigList
,
item
,
allot
,
moditem
.
ItemName
);
if
(
result
!=
null
)
allExtract
.
AddRange
(
result
);
...
...
@@ -548,7 +548,7 @@ private void WriteEmployee(ISheet sheet, int allotLastId, IPerSheetDataRead shee
{
"调节系数"
,
(
t
)
=>
t
.
Adjust
},
};
var
dataList
=
perforImemployeeRepository
.
GetEntities
(
t
=>
t
.
AllotID
==
allotLastId
);
var
dataList
=
perforImemployeeRepository
.
GetEntities
(
t
=>
t
.
AllotID
==
allotLastId
)
?.
OrderBy
(
t
=>
t
.
AccountingUnit
).
ToList
()
;
for
(
int
i
=
0
;
i
<
dataList
.
Count
;
i
++)
{
var
headIndex
=
sheetRead
.
Point
.
HeaderFirstRowNum
;
...
...
@@ -672,7 +672,7 @@ private void WriteAccountBasic(ISheet sheet, int allotLastId, IPerSheetDataRead
{
"调节系数"
,
(
t
)
=>
t
.
DoctorAdjustFactor
},
};
var
dataList
=
perforImaccountbasicRepository
.
GetEntities
(
t
=>
t
.
AllotID
==
allotLastId
);
var
dataList
=
perforImaccountbasicRepository
.
GetEntities
(
t
=>
t
.
AllotID
==
allotLastId
)
?.
OrderBy
(
t
=>
t
.
UnitType
).
ThenBy
(
t
=>
t
.
DoctorAccountingUnit
).
ToList
()
;
for
(
int
i
=
0
;
i
<
dataList
.
Count
;
i
++)
{
var
headIndex
=
sheetRead
.
Point
.
HeaderFirstRowNum
;
...
...
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