From 9c927e7c17299261c7365f7ae07589f8ad888baa Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Mon, 16 Mar 2026 15:16:50 +0800 Subject: [PATCH] =?UTF-8?q?2026-03-16=20Routing=20Tool=E4=B8=AD=E8=83=BD?= =?UTF-8?q?=E5=A4=9F=E7=9B=B4=E6=8E=A5=E4=BF=AE=E6=94=B9=E5=B7=A5=E5=85=B7?= =?UTF-8?q?=E7=BC=96=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/part/RoutingManagementMapper.xml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/main/resources/mapper/part/RoutingManagementMapper.xml b/src/main/resources/mapper/part/RoutingManagementMapper.xml index 56ce1673..ed0b3d1d 100644 --- a/src/main/resources/mapper/part/RoutingManagementMapper.xml +++ b/src/main/resources/mapper/part/RoutingManagementMapper.xml @@ -621,14 +621,15 @@ where site = #{site} and part_no = #{partNo} and routing_revision = #{routingRevision} and routing_type = #{routingType} - + update routing_tool - set tool_qty = #{toolQty}, - remark = #{remark}, + set tool_id = #{toolId}, + tool_qty = #{toolQty}, + remark = #{remark}, update_date = getDate(), - update_by = #{updateBy} - where site = #{site} and part_no = #{partNo} and routing_revision = #{routingRevision} and routing_type = #{routingType} and alternative_no = #{alternativeNo} and operation_id = #{operationId} and tool_id = #{toolId} + update_by = #{updateBy} + where id = #{id} @@ -1159,7 +1160,7 @@ where a.site = #{site} and a.part_no = #{partNo} and a.routing_type = #{routingType} and a.routing_revision = #{routingRevision} and a.alternative_no = #{alternativeNo} - +