Commit 4d617ba9 by ruyun.zhang

考勤类型缺失避免报错

parent 62001c29
......@@ -566,7 +566,7 @@ public ApiResponse<List<RecordAttendcance>> GetAttendanceVacation(int allotId)
HospitalId = a.HospitalId,
PersonnelName = a.PersonnelName,
PersonnelNumber = a.PersonnelNumber,
AttendanceName = tt.AttendanceName,
AttendanceName = tt?.AttendanceName ?? "考勤类型缺失",
TypeId = a.TypeId,
BegDate = a.BegDate,
EndDate = a.EndDate,
......
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