Browse Source

开项管理 - 台账排序:开项级别正序、开项时间正序

wangggziwen 8 tháng trước cách đây
mục cha
commit
b6430f13fd

+ 2 - 1
rc-buisness/src/main/resources/mapper/rc/TOpenItemMapper.xml

@@ -60,8 +60,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="processId != null "> and p.process_id = #{processId}</if>
             <if test="directory != null "> and q.directory = #{directory}</if>
             <if test="code != null "> and q.code = #{code}</if>
-            ${params.dataScope}
         </where>
+        ${params.dataScope}
+        order by d.level asc, d.open_time asc
     </select>
     
     <select id="selectTOpenItemById" parameterType="Long" resultMap="TOpenItemResult">