Browse Source

Merge remote-tracking branch 'origin/dev_v1.0.0' into dev_v1.0.0

shudonghui 1 year ago
parent
commit
197f826f25
1 changed files with 2 additions and 2 deletions
  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>
                 </choose>
             </if>
             </if>
         </where>
         </where>
-        ORDER BY tbs.id DESC,tbdio.in_out_time
+        ORDER BY tbs.id DESC,tbdio.in_out_time DESC
     </select>
     </select>
     <select id="findDeviceInOutPageBySource" resultType="com.qmth.sop.business.bean.result.DeviceInOutResult">
     <select id="findDeviceInOutPageBySource" resultType="com.qmth.sop.business.bean.result.DeviceInOutResult">
         SELECT
         SELECT
@@ -187,7 +187,7 @@
                 </choose>
                 </choose>
             </if>
             </if>
         </where>
         </where>
-        ORDER BY tbs.id DESC,tbdio.in_out_time
+        ORDER BY tbs.id DESC,tbdio.in_out_time DESC
     </select>
     </select>
     <select id="findDeviceCanOutInfo" resultType="com.qmth.sop.business.bean.result.DeviceInOutResult">
     <select id="findDeviceCanOutInfo" resultType="com.qmth.sop.business.bean.result.DeviceInOutResult">
         SELECT
         SELECT