|
@@ -92,8 +92,9 @@
|
|
</choose>
|
|
</choose>
|
|
</if>
|
|
</if>
|
|
</where>
|
|
</where>
|
|
- ORDER BY tbs.id DESC,tbdio.in_out_time DESC
|
|
|
|
|
|
+ ORDER BY tbdio.serial_no 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
|
|
tbdio.id AS inOutId,
|
|
tbdio.id AS inOutId,
|
|
@@ -185,8 +186,9 @@
|
|
</choose>
|
|
</choose>
|
|
</if>
|
|
</if>
|
|
</where>
|
|
</where>
|
|
- ORDER BY tbs.id DESC,tbdio.in_out_time DESC
|
|
|
|
|
|
+ ORDER BY tbdio.serial_no 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
|
|
sd.serial_no AS serialNo,
|
|
sd.serial_no AS serialNo,
|