zhangqian
2024-04-26 cd057a6eb60902fc380e4de16ece38a2ae83d5a0
controllers/response/attendance_response.go
@@ -12,6 +12,7 @@
type AttendanceStatistic struct {
   WorkerId               string             `json:"workerId"`               //人员id
   WorkerName             string             `json:"workerName"`             //人员姓名
   WorkTypeId             uint               `json:"workTypeId"`             //工种id
   WorkType               string             `json:"workType"`               //工种
   Month                  string             `json:"month"`                  //月份
   WeekdayOverTime        decimal.Decimal    `json:"weekdayOverTime"`        //工作日加班时长
@@ -23,6 +24,7 @@
type AttendanceDetail struct {
   Date             int                       `json:"date"`             //日期
   WeekDay          string                    `json:"weekDay"`          //星期
   Status           constvar.AttendanceStatus `json:"status"`           //状态
   StartWorkTime    string                    `json:"startWorkTime"`    //上班打卡时间
   EndWorkTime      string                    `json:"endWorkTime"`      //下班打卡时间