fix
wangpengfei
2023-07-27 c59053ef98942526930480345636ad3bb7b55596
service/quotation.go
@@ -44,11 +44,11 @@
   return ecode.OK
}
func (QuotationService) GetQuotationList(page, pageSize int, keyword string) ([]*model.Quotation, int) {
func (QuotationService) GetQuotationList(page, pageSize int, keyword string) ([]*model.Quotation, int64, int) {
   // get contact list
   contacts, err := model.NewQuotationSearch().SetKeyword(keyword).SetPage(page, pageSize).FindAll()
   contacts, total, err := model.NewQuotationSearch().SetKeyword(keyword).SetPage(page, pageSize).FindAll()
   if err != nil {
      return nil, ecode.QuotationListErr
      return nil, 0, ecode.QuotationListErr
   }
   return contacts, ecode.OK
   return contacts, total, ecode.OK
}