Commit f204fe74 by guojuxing

商户初始化表建立索引,修改 order by 索引字段顺序,命中索引

parent 0127b6c4
......@@ -212,7 +212,7 @@
<if test="parentId != null and parentId != '' ">
and parent_id = #{parentId}
</if>
ORDER BY `level`, parent_id, sort
ORDER BY parent_id, sort, `level`
</select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment