From b6a5504ce64f508391a460dc81f8fd288d9f3722 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期六, 06 七月 2024 17:09:27 +0800
Subject: [PATCH] # 换板绑定
---
src/main/resources/mapper/WrkDetlMapper.xml | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/WrkDetlMapper.xml b/src/main/resources/mapper/WrkDetlMapper.xml
index ddb8043..a73eeca 100644
--- a/src/main/resources/mapper/WrkDetlMapper.xml
+++ b/src/main/resources/mapper/WrkDetlMapper.xml
@@ -40,4 +40,15 @@
from asr_wrk_detl a left join asr_wrk_mast b on a.wrk_no = b.wrk_no
where 1=1 and a.mat_no = #{matNo,jdbcType=VARCHAR} and (b.loc_no = #{locNo,jdbcType=VARCHAR} or b.source_loc_no = #{locNo,jdbcType=VARCHAR})
</select>
+
+ <select id="selectByWrkNo" resultMap="BaseResultMap">
+ select * from asr_wrk_detl where 1=1 and wrk_no = #{wrkNo}
+ </select>
+
+ <select id="selectByZpallet0" resultMap="BaseResultMap">
+ select top 1 *
+ from asr_wrk_detl
+ where 1=1
+ and zpallet = #{zpallet}
+ </select>
</mapper>
--
Gitblit v1.9.1