From f4548a3ee46afe45da4ee2a42dc169c575deee9f Mon Sep 17 00:00:00 2001
From: yujian <yujian@123.com>
Date: 星期三, 31 七月 2019 11:57:36 +0800
Subject: [PATCH] 动态v2兼容

---
 fanli/src/main/java/com/yeshi/fanli/service/impl/taobao/TaoBaoWeiQuanDrawBackServiceImpl.java |   17 ++++-------------
 1 files changed, 4 insertions(+), 13 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/taobao/TaoBaoWeiQuanDrawBackServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/taobao/TaoBaoWeiQuanDrawBackServiceImpl.java
index fb2244b..4884b48 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/impl/taobao/TaoBaoWeiQuanDrawBackServiceImpl.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/taobao/TaoBaoWeiQuanDrawBackServiceImpl.java
@@ -39,7 +39,6 @@
 import com.yeshi.fanli.service.inter.taobao.TaoBaoWeiQuanDrawBackService;
 import com.yeshi.fanli.service.inter.taobao.TaoBaoWeiQuanOrderService;
 import com.yeshi.fanli.service.inter.user.UserMoneyService;
-import com.yeshi.fanli.service.inter.user.UserNotificationService;
 import com.yeshi.fanli.util.Constant;
 import com.yeshi.fanli.util.MoneyBigDecimalUtil;
 import com.yeshi.fanli.util.StringUtil;
@@ -62,9 +61,6 @@
 
 	@Resource
 	private UserMoneyDetailMapper userMoneyDetailMapper;
-
-	@Resource
-	private UserNotificationService userNotificationService;
 
 	@Resource
 	private CommonOrderMapper commonOrderMapper;
@@ -261,10 +257,8 @@
 			userMoneyService.subUserMoney(uid, drawBackMoney, userMoneyDetail);
 
 			// 鏂扮増閫氱煡
-			userMoneyMsgNotificationService.fanliOrderWeiQuan(uid, orderId, drawBackMoney,
+			userMoneyMsgNotificationService.fanliOrderWeiQuan(uid, orderId,Constant.SOURCE_TYPE_TAOBAO, drawBackMoney,
 					userInfoMapper.selectByPKey(uid).getMyHongBao());
-
-			userNotificationService.weiQuanFanli(uid, orderId, drawBackMoney);
 		}
 	}
 
@@ -435,11 +429,8 @@
 				}
 			}
 			userMoneyService.subUserMoney(uid, drawBackMoney, userMoneyDetail);
-
-			userMoneyMsgNotificationService.shareOrderWeiQuan(uid, orderId, drawBackMoney,
+			userMoneyMsgNotificationService.shareOrderWeiQuan(uid, orderId, Constant.SOURCE_TYPE_TAOBAO,drawBackMoney,
 					userInfoMapper.selectByPrimaryKey(uid).getMyHongBao());
-
-			userNotificationService.weiQuanTiCheng(uid, orderId, drawBackMoney);
 		}
 	}
 
@@ -530,9 +521,9 @@
 						userMoneyService.subUserMoney(uid, drawBackMoney, userMoneyDetail);
 
 						// 鏂扮増閫氱煡
-						userMoneyMsgNotificationService.inviteOrderWeiQuan(uid, orderId, drawBackMoney,
+						userMoneyMsgNotificationService.inviteOrderWeiQuan(uid, orderId,Constant.SOURCE_TYPE_TAOBAO, drawBackMoney,
 								userInfoMapper.selectByPrimaryKey(uid).getMyHongBao());
-					}
+					}
 				}
 		}
 	}

--
Gitblit v1.8.0