From c039bdc062899af5d3c7782bc0e3f38d8b39fc87 Mon Sep 17 00:00:00 2001
From: qlsxk <qlsxk@qq.com>
Date: 星期二, 14 十月 2025 08:37:54 +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 225f31e..c448ed1 100644
--- a/src/main/resources/mapper/WrkDetlMapper.xml
+++ b/src/main/resources/mapper/WrkDetlMapper.xml
@@ -81,6 +81,14 @@
<include refid="batchSeq"></include>
</update>
+ <update id="updateWorkNo">
+ update asr_wrk_detl
+ set wrk_no = #{newWrkNo}
+ , modi_time = getdate()
+ where 1=1
+ and wrk_no = #{oldWrkNo}
+ </update>
+
<select id="selectAndLogByOrderNo" resultMap="BaseResultMap">
select * from asr_wrk_detl where order_no = #{orderNo}
union
@@ -107,5 +115,8 @@
and awm.sta_no = #{staNo}
and awd.matnr + '-' + awd.batch = #{matnr}
</select>
+ <select id="findByWorkNo" resultMap="BaseResultMap">
+ select wrk_no, matnr, maktx, anfme ,specs,batch from asr_wrk_detl where 1=1 and wrk_no = #{workNo}
+ </select>
</mapper>
--
Gitblit v1.9.1