Showing
1 changed file
with
2 additions
and
2 deletions
@@ -65,7 +65,7 @@ | @@ -65,7 +65,7 @@ | ||
65 | from union_logs | 65 | from union_logs |
66 | where app_id = #{appId,jdbcType=VARCHAR} and | 66 | where app_id = #{appId,jdbcType=VARCHAR} and |
67 | idfa = #{idfa,jdbcType=VARCHAR} and | 67 | idfa = #{idfa,jdbcType=VARCHAR} and |
68 | - client_type=#{clientType} | 68 | + client_type=#{clientType} limit 1 |
69 | </select> | 69 | </select> |
70 | <select id="selectAndroid" resultMap="BaseResultMap" parameterType="com.yoho.unions.dal.model.UnionLogs"> | 70 | <select id="selectAndroid" resultMap="BaseResultMap" parameterType="com.yoho.unions.dal.model.UnionLogs"> |
71 | select | 71 | select |
@@ -73,6 +73,6 @@ | @@ -73,6 +73,6 @@ | ||
73 | from union_logs | 73 | from union_logs |
74 | where app_id = #{appId,jdbcType=VARCHAR} and | 74 | where app_id = #{appId,jdbcType=VARCHAR} and |
75 | imei = #{imei,jdbcType=VARCHAR} and | 75 | imei = #{imei,jdbcType=VARCHAR} and |
76 | - client_type=#{clientType} | 76 | + client_type=#{clientType} limit 1 |
77 | </select> | 77 | </select> |
78 | </mapper> | 78 | </mapper> |
-
Please register or login to post a comment