lipenghui 1 month ago
parent
commit
9883f625e7

+ 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>