go-common/app/job/main/reply/service/business.go
2019-04-22 18:49:16 +08:00

13 lines
274 B
Go

package service
import (
"context"
"go-common/app/job/main/reply/model/reply"
)
// ListBusiness return all non-deleted business record.
func (s *Service) ListBusiness(c context.Context) (business []*reply.Business, err error) {
return s.dao.Business.ListBusiness(c)
}