Commit bcd09ec4 authored by 廖旭伟's avatar 廖旭伟

考勤汇总增加应到天数

parent eada306d
......@@ -223,6 +223,8 @@ public class AttendanceStatEntity extends AttendanceStatVo {
* 手机号码
*/
private String phoneNumer;
@Excel(name = "应到天数")
private Integer workDays;
/**
* 出勤天数
*/
......
......@@ -11,6 +11,7 @@
s.deptId,
s.deptName,
s.phoneNumer,
count(1) as workDays,
ROUND(IFNULL(sum(s.goTimes),0)/count(1),4) as attendanceRate,
sum(s.goTimes) AS goTimes,
sum(s.morningTimes) AS morningTimes,
......
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