Skip to content

Commit

Permalink
#add: export excel file
Browse files Browse the repository at this point in the history
  • Loading branch information
tdatIT committed Jun 27, 2024
1 parent 9cde3eb commit 7a86a18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/services/queries/statisticQuery/service_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ func (o orderStatisticService) StoreExportOrderData(ctx context.Context, dto *st
log.Errorf("error get store data for export %v", err)
return nil, err
}
data, err := o.orderRepo.GetAllOrderDataRecordByStore(ctx, "65f3d1a51a74dabd449ee883", dto.Date)
data, err := o.orderRepo.GetAllOrderDataRecordByStore(ctx, dto.StoreID, dto.Date)
if err != nil {
log.Errorf("error get order data for export %v", err)
return nil, err
Expand Down

0 comments on commit 7a86a18

Please sign in to comment.