瀏覽代碼

qxm-修改汇总顺序

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