liujiandao
2023-10-12 17aaed743ab7a3520ec8eb9e4ab7c776ca807cdd
service/salesRefund.go
@@ -168,11 +168,12 @@
   return ecode.OK
}
func (SalesRefundService) GetSalesRefundList(page, pageSize int, keywordType constvar.SalesRefundKeywordType, keyword string) ([]*model.SalesRefund, int64, int) {
func (SalesRefundService) GetSalesRefundList(page, pageSize int, keywordType constvar.SalesRefundKeywordType, keyword string, sourceId int) ([]*model.SalesRefund, int64, int) {
   // get contact list
   contacts, total, err := model.NewSalesRefundSearch().
      SetKeywordType(keywordType).
      SetKeyword(keyword).
      SetSourceId(sourceId).
      SetPreload(true).
      SetPage(page, pageSize).FindAll()
   if err != nil {