From 2387f668f8809c140c3facfbabfcda22dc40e588 Mon Sep 17 00:00:00 2001 From: YYD-YY <2962062657@qq.com> Date: Wed, 15 Oct 2025 21:20:48 +0800 Subject: [PATCH] =?UTF-8?q?10.15=20=E4=BF=AE=E6=94=B9=E6=9F=A5=E8=AF=A2las?= =?UTF-8?q?t=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/system/EquBaseMapper.xml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ALOps_sys_backend/alops-system/src/main/resources/mapper/system/EquBaseMapper.xml b/ALOps_sys_backend/alops-system/src/main/resources/mapper/system/EquBaseMapper.xml index 70a53d5d..1fe44e47 100644 --- a/ALOps_sys_backend/alops-system/src/main/resources/mapper/system/EquBaseMapper.xml +++ b/ALOps_sys_backend/alops-system/src/main/resources/mapper/system/EquBaseMapper.xml @@ -324,9 +324,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" LEFT JOIN equ_supplier s ON b.supplier_id = s.id LEFT JOIN equ_gather g ON b.id = g.equ_id - where g.cpu_utilization is not null - and b.id = #{id} - + where b.id = #{id} ORDER BY g.gather_time desc limit 1