Showing
1 changed file
with
1 additions
and
1 deletions
@@ -48,7 +48,7 @@ | @@ -48,7 +48,7 @@ | ||
48 | limit #{rowNo},#{limit} | 48 | limit #{rowNo},#{limit} |
49 | </select> | 49 | </select> |
50 | <select id="selectTotalInboxs" resultType="java.lang.Integer"> | 50 | <select id="selectTotalInboxs" resultType="java.lang.Integer"> |
51 | - select count(1) from ${tableName} where uid = #{uid} and is_del='N' | 51 | + select count(1) from ${tableName} force index(`read`) where uid = #{uid} and is_del='N' |
52 | <if test="type != null"> | 52 | <if test="type != null"> |
53 | and type=#{type} | 53 | and type=#{type} |
54 | </if> | 54 | </if> |
-
Please register or login to post a comment