From c9eef762a23fabf7c05a460dc1cdc5aaca22e1c7 Mon Sep 17 00:00:00 2001
From: yujian <yujian>
Date: 星期二, 05 三月 2019 15:02:20 +0800
Subject: [PATCH] 抽奖规则代码优化

---
 fanli/src/main/java/com/yeshi/fanli/util/SpringContext.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/util/SpringContext.java b/fanli/src/main/java/com/yeshi/fanli/util/SpringContext.java
index 3b31512..22eec15 100644
--- a/fanli/src/main/java/com/yeshi/fanli/util/SpringContext.java
+++ b/fanli/src/main/java/com/yeshi/fanli/util/SpringContext.java
@@ -64,10 +64,9 @@
 
 	@Resource
 	private QualityFactoryService qualityFactoryService;
-	
+
 	@Resource
 	private UserSystemCouponService userSystemCouponService;
-	
 
 	private static boolean isInited = false;
 
@@ -95,6 +94,7 @@
 			doOrderTiChengFanLi();// 澶勭悊璁㈠崟鎻愭垚杩斿埄
 			doWeiQuanOrder();// 澶勭悊缁存潈璁㈠崟
 			doPushIOS();// 澶勭悊鍙戦�両OS娑堟伅
+			doThreeSaleUserCouponJob();// 澶勭悊閭�璇烽槦鍒�
 		} else if (!Constant.IS_TEST) {
 			initScheduler();// 鍚姩瀹氭椂浠诲姟
 			// doUpdateGoodsJob();
@@ -209,7 +209,7 @@
 									}
 								} catch (Exception e) {
 									try {
-										LogHelper.errorDetailInfo(e);
+										LogHelper.errorDetailInfo(e,"HongBaoV2-ID:"+map.get(handler).getId(),"");
 									} catch (Exception e1) {
 										e1.printStackTrace();
 									}
@@ -420,7 +420,7 @@
 										ThreeSale threeSale = map.get(key);
 										if (threeSale != null) {
 											if (threeSale.getState() != null && threeSale.getState() == true) {
-												// 閭�璇锋垚鍔�  - 鍒告縺娲荤敓鏁�
+												// 閭�璇锋垚鍔� - 鍒告縺娲荤敓鏁�
 												Long bossId = threeSale.getBoss().getId();
 												userSystemCouponService.activatedWelfareFreeCoupon(bossId);
 											}

--
Gitblit v1.8.0