business.go 274 B

123456789101112
  1. package service
  2. import (
  3. "context"
  4. "go-common/app/job/main/reply/model/reply"
  5. )
  6. // ListBusiness return all non-deleted business record.
  7. func (s *Service) ListBusiness(c context.Context) (business []*reply.Business, err error) {
  8. return s.dao.Business.ListBusiness(c)
  9. }