1
This commit is contained in:
@@ -198,7 +198,9 @@ func (c *PurchaseHandler) onAfsOrderMsg(msg *mtwmapi.CallbackMsg) (retVal *mtwma
|
||||
refundDetail, err := mtmApi.GetOrderRefundDetail(utils.Str2Int64(order.VendorOrderID), 0)
|
||||
if err == nil && len(refundDetail) > 0 {
|
||||
for _, rd := range refundDetail {
|
||||
order.TotalShopMoney = order.TotalShopMoney + jxutils.StandardPrice2Int(utils.Str2Float64(rd.RefundPartialEstimateCharge.SettleAmount))
|
||||
if rd.RefundPartialEstimateCharge.SettleAmount != "" {
|
||||
order.TotalShopMoney = order.TotalShopMoney + jxutils.StandardPrice2Int(utils.Str2Float64(rd.RefundPartialEstimateCharge.SettleAmount))
|
||||
}
|
||||
}
|
||||
switch order.EarningType {
|
||||
case model.EarningTypePoints: // 扣点
|
||||
|
||||
Reference in New Issue
Block a user