...
|
...
|
@@ -48,7 +48,7 @@ |
|
|
limit #{rowNo},#{limit}
|
|
|
</select>
|
|
|
<select id="selectTotalInboxs" resultType="java.lang.Integer">
|
|
|
select count(1) from ${tableName} where uid = #{uid} and is_del='N'
|
|
|
select count(1) from ${tableName} force index(`read`) where uid = #{uid} and is_del='N'
|
|
|
<if test="type != null">
|
|
|
and type=#{type}
|
|
|
</if>
|
...
|
...
|
|