From 2dee667a20caf3dca8e62f326bc9b141ef73ca2d Mon Sep 17 00:00:00 2001
From: liujie <1793218484@qq.com>
Date: 星期四, 29 一月 2026 18:34:29 +0800
Subject: [PATCH] 修改bug

---
 ruoyi-system/src/main/java/com/ruoyi/system/vo/DeviceDetailCheckListVo.java |    3 +++
 ruoyi-system/src/main/resources/mapper/system/ProjectMapper.xml             |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/vo/DeviceDetailCheckListVo.java b/ruoyi-system/src/main/java/com/ruoyi/system/vo/DeviceDetailCheckListVo.java
index 7ad7afc..3f8617c 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/vo/DeviceDetailCheckListVo.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/vo/DeviceDetailCheckListVo.java
@@ -42,4 +42,7 @@
     @ApiModelProperty("安全报告 1有 0无")
     private Integer containSystemRes;
 
+    @ApiModelProperty("计划id")
+    private Integer planId;
+
 }
diff --git a/ruoyi-system/src/main/resources/mapper/system/ProjectMapper.xml b/ruoyi-system/src/main/resources/mapper/system/ProjectMapper.xml
index ba59c08..9ad0d59 100644
--- a/ruoyi-system/src/main/resources/mapper/system/ProjectMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/ProjectMapper.xml
@@ -26,7 +26,7 @@
     </resultMap>
     <select id="getDeviceDetailCheckList" resultType="com.ruoyi.system.vo.DeviceDetailCheckListVo">
             select t1.id,t2.name planName,t2.type planType,t1.date checkTime,t1.system_fuzzy fuzzyScore,t1.system_score score,t3.risk_level riskLevel,
-                   t3.contain_device_res ,t3.contain_system_res
+                   t3.contain_device_res ,t3.contain_system_res,t2.id planId
             from task t1
             left join plan t2 on t1.plan_id = t2.id
             left join eval_result t3 on t1.id = t3.check_task_id

--
Gitblit v1.7.1