liujiandao
2023-10-13 f65ce9c19568745003b22e82060fb38c2885c701
service/serviceOrder.go
@@ -38,7 +38,7 @@
   return ecode.OK
}
func (ServiceOrderService) GetServiceOrderList(page, pageSize int, queryClass constvar.ServiceOrderQueryClass, keywordType constvar.ServiceOrderKeywordType, keyword string, serviceContractId, salesDetailsId int) ([]*model.ServiceOrder, int64, int) {
func (ServiceOrderService) GetServiceOrderList(page, pageSize int, queryClass constvar.ServiceOrderQueryClass, keywordType constvar.ServiceOrderKeywordType, keyword string, serviceContractId, salesDetailsId int, memberIds []int) ([]*model.ServiceOrder, int64, int) {
   list, total, err := model.NewServiceOrderSearch().
      SetPage(page, pageSize).
      SetKeyword(keyword).
@@ -47,6 +47,7 @@
      SetPreload(true).
      SetServiceContractId(serviceContractId).
      SetSalesDetailsId(salesDetailsId).
      SetMemberIds(memberIds).
      Find()
   if err != nil {
      return nil, 0, ecode.DBErr