From ccc9d4533bc7b696f6d539720a6052abc44ff7a5 Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期日, 11 十月 2026 23:46:17 +0800
Subject: [PATCH] fix: 添加设备名称字段并修复多个查询的排序和分组问题

---
 src/main/resources/mapper/projectManagement/InfoMapper.xml |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/projectManagement/InfoMapper.xml b/src/main/resources/mapper/projectManagement/InfoMapper.xml
index e101797..9a98a92 100644
--- a/src/main/resources/mapper/projectManagement/InfoMapper.xml
+++ b/src/main/resources/mapper/projectManagement/InfoMapper.xml
@@ -74,7 +74,12 @@
             and t1.review_status = #{vo.reviewStatus.code}
         </if>
         <if test="vo.stage != null">
-            and t1.stage = #{vo.stage.code}
+            <!-- 2026-10-12 淇锛歱roject_management_info 娌℃湁 stage 鍒楋紙鍏冩暟鎹噷鍙� plan_stage锛屼笖鏄� JSON 鏍煎紡锛夛紝
+                 鍘� `and t1.stage = #{vo.stage.code}` 涓�閫�"璁″垝鐘舵��"灏辨姏
+                 ER_BAD_FIELD_ERROR Unknown column 't1.stage'銆�
+                 鍓嶇璇ョ瓫閫夐」鍙栫殑鏄瓧鍏� plan_status(1寰呭紑濮�/2杩涜涓�/3宸茬粨鏉�)锛�
+                 鑰� t1.status 姝eソ瀛樼殑灏辨槸 1/2/3锛屾晠鏀规寚 t1.status銆� -->
+            and t1.status = #{vo.stage.code}
         </if>
         order by t1.create_time desc
     </select>

--
Gitblit v1.9.3