From 30e38e3b2a55a4c9d503b7fbda303437865793be Mon Sep 17 00:00:00 2001 From: yinbentan <yinbentan@live.com> Date: 星期二, 16 七月 2024 20:08:30 +0800 Subject: [PATCH] 添加方法,根据纤度登记ID获取纤度检验详情 --- 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