platformx-device-biz/src/main/resources/mapper/deviceInventoryMapper.xml
@@ -39,4 +39,20 @@ where di.id =#{id} </select> <select id="selectListByClassId" resultType="com.by4cloud.platformx.device.entity.vo.DeviceClassVo"> select di.device_id , d.class_id , d.number , d.name, d.specification, di.serial_no from device_inventory di join device d on d.id = di.device_id where di.del_flag = '0' and d.class_id = #{classId} </select> </mapper>