From cb8372a7d9f26d7fa1f4cc36b65efcae82ebce42 Mon Sep 17 00:00:00 2001
From: yujian <yujian@123.com>
Date: 星期四, 26 九月 2019 11:58:16 +0800
Subject: [PATCH] 限制

---
 fanli/src/main/java/com/yeshi/fanli/util/SpringContext.java |    8 +++++---
 1 files changed, 5 insertions(+), 3 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 1553e7c..fe0000f 100644
--- a/fanli/src/main/java/com/yeshi/fanli/util/SpringContext.java
+++ b/fanli/src/main/java/com/yeshi/fanli/util/SpringContext.java
@@ -173,8 +173,8 @@
 			doPDDOrderJob();// 鎷煎澶氳鍗曞鐞�
 			doImportantTaoBaoGoodsUpdateJob();// 娣樺疂閲嶈鍟嗗搧鐨勪俊鎭洿鏂�
 			doHongBaoRecieveIntegralGetJob();// 杩斿埄鍒拌处锛岄噾甯佸鍔�
-			doPlaceOrderIntegralJob();// 涓嬪崟璧犻�侀噾甯佷换鍔�
-			doDouYinDeviceActiveJob();// 鎶栭煶璁惧婵�娲诲箍鍛婄洃娴�
+//			doPlaceOrderIntegralJob();// 涓嬪崟璧犻�侀噾甯佷换鍔�
+//			doDouYinDeviceActiveJob();// 鎶栭煶璁惧婵�娲诲箍鍛婄洃娴�
 		}
 
 	}
@@ -909,9 +909,11 @@
 
 	// 鎶栭煶
 	public void doDouYinDeviceActiveJob() {
+		LogHelper.test("寮�濮嬫墽琛�:doDouYinDeviceActiveJob");
 		executor.execute(new Runnable() {
 			@Override
 			public void run() {
+				LogHelper.test("寮�濮嬫墽琛�:doDouYinDeviceActiveJob-run");
 				while (true) {
 					Map<String, DouYinDeviceActiveQueueDTO> map = DouYinDeviceActiveCMQManager.getInstance()
 							.consume(16);
@@ -946,7 +948,7 @@
 								if (active.getPlatform() == 1) {
 									DeviceActive deviceActive = deviceActiveService
 											.getFirstActiveInfo(active.getDevice());
-									if (deviceActive != null) {
+									if (deviceActive != null && deviceActive.getImei() != null) {
 										DouYinClickEvent event = douYinClickEventService
 												.selectByUuid(deviceActive.getImei());
 										if (event != null) {// 鍥炶皟

--
Gitblit v1.8.0