lipenghui преди 1 месец
родител
ревизия
9883f625e7
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      yudao-module-pms/yudao-module-pms-biz/src/main/resources/mapper/static/IotInspectOrderDetailMapper.xml

+ 2 - 0
yudao-module-pms/yudao-module-pms-biz/src/main/resources/mapper/static/IotInspectOrderDetailMapper.xml

@@ -33,6 +33,7 @@
                 and finall.device_code LIKE CONCAT('%',#{reqVO.deviceCode},'%')
             </if>
         </where>
+        order by create_time desc
     </select>
     <select id="getDeviceStatusYi"
             resultType="cn.iocoder.yudao.module.pms.controller.admin.inspect.order.vo.IotInspectDeviceVo">
@@ -59,5 +60,6 @@
                 and finall.device_code LIKE CONCAT('%',#{reqVO.deviceCode},'%')
             </if>
         </where>
+        order by create_time desc
     </select>
 </mapper>