WechatQuery
This commit is contained in:
parent
7cb8ee4202
commit
03828585b1
|
|
@ -65,7 +65,7 @@ func (p *OrderRepoImpl) FinFailByStockIdInBatches(ctx context.Context, batchNo s
|
|||
result := p.DB(ctx).
|
||||
Where("batch_no = ?", batchNo).
|
||||
Where("status = ?", vo.OrderStatusFail.GetValue()).
|
||||
Where("remark <> ?", "error: code = 500 reason = WechatFAIL message = 微信返回错误:该用户账号异常,无法领券。商家可联系微信支付或让用户联系微信支付客服处理。 metadat").
|
||||
//Where("remark <> ?", "error: code = 500 reason = WechatFAIL message = 微信返回错误:该用户账号异常,无法领券。商家可联系微信支付或让用户联系微信支付客服处理。 metadat").
|
||||
FindInBatches(&results, 50, func(tx *gorm.DB, batch int) error {
|
||||
return fun(ctx, p.ToBos(results))
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue