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}
</update>
<!-- 删除 routingTools -->
@ -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}
</select>
<!-- 获取Tool(ifs) -->
<!-- 获取Tool(ifs),以 id 为主键查询,确保 tool_id 修改后仍能正确定位记录-->
where site = #{site} and part_no = #{partNo} and routing_type = #{routingType} and routing_revision = #{routingRevision} and alternative_no = #{alternativeNo} and operation_id = #{operationId} and tool_id = #{toolId}