From 4b0997d82281c39a6a6afc27fbb222b9f44a66f0 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期四, 15 八月 2024 20:01:38 +0800
Subject: [PATCH] 优化代码

---
 pms-parent/pms-global/src/main/resources/mapper/StaWipSnExMapper.xml |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/pms-parent/pms-global/src/main/resources/mapper/StaWipSnExMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/StaWipSnExMapper.xml
index f8568f3..cc8617e 100644
--- a/pms-parent/pms-global/src/main/resources/mapper/StaWipSnExMapper.xml
+++ b/pms-parent/pms-global/src/main/resources/mapper/StaWipSnExMapper.xml
@@ -26,6 +26,12 @@
         from sta_wip_sn_ex
         where  id = #{id,jdbcType=BIGINT} 
     </select>
+    <select id="selectByDeviceNo" resultType="com.dy.pmsGlobal.pojoSta.StaWipSnEx">
+        select
+        <include refid="Base_Column_List" />
+        from sta_wip_sn_ex
+        where  device_no = #{deviceNo,jdbcType=VARCHAR}
+    </select>
 
     <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
         delete from sta_wip_sn_ex

--
Gitblit v1.8.0