query1 order
This commit is contained in:
parent
4d6211a30f
commit
ee73cb8c50
|
|
@ -79,6 +79,12 @@ func (this *VoucherBiz) QueryOrder(ctx context.Context, orderNo, isNotice string
|
||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if order.Status != status {
|
||||||
|
if err = this.UpdateOrderStatus(ctx, order.ID, status); err != nil {
|
||||||
|
return "", err
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
notifyStr := ""
|
notifyStr := ""
|
||||||
if isNotice == "YES" {
|
if isNotice == "YES" {
|
||||||
notify, err := this.Cmb.Notify(ctx, order)
|
notify, err := this.Cmb.Notify(ctx, order)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue