多笔立减

This commit is contained in:
ziming 2025-08-20 10:23:56 +08:00
parent b421a943a7
commit 99085ec821
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ func (p *OrderRepoImpl) DB(ctx context.Context) *gorm.DB {
func (p *OrderRepoImpl) SpecifyFindInBatches(ctx context.Context, req *bo.FindInBatchesBo, fun func(ctx context.Context, rows []*bo.OrderBo) error) error {
tx := p.DB(ctx)
tx := p.DB(ctx).Where("activity_id = ''")
if req.ProductNo != "" {
tx = tx.Where("product_no = ?", req.ProductNo)