From a5435e6664093cd4b2ead49409cb41e301e46514 Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期二, 30 四月 2024 14:07:04 +0800
Subject: [PATCH] 薪资计算2

---
 controllers/response/report_forms_response.go |   19 +++++++++++++++----
 1 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/controllers/response/report_forms_response.go b/controllers/response/report_forms_response.go
index 598df6e..3c4b8bc 100644
--- a/controllers/response/report_forms_response.go
+++ b/controllers/response/report_forms_response.go
@@ -1,8 +1,19 @@
 package response
 
+import "github.com/shopspring/decimal"
+
 type SalaryReportForms struct {
-	WorkerName string `json:"workerName"`
-	WorkerId   string `json:"workerId"`
-	Phone      string `json:"phone"`
-	WorkType   string `json:"workType"`
+	WorkerName  string          `json:"workerName"`
+	WorkerId    string          `json:"workerId"`
+	Phone       string          `json:"phone"`
+	WorkType    string          `json:"workType"`    //宸ョ
+	IssueSalary decimal.Decimal `json:"issueSalary"` //搴斿彂宸ヨ祫
+	Remark      string          `json:"remark"`      //澶囨敞
+	Details     []SalaryDetail  `json:"details"`
+}
+
+type SalaryDetail struct {
+	SalaryTypeId uint            `json:"salaryTypeId"` //钖祫绫诲瀷id
+	SalaryType   string          `json:"salaryType"`   //钖祫绫诲瀷
+	Amount       decimal.Decimal `json:"amount"`       //宸ヨ祫鍊�
 }

--
Gitblit v1.8.0