|
|
@@ -32,7 +32,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="orderNum != null "> and order_num = #{orderNum}</if>
|
|
|
<if test="authorType != null and authorType != ''"> and author_type = #{authorType}</if>
|
|
|
</where>
|
|
|
- order by parent_id
|
|
|
+ order by parent_id,order_num
|
|
|
</select>
|
|
|
|
|
|
<select id="selectAuthorTree" parameterType="Long" resultType="Long">
|