ruoyi-system/src/main/resources/mapper/system/DeviceUsageMapper.xml
@@ -86,7 +86,7 @@ group by project_id order by create_time desc ) result on t1.id = result.project_id where t1.deleted = 0 and t2.deleted = 0 where t1.deleted = 0 and t1.status =1 and t1.type!=2 and t1.client_id =#{query.clientId} <if test="query.projectId != null"> and t1.id = #{query.projectId}