Authored by ping

update

@@ -65,10 +65,10 @@ @@ -65,10 +65,10 @@
65 <select id="selectByClientType" resultMap="BaseResultMap"> 65 <select id="selectByClientType" resultMap="BaseResultMap">
66 select <include refid="Base_Column_List" /> 66 select <include refid="Base_Column_List" />
67 from union_logs where update_time + 7776000 >= UNIX_TIMESTAMP() 67 from union_logs where update_time + 7776000 >= UNIX_TIMESTAMP()
68 - <if test="clientType='ios'"> 68 + <if test="clientType=='ios'">
69 and idfa=#{idfa} 69 and idfa=#{idfa}
70 </if> 70 </if>
71 - <if test="clientType='android'"> 71 + <if test="clientType=='android'">
72 and imei=#{imei} 72 and imei=#{imei}
73 </if> 73 </if>
74 limit 1 74 limit 1
@@ -76,7 +76,7 @@ @@ -76,7 +76,7 @@
76 <select id="selectUnionList" resultMap="BaseResultMap"> 76 <select id="selectUnionList" resultMap="BaseResultMap">
77 select <include refid="Base_Column_List" /> 77 select <include refid="Base_Column_List" />
78 from union_logs where app_id = #{appId} and client_type=#{clientType} and union_type=#{unionType} 78 from union_logs where app_id = #{appId} and client_type=#{clientType} and union_type=#{unionType}
79 - <if test="clientType == 'iphone'"> 79 + <if test="clientType == 'ios'">
80 and idfa=#{idfa} 80 and idfa=#{idfa}
81 </if> 81 </if>
82 <if test="clientType == 'android'"> 82 <if test="clientType == 'android'">