qxm преди 3 години
родител
ревизия
2eea23ca76
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      suishenbang-system/src/main/resources/mapper/system/SysUserOrderAuthorMapper.xml

+ 1 - 1
suishenbang-system/src/main/resources/mapper/system/SysUserOrderAuthorMapper.xml

@@ -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">