From 20956b0f05f81ca47cf6c3e8f9b3b426e9cfd035 Mon Sep 17 00:00:00 2001
From: XiaoRuby <3114200645@qq.com>
Date: 星期日, 24 九月 2023 21:54:01 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 standard-server/src/main/resources/mapper/MbomMapper.xml |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/standard-server/src/main/resources/mapper/MbomMapper.xml b/standard-server/src/main/resources/mapper/MbomMapper.xml
index e4bb434..c9b0b7d 100644
--- a/standard-server/src/main/resources/mapper/MbomMapper.xml
+++ b/standard-server/src/main/resources/mapper/MbomMapper.xml
@@ -43,7 +43,7 @@
         and m.version = #{version}
         and specifications_id = #{specificationsId}
         <if test="message!=null and message!=''">
-            and m.name like concat('%',#{message},'%')
+            and t.name like concat('%',#{message},'%')
         </if>
     </select>
 
@@ -59,6 +59,14 @@
                                   and specifications_id = #{specificationsId})
     </select>
 
+    <!--鏍规嵁宸ヨ壓璺嚎id鏌ヨ鐗╂枡娓呭崟-->
+    <select id="seleByTechId" resultType="com.yuanchu.mom.pojo.Mbom">
+        select *
+        from mom_ocean.mbom
+        where state = 1
+          and technology_id = #{technologyId}
+    </select>
+
     <!--鏍规嵁宸ヨ壓璺嚎id鍒犻櫎鐗╂枡娓呭崟-->
     <update id="delMbomByTecId">
         update mom_ocean.mbom

--
Gitblit v1.9.3