new changes
This commit is contained in:
@@ -20,7 +20,7 @@ type OrderService interface {
|
||||
CreateOrder(order models.Orders) (models.Orders, error)
|
||||
GetCustomerOrdersv3(customerID, tenantID, moduleID, fromDate, toDate, orderStatus, keyword string, pageSize, offset int) ([]models.CustomerOrder, error)
|
||||
GetTenantLocationOrders(input models.DeliveryQuery) ([]models.OrderInfo, error)
|
||||
|
||||
GetRevenueSummary(tid, lid int, fdate, tdate string) (*models.TenantRevenueSummary, error)
|
||||
}
|
||||
|
||||
type orderService struct {
|
||||
@@ -86,3 +86,8 @@ func (s *orderService) GetCustomerOrdersv3(customerID, tenantID, moduleID, fromD
|
||||
func (s *orderService) GetTenantLocationOrders(input models.DeliveryQuery) ([]models.OrderInfo, error) {
|
||||
return s.repo.GetTenantLocationOrders(input)
|
||||
}
|
||||
|
||||
func (s *orderService) GetRevenueSummary(tid, lid int, fdate, tdate string) (*models.TenantRevenueSummary, error) {
|
||||
return s.repo.GetRevenueSummary(tid, lid, fdate, tdate)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user