From c89cf8126ed20af98e19b8ab1f63e8bfae596788 Mon Sep 17 00:00:00 2001 From: Fancy <Fancy.fx@outlook.com> Date: 星期三, 16 十月 2024 17:11:05 +0800 Subject: [PATCH] command crud --- pms-parent/pms-global/src/main/resources/mapper/PrProductionNodeMapper.xml | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/pms-parent/pms-global/src/main/resources/mapper/PrProductionNodeMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/PrProductionNodeMapper.xml index cd93f4c..39c17fd 100644 --- a/pms-parent/pms-global/src/main/resources/mapper/PrProductionNodeMapper.xml +++ b/pms-parent/pms-global/src/main/resources/mapper/PrProductionNodeMapper.xml @@ -18,6 +18,8 @@ <result property="remark" column="remark" jdbcType="VARCHAR"/> <association property="instruction" column="id" javaType="java.lang.Long" select="com.dy.pmsGlobal.daoPr.PrWorkingInstructionMapper.selectByNodeId" fetchType="eager" /> + <association property="bill" + column="id" javaType="java.lang.Long" select="com.dy.pmsGlobal.daoPr.PrBillOfMaterialMapper.selectByNodeId" fetchType="eager" /> </resultMap> <sql id="Base_Column_List"> @@ -38,7 +40,7 @@ from pr_production_node where id = #{id,jdbcType=BIGINT} </select> - <select id="selectNodeBySort" parameterType="java.lang.Long" resultMap="BaseResultMap"> + <select id="selectNodeBySort" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from pr_production_node -- Gitblit v1.8.0