Authored by mali

性能调优

... ... @@ -40,7 +40,7 @@
<select id="selectInboxs" resultMap="BaseResultMap">
SELECT
<include refid="Base_Column_List"/>
FROM ${tableName} where uid = #{uid} and is_del='N'
FROM ${tableName} force index(`read`) where uid = #{uid} and is_del='N'
<if test="type != null">
and type=#{type}
</if>
... ...