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
e9c7ba17
Commit
e9c7ba17
authored
Apr 28, 2020
by
lcx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
返回log信息修改
parent
a5ad549c
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
4 deletions
+12
-4
performance/Performance.Services/AllotCompute/ImportDataService.cs
+8
-0
performance/Performance.Services/PerExcelService/SheetDataRead/PerSheetDataReadClinicEmployee.cs
+1
-1
performance/Performance.Services/PerExcelService/SheetDataRead/PerSheetDataReadDeptAccounting.cs
+1
-1
performance/Performance.Services/PerExcelService/SheetDataRead/PerSheetDataReadEmployee.cs
+1
-1
performance/Performance.Services/PerExcelService/SheetDataRead/PerSheetDataReadSpecialUnit.cs
+1
-1
No files found.
performance/Performance.Services/AllotCompute/ImportDataService.cs
View file @
e9c7ba17
...
...
@@ -104,9 +104,17 @@ private PerExcel Import(per_allot allot)
if
(
SheetType
.
Unidentifiable
!=
sheetType
)
{
logManageService
.
WriteMsg
(
"开始读取excel文件"
,
$"开始读取sheet --
{
sheet
.
SheetName
}
"
,
1
,
allot
.
ID
,
"ReceiveMessage"
,
true
);
try
{
var
st
=
perSheetService
.
Sheet
(
sheet
,
isnew
);
excel
.
PerSheet
.
Add
(
st
);
}
catch
(
Exception
ex
)
{
logManageService
.
WriteMsg
(
"读取excel文件"
,
ex
.
Message
.
ToString
(),
4
,
allot
.
ID
,
"ReceiveMessage"
,
true
);
throw
ex
;
}
}
else
{
if
(
sheet
.
SheetName
.
Contains
(
"开单医院"
))
...
...
performance/Performance.Services/PerExcelService/SheetDataRead/PerSheetDataReadClinicEmployee.cs
View file @
e9c7ba17
...
...
@@ -43,7 +43,7 @@ public List<IPerData> ReadData(ISheet sheet, List<PerHeader> perHeader)
foreach
(
var
item
in
headers
)
{
if
(!
perHeader
.
Any
(
p
=>
p
.
CellValue
==
item
))
throw
new
NullReferenceException
(
$"
{
sheet
.
SheetName
}
中
{
item
}
列
为空"
);
throw
new
NullReferenceException
(
$"
sheet '
{
sheet
.
SheetName
}
'中列'
{
item
}
'
为空"
);
}
for
(
int
r
=
Point
.
DataFirstRowNum
.
Value
;
r
<
sheet
.
LastRowNum
+
1
;
r
++)
{
...
...
performance/Performance.Services/PerExcelService/SheetDataRead/PerSheetDataReadDeptAccounting.cs
View file @
e9c7ba17
...
...
@@ -46,7 +46,7 @@ public List<IPerData> ReadData(ISheet sheet, List<PerHeader> perHeader)
foreach
(
var
item
in
headers
)
{
if
(!
perHeader
.
Any
(
p
=>
p
.
CellValue
==
item
))
throw
new
NullReferenceException
(
$"
{
sheet
.
SheetName
}
中
{
item
}
列
为空"
);
throw
new
NullReferenceException
(
$"
sheet '
{
sheet
.
SheetName
}
'中列'
{
item
}
'
为空"
);
}
for
(
int
r
=
Point
.
DataFirstRowNum
.
Value
;
r
<
sheet
.
LastRowNum
+
1
;
r
++)
{
...
...
performance/Performance.Services/PerExcelService/SheetDataRead/PerSheetDataReadEmployee.cs
View file @
e9c7ba17
...
...
@@ -45,7 +45,7 @@ public List<IPerData> ReadData(ISheet sheet, List<PerHeader> perHeader)
foreach
(
var
item
in
headers
)
{
if
(!
perHeader
.
Any
(
p
=>
p
.
CellValue
==
item
))
throw
new
NullReferenceException
(
$"
{
sheet
.
SheetName
}
中
{
item
}
列
为空"
);
throw
new
NullReferenceException
(
$"
sheet '
{
sheet
.
SheetName
}
'中列'
{
item
}
'
为空"
);
}
for
(
int
r
=
Point
.
DataFirstRowNum
.
Value
;
r
<
sheet
.
LastRowNum
+
1
;
r
++)
{
...
...
performance/Performance.Services/PerExcelService/SheetDataRead/PerSheetDataReadSpecialUnit.cs
View file @
e9c7ba17
...
...
@@ -38,7 +38,7 @@ public List<IPerData> ReadData(ISheet sheet, List<PerHeader> perHeader)
foreach
(
var
item
in
headers
)
{
if
(!
perHeader
.
Any
(
p
=>
p
.
CellValue
==
item
))
throw
new
NullReferenceException
(
$"
{
sheet
.
SheetName
}
中
{
item
}
列
为空"
);
throw
new
NullReferenceException
(
$"
sheet '
{
sheet
.
SheetName
}
'中列'
{
item
}
'
为空"
);
}
// 特殊科室多科室聚合,合并时保留科室名称
string
lastAccount
=
""
;
...
...
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