query1 order

This commit is contained in:
ziming 2025-10-20 13:38:23 +08:00
parent 4d6211a30f
commit ee73cb8c50
1 changed files with 6 additions and 0 deletions

View File

@ -79,6 +79,12 @@ func (this *VoucherBiz) QueryOrder(ctx context.Context, orderNo, isNotice string
return "", err
}
if order.Status != status {
if err = this.UpdateOrderStatus(ctx, order.ID, status); err != nil {
return "", err
}
}
notifyStr := ""
if isNotice == "YES" {
notify, err := this.Cmb.Notify(ctx, order)