fixed 调整job.id和依赖id

This commit is contained in:
2024-12-18 10:09:40 +08:00
parent e6688d9214
commit c472871355
3 changed files with 6 additions and 4 deletions

View File

@@ -38,7 +38,7 @@ class Action::Node < ApplicationRecord
belongs_to :user, optional: true
attr_accessor :cust_name, :run_values, :input_values, :sub_nodes, :link_type_array, :node_id
attr_accessor :cust_name, :run_values, :input_values, :parent_node_id, :sub_nodes, :link_type_array, :node_id
validates :name, presence: { message: "不能为空" }
validates :full_name, length: { maximum: 200, too_long: "不能超过200个字符" }