From 208bb2f289ce8a7b59f587a9f57e24c0fc8a0ba6 Mon Sep 17 00:00:00 2001
From: XiaoRuby <3114200645@qq.com>
Date: 星期日, 24 九月 2023 21:48:40 +0800
Subject: [PATCH] MOM系统-9-24 加班
---
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