Sfoglia il codice sorgente

优化 巡检明细排序

Your Name 3 anni fa
parent
commit
689cbde1f7

+ 1 - 1
java110-db/src/main/resources/mapper/community/InspectionTaskDetailServiceDaoImplMapper.xml

@@ -233,7 +233,7 @@
         <if test="sendFlag !=null and sendFlag != ''">
         <if test="sendFlag !=null and sendFlag != ''">
             and t.send_flag = #{sendFlag}
             and t.send_flag = #{sendFlag}
         </if>
         </if>
-        order by t.create_time desc
+        order by t.create_time desc,t.sort_number asc
         <if test="page != -1 and page != null ">
         <if test="page != -1 and page != null ">
             limit #{page}, #{row}
             limit #{page}, #{row}
         </if>
         </if>