From 8b505f74e1094fd67f86373ab9e9f80b54bca54e Mon Sep 17 00:00:00 2001
From: yujian <yujian@123.com>
Date: 星期五, 11 十月 2019 12:12:53 +0800
Subject: [PATCH] Merge branch 'div' of ssh://193.112.35.168:29418/fanli-server into div

---
 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 aae4464..29292f9 100644
--- a/fanli/src/main/java/com/yeshi/fanli/util/SpringContext.java
+++ b/fanli/src/main/java/com/yeshi/fanli/util/SpringContext.java
@@ -174,7 +174,7 @@
 			doImportantTaoBaoGoodsUpdateJob();// 娣樺疂閲嶈鍟嗗搧鐨勪俊鎭洿鏂�
 			// doHongBaoRecieveIntegralGetJob();// 杩斿埄鍒拌处锛岄噾甯佸鍔�
 			// doPlaceOrderIntegralJob();// 涓嬪崟璧犻�侀噾甯佷换鍔�
-			doDouYinDeviceActiveJob();// 鎶栭煶璁惧婵�娲诲箍鍛婄洃娴�
+			// doDouYinDeviceActiveJob();// 鎶栭煶璁惧婵�娲诲箍鍛婄洃娴�
 		}
 	}
 
@@ -926,9 +926,9 @@
 							String key = its.next();
 							DouYinDeviceActiveQueueDTO active = map.get(key);
 							if (active.getType() == DouYinDeviceActiveQueueDTO.TYPE_AD) {// 鎶栭煶
-								DouYinClickEvent event = douYinClickEventService.selectByAid(active.getAid());
+								DouYinClickEvent event = douYinClickEventService.selectByCallback(active.getCallback());
 								if (event != null) {
-									if (event.getOs() == 0) {
+									if (event.getOs() == 0 && !StringUtil.isNullOrEmpty(event.getUuid())) {
 										DeviceActive deviceActive = deviceActiveService
 												.getFirstActiveInfoByImei(event.getUuid());
 										if (deviceActive != null) {
@@ -951,7 +951,7 @@
 								if (active.getPlatform() == 1) {
 									DeviceActive deviceActive = deviceActiveService
 											.getFirstActiveInfo(active.getDevice());
-									if (deviceActive != null && deviceActive.getImei() != null) {
+									if (deviceActive != null && !StringUtil.isNullOrEmpty(deviceActive.getImei())) {
 										DouYinClickEvent event = douYinClickEventService
 												.selectByUuid(deviceActive.getImei());
 										if (event != null) {// 鍥炶皟

--
Gitblit v1.8.0