From 75b2904fbaf4fab6a9fb3baf065d2c927cc7a7a2 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期三, 27 九月 2023 18:16:34 +0800
Subject: [PATCH] 基础数据-物料清单维护-导出
---
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