| | |
| | | return ecode.OK |
| | | } |
| | | |
| | | func (FollowupService) GetServiceFollowupList(page, pageSize int, keywordType constvar.ServiceFollowupKeywordType, keyword string, serviceOrderId int) ([]*model.ServiceFollowup, int64, int) { |
| | | func (FollowupService) GetServiceFollowupList(page, pageSize int, keywordType constvar.ServiceFollowupKeywordType, keyword string, serviceOrderId int, memberIds []int) ([]*model.ServiceFollowup, int64, int) { |
| | | // get contact list |
| | | contacts, total, err := model.NewServiceFollowupSearch(). |
| | | SetKeywordType(keywordType). |
| | |
| | | SetPage(page, pageSize). |
| | | SetPreload(true). |
| | | SetServiceOrderId(serviceOrderId). |
| | | SetMemberIds(memberIds). |
| | | FindAll() |
| | | if err != nil { |
| | | return nil, 0, ecode.ServiceFollowupListErr |