Sfoglia il codice sorgente

随手拍列表排序修改

liujh 3 anni fa
parent
commit
66849657cb

+ 1 - 1
zd-modules/zd-modules-laboratory/src/main/resources/mapper/laboratory/LabPhotoNoteMapper.xml

@@ -92,7 +92,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <!-- 数据范围过滤 -->
             <!-- 数据范围过滤 -->
             ${params.dataScope}
             ${params.dataScope}
         </where>
         </where>
-        order by s.id desc
+        order by s.handle_time desc, s.id desc
     </select>
     </select>
     <select id="selectLabPhotoNoteById"  resultMap="LabPhotoNoteResult">
     <select id="selectLabPhotoNoteById"  resultMap="LabPhotoNoteResult">
         <include refid="selectLabPhotoNoteVo"/>
         <include refid="selectLabPhotoNoteVo"/>