test data

This commit is contained in:
ziming 2025-04-16 08:57:13 +08:00
parent a6123f5b1c
commit 23b8bda2a0
1 changed files with 0 additions and 1 deletions

View File

@ -39,7 +39,6 @@ func (p *OrderRepoImpl) FindInBatches(ctx context.Context, w *bo.FindInBatchesUs
Where("type = ?", w.Type).
Where("status IN (?)", []uint8{vo.OrderStatusSuccess.GetValue(), vo.OrderStatusUse.GetValue()}).
Where("receive_success_time BETWEEN ? AND ?", w.StartTime, w.EndTime).
Where("product_no <> ?", "001"). // 跳过压测的订单数据
FindInBatches(&results, 100, func(tx *gorm.DB, batch int) error {
// tx.RowsAffected 提供当前批处理中记录的计数the count of records in the current batch
// 'batch' 变量表示当前批号the current batch number