...
|
...
|
@@ -57,7 +57,8 @@ |
|
|
add_params = #{addParams,jdbcType=VARCHAR},
|
|
|
activate_params = #{activateParams,jdbcType=VARCHAR},
|
|
|
update_time = #{updateTime,jdbcType=INTEGER},
|
|
|
client_type=#{clientType}
|
|
|
client_type=#{clientType},
|
|
|
app_key=#{appKey}
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
|
|
<update id="updateUnionLogs">
|
...
|
...
|
@@ -96,6 +97,9 @@ |
|
|
where app_id = #{appId,jdbcType=VARCHAR} and
|
|
|
idfa = #{idfa,jdbcType=VARCHAR} and
|
|
|
client_type=#{clientType}
|
|
|
<if test="appKey!=null">
|
|
|
and app_key=#{appKey}
|
|
|
</if>
|
|
|
and union_type=#{unionType} limit 1
|
|
|
</select>
|
|
|
<select id="selectAndroid" resultMap="BaseResultMap" parameterType="com.yoho.unions.dal.model.UnionLogs">
|
...
|
...
|
@@ -104,6 +108,10 @@ |
|
|
from union_logs
|
|
|
where app_id = #{appId,jdbcType=VARCHAR} and
|
|
|
imei = #{imei,jdbcType=VARCHAR} and
|
|
|
client_type=#{clientType} and union_type=#{unionType} limit 1
|
|
|
client_type=#{clientType} and union_type=#{unionType}
|
|
|
<if test="appKey!=null">
|
|
|
and app_key=#{appKey}
|
|
|
</if>
|
|
|
limit 1
|
|
|
</select>
|
|
|
</mapper> |
|
|
\ No newline at end of file |
...
|
...
|
|