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
fa63d2e8
Commit
fa63d2e8
authored
Sep 15, 2020
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
医院其他绩效模板导入
parent
e46be9cd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
performance/Performance.Api/Template/医院人员绩效模板.xls
+0
-0
performance/Performance.Services/EmployeeService.cs
+7
-5
No files found.
performance/Performance.Api/Template/医院人员绩效模板.xls
View file @
fa63d2e8
No preview for this file type
performance/Performance.Services/EmployeeService.cs
View file @
fa63d2e8
...
@@ -461,7 +461,7 @@ public void ImpoerAprEmployees(int allotid, string path, int userid)
...
@@ -461,7 +461,7 @@ public void ImpoerAprEmployees(int allotid, string path, int userid)
Dictionary
<
string
,
int
>
dict
=
new
Dictionary
<
string
,
int
>
Dictionary
<
string
,
int
>
dict
=
new
Dictionary
<
string
,
int
>
{
{
{
"人员工号"
,
-
1
},
{
"姓名"
,
-
1
},
{
"绩效类型"
,
-
1
},
{
"金额"
,
-
1
},
{
"
录入科室"
,
-
1
},{
"核算单元"
,
-
1
},{
"
人员工号"
,
-
1
},
{
"姓名"
,
-
1
},
{
"绩效类型"
,
-
1
},
{
"金额"
,
-
1
},
};
};
List
<
string
>
errorHeaders
=
new
List
<
string
>();
List
<
string
>
errorHeaders
=
new
List
<
string
>();
...
@@ -485,10 +485,12 @@ public void ImpoerAprEmployees(int allotid, string path, int userid)
...
@@ -485,10 +485,12 @@ public void ImpoerAprEmployees(int allotid, string path, int userid)
var
entity
=
new
per_apr_amount
var
entity
=
new
per_apr_amount
{
{
PersonnelNumber
=
row
.
GetCell
(
dict
[
"人员工号"
])?.
ToString
(),
PersonnelNumber
=
row
.
GetCell
(
dict
[
"人员工号"
]).
GetValue
(),
DoctorName
=
row
.
GetCell
(
dict
[
"姓名"
])?.
ToString
(),
DoctorName
=
row
.
GetCell
(
dict
[
"姓名"
]).
GetValue
(),
PerforType
=
row
.
GetCell
(
dict
[
"绩效类型"
])?.
ToString
(),
PerforType
=
row
.
GetCell
(
dict
[
"绩效类型"
]).
GetValue
(),
Amount
=
(
decimal
)(
row
.
GetCell
(
dict
[
"金额"
])?.
NumericCellValue
??
0
),
Amount
=
ConvertHelper
.
To
<
decimal
>(
row
.
GetCell
(
dict
[
"金额"
]).
GetValue
(),
0
),
TypeInDepartment
=
row
.
GetCell
(
dict
[
"录入科室"
]).
GetValue
(),
AccountingUnit
=
row
.
GetCell
(
dict
[
"核算单元"
]).
GetValue
(),
AllotId
=
allotid
,
AllotId
=
allotid
,
CreateDate
=
createtime
,
CreateDate
=
createtime
,
CreateUser
=
userid
,
CreateUser
=
userid
,
...
...
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