From 9a7e0a7da01a9f9625ceaca0c61a59c540c6438f Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期五, 18 八月 2023 17:32:10 +0800
Subject: [PATCH] fix

---
 model/request/masterOrder.go |   21 +++++++++++++++------
 1 files changed, 15 insertions(+), 6 deletions(-)

diff --git a/model/request/masterOrder.go b/model/request/masterOrder.go
index f024b3c..6cecb35 100644
--- a/model/request/masterOrder.go
+++ b/model/request/masterOrder.go
@@ -5,15 +5,24 @@
 }
 
 type MasterOrder struct {
-	Number    string `json:"number"`
-	ClientId  int    `json:"client_id"`
-	MemberId  int    `json:"member_id"`
-	StartTime string `json:"start_time"`
-	EndTime   string `json:"end_time"`
-	Money     string `json:"money"`
+	Number    string  `json:"number"`
+	ClientId  int     `json:"client_id"`
+	MemberId  int     `json:"member_id"`
+	StartTime string  `json:"start_time"`
+	EndTime   string  `json:"end_time"`
+	Money     float64 `json:"money"`
 }
 
 type UpdateMasterOrder struct {
 	Id int `json:"id"`
 	MasterOrder
 }
+
+type GetMasterOrderList struct {
+	PageInfo
+	SearchMap map[string]interface{} `json:"search_map"` // 鎼滅储鏉′欢: map[string]interface{}{"name": "xxx"}; {"number": "閿�鍞�诲崟鍙�", "client_name": "瀹㈡埛鍚嶇О", "member_name": "閿�鍞礋璐d汉", "start_time": "寮�濮嬫椂闂�", "end_time": "缁撴潫鏃堕棿", "money": "鎬婚噾棰�", "member_name": "璐熻矗浜�"}
+}
+
+type DeleteMasterOrder struct {
+	Ids []int `json:"ids"`
+}

--
Gitblit v1.8.0