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 } }