Commit 5a65efe3 by wyc

考勤上报 补充

parent a99bb497
......@@ -622,21 +622,19 @@ public ApiResponse GetAttendanceReplenishment(int allotId, int userid)
{
error.Add(new Dictionary<string, string>
{
{ "时间", $"{day}号" },
{ "工号", item.PersonnelNumber ?? "" },
{ "姓名", item.PersonnelName ?? "" },
{ "人员系数", item.PermanentStaff?.ToString() ?? "" },
{ "考勤类型", "" },
{ "错误原因", $"{day}号存在考勤记录,所在科室为:{repeatDept.AccountingUnit},请核实后重新填写"},
{ "错误原因", $"{day}号存在考勤记录,所在科室为:{repeatDept.AccountingUnit},无法添加默认考勤"},
});
}
}
}
}
if (error.Count > 0)
return new ApiResponse(ResponseType.WarningTable, "验证不通过,当前操作已拒绝", error);
_perforPerAttendanceDeptRepository.UpdateRange(result.ToArray());
if (error.Count > 0)
return new ApiResponse(ResponseType.WarningTable, "请注意,以下说明未填写考勤内容的情况。", error);
return new ApiResponse(ResponseType.OK, "加载成功");
}
......
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