From a4e938874dbc0376125324cb170f5885f88da8a7 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期一, 11 十一月 2019 16:45:51 +0800
Subject: [PATCH] 板栗商城退款修改,获取用户的会员运营ID与渠道ID修改

---
 fanli/src/main/java/com/yeshi/fanli/service/impl/shop/BanLiShopOrderPayServiceImpl.java |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/shop/BanLiShopOrderPayServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/shop/BanLiShopOrderPayServiceImpl.java
index 3a5bd18..16ae54b 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/impl/shop/BanLiShopOrderPayServiceImpl.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/shop/BanLiShopOrderPayServiceImpl.java
@@ -159,7 +159,7 @@
 		RedPackDetail detail = null;
 		try {
 			detail = RedPackDetailFactory.createUseByShopOrder(order.getId(), order.getUid(), "", "",
-					order.getHongBaoPayment());
+					order.getMoneyPayment());
 		} catch (RedPackDetailException e) {
 			e.printStackTrace();
 		}
@@ -229,10 +229,9 @@
 				throw new BanLiShopOrderException(6, "寰俊鏀粯閫�娆惧け璐�");
 			}
 		}
-
 		// 妫�鏌� 鏄惁閫�娆炬垚鍔�
-		if (update.getMoneyPaymentState() != null
-				&& update.getMoneyPaymentState() == BanLiShopOrder.PAY_STATE_REFUNDING) {
+		if (order.getMoneyPaymentState() != null
+				&& order.getMoneyPaymentState() == BanLiShopOrder.PAY_STATE_REFUNDING) {
 			try {
 				boolean isS = BanLiShopWXPayUtil.isRefundSuccess(order.getOrderNo());
 				if (isS) {

--
Gitblit v1.8.0