From 38c6f7308c1dd22a8ea286c3ea1de3a4e714f78f Mon Sep 17 00:00:00 2001 From: yinbentan <yinbentan@live.com> Date: 星期五, 02 八月 2024 16:44:51 +0800 Subject: [PATCH] BUG修复,新的工资计算方式添加遗漏的“考勤及补贴数据”(工作日加班时长、休息日加班时长、带徒天数、满勤奖、请假天数、工龄) --- controllers/request/report_forms_request.go | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/controllers/request/report_forms_request.go b/controllers/request/report_forms_request.go index 6ce2f3d..b92e026 100644 --- a/controllers/request/report_forms_request.go +++ b/controllers/request/report_forms_request.go @@ -1,6 +1,16 @@ package request +import "github.com/shopspring/decimal" + type SalaryReportForms struct { PageInfo - Month string `json:"month"` + Month string `json:"month"` + Keyword string `json:"keyword"` +} + +type UpdateSalaryReportForms struct { + WorkerId string `json:"workerId"` + SalaryTypeId uint `json:"salaryTypeId"` + Amount decimal.Decimal `json:"amount"` + Month string `json:"month"` } -- Gitblit v1.8.0