pro order use notify

This commit is contained in:
ziming 2025-06-09 15:00:25 +08:00
parent 6feb2d479b
commit 0bd9444026
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ func (p *OrderRepoImpl) FinSucByStockIdInBatches(ctx context.Context, req *do.We
var results = make([]*model.Order, 0) var results = make([]*model.Order, 0)
result := tx.FindInBatches(&results, 50, func(tx *gorm.DB, batch int) error { result := tx.FindInBatches(&results, 100, func(tx *gorm.DB, batch int) error {
return fun(ctx, p.ToBos(results)) return fun(ctx, p.ToBos(results))
}) })