fk
This commit is contained in:
@@ -516,7 +516,7 @@ func CancelOrder(ctx *jxcontext.Context, order *model.GoodsOrder, reason string)
|
|||||||
orderPayRefund, err2 := refundOrderByWX(ctx, orderPay, refundID)
|
orderPayRefund, err2 := refundOrderByWX(ctx, orderPay, refundID)
|
||||||
if err2 == nil {
|
if err2 == nil {
|
||||||
dao.WrapAddIDCULDEntity(orderPayRefund, ctx.GetUserName())
|
dao.WrapAddIDCULDEntity(orderPayRefund, ctx.GetUserName())
|
||||||
errList.AddErr(dao.CreateEntity(dao.GetDB(), orderPay))
|
errList.AddErr(dao.CreateEntity(dao.GetDB(), orderPayRefund))
|
||||||
} else {
|
} else {
|
||||||
errList.AddErr(err2)
|
errList.AddErr(err2)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user