This commit is contained in:
gazebo
2019-12-05 12:30:45 +08:00
parent e09dc5a4da
commit 64ffeb1279

View File

@@ -516,7 +516,7 @@ func CancelOrder(ctx *jxcontext.Context, order *model.GoodsOrder, reason string)
orderPayRefund, err2 := refundOrderByWX(ctx, orderPay, refundID)
if err2 == nil {
dao.WrapAddIDCULDEntity(orderPayRefund, ctx.GetUserName())
errList.AddErr(dao.CreateEntity(dao.GetDB(), orderPay))
errList.AddErr(dao.CreateEntity(dao.GetDB(), orderPayRefund))
} else {
errList.AddErr(err2)
}