From f7ba5f3fb17abf09b6bd3980c46761c2431a4c31 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期一, 12 十月 2026 10:26:27 +0800
Subject: [PATCH] feat(search-new): 标准维护保存时自动同步生成并归档查新记录

---
 basic-server/src/main/resources/mapper/StandardMethodMapper.xml |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/basic-server/src/main/resources/mapper/StandardMethodMapper.xml b/basic-server/src/main/resources/mapper/StandardMethodMapper.xml
index b48f4d0..82bfa6c 100644
--- a/basic-server/src/main/resources/mapper/StandardMethodMapper.xml
+++ b/basic-server/src/main/resources/mapper/StandardMethodMapper.xml
@@ -13,6 +13,7 @@
         <result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
         <result property="updateUser" column="update_user" jdbcType="INTEGER"/>
         <result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
+        <result property="needSearchNew" column="need_search_new" jdbcType="INTEGER"/>
     </resultMap>
 
     <select id="selectStandardMethodList" resultType="com.ruoyi.basic.pojo.StandardMethod">
@@ -30,6 +31,7 @@
                 sm.field,
                 sm.name_en,
                 sm.is_use,
+                sm.need_search_new,
                 sm.qualification_id,
                 COALESCE((SELECT GROUP_CONCAT(l.laboratory_name ORDER BY COALESCE(l.sort, 0), l.id SEPARATOR '銆�')
                           FROM standard_method_industry smi JOIN laboratory l ON l.id = smi.industry_id
@@ -59,6 +61,7 @@
                sm.field,
                sm.name_en,
                sm.is_use,
+               sm.need_search_new,
                sm.qualification_id
         from standard_method sm
                  left join user u1 on sm.create_user = u1.id

--
Gitblit v1.9.3