Commit 2c78f1de by ruyun.zhang

调动记录批量粘贴默认人员系数

parent 34cc48db
...@@ -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>
列头名称 列头名称
......
...@@ -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>)>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment