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
2c78f1de
Commit
2c78f1de
authored
Apr 07, 2023
by
ruyun.zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调动记录批量粘贴默认人员系数
parent
34cc48db
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
9 deletions
+33
-9
performance/Performance.Api/wwwroot/Performance.DtoModels.xml
+30
-0
performance/Performance.Services/AttendanceService.cs
+3
-9
No files found.
performance/Performance.Api/wwwroot/Performance.DtoModels.xml
View file @
2c78f1de
...
@@ -3148,6 +3148,36 @@
...
@@ -3148,6 +3148,36 @@
结束时间
结束时间
</summary>
</summary>
</member>
</member>
<member
name=
"P:Performance.DtoModels.Response.AutocomplateEmployeeResponse.AllotId"
>
<summary>
</summary>
</member>
<member
name=
"P:Performance.DtoModels.Response.AutocomplateEmployeeResponse.PersonnelNumber"
>
<summary>
人员工号
</summary>
</member>
<member
name=
"P:Performance.DtoModels.Response.AutocomplateEmployeeResponse.DoctorName"
>
<summary>
医生姓名
</summary>
</member>
<member
name=
"P:Performance.DtoModels.Response.AutocomplateEmployeeResponse.TypeInDepartment"
>
<summary>
录入科室
</summary>
</member>
<member
name=
"P:Performance.DtoModels.Response.AutocomplateEmployeeResponse.AccountingUnit"
>
<summary>
核算单元
</summary>
</member>
<member
name=
"P:Performance.DtoModels.Response.AutocomplateEmployeeResponse.PermanentStaff"
>
<summary>
人员系数
</summary>
</member>
<member
name=
"P:Performance.DtoModels.Response.CollectPermission.HeadName"
>
<member
name=
"P:Performance.DtoModels.Response.CollectPermission.HeadName"
>
<summary>
<summary>
列头名称
列头名称
...
...
performance/Performance.Services/AttendanceService.cs
View file @
2c78f1de
...
@@ -170,15 +170,7 @@ public HandsonTableBase GetBatchCallInHandsonTable(int allotId)
...
@@ -170,15 +170,7 @@ public HandsonTableBase GetBatchCallInHandsonTable(int allotId)
List
<
view_attendance
>
data
=
new
List
<
view_attendance
>();
List
<
view_attendance
>
data
=
new
List
<
view_attendance
>();
data
=
GetCallIn
(
allotId
).
Data
;
data
=
GetCallIn
(
allotId
).
Data
;
var
convertDate
=
data
.
Select
(
t
=>
var
convertDate
=
data
.
Select
(
t
=>
new
{
t
.
PersonnelName
,
t
.
PersonnelNumber
,
t
.
AccountingUnit
,
t
.
UnitType
,
t
.
PermanentStaff
,
AttendanceDate
=
t
.
AttendanceDate
.
ToString
(
"d"
)
});
new
{
t
.
PersonnelName
,
t
.
PersonnelNumber
,
t
.
AccountingUnit
,
t
.
UnitType
,
AttendanceDate
=
t
.
AttendanceDate
.
ToString
(
"d"
)
});
if
(
convertDate
==
null
)
if
(
convertDate
==
null
)
return
handson
;
return
handson
;
...
@@ -1278,6 +1270,7 @@ public string ExcelDownload(List<Dictionary<string, object>> rows, string name,
...
@@ -1278,6 +1270,7 @@ public string ExcelDownload(List<Dictionary<string, object>> rows, string name,
(
nameof
(
per_attendance
.
CallInAccountingUnit
),
"调入核算单元"
,
t
=>
t
.
CallInAccountingUnit
),
(
nameof
(
per_attendance
.
CallInAccountingUnit
),
"调入核算单元"
,
t
=>
t
.
CallInAccountingUnit
),
(
nameof
(
per_attendance
.
CallInUnitType
),
"调入组别"
,
t
=>
t
.
CallInUnitType
),
(
nameof
(
per_attendance
.
CallInUnitType
),
"调入组别"
,
t
=>
t
.
CallInUnitType
),
(
nameof
(
per_attendance
.
CallInDate
),
"调入时间"
,
t
=>
t
.
CallInDate
),
(
nameof
(
per_attendance
.
CallInDate
),
"调入时间"
,
t
=>
t
.
CallInDate
),
(
nameof
(
per_attendance
.
PermanentStaff
),
"人员系数"
,
t
=>
t
.
PermanentStaff
),
};
};
public
static
List
<(
string
,
string
,
Func
<
view_attendance
,
object
>)>
Person2
{
get
;
}
=
new
List
<(
string
,
string
,
Func
<
view_attendance
,
object
>)>
public
static
List
<(
string
,
string
,
Func
<
view_attendance
,
object
>)>
Person2
{
get
;
}
=
new
List
<(
string
,
string
,
Func
<
view_attendance
,
object
>)>
{
{
...
@@ -1286,6 +1279,7 @@ public string ExcelDownload(List<Dictionary<string, object>> rows, string name,
...
@@ -1286,6 +1279,7 @@ public string ExcelDownload(List<Dictionary<string, object>> rows, string name,
(
nameof
(
view_attendance
.
AccountingUnit
),
"调入核算单元"
,
t
=>
t
.
AccountingUnit
),
(
nameof
(
view_attendance
.
AccountingUnit
),
"调入核算单元"
,
t
=>
t
.
AccountingUnit
),
(
nameof
(
view_attendance
.
UnitType
),
"调入组别"
,
t
=>
t
.
UnitType
),
(
nameof
(
view_attendance
.
UnitType
),
"调入组别"
,
t
=>
t
.
UnitType
),
(
nameof
(
view_attendance
.
AttendanceDate
),
"调入时间"
,
t
=>
t
.
AttendanceDate
),
(
nameof
(
view_attendance
.
AttendanceDate
),
"调入时间"
,
t
=>
t
.
AttendanceDate
),
(
nameof
(
per_attendance
.
PermanentStaff
),
"人员系数"
,
t
=>
t
.
PermanentStaff
),
};
};
public
static
List
<(
string
,
string
,
Func
<
RecordAttendcance
,
object
>)>
Vacation
{
get
;
}
=
new
List
<(
string
,
string
,
Func
<
RecordAttendcance
,
object
>)>
public
static
List
<(
string
,
string
,
Func
<
RecordAttendcance
,
object
>)>
Vacation
{
get
;
}
=
new
List
<(
string
,
string
,
Func
<
RecordAttendcance
,
object
>)>
...
...
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