Authored by chenjian

优化:线上反馈二手列表sql报错,seller_order_goods默认走Primary索引导致查询太慢

... ... @@ -205,7 +205,7 @@
</select>
<select id="selectAllByUidTypeStatus" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List_with_table_name" /> FROM seller_order_goods sog,seller_order so
SELECT <include refid="Base_Column_List_with_table_name" /> FROM seller_order_goods sog use index(key_uid_status_bn_price),seller_order so
WHERE sog.id = so.skup and sog.uid = #{uid,jdbcType=INTEGER} and sog.is_del = 1
<include refid="sql_where_skupTyps_scope" />
<if test="statusList != null">
... ...