From cc7c2094568ea8f9d1697da5ed0a2c759ca81abd Mon Sep 17 00:00:00 2001
From: yinbentan <yinbentan@live.com>
Date: 星期五, 30 八月 2024 17:18:30 +0800
Subject: [PATCH] 方法修改,修改薪资列表,添加分页查询

---
 controllers/request/system_set.go |   35 +++++++++++++++++++++++++++++------
 1 files changed, 29 insertions(+), 6 deletions(-)

diff --git a/controllers/request/system_set.go b/controllers/request/system_set.go
index c87cd33..bc09766 100644
--- a/controllers/request/system_set.go
+++ b/controllers/request/system_set.go
@@ -1,10 +1,14 @@
 package request
 
-import "silkserver/constvar"
+import (
+	"github.com/shopspring/decimal"
+	"silkserver/constvar"
+)
 
 type GetDictList struct {
 	PageInfo
-	DictType constvar.DictType `json:"dictType"` //瀛楀吀绫诲瀷
+	DictType constvar.DictType `json:"dictType" form:"dictType"` //瀛楀吀绫诲瀷
+	Keyword  string            `json:"keyword" form:"keyword"`   //鎼滅储鍏抽敭瀛�
 }
 
 type AddDict struct {
@@ -19,14 +23,33 @@
 	AddDict
 }
 
+type CodeStandard struct {
+	Type int `json:"type"` // 绫诲瀷
+}
+
 // ---------------------------------------鐢熶笣---------------------------------
 type GetPriceStandard struct {
 	PageInfo
 	KeyWord string `json:"keyWord"`
 }
 
-// ---------------------------------------杞﹂棿---------------------------------
-type GetWorkshopManage struct {
-	PageInfo
-	KeyWord string `json:"keyWord"`
+type SaveRankStandard struct {
+	RankStandard []RankStandard `json:"rankStandard"`
+}
+
+type RankStandard struct {
+	LineId        string             `json:"lineId"`        //琛宨d
+	CheckItem     constvar.CheckItem `json:"checkItem"`     //妫�鏌ラ」鐩悕绉�
+	StartFineness decimal.Decimal    `json:"startFineness"` //寮�濮嬬氦搴�
+	EndFineness   decimal.Decimal    `json:"endFineness"`   //缁撴潫绾ゅ害
+	RankA         decimal.Decimal    `json:"rankA"`         //閲庣氦
+	RankB         decimal.Decimal    `json:"rankB"`         //澶ч噹
+	RankC         decimal.Decimal    `json:"rankC"`         //鐗归噹
+	DynamicsRanks []DynamicsRank     `json:"dynamicsRanks"`
+}
+
+type DynamicsRank struct {
+	RankProp  string          `json:"rankProp"`  //鍓嶇紑key
+	RankName  string          `json:"rankName"`  //绛夌骇鍚嶇О
+	RankValue decimal.Decimal `json:"rankValue"` //绛夌骇鍊�
 }

--
Gitblit v1.8.0