stock request table created
This commit is contained in:
@@ -12,6 +12,7 @@ type PartnerService interface {
|
||||
GetLocationConfig(uid, cid int) ([]models.Locationconfigs, error)
|
||||
GetRiderLogs(pid, aid int, fdate, tdate string) ([]models.RiderlogDetails, error)
|
||||
GetRiderInfo(userid int) (models.RiderInfo, error)
|
||||
GetFleetSummary(aid, tid int, fdate, tdate string) (models.FleetSummary, error)
|
||||
}
|
||||
|
||||
type partnerService struct {
|
||||
@@ -53,3 +54,7 @@ func (s *partnerService) GetRiderLogs(pid, aid int, fdate, tdate string) ([]mode
|
||||
func (s *partnerService) GetRiderInfo(userid int) (models.RiderInfo, error) {
|
||||
return s.repo.GetRiderInfo(userid)
|
||||
}
|
||||
|
||||
func (s *partnerService) GetFleetSummary(aid, tid int, fdate, tdate string) (models.FleetSummary, error) {
|
||||
return s.repo.GetFleetSummary(aid, tid, fdate, tdate)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user