diff --git a/internal/data/repoimpl/order.go b/internal/data/repoimpl/order.go index 96223a6..f6093e0 100644 --- a/internal/data/repoimpl/order.go +++ b/internal/data/repoimpl/order.go @@ -54,7 +54,10 @@ func (p *OrderRepoImpl) FindInBatches(ctx context.Context, w *bo.FindInBatchesUs return nil } -func (p *OrderRepoImpl) Create(ctx context.Context, req *bo.OrderBo) (*bo.OrderBo, error) { +func (p *OrderRepoImpl) Create(_ context.Context, req *bo.OrderBo) (*bo.OrderBo, error) { + + ctx := context.Background() + now := time.Now() info := &model.Order{