From b94bef381946e22fd1038f24e6d9de911d194640 Mon Sep 17 00:00:00 2001
From: yinbentan <yinbentan@live.com>
Date: 星期三, 31 七月 2024 23:33:48 +0800
Subject: [PATCH] 功能修改,工资计算调整,通过前端配置公式进行计算

---
 controllers/request/report_forms_request.go |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/controllers/request/report_forms_request.go b/controllers/request/report_forms_request.go
index 399ade5..b92e026 100644
--- a/controllers/request/report_forms_request.go
+++ b/controllers/request/report_forms_request.go
@@ -1,7 +1,16 @@
 package request
 
+import "github.com/shopspring/decimal"
+
 type SalaryReportForms struct {
 	PageInfo
 	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