From 817734d6a36e8595dbbb0080cbcbfda0c51bafae Mon Sep 17 00:00:00 2001
From: liuxm <liuxm@fescotech.com>
Date: 星期三, 08 五月 2024 17:48:21 +0800
Subject: [PATCH] 产品品质检查项目

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

diff --git a/pms-parent/pms-global/src/main/resources/mapper/PltProductMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/PltProductMapper.xml
index 00d97f0..0cca318 100644
--- a/pms-parent/pms-global/src/main/resources/mapper/PltProductMapper.xml
+++ b/pms-parent/pms-global/src/main/resources/mapper/PltProductMapper.xml
@@ -14,7 +14,7 @@
     <result column="dt" jdbcType="TIMESTAMP" property="dt" />
     <result column="remark" jdbcType="VARCHAR" property="remark" />
     <association property="directorName" column="director" javaType="java.lang.Long"
-                 select="com.dy.pmsGlobal.daoBa.BaUserMapper.selectNameById" />
+                 select="selectNameById" />
   </resultMap>
   <sql id="Base_Column_List">
     <!--@mbg.generated-->
@@ -28,6 +28,10 @@
     from plt_product
     where id = #{id,jdbcType=BIGINT}
   </select>
+  <select id="selectNameById" parameterType="java.lang.Long" resultType="java.lang.String">
+    select name directorName from ba_user where id=#{id}
+  </select>
+
   <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
     <!--@mbg.generated-->
     delete from plt_product

--
Gitblit v1.8.0