zhangqian
2023-08-11 e027ac6cb0705ab4eda2a162fb70f4532f24af93
service/serviceFollowup.go
@@ -41,13 +41,14 @@
   return ecode.OK
}
func (FollowupService) GetServiceFollowupList(page, pageSize int, keywordType constvar.ServiceFollowupKeywordType, keyword string) ([]*model.ServiceFollowup, int64, int) {
func (FollowupService) GetServiceFollowupList(page, pageSize int, keywordType constvar.ServiceFollowupKeywordType, keyword string, serviceOrderId int) ([]*model.ServiceFollowup, int64, int) {
   // get contact list
   contacts, total, err := model.NewServiceFollowupSearch().
      SetKeywordType(keywordType).
      SetKeyword(keyword).
      SetPage(page, pageSize).
      SetPreload(true).
      SetServiceOrderId(serviceOrderId).
      FindAll()
   if err != nil {
      return nil, 0, ecode.ServiceFollowupListErr