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} - +