1
This commit is contained in:
@@ -86,8 +86,8 @@ func RefundOrderByLaKaLa(ctx *jxcontext.Context, orderPay *model.OrderPay, afsOr
|
||||
RefundAmount: utils.Int2Str(refundFee),
|
||||
OriginBizType: "3",
|
||||
OriginTradeDate: order.OrderCreatedAt.Format("20060102"),
|
||||
OriginLogNo: "",
|
||||
OriginTradeNo: order.VendorOrderID,
|
||||
OriginLogNo: order.VendorOrderID2,
|
||||
OriginTradeNo: "",
|
||||
OriginCardNo: "",
|
||||
LocationInfo: nil,
|
||||
RefundType: "",
|
||||
@@ -96,7 +96,7 @@ func RefundOrderByLaKaLa(ctx *jxcontext.Context, orderPay *model.OrderPay, afsOr
|
||||
resp, err := api.LaKaLaApi.RefundOrder(param)
|
||||
orderPayRefund = &model.OrderPayRefund{
|
||||
RefundID: refundID,
|
||||
VendorRefundID: resp.OriginTradeNo,
|
||||
VendorRefundID: resp.LogNo,
|
||||
VendorOrderID: orderPay.VendorOrderID,
|
||||
VendorID: orderPay.VendorID,
|
||||
Status: model.RefundStatusYes,
|
||||
@@ -130,7 +130,7 @@ func RefundOrderByLaKaLa(ctx *jxcontext.Context, orderPay *model.OrderPay, afsOr
|
||||
resp, err := api.LaKaLaApi.AggregateRefund(param)
|
||||
orderPayRefund = &model.OrderPayRefund{
|
||||
RefundID: refundID,
|
||||
VendorRefundID: resp.OriginTradeNo,
|
||||
VendorRefundID: resp.LogNo,
|
||||
VendorOrderID: orderPay.VendorOrderID,
|
||||
VendorID: orderPay.VendorID,
|
||||
Status: model.RefundStatusYes,
|
||||
@@ -286,7 +286,7 @@ func BarCodeScannerPayByLaKaLa(ctx *jxcontext.Context, vendorOrderId, userPaymen
|
||||
TotalFeeAmt: "",
|
||||
FinalStatus: "",
|
||||
DetailData: "",
|
||||
Remark: "聚合被扫订单",
|
||||
Remark: "扫码枪支付",
|
||||
}
|
||||
dao.WrapAddIDCULEntity(separate, ctx.GetUserName())
|
||||
dao.CreateEntity(db, separate)
|
||||
|
||||
@@ -458,7 +458,7 @@ func addRefundSku(ctx *jxcontext.Context, goodsOrder *model.GoodsOrder, skuIds m
|
||||
RefundType: model.AfsTypePartRefund,
|
||||
VendorOrgCode: "0",
|
||||
RefundMoney: int64(refundMoney),
|
||||
Status: model.AfsOrderStatusNew,
|
||||
Status: model.AfsOrderStatusWait4Approve,
|
||||
Flag: 0,
|
||||
AfsTotalShopMoney: goodsOrder.ActualPayPrice - int64(refundMoney),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user