From 5edb1bd7f9bb27b7c55c78821290e1fda4fb89a9 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期二, 17 九月 2019 12:11:44 +0800
Subject: [PATCH] userInfo依赖的mapper修改

---
 fanli/src/main/java/com/yeshi/fanli/mapping/push/DeviceActiveMapper.xml |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/mapping/push/DeviceActiveMapper.xml b/fanli/src/main/java/com/yeshi/fanli/mapping/push/DeviceActiveMapper.xml
index 87a30fc..ac231b1 100644
--- a/fanli/src/main/java/com/yeshi/fanli/mapping/push/DeviceActiveMapper.xml
+++ b/fanli/src/main/java/com/yeshi/fanli/mapping/push/DeviceActiveMapper.xml
@@ -32,6 +32,13 @@
 		from yeshi_ec_device_active where da_device = #{device} and
 		da_platform=#{platform} order by da_id desc  limit 1
 	</select>
+	
+	<select id="selectFirstByDeviceAndPlatform" resultMap="BaseResultMap">
+		select
+		<include refid="Base_Column_List" />
+		from yeshi_ec_device_active where da_device = #{device} and
+		da_platform=#{platform} limit 1
+	</select>
 
 	<select id="selectByDeviceToeknMd5AndPlatform" resultMap="BaseResultMap">
 		select

--
Gitblit v1.8.0