From b953df9d3594408a11c352213d4409798c151e43 Mon Sep 17 00:00:00 2001 From: Fancy <Fancy.fx@outlook.com> Date: 星期四, 27 六月 2024 12:12:39 +0800 Subject: [PATCH] some NotNull error --- pms-parent/pms-global/src/main/resources/mapper/PrAssemblyPlanMapper.xml | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pms-parent/pms-global/src/main/resources/mapper/PrAssemblyPlanMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/PrAssemblyPlanMapper.xml index f9b41dd..8a0e8c7 100644 --- a/pms-parent/pms-global/src/main/resources/mapper/PrAssemblyPlanMapper.xml +++ b/pms-parent/pms-global/src/main/resources/mapper/PrAssemblyPlanMapper.xml @@ -26,8 +26,8 @@ select="com.dy.pmsGlobal.daoPr.PrBatchNumberMapper.selectBatchNoById" fetchType="eager" /> <association property="processName" column="process_id" javaType="java.lang.Long" select="com.dy.pmsGlobal.daoPr.PrProductionProcessMapper.selectProcessNameById" fetchType="eager" /> - <collection property="nodes" ofType="com.dy.pmsGlobal.pojoPr.PrProductionNode" - select="selectByProcess" fetchType="eager" column="process_id" /> + <collection property="process" ofType="com.dy.pmsGlobal.pojoPr.PrProductionProcess" + select="com.dy.pmsGlobal.daoPr.PrProductionProcessMapper.selectByPrimaryKey" fetchType="eager" column="process_id" /> </resultMap> <sql id="Base_Column_List"> @@ -51,6 +51,9 @@ and process_id = #{id} </if> </select> + <select id="selectNameByPlanId" parameterType="java.lang.Long" resultType="String"> + select name from pr_assembly_plan where id = #{id} + </select> <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> -- Gitblit v1.8.0