券状态查询
This commit is contained in:
parent
e627fdd6a3
commit
3e9bb2b762
|
|
@ -36,7 +36,6 @@ func (v *VoucherBiz) warningBudget(ctx context.Context) error {
|
||||||
wxResp, err := v.WechatCpnRepo.QueryProduct(ctx, row.MchId, row.BatchNo)
|
wxResp, err := v.WechatCpnRepo.QueryProduct(ctx, row.MchId, row.BatchNo)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Context(ctx).Errorf("预警查询,查询微信券失败: %v", err)
|
log.Context(ctx).Errorf("预警查询,查询微信券失败: %v", err)
|
||||||
continue
|
|
||||||
} else {
|
} else {
|
||||||
if err = v.Calculate(ctx, row, wxResp); err != nil {
|
if err = v.Calculate(ctx, row, wxResp); err != nil {
|
||||||
log.Context(ctx).Errorf("预警查询,处理失败: %v", err)
|
log.Context(ctx).Errorf("预警查询,处理失败: %v", err)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue