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/PltProductionLineMapper.xml |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/pms-parent/pms-global/src/main/resources/mapper/PltProductionLineMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/PltProductionLineMapper.xml
index 902afd6..8eea3e2 100644
--- a/pms-parent/pms-global/src/main/resources/mapper/PltProductionLineMapper.xml
+++ b/pms-parent/pms-global/src/main/resources/mapper/PltProductionLineMapper.xml
@@ -30,7 +30,9 @@
         from plt_production_line
         where  id = #{id,jdbcType=BIGINT} 
     </select>
-
+    <select id="selectNameByLineId" parameterType="java.lang.Long" resultType="String">
+        select name from plt_production_line where id = #{id}
+    </select>
     <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
         delete from plt_production_line
         where  id = #{id,jdbcType=BIGINT} 

--
Gitblit v1.8.0