From c5a0eb549cba2cd358a2d0496c44f3a289f15d9c Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期一, 28 八月 2023 14:22:06 +0800
Subject: [PATCH] fix

---
 model/request/quotation.go |   26 +++++++++++++++-----------
 1 files changed, 15 insertions(+), 11 deletions(-)

diff --git a/model/request/quotation.go b/model/request/quotation.go
index 1c42250..468b1fb 100644
--- a/model/request/quotation.go
+++ b/model/request/quotation.go
@@ -7,16 +7,16 @@
 }
 
 type Quotation struct {
-	ClientId          int              `json:"client_id"`
-	Number            string           `json:"number"`
-	QuotationStatusId int              `json:"quotation_status_id"`
-	ValidityDate      string           `json:"validity_date"`
-	ContactId         int              `json:"contact_id"`
-	MemberId          int              `json:"member_id"`
-	SaleChanceId      int              `json:"sale_chance_id"`
-	Conditions        string           `json:"conditions"`
-	File              string           `json:"file"`
-	Products          []*model.Product `json:"products"`
+	ClientId          int             `json:"client_id"`
+	Number            string          `json:"number"`
+	QuotationStatusId int             `json:"quotation_status_id"`
+	ValidityDate      string          `json:"validity_date"`
+	ContactId         int             `json:"contact_id"`
+	MemberId          int             `json:"member_id"`
+	SaleChanceId      int             `json:"sale_chance_id"`
+	Conditions        string          `json:"conditions"`
+	File              string          `json:"file"`
+	Products          []model.Product `json:"products"`
 }
 
 type UpdateQuotation struct {
@@ -26,5 +26,9 @@
 
 type GetQuotationList struct {
 	PageInfo
-	SearchMap map[string]interface{} // 鎼滅储鏉′欢: map[string]interface{}{"name": "xxx"}; {"sale_chance_id": 閿�鍞嚎绱d, "client_name": "瀹㈡埛鍚嶇О", "member_name": "閿�鍞礋璐d汉", "contact_name": "鑱旂郴浜�", "validity_date": "鏈夋晥鏈�"}
+	SearchMap map[string]interface{} `json:"search_map"` // 鎼滅储鏉′欢: map[string]interface{}{"name": "xxx"}; {"sale_chance_id": 閿�鍞嚎绱d, "client_name": "瀹㈡埛鍚嶇О", "member_name": "閿�鍞礋璐d汉", "contact_name": "鑱旂郴浜�", "validity_date": "鏈夋晥鏈�"}
+}
+
+type DeleteQuotation struct {
+	Ids []int `json:"ids"`
 }

--
Gitblit v1.8.0