From 40ce2548e631d4971e3fdf9f9c692857312c0b16 Mon Sep 17 00:00:00 2001 From: Fancy <Fancy.fx@outlook.com> Date: 星期三, 21 八月 2024 10:46:25 +0800 Subject: [PATCH] add order_id in assembly --- 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