From a8a841000119370ec34a59a7f4f51dc2f8ee0976 Mon Sep 17 00:00:00 2001
From: liuxm <liuxm_a@163.com>
Date: 星期四, 13 六月 2024 14:22:02 +0800
Subject: [PATCH] 去掉原controller 中的try catch 和BindingResult
---
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