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/attendance_controller.go | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/controllers/attendance_controller.go b/controllers/attendance_controller.go index 7d0d3f1..984b09a 100644 --- a/controllers/attendance_controller.go +++ b/controllers/attendance_controller.go @@ -114,6 +114,7 @@ for _, worker := range workers { if attendance.WorkerId == worker.ID { attendance.WorkTypeId = worker.WorkTypeId + attendance.PhoneNum = worker.PhoneNum break } } -- Gitblit v1.8.0