Selaa lähdekoodia

qxm-修改汇总顺序

qxm 3 vuotta sitten
vanhempi
commit
2eea23ca76

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