From 4dd4ae617e7f37817d2c795ff011d73a67dc29bf Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期五, 11 八月 2023 17:28:56 +0800
Subject: [PATCH] fix

---
 service/quotation.go |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/service/quotation.go b/service/quotation.go
index 3ada6cd..d1b3935 100644
--- a/service/quotation.go
+++ b/service/quotation.go
@@ -44,9 +44,9 @@
 	return ecode.OK
 }
 
-func (QuotationService) GetQuotationList(page, pageSize int, keyword string) ([]*model.Quotation, int64, int) {
+func (QuotationService) GetQuotationList(page, pageSize int, data map[string]interface{}) ([]*model.Quotation, int64, int) {
 	// get contact list
-	contacts, total, err := model.NewQuotationSearch().SetKeyword(keyword).SetPage(page, pageSize).FindAll()
+	contacts, total, err := model.NewQuotationSearch().SetPage(page, pageSize).SetSearchMap(data).FindAll()
 	if err != nil {
 		return nil, 0, ecode.QuotationListErr
 	}

--
Gitblit v1.8.0