소스 검색

fix:
设备出入库排序

caozixuan 1 년 전
부모
커밋
2e37684da5
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      sop-business/src/main/resources/mapper/TBDeviceInOutMapper.xml

+ 2 - 2
sop-business/src/main/resources/mapper/TBDeviceInOutMapper.xml

@@ -93,7 +93,7 @@
                 </choose>
             </if>
         </where>
-        ORDER BY tbs.id DESC,tbdio.in_out_time
+        ORDER BY tbs.id DESC,tbdio.in_out_time DESC
     </select>
     <select id="findDeviceInOutPageBySource" resultType="com.qmth.sop.business.bean.result.DeviceInOutResult">
         SELECT
@@ -187,7 +187,7 @@
                 </choose>
             </if>
         </where>
-        ORDER BY tbs.id DESC,tbdio.in_out_time
+        ORDER BY tbs.id DESC,tbdio.in_out_time DESC
     </select>
     <select id="findDeviceCanOutInfo" resultType="com.qmth.sop.business.bean.result.DeviceInOutResult">
         SELECT