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