1
This commit is contained in:
@@ -309,9 +309,12 @@ func (c *PurchaseHandler) PartRefundOrder(ctx *jxcontext.Context, order *model.G
|
|||||||
func (c *PurchaseHandler) GetOrderAfsInfo(ctx *jxcontext.Context, vendorOrderID, afsOrderID string) (orderAfsInfo *partner.OrderAfsInfo, err error) {
|
func (c *PurchaseHandler) GetOrderAfsInfo(ctx *jxcontext.Context, vendorOrderID, afsOrderID string) (orderAfsInfo *partner.OrderAfsInfo, err error) {
|
||||||
orderAfsInfo = &partner.OrderAfsInfo{}
|
orderAfsInfo = &partner.OrderAfsInfo{}
|
||||||
var afsTotalShopMoney int64
|
var afsTotalShopMoney int64
|
||||||
if list, err := api.MtwmAPI.GetOrderRefundDetail(utils.Str2Int64(vendorOrderID), 0); err == nil {
|
list, err := api.MtwmAPI.GetOrderRefundDetail(utils.Str2Int64(vendorOrderID), 0)
|
||||||
|
globals.SugarLogger.Debugf("=================list-v := %s", utils.Format4Output(list, false))
|
||||||
|
globals.SugarLogger.Debugf("=================list-v err:= %v", err)
|
||||||
|
|
||||||
|
if err == nil {
|
||||||
for _, v := range list {
|
for _, v := range list {
|
||||||
globals.SugarLogger.Debugf("=================list-v := %s", utils.Format4Output(v, false))
|
|
||||||
if v.RefundPartialEstimateCharge.SettleAmount != "" {
|
if v.RefundPartialEstimateCharge.SettleAmount != "" {
|
||||||
afsTotalShopMoney += jxutils.StandardPrice2Int(utils.Str2Float64(v.RefundPartialEstimateCharge.SettleAmount))
|
afsTotalShopMoney += jxutils.StandardPrice2Int(utils.Str2Float64(v.RefundPartialEstimateCharge.SettleAmount))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user