From 276a147601837be1f738e087b6828f95f33d7d1b Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期六, 09 九月 2023 10:42:11 +0800
Subject: [PATCH] 修改bug4.0 9.9
---
standard-server/src/main/resources/mapper/MaterialMapper.xml | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/standard-server/src/main/resources/mapper/MaterialMapper.xml b/standard-server/src/main/resources/mapper/MaterialMapper.xml
index 50a30ae..e7fc290 100644
--- a/standard-server/src/main/resources/mapper/MaterialMapper.xml
+++ b/standard-server/src/main/resources/mapper/MaterialMapper.xml
@@ -52,4 +52,12 @@
where standard.state = 1
and standard.id = #{id})
</select>
+ <!--鏍规嵁鐗╂枡鍚嶇О鏌ヨ鎴愬搧浜у搧缂栧彿-->
+ <select id="selMcode" resultType="java.lang.String">
+ select code
+ from mom_ocean.material
+ where state = 1
+ and type = 1
+ and name = #{name}
+ </select>
</mapper>
--
Gitblit v1.9.3