From c92534229c83436ffe9e6752209200dd70b77808 Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期四, 17 八月 2023 19:19:44 +0800
Subject: [PATCH] add
---
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