From 4e254da6b41fb31d3329f8022dab8d8f29180d97 Mon Sep 17 00:00:00 2001 From: liuxm <liuxm_a@163.com> Date: 星期一, 03 六月 2024 14:13:42 +0800 Subject: [PATCH] 修改关联查询 --- pms-parent/pms-global/src/main/resources/mapper/PrWorkingInstructionMapper.xml | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/pms-parent/pms-global/src/main/resources/mapper/PrWorkingInstructionMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/PrWorkingInstructionMapper.xml index 29742ce..0eb4236 100644 --- a/pms-parent/pms-global/src/main/resources/mapper/PrWorkingInstructionMapper.xml +++ b/pms-parent/pms-global/src/main/resources/mapper/PrWorkingInstructionMapper.xml @@ -14,6 +14,12 @@ id,node_id,file_id </sql> + <select id="selectByNodeId" resultMap="BaseResultMap"> + select + <include refid="Base_Column_List" /> + from pr_working_instruction + where node_id = #{nodeId,jdbcType=BIGINT} + </select> <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> -- Gitblit v1.8.0