From a904aa32e66688ba76c9e4b71b6738b0ba5f5d4f Mon Sep 17 00:00:00 2001 From: yinbentan <yinbentan@live.com> Date: 星期四, 25 七月 2024 11:44:09 +0800 Subject: [PATCH] 添加字段,工种添加工种编码,用于计算工资(id无法固定工种信息) --- controllers/request/attendance_request.go | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/controllers/request/attendance_request.go b/controllers/request/attendance_request.go index 493c9b8..c4cdcdf 100644 --- a/controllers/request/attendance_request.go +++ b/controllers/request/attendance_request.go @@ -19,7 +19,8 @@ } type GetAttendanceStatistic struct { - Month string `json:"month"` //鏈堜唤 + Month string `json:"month"` //鏈堜唤 + Keyword string `json:"keyword"` } type UpdateAttendance struct { @@ -27,4 +28,11 @@ WorkerId string `json:"workerId"` //浜哄憳id Status constvar.AttendanceStatus `json:"status"` //鐘舵�� OverTimeDuration decimal.Decimal `json:"overTimeDuration"` //鍔犵彮鏃堕暱 + WorkerName string `json:"workerName"` //浜哄憳濮撳悕 + StartWorkTime string `json:"startWorkTime"` //涓婄彮鎵撳崱鏃堕棿 + EndWorkTime string `json:"endWorkTime"` //涓嬬彮鎵撳崱鏃堕棿 + Classes string `json:"classes"` //鐝 + ClassesStartTime string `json:"classesStartTime"` //鐝寮�濮嬫椂闂� + ClassesEndTime string `json:"classesEndTime"` //鐝涓嬬彮鏃堕棿 + WorkTypeId uint `json:"workTypeId"` //宸ョid } -- Gitblit v1.8.0