diff --git a/sql/dm/bpm.sql b/sql/dm/bpm.sql new file mode 100644 index 00000000..ce83a45e --- /dev/null +++ b/sql/dm/bpm.sql @@ -0,0 +1,581 @@ +-- ---------------------------- +-- Table structure for bpm_category +-- ---------------------------- +CREATE TABLE bpm_category ( + id bigint NOT NULL PRIMARY KEY, + name varchar(30) DEFAULT '' NULL, + code varchar(30) DEFAULT '' NULL, + description varchar(255) DEFAULT '' NULL, + status smallint DEFAULT NULL NULL, + sort int DEFAULT NULL NULL, + creator varchar(64) DEFAULT '' NULL, + create_time datetime DEFAULT CURRENT_TIMESTAMP NOT NULL, + updater varchar(64) DEFAULT '' NULL, + update_time datetime DEFAULT CURRENT_TIMESTAMP NOT NULL, + deleted bit DEFAULT '0' NOT NULL, + tenant_id bigint DEFAULT 0 NOT NULL +); + +COMMENT ON COLUMN bpm_category.id IS '分类编号'; +COMMENT ON COLUMN bpm_category.name IS '分类名'; +COMMENT ON COLUMN bpm_category.code IS '分类标志'; +COMMENT ON COLUMN bpm_category.description IS '分类描述'; +COMMENT ON COLUMN bpm_category.status IS '分类状态'; +COMMENT ON COLUMN bpm_category.sort IS '分类排序'; +COMMENT ON COLUMN bpm_category.creator IS '创建者'; +COMMENT ON COLUMN bpm_category.create_time IS '创建时间'; +COMMENT ON COLUMN bpm_category.updater IS '更新者'; +COMMENT ON COLUMN bpm_category.update_time IS '更新时间'; +COMMENT ON COLUMN bpm_category.deleted IS '是否删除'; +COMMENT ON COLUMN bpm_category.tenant_id IS '租户编号'; +COMMENT ON TABLE bpm_category IS 'BPM 流程分类'; + +-- ---------------------------- +-- Table structure for bpm_form +-- ---------------------------- +CREATE TABLE bpm_form ( + id bigint NOT NULL PRIMARY KEY, + name varchar(64) NOT NULL, + status smallint NOT NULL, + conf varchar(1000) NOT NULL, + fields varchar(5000) NOT NULL, + remark varchar(255) DEFAULT NULL NULL, + creator varchar(64) DEFAULT '' NULL, + create_time datetime DEFAULT CURRENT_TIMESTAMP NOT NULL, + updater varchar(64) DEFAULT '' NULL, + update_time datetime DEFAULT CURRENT_TIMESTAMP NOT NULL, + deleted bit DEFAULT '0' NOT NULL, + tenant_id bigint DEFAULT 0 NOT NULL +); + +COMMENT ON COLUMN bpm_form.id IS '编号'; +COMMENT ON COLUMN bpm_form.name IS '表单名'; +COMMENT ON COLUMN bpm_form.status IS '开启状态'; +COMMENT ON COLUMN bpm_form.conf IS '表单的配置'; +COMMENT ON COLUMN bpm_form.fields IS '表单项的数组'; +COMMENT ON COLUMN bpm_form.remark IS '备注'; +COMMENT ON COLUMN bpm_form.creator IS '创建者'; +COMMENT ON COLUMN bpm_form.create_time IS '创建时间'; +COMMENT ON COLUMN bpm_form.updater IS '更新者'; +COMMENT ON COLUMN bpm_form.update_time IS '更新时间'; +COMMENT ON COLUMN bpm_form.deleted IS '是否删除'; +COMMENT ON COLUMN bpm_form.tenant_id IS '租户编号'; +COMMENT ON TABLE bpm_form IS 'BPM 表单定义表'; + +-- ---------------------------- +-- Table structure for bpm_oa_leave +-- ---------------------------- +CREATE TABLE bpm_oa_leave ( + id bigint NOT NULL PRIMARY KEY, + user_id bigint NOT NULL, + type smallint NOT NULL, + reason varchar(200) NOT NULL, + start_time datetime NOT NULL, + end_time datetime NOT NULL, + day smallint NOT NULL, + status smallint NOT NULL, + process_instance_id varchar(64) DEFAULT NULL NULL, + creator varchar(64) DEFAULT '' NULL, + create_time datetime DEFAULT CURRENT_TIMESTAMP NOT NULL, + updater varchar(64) DEFAULT '' NULL, + update_time datetime DEFAULT CURRENT_TIMESTAMP NOT NULL, + deleted bit DEFAULT '0' NOT NULL, + tenant_id bigint DEFAULT 0 NOT NULL +); + +COMMENT ON COLUMN bpm_oa_leave.id IS '请假表单主键'; +COMMENT ON COLUMN bpm_oa_leave.user_id IS '申请人的用户编号'; +COMMENT ON COLUMN bpm_oa_leave.type IS '请假类型'; +COMMENT ON COLUMN bpm_oa_leave.reason IS '请假原因'; +COMMENT ON COLUMN bpm_oa_leave.start_time IS '开始时间'; +COMMENT ON COLUMN bpm_oa_leave.end_time IS '结束时间'; +COMMENT ON COLUMN bpm_oa_leave.day IS '请假天数'; +COMMENT ON COLUMN bpm_oa_leave.status IS '审批结果'; +COMMENT ON COLUMN bpm_oa_leave.process_instance_id IS '流程实例的编号'; +COMMENT ON COLUMN bpm_oa_leave.creator IS '创建者'; +COMMENT ON COLUMN bpm_oa_leave.create_time IS '创建时间'; +COMMENT ON COLUMN bpm_oa_leave.updater IS '更新者'; +COMMENT ON COLUMN bpm_oa_leave.update_time IS '更新时间'; +COMMENT ON COLUMN bpm_oa_leave.deleted IS '是否删除'; +COMMENT ON COLUMN bpm_oa_leave.tenant_id IS '租户编号'; +COMMENT ON TABLE bpm_oa_leave IS 'OA 请假申请表'; + +-- ---------------------------- +-- Table structure for bpm_process_definition_info +-- ---------------------------- +CREATE TABLE bpm_process_definition_info ( + id bigint NOT NULL PRIMARY KEY, + process_definition_id varchar(64) NOT NULL, + model_id varchar(64) NOT NULL, + model_type smallint DEFAULT 10 NOT NULL, + category varchar(64) NOT NULL, + icon varchar(512) DEFAULT NULL NULL, + description varchar(255) DEFAULT NULL NULL, + form_type smallint NOT NULL, + form_id bigint DEFAULT NULL NULL, + form_conf varchar(1000) DEFAULT NULL NULL, + form_fields varchar(5000) DEFAULT NULL NULL, + form_custom_create_path varchar(255) DEFAULT NULL NULL, + form_custom_view_path varchar(255) DEFAULT NULL NULL, + simple_model text NULL, + sort bigint DEFAULT 0 NULL, + visible bit DEFAULT '1' NOT NULL, + start_user_ids varchar(256) DEFAULT NULL NULL, + start_dept_ids varchar(256) DEFAULT NULL NULL, + manager_user_ids varchar(256) DEFAULT NULL NULL, + allow_cancel_running_process bit DEFAULT '1' NOT NULL, + process_id_rule varchar(255) DEFAULT NULL NULL, + auto_approval_type smallint DEFAULT 0 NOT NULL, + title_setting varchar(512) DEFAULT NULL NULL, + summary_setting varchar(512) DEFAULT NULL NULL, + process_before_trigger_setting varchar(1024) DEFAULT NULL NULL, + process_after_trigger_setting varchar(1024) DEFAULT NULL NULL, + task_before_trigger_setting varchar(1024) DEFAULT NULL NULL, + task_after_trigger_setting varchar(1024) DEFAULT NULL NULL, + creator varchar(64) DEFAULT '' NULL, + create_time datetime DEFAULT CURRENT_TIMESTAMP NOT NULL, + updater varchar(64) DEFAULT '' NULL, + update_time datetime DEFAULT CURRENT_TIMESTAMP NOT NULL, + deleted bit DEFAULT '0' NOT NULL, + tenant_id bigint DEFAULT 0 NOT NULL +); + +COMMENT ON COLUMN bpm_process_definition_info.id IS '编号'; +COMMENT ON COLUMN bpm_process_definition_info.process_definition_id IS '流程定义的编号'; +COMMENT ON COLUMN bpm_process_definition_info.model_id IS '流程模型的编号'; +COMMENT ON COLUMN bpm_process_definition_info.model_type IS '流程模型的类型'; +COMMENT ON COLUMN bpm_process_definition_info.category IS '流程分类的编码'; +COMMENT ON COLUMN bpm_process_definition_info.icon IS '图标'; +COMMENT ON COLUMN bpm_process_definition_info.description IS '描述'; +COMMENT ON COLUMN bpm_process_definition_info.form_type IS '表单类型'; +COMMENT ON COLUMN bpm_process_definition_info.form_id IS '表单编号'; +COMMENT ON COLUMN bpm_process_definition_info.form_conf IS '表单的配置'; +COMMENT ON COLUMN bpm_process_definition_info.form_fields IS '表单项的数组'; +COMMENT ON COLUMN bpm_process_definition_info.form_custom_create_path IS '自定义表单的提交路径'; +COMMENT ON COLUMN bpm_process_definition_info.form_custom_view_path IS '自定义表单的查看路径'; +COMMENT ON COLUMN bpm_process_definition_info.simple_model IS 'SIMPLE 设计器模型数据 JSON 格式'; +COMMENT ON COLUMN bpm_process_definition_info.sort IS '排序值'; +COMMENT ON COLUMN bpm_process_definition_info.visible IS '是否可见'; +COMMENT ON COLUMN bpm_process_definition_info.start_user_ids IS '可发起用户编号数组'; +COMMENT ON COLUMN bpm_process_definition_info.start_dept_ids IS '可发起部门编号数组'; +COMMENT ON COLUMN bpm_process_definition_info.manager_user_ids IS '可管理用户编号数组'; +COMMENT ON COLUMN bpm_process_definition_info.allow_cancel_running_process IS '是否允许撤销审批中的申请'; +COMMENT ON COLUMN bpm_process_definition_info.process_id_rule IS '流程 ID 规则'; +COMMENT ON COLUMN bpm_process_definition_info.auto_approval_type IS '自动去重类型'; +COMMENT ON COLUMN bpm_process_definition_info.title_setting IS '标题设置'; +COMMENT ON COLUMN bpm_process_definition_info.summary_setting IS '摘要设置'; +COMMENT ON COLUMN bpm_process_definition_info.process_before_trigger_setting IS '流程前置通知设置'; +COMMENT ON COLUMN bpm_process_definition_info.process_after_trigger_setting IS '流程后置通知设置'; +COMMENT ON COLUMN bpm_process_definition_info.task_before_trigger_setting IS '任务前置通知设置'; +COMMENT ON COLUMN bpm_process_definition_info.task_after_trigger_setting IS '任务后置通知设置'; +COMMENT ON COLUMN bpm_process_definition_info.creator IS '创建者'; +COMMENT ON COLUMN bpm_process_definition_info.create_time IS '创建时间'; +COMMENT ON COLUMN bpm_process_definition_info.updater IS '更新者'; +COMMENT ON COLUMN bpm_process_definition_info.update_time IS '更新时间'; +COMMENT ON COLUMN bpm_process_definition_info.deleted IS '是否删除'; +COMMENT ON COLUMN bpm_process_definition_info.tenant_id IS '租户编号'; +COMMENT ON TABLE bpm_process_definition_info IS 'BPM 流程定义的信息表'; + +-- ---------------------------- +-- Records of bpm_process_definition_info +-- ---------------------------- +-- @formatter:off +-- SET IDENTITY_INSERT bpm_process_definition_info ON; +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (141, 'test_return:1:dd6b6e1d-5ac0-11ee-be77-fe3a43e3aa2f', '75452338-5ac0-11ee-be77-fe3a43e3aa2f', 10, 'TEST', NULL, NULL, 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2023-09-24 17:58:09', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (142, 'test_return2:1:e2de03c7-5ac2-11ee-9bee-fe3a43e3aa2f', 'ad8d0722-5ac2-11ee-9bee-fe3a43e3aa2f', 10, 'TEST', NULL, 'biubiu', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2023-09-24 18:12:37', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (143, 'test_return2:2:320f7403-5ac3-11ee-9bee-fe3a43e3aa2f', 'ad8d0722-5ac2-11ee-9bee-fe3a43e3aa2f', 10, 'TEST', NULL, 'biubiu', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2023-09-24 18:14:50', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (144, 'contract-approve:1:057a9d3b-d1ed-11ee-a436-8a9af48de719', '499c96e6-d1ec-11ee-a436-8a9af48de719', 10, 'TEST', NULL, NULL, 20, NULL, NULL, NULL, '1', '/crm/contract/detail', '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-02-23 09:44:02', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (145, 'contract-approve:2:dd644004-d208-11ee-ba3b-5e0431cb568f', '499c96e6-d1ec-11ee-a436-8a9af48de719', 10, 'TEST', NULL, NULL, 20, NULL, NULL, NULL, '/crm/contract/detail2', '/crm/contract/detail2', '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-02-23 13:03:21', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (146, 'contract-approve:3:87c93a24-d212-11ee-ba3b-5e0431cb568f', '499c96e6-d1ec-11ee-a436-8a9af48de719', 10, 'TEST', NULL, NULL, 20, NULL, NULL, NULL, '/crm/contract/detail/index', '/crm/contract/detail/index', '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-02-23 14:12:32', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (147, 'crm-contract-audit:1:a5ec9240-d2a7-11ee-a703-92ff8e2e5a3e', '5b40f87b-d2a7-11ee-a703-92ff8e2e5a3e', 10, 'TEST', NULL, NULL, 20, NULL, NULL, NULL, '/crm/business/detail/index', '/crm/business/detail/index', '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-02-24 07:59:58', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (148, 'crm-contract-audit:2:288f69f6-d2a8-11ee-b20a-8adfac90dc14', '5b40f87b-d2a7-11ee-a703-92ff8e2e5a3e', 10, 'TEST', NULL, NULL, 20, NULL, NULL, NULL, '/crm/contract/detail/index', '/crm/contract/detail/index', '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-02-24 08:03:37', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (149, 'crm-receivable-audit:1:fa8272f3-d3d2-11ee-aa2f-26aa5e0b65cc', '9bc054ce-d3d2-11ee-aa2f-26aa5e0b65cc', 10, 'TEST', NULL, NULL, 20, NULL, NULL, NULL, '/crm/receivable/detail/index', '/crm/receivable/detail/index', '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-02-25 19:42:39', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (150, 'xx:1:4d87fd62-e074-11ee-9b46-0e22e0b61031', '9f50553c-a6b4-11ee-904d-2a0706c917c0', 10, 'TEST', NULL, NULL, 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-12 21:27:42', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (151, 'xx:2:eacda6dc-e077-11ee-be9b-f21fd1da61a2', '9f50553c-a6b4-11ee-904d-2a0706c917c0', 10, 'TEST', NULL, NULL, 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-12 21:53:34', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (152, 'new-1:1:73f06beb-e13b-11ee-a38f-06b2c2ddc7b1', '341a1b12-e13b-11ee-a38f-06b2c2ddc7b1', 10, 'TEST', NULL, NULL, 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-13 21:13:16', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (153, 'new-1:2:7f2c569a-e141-11ee-9d86-06b2c2ddc7b1', '341a1b12-e13b-11ee-a38f-06b2c2ddc7b1', 10, 'TEST', NULL, '2', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-13 21:56:32', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (154, 'new-1:3:86ec704e-e141-11ee-9d86-06b2c2ddc7b1', '341a1b12-e13b-11ee-a38f-06b2c2ddc7b1', 10, 'TEST', NULL, '2', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-13 21:56:45', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (155, 'new-1:4:6a258922-e1bc-11ee-9330-feeee51d4267', '341a1b12-e13b-11ee-a38f-06b2c2ddc7b1', 10, 'TEST', NULL, '2', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-14 12:36:25', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (156, 'new-1:5:a48c8e16-e1bc-11ee-9330-feeee51d4267', '341a1b12-e13b-11ee-a38f-06b2c2ddc7b1', 10, 'TEST', NULL, '2', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-14 12:38:03', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (157, 'new-1:6:ab7ad8da-e1bc-11ee-9330-feeee51d4267', '341a1b12-e13b-11ee-a38f-06b2c2ddc7b1', 10, 'TEST', NULL, '2222', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-14 12:38:14', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (158, 'new-1:7:d7595072-e1bc-11ee-9b9f-feeee51d4267', '341a1b12-e13b-11ee-a38f-06b2c2ddc7b1', 10, 'TEST', NULL, '2222', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-14 12:39:28', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (159, 'new-1:8:75b9842a-e205-11ee-aac1-66c23f24ce2b', '341a1b12-e13b-11ee-a38f-06b2c2ddc7b1', 10, 'TEST', NULL, '2222', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-14 21:19:17', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (160, 'new-1:9:9dcaa07e-e205-11ee-aac1-66c23f24ce2b', '341a1b12-e13b-11ee-a38f-06b2c2ddc7b1', 10, 'TEST', NULL, '2222', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-14 21:20:25', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (161, 'new-1:10:9f5a6842-e205-11ee-aac1-66c23f24ce2b', '341a1b12-e13b-11ee-a38f-06b2c2ddc7b1', 10, 'TEST', NULL, '2222', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-14 21:20:27', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (162, 'new-1:11:f2499f4b-e20c-11ee-beae-46aa22562164', '341a1b12-e13b-11ee-a38f-06b2c2ddc7b1', 10, 'TEST', NULL, '2222', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-14 22:12:53', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (163, 'new-2:1:7fc84238-e2c1-11ee-ad8d-9216688a4b8f', '096c61cd-e2c0-11ee-ad8d-9216688a4b8f', 10, 'TEST', NULL, '123', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-15 19:45:20', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (164, 'new-2:2:18c21844-e2c2-11ee-ad8d-9216688a4b8f', '096c61cd-e2c0-11ee-ad8d-9216688a4b8f', 10, 'TEST', NULL, '123', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-15 19:49:36', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (165, 'new-2:3:2a67c3b8-e2c2-11ee-ad8d-9216688a4b8f', '096c61cd-e2c0-11ee-ad8d-9216688a4b8f', 10, 'TEST', NULL, '123', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-15 19:50:06', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (166, 'new-2:4:4bdfb93e-e2c2-11ee-ad8d-9216688a4b8f', '096c61cd-e2c0-11ee-ad8d-9216688a4b8f', 10, 'TEST', NULL, '123', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-15 19:51:02', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (167, 'new-2:5:aca8925e-e2e9-11ee-83a1-0e2aa205f435', '096c61cd-e2c0-11ee-ad8d-9216688a4b8f', 10, 'TEST', NULL, '123', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-16 00:32:55', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (168, 'new-2:6:634784f8-e2ea-11ee-b183-0e2aa205f435', '096c61cd-e2c0-11ee-ad8d-9216688a4b8f', 10, 'TEST', NULL, '123', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-16 00:38:01', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (169, 'new-2:7:8167c4f2-e2ea-11ee-b183-0e2aa205f435', '096c61cd-e2c0-11ee-ad8d-9216688a4b8f', 10, 'TEST', NULL, '123', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-16 00:38:52', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (170, 'test:1:9c4cac8d-e360-11ee-9498-6aca1e3be435', '7077f888-e360-11ee-9498-6aca1e3be435', 10, 'TEST', NULL, 'biubiubiu', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-16 14:44:17', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (171, 'test:2:99e30b8e-e370-11ee-a1a2-0ebfd53b3c91', '7077f888-e360-11ee-9498-6aca1e3be435', 10, 'TEST', NULL, 'biubiubiu', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-16 16:38:45', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (172, 'test:3:9befa472-e370-11ee-a1a2-0ebfd53b3c91', '7077f888-e360-11ee-9498-6aca1e3be435', 10, 'TEST', NULL, 'biubiubiu', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-16 16:38:49', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (173, 'huoqian:1:e95f383c-e37e-11ee-a889-0ebfd53b3c91', 'd139e257-e37e-11ee-a889-0ebfd53b3c91', 10, 'TEST', NULL, '123321', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-16 18:21:12', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (174, 'bohui:1:5b1ab874-e384-11ee-9e7b-aab4713d012e', '35963a6f-e384-11ee-9e7b-aab4713d012e', 10, 'TEST', NULL, NULL, 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-16 19:00:10', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (175, 'bohui:2:929c1199-e5ca-11ee-9e7b-3e9a6d6b4cd2', '35963a6f-e384-11ee-9e7b-aab4713d012e', 10, 'TEST', NULL, '测试', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-19 16:27:50', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (176, 'bohui:3:2e6a6c9d-e5e2-11ee-9e7b-3e9a6d6b4cd2', '35963a6f-e384-11ee-9e7b-aab4713d012e', 10, 'TEST', NULL, '测试', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-19 19:16:50', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (177, 'huoqian:2:3081daf1-e5e2-11ee-9e7b-3e9a6d6b4cd2', 'd139e257-e37e-11ee-a889-0ebfd53b3c91', 10, 'TEST', NULL, '312321', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-19 19:16:53', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (178, 'test:4:31c77a55-e5e2-11ee-9e7b-3e9a6d6b4cd2', '7077f888-e360-11ee-9498-6aca1e3be435', 10, 'TEST', NULL, 'biubiubiu', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-19 19:16:56', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (179, 'new-1:12:32ec9969-e5e2-11ee-9e7b-3e9a6d6b4cd2', '341a1b12-e13b-11ee-a38f-06b2c2ddc7b1', 10, 'TEST', NULL, '2222', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-19 19:16:57', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (180, 'new-1:13:8612ea4d-e5e2-11ee-9e7b-3e9a6d6b4cd2', '341a1b12-e13b-11ee-a38f-06b2c2ddc7b1', 10, 'TEST', NULL, '2222', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-19 19:19:17', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (181, 'crm-receivable-audit:2:87747621-e5e2-11ee-9e7b-3e9a6d6b4cd2', '9bc054ce-d3d2-11ee-aa2f-26aa5e0b65cc', 10, 'TEST', NULL, NULL, 20, NULL, NULL, NULL, '/crm/receivable/detail/index', '/crm/receivable/detail/index', '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-19 19:19:19', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (182, 'huoqian:3:a0f2f365-e5e2-11ee-9e7b-3e9a6d6b4cd2', 'd139e257-e37e-11ee-a889-0ebfd53b3c91', 10, 'TEST', NULL, '312321', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-19 19:20:02', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (183, 'bohui:4:0ae36c02-e607-11ee-95fc-76ce04f8068a', '35963a6f-e384-11ee-9e7b-aab4713d012e', 10, 'TEST', NULL, '测试', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-19 23:40:42', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (184, 'bohui:5:cc1ecb1f-e60c-11ee-9a09-76ce04f8068a', '35963a6f-e384-11ee-9e7b-aab4713d012e', 10, 'TEST', NULL, '测试', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-20 00:21:53', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (185, 'bohui:6:cd95b3b3-e60c-11ee-9a09-76ce04f8068a', '35963a6f-e384-11ee-9e7b-aab4713d012e', 10, 'TEST', NULL, '测试', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-20 00:21:56', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (186, 'huoqian:4:e4f8f217-e60c-11ee-9a09-76ce04f8068a', 'd139e257-e37e-11ee-a889-0ebfd53b3c91', 10, 'TEST', NULL, '312321', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-20 00:22:35', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (187, 'huoqian:5:e87101db-e60c-11ee-9a09-76ce04f8068a', 'd139e257-e37e-11ee-a889-0ebfd53b3c91', 10, 'TEST', NULL, '312321', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-20 00:22:41', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (188, 'new-test:1:c94e33b3-e60e-11ee-b246-76ce04f8068a', '89f1f488-e60e-11ee-9a09-76ce04f8068a', 10, 'TEST', NULL, NULL, 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-20 00:36:08', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (189, 'new-test:2:09735826-e66a-11ee-9c22-4aafd11823fb', '89f1f488-e60e-11ee-9a09-76ce04f8068a', 10, 'TEST', NULL, NULL, 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-20 11:29:19', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (190, 'new-test:3:0abe009a-e66a-11ee-9c22-4aafd11823fb', '89f1f488-e60e-11ee-9a09-76ce04f8068a', 10, 'TEST', NULL, NULL, 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-20 11:29:22', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (191, 'hhhh:1:8b313806-e698-11ee-8b05-52c6ce924391', '155910bd-e698-11ee-aeba-aa5b9845b3dd', 10, 'TEST', NULL, '444', 10, 24, NULL, NULL, NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-20 17:02:14', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (192, 'hhhh:2:b96ff12b-e699-11ee-a9b4-52c6ce924391', '155910bd-e698-11ee-aeba-aa5b9845b3dd', 10, 'TEST', NULL, '444', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-20 17:10:41', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (193, 'oa_leave:1:7f7be21c-e6b8-11ee-9cdc-4a23a0fa7ecb', '5a910c07-e6b8-11ee-9cdc-4a23a0fa7ecb', 10, 'TEST', NULL, NULL, 20, NULL, NULL, NULL, '/bpm/oa/leave/create', '/bpm/oa/leave/detail', '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-20 20:50:58', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (194, 'oa_leave:2:dc565ee3-e841-11ee-a5e7-525da23008fe', '5a910c07-e6b8-11ee-9cdc-4a23a0fa7ecb', 10, 'TEST', NULL, NULL, 20, NULL, NULL, NULL, '/bpm/oa/leave/create', '/bpm/oa/leave/detail', '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-22 19:46:46', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (195, 'hhhh:3:c1e2dce5-e842-11ee-90ce-4a385f3b4f1a', '155910bd-e698-11ee-aeba-aa5b9845b3dd', 10, 'TEST', NULL, '444', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-22 19:53:11', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (196, 'hhhh:4:d27088a9-e842-11ee-90ce-4a385f3b4f1a', '155910bd-e698-11ee-aeba-aa5b9845b3dd', 10, 'TEST', NULL, '444', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-22 19:53:39', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (197, 'oa_leave:3:ec4b0352-e85f-11ee-a915-fef401dd8c67', '5a910c07-e6b8-11ee-9cdc-4a23a0fa7ecb', 10, 'TEST', NULL, NULL, 20, NULL, NULL, NULL, '/bpm/oa/leave/create', '/bpm/oa/leave/detail', '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-22 23:21:58', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (198, 'hhhh:5:f8052e06-e85f-11ee-a915-fef401dd8c67', '155910bd-e698-11ee-aeba-aa5b9845b3dd', 10, 'TEST', NULL, '444', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-22 23:22:18', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (199, 'hhhh:6:f9c52d8a-e85f-11ee-a915-fef401dd8c67', '155910bd-e698-11ee-aeba-aa5b9845b3dd', 10, 'TEST', NULL, '444', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-22 23:22:21', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (200, 'oa_leave:4:405a9670-e86a-11ee-9962-52c5f2f50e3f', '5a910c07-e6b8-11ee-9cdc-4a23a0fa7ecb', 10, 'TEST', NULL, NULL, 20, NULL, NULL, NULL, '/bpm/oa/leave/create', '/bpm/oa/leave/detail', '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-23 00:35:54', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (201, 'test-execute-listener:1:53f38c0e-e8c7-11ee-a81e-aa3623b10f85', '63ad6275-e8c6-11ee-a81e-aa3623b10f85', 10, 'TEST', NULL, NULL, 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-23 11:42:10', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (202, 'test-execute-listener:2:a385e0a9-e8c7-11ee-aad0-aa3623b10f85', '63ad6275-e8c6-11ee-a81e-aa3623b10f85', 10, 'TEST', NULL, NULL, 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-23 11:44:23', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (203, 'jiandan:1:9303634e-e8c8-11ee-afed-aa3623b10f85', '31b0d649-e8c8-11ee-afed-aa3623b10f85', 10, 'TEST', NULL, '31', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-23 11:51:05', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (204, 'jiandan:2:a188dba5-e8cb-11ee-90b0-aa3623b10f85', '31b0d649-e8c8-11ee-afed-aa3623b10f85', 10, 'TEST', NULL, '31', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-23 12:12:58', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (205, 'jiandan:3:a365b1f9-e8cb-11ee-90b0-aa3623b10f85', '31b0d649-e8c8-11ee-afed-aa3623b10f85', 10, 'TEST', NULL, '31', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-23 12:13:01', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (206, 'jiandan:4:cd840373-e8cb-11ee-90b0-aa3623b10f85', '31b0d649-e8c8-11ee-afed-aa3623b10f85', 10, 'TEST', NULL, '31', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-23 12:14:12', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (207, 'jiandan:5:eaa4117f-e8cb-11ee-90b0-aa3623b10f85', '31b0d649-e8c8-11ee-afed-aa3623b10f85', 10, 'TEST', NULL, '31', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-23 12:15:01', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (208, 'jiandan:6:86693c4b-e8cc-11ee-90b0-aa3623b10f85', '31b0d649-e8c8-11ee-afed-aa3623b10f85', 10, 'TEST', NULL, '31', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-23 12:19:22', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (209, 'jiandan:7:05a77968-e8cf-11ee-817e-aa3623b10f85', '31b0d649-e8c8-11ee-afed-aa3623b10f85', 10, 'TEST', NULL, '31', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-23 12:37:15', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (210, 'jiandan:8:40e137b4-e8cf-11ee-817e-aa3623b10f85', '31b0d649-e8c8-11ee-afed-aa3623b10f85', 10, 'TEST', NULL, '31', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-23 12:38:54', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (211, 'jiandan:9:5df007b3-e8cf-11ee-817e-aa3623b10f85', '31b0d649-e8c8-11ee-afed-aa3623b10f85', 10, 'TEST', NULL, '31', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-23 12:39:43', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (212, 'jiandan:10:86a7834f-e904-11ee-868e-769cf7027e4a', '31b0d649-e8c8-11ee-afed-aa3623b10f85', 10, 'TEST', NULL, '31', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-23 19:00:14', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (213, 'jiandan:11:ae58a559-e904-11ee-868e-769cf7027e4a', '31b0d649-e8c8-11ee-afed-aa3623b10f85', 10, 'TEST', NULL, '31', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-23 19:01:21', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (214, 'jiandan:12:b021305d-e904-11ee-868e-769cf7027e4a', '31b0d649-e8c8-11ee-afed-aa3623b10f85', 10, 'TEST', NULL, '31', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-23 19:01:24', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (215, 'jiandan:13:3d5f2d56-e905-11ee-9c2f-cacdb29edc0f', '31b0d649-e8c8-11ee-afed-aa3623b10f85', 10, 'TEST', NULL, '31', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-23 19:05:21', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (216, 'jiandan:14:911254cd-e905-11ee-b8a7-cacdb29edc0f', '31b0d649-e8c8-11ee-afed-aa3623b10f85', 10, 'TEST', NULL, '31', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-23 19:07:41', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (217, 'jiandan:15:d171abcd-e905-11ee-b8a7-cacdb29edc0f', '31b0d649-e8c8-11ee-afed-aa3623b10f85', 10, 'TEST', NULL, '31', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-23 19:09:29', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (218, 'jiandan:16:12cd3d1d-e906-11ee-b8a7-cacdb29edc0f', '31b0d649-e8c8-11ee-afed-aa3623b10f85', 10, 'TEST', NULL, '31', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-23 19:11:19', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (219, 'jiandan:17:14ffd491-e906-11ee-b8a7-cacdb29edc0f', '31b0d649-e8c8-11ee-afed-aa3623b10f85', 10, 'TEST', NULL, '31', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-23 19:11:23', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (220, 'jiandan:18:a37d1331-e907-11ee-ad58-cacdb29edc0f', '31b0d649-e8c8-11ee-afed-aa3623b10f85', 10, 'TEST', NULL, '31', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-23 19:22:31', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (221, 'jiandan:19:c0a44484-e915-11ee-9b58-4ad6071fe8cb', '31b0d649-e8c8-11ee-afed-aa3623b10f85', 10, 'TEST', NULL, '31', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-23 21:03:33', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (222, 'jiandan:20:d94ad861-e915-11ee-9b58-4ad6071fe8cb', '31b0d649-e8c8-11ee-afed-aa3623b10f85', 10, 'TEST', NULL, '31', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-23 21:04:14', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (223, 'jiandan:21:ebf8cc15-e915-11ee-9b58-4ad6071fe8cb', '31b0d649-e8c8-11ee-afed-aa3623b10f85', 10, 'TEST', NULL, '31', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-23 21:04:46', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (224, 'jiandan:22:f303eda9-e915-11ee-9b58-4ad6071fe8cb', '31b0d649-e8c8-11ee-afed-aa3623b10f85', 10, 'TEST', NULL, '31', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-23 21:04:58', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (225, 'jiandan:23:1f51a246-e916-11ee-9b58-4ad6071fe8cb', '31b0d649-e8c8-11ee-afed-aa3623b10f85', 10, 'TEST', NULL, '31', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-23 21:06:12', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (226, 'jiandan:24:2143602a-e916-11ee-9b58-4ad6071fe8cb', '31b0d649-e8c8-11ee-afed-aa3623b10f85', 10, 'TEST', NULL, '31', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-23 21:06:15', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (227, 'jiandan:25:fe687100-e97f-11ee-98a3-7248bcbce76f', '31b0d649-e8c8-11ee-afed-aa3623b10f85', 10, 'TEST', NULL, '31', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-24 09:44:03', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (228, 'jiandan:26:e9f49fcc-e981-11ee-b9f2-daad0f82ed42', '31b0d649-e8c8-11ee-afed-aa3623b10f85', 10, 'TEST', NULL, '31', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-24 09:57:48', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (229, 'jiandan:27:1fdd973f-e982-11ee-85e4-0ae4354b692e', '31b0d649-e8c8-11ee-afed-aa3623b10f85', 10, 'TEST', 'http://test.zt.iocoder.cn/a2b3603cf8797447c26a22f18256df94562d5e00bcbdc2a523098119c50a6efa.png', '31', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-24 09:59:19', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (230, 'jiandan:28:4eaa2e83-e982-11ee-85e4-0ae4354b692e', '31b0d649-e8c8-11ee-afed-aa3623b10f85', 10, 'TEST', 'http://test.zt.iocoder.cn/a2b3603cf8797447c26a22f18256df94562d5e00bcbdc2a523098119c50a6efa.png', '31', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-24 10:00:45', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (231, 'crm-receivable-audit:3:a7ef6c37-e982-11ee-85e4-0ae4354b692e', '9bc054ce-d3d2-11ee-aa2f-26aa5e0b65cc', 10, 'TEST', 'http://test.zt.iocoder.cn/4c38186a52a6796d998f4e826178e1c24bee0eb722f8751e9ffb4d8eaea9b5cf.png', NULL, 20, NULL, NULL, NULL, '/crm/receivable/detail/index', '/crm/receivable/detail/index', '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-24 10:03:07', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (232, 'new-1:14:bddcd37b-e982-11ee-85e4-0ae4354b692e', '341a1b12-e13b-11ee-a38f-06b2c2ddc7b1', 10, 'TEST', NULL, '2222', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-24 10:03:44', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (233, 'crm-receivable-audit:4:bf5cbcbf-e982-11ee-85e4-0ae4354b692e', '9bc054ce-d3d2-11ee-aa2f-26aa5e0b65cc', 10, 'TEST', 'http://test.zt.iocoder.cn/4c38186a52a6796d998f4e826178e1c24bee0eb722f8751e9ffb4d8eaea9b5cf.png', NULL, 20, NULL, NULL, NULL, '/crm/receivable/detail/index', '/crm/receivable/detail/index', '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-24 10:03:46', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (234, 'crm-contract-audit:3:c0998283-e982-11ee-85e4-0ae4354b692e', '5b40f87b-d2a7-11ee-a703-92ff8e2e5a3e', 10, 'TEST', 'http://test.zt.iocoder.cn/10d745dfe02082351f86c28ed2f3a7e0da8bbf6858f1d4a02e409930b3670d63.png', NULL, 20, NULL, NULL, NULL, '/crm/contract/detail/index', '/crm/contract/detail/index', '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-24 10:03:48', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (235, 'jiandan:29:04a89a9e-e983-11ee-8309-e2652d1d3e17', '31b0d649-e8c8-11ee-afed-aa3623b10f85', 10, 'TEST', 'http://test.zt.iocoder.cn/a2b3603cf8797447c26a22f18256df94562d5e00bcbdc2a523098119c50a6efa.png', '31', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-24 10:05:42', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (236, 'test-execute-listener:3:05563fc2-e983-11ee-8309-e2652d1d3e17', '63ad6275-e8c6-11ee-a81e-aa3623b10f85', 10, 'TEST', 'http://test.zt.iocoder.cn/9bb3c5ced2acdd50e303db8d719900ac20a3a8fab2f2002c56fc8da41b74c204.png', NULL, 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-24 10:05:43', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (237, 'oa_leave:5:06357c36-e983-11ee-8309-e2652d1d3e17', '5a910c07-e6b8-11ee-9cdc-4a23a0fa7ecb', 10, 'TEST', 'http://test.zt.iocoder.cn/628560c644de0ae9120114509227ffb90a32e23dfc9afc2bd63763cd781ece8f.png', NULL, 20, NULL, NULL, NULL, '/bpm/oa/leave/create', '/bpm/oa/leave/detail', '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-24 10:05:45', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (238, 'new-2:8:072f458a-e983-11ee-8309-e2652d1d3e17', '096c61cd-e2c0-11ee-ad8d-9216688a4b8f', 10, 'TEST', 'http://test.zt.iocoder.cn/6857d7b2e57f514629c0f1aa937c5fc6c551460851975bc3ea15b5a56ce4bdea.png', '123', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-24 10:05:47', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (239, 'crm-receivable-audit:5:0828729e-e983-11ee-8309-e2652d1d3e17', '9bc054ce-d3d2-11ee-aa2f-26aa5e0b65cc', 10, 'TEST', 'http://test.zt.iocoder.cn/4c38186a52a6796d998f4e826178e1c24bee0eb722f8751e9ffb4d8eaea9b5cf.png', NULL, 20, NULL, NULL, NULL, '/crm/receivable/detail/index', '/crm/receivable/detail/index', '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-24 10:05:48', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (240, 'crm-contract-audit:4:09a0e1d2-e983-11ee-8309-e2652d1d3e17', '5b40f87b-d2a7-11ee-a703-92ff8e2e5a3e', 10, 'TEST', 'http://test.zt.iocoder.cn/10d745dfe02082351f86c28ed2f3a7e0da8bbf6858f1d4a02e409930b3670d63.png', NULL, 20, NULL, NULL, NULL, '/crm/contract/detail/index', '/crm/contract/detail/index', '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-24 10:05:51', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (241, 'common-form:1:01d5d911-e9dd-11ee-b832-9eb3e287be9e', '749c937c-e9d8-11ee-b832-9eb3e287be9e', 10, 'TEST', 'http://test.zt.iocoder.cn/9bb3c5ced2acdd50e303db8d719900ac20a3a8fab2f2002c56fc8da41b74c204.png', '通用表单的简单示例', 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-24 20:49:52', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (242, 'common-form:2:0e493533-e9e7-11ee-b832-9eb3e287be9e', '749c937c-e9d8-11ee-b832-9eb3e287be9e', 10, 'TEST', 'http://test.zt.iocoder.cn/9bb3c5ced2acdd50e303db8d719900ac20a3a8fab2f2002c56fc8da41b74c204.png', '通用表单的简单示例', 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-24 22:01:48', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (243, 'oa_leave:6:7b44afa4-ea31-11ee-bb75-5e33ef4bb66f', 'e0d1eaff-ea2f-11ee-bb75-5e33ef4bb66f', 10, 'TEST', 'http://test.zt.iocoder.cn/a2b3603cf8797447c26a22f18256df94562d5e00bcbdc2a523098119c50a6efa.png', NULL, 20, NULL, NULL, NULL, '/bpm/oa/leave/create', '/bpm/oa/leave/detail', '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-25 06:54:34', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (244, 'common-form:3:e4fde4e7-ea58-11ee-bb75-5e33ef4bb66f', '749c937c-e9d8-11ee-b832-9eb3e287be9e', 10, 'TEST', 'http://test.zt.iocoder.cn/9bb3c5ced2acdd50e303db8d719900ac20a3a8fab2f2002c56fc8da41b74c204.png', '通用表单的简单示例', 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-25 11:36:42', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (245, 'common-form:4:f410143b-ea58-11ee-bb75-5e33ef4bb66f', '749c937c-e9d8-11ee-b832-9eb3e287be9e', 10, 'TEST', 'http://test.zt.iocoder.cn/9bb3c5ced2acdd50e303db8d719900ac20a3a8fab2f2002c56fc8da41b74c204.png', '通用表单的简单示例', 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-25 11:37:07', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (246, 'oa_leave:7:7de7f1e6-ea75-11ee-b3de-d26fe03362ce', 'e0d1eaff-ea2f-11ee-bb75-5e33ef4bb66f', 10, 'TEST', 'http://test.zt.iocoder.cn/a2b3603cf8797447c26a22f18256df94562d5e00bcbdc2a523098119c50a6efa.png', NULL, 20, NULL, NULL, NULL, '/bpm/oa/leave/create', '/bpm/oa/leave/detail', '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-25 15:01:24', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (247, 'common-form:5:9ba7c25a-ea75-11ee-b3de-d26fe03362ce', '749c937c-e9d8-11ee-b832-9eb3e287be9e', 10, 'TEST', 'http://test.zt.iocoder.cn/9bb3c5ced2acdd50e303db8d719900ac20a3a8fab2f2002c56fc8da41b74c204.png', '通用表单的简单示例', 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-25 15:02:14', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (248, 'oa_leave:8:8d386d5f-ea76-11ee-b3de-d26fe03362ce', 'e0d1eaff-ea2f-11ee-bb75-5e33ef4bb66f', 10, 'TEST', 'http://test.zt.iocoder.cn/a2b3603cf8797447c26a22f18256df94562d5e00bcbdc2a523098119c50a6efa.png', NULL, 20, NULL, NULL, NULL, '/bpm/oa/leave/create', '/bpm/oa/leave/detail', '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-25 15:08:59', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (249, 'jiandan:30:25812eb2-ea8f-11ee-b3de-d26fe03362ce', '31b0d649-e8c8-11ee-afed-aa3623b10f85', 10, 'TEST', 'http://test.zt.iocoder.cn/a2b3603cf8797447c26a22f18256df94562d5e00bcbdc2a523098119c50a6efa.png', '31', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-25 18:05:03', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (250, 'common-form:6:10faaabb-eab4-11ee-b3de-d26fe03362ce', '749c937c-e9d8-11ee-b832-9eb3e287be9e', 10, 'TEST', 'http://test.zt.iocoder.cn/9bb3c5ced2acdd50e303db8d719900ac20a3a8fab2f2002c56fc8da41b74c204.png', '通用表单的简单示例', 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-25 22:29:20', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (251, 'common-form:7:130ac60f-eab4-11ee-b3de-d26fe03362ce', '749c937c-e9d8-11ee-b832-9eb3e287be9e', 10, 'TEST', 'http://test.zt.iocoder.cn/9bb3c5ced2acdd50e303db8d719900ac20a3a8fab2f2002c56fc8da41b74c204.png', '通用表单的简单示例', 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-25 22:29:23', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (252, 'common-form:8:6cd4e3df-eb56-11ee-b3de-d26fe03362ce', '749c937c-e9d8-11ee-b832-9eb3e287be9e', 10, 'TEST', 'http://test.zt.iocoder.cn/9bb3c5ced2acdd50e303db8d719900ac20a3a8fab2f2002c56fc8da41b74c204.png', '通用表单的简单示例', 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-26 17:51:32', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (253, 'common-form:9:2853c458-eb60-11ee-bdd0-965a2f407078', '749c937c-e9d8-11ee-b832-9eb3e287be9e', 10, 'TEST', 'http://test.zt.iocoder.cn/9bb3c5ced2acdd50e303db8d719900ac20a3a8fab2f2002c56fc8da41b74c204.png', '通用表单的简单示例', 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-26 19:01:12', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (254, 'common-form:10:492fa1e9-eb60-11ee-bdd0-965a2f407078', '749c937c-e9d8-11ee-b832-9eb3e287be9e', 10, 'TEST', 'http://test.zt.iocoder.cn/9bb3c5ced2acdd50e303db8d719900ac20a3a8fab2f2002c56fc8da41b74c204.png', '通用表单的简单示例', 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-26 19:02:07', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (255, 'common-form:11:7413b36c-eb60-11ee-bdd0-965a2f407078', '749c937c-e9d8-11ee-b832-9eb3e287be9e', 10, 'TEST', 'http://test.zt.iocoder.cn/9bb3c5ced2acdd50e303db8d719900ac20a3a8fab2f2002c56fc8da41b74c204.png', '通用表单的简单示例', 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-26 19:03:19', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (256, 'common-form:12:7d3a13e0-eb60-11ee-bdd0-965a2f407078', '749c937c-e9d8-11ee-b832-9eb3e287be9e', 10, 'TEST', 'http://test.zt.iocoder.cn/9bb3c5ced2acdd50e303db8d719900ac20a3a8fab2f2002c56fc8da41b74c204.png', '通用表单的简单示例', 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-26 19:03:35', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (257, 'common-form:13:370ab6b2-eb64-11ee-bdd0-965a2f407078', '749c937c-e9d8-11ee-b832-9eb3e287be9e', 10, 'TEST', 'http://test.zt.iocoder.cn/9bb3c5ced2acdd50e303db8d719900ac20a3a8fab2f2002c56fc8da41b74c204.png', '通用表单的简单示例', 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-26 19:30:15', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (258, 'common-form:14:6aa43f60-eb64-11ee-bdd0-965a2f407078', '749c937c-e9d8-11ee-b832-9eb3e287be9e', 10, 'TEST', 'http://test.zt.iocoder.cn/9bb3c5ced2acdd50e303db8d719900ac20a3a8fab2f2002c56fc8da41b74c204.png', '通用表单的简单示例', 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-26 19:31:41', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (259, 'common-form:15:dff9ac9c-eb65-11ee-8f77-8e54f03536f0', '749c937c-e9d8-11ee-b832-9eb3e287be9e', 10, 'TEST', 'http://test.zt.iocoder.cn/9bb3c5ced2acdd50e303db8d719900ac20a3a8fab2f2002c56fc8da41b74c204.png', '通用表单的简单示例', 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-26 19:42:08', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (260, 'common-form:16:f8d53320-eb65-11ee-8f77-8e54f03536f0', '749c937c-e9d8-11ee-b832-9eb3e287be9e', 10, 'TEST', 'http://test.zt.iocoder.cn/9bb3c5ced2acdd50e303db8d719900ac20a3a8fab2f2002c56fc8da41b74c204.png', '通用表单的简单示例', 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-26 19:42:49', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (261, 'common-form:17:65ca4431-eb66-11ee-8f77-8e54f03536f0', '749c937c-e9d8-11ee-b832-9eb3e287be9e', 10, 'TEST', 'http://test.zt.iocoder.cn/9bb3c5ced2acdd50e303db8d719900ac20a3a8fab2f2002c56fc8da41b74c204.png', '通用表单的简单示例', 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-26 19:45:52', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (262, 'common-form:18:6ba8e1d3-eb68-11ee-8f77-8e54f03536f0', '749c937c-e9d8-11ee-b832-9eb3e287be9e', 10, 'TEST', 'http://test.zt.iocoder.cn/9bb3c5ced2acdd50e303db8d719900ac20a3a8fab2f2002c56fc8da41b74c204.png', '通用表单的简单示例', 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-26 20:00:21', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (263, 'common-form:19:b0de9faf-eb68-11ee-ac74-8e54f03536f0', '749c937c-e9d8-11ee-b832-9eb3e287be9e', 10, 'TEST', 'http://test.zt.iocoder.cn/9bb3c5ced2acdd50e303db8d719900ac20a3a8fab2f2002c56fc8da41b74c204.png', '通用表单的简单示例', 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-26 20:02:17', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (264, 'common-form:20:dcd92b40-eb68-11ee-ac74-8e54f03536f0', '749c937c-e9d8-11ee-b832-9eb3e287be9e', 10, 'TEST', 'http://test.zt.iocoder.cn/9bb3c5ced2acdd50e303db8d719900ac20a3a8fab2f2002c56fc8da41b74c204.png', '通用表单的简单示例', 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-26 20:03:31', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (265, 'common-form:21:68b2dd38-eb69-11ee-94bc-8e54f03536f0', '749c937c-e9d8-11ee-b832-9eb3e287be9e', 10, 'TEST', 'http://test.zt.iocoder.cn/9bb3c5ced2acdd50e303db8d719900ac20a3a8fab2f2002c56fc8da41b74c204.png', '通用表单的简单示例', 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-26 20:07:26', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (266, 'common-form:22:9390d538-eb69-11ee-94bc-8e54f03536f0', '749c937c-e9d8-11ee-b832-9eb3e287be9e', 10, 'TEST', 'http://test.zt.iocoder.cn/9bb3c5ced2acdd50e303db8d719900ac20a3a8fab2f2002c56fc8da41b74c204.png', '通用表单的简单示例', 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-26 20:08:38', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (267, 'common-form:23:dc057b15-eb7d-11ee-94eb-ca66e5b02be3', '749c937c-e9d8-11ee-b832-9eb3e287be9e', 10, 'TEST', 'http://test.zt.iocoder.cn/9bb3c5ced2acdd50e303db8d719900ac20a3a8fab2f2002c56fc8da41b74c204.png', '通用表单的简单示例', 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-26 22:33:49', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (268, 'heihei:1:06f60a22-ec15-11ee-94eb-ca66e5b02be3', 'abcd8d7d-ec14-11ee-94eb-ca66e5b02be3', 10, 'TEST', 'http://test.zt.iocoder.cn/7926d23e751a3e6c3002d24386a826bb7e878ed6fb6be744bdfa57de9791a953.png', NULL, 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-27 16:35:55', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (269, 'heihei:2:b5e85669-ec2d-11ee-905c-5e14fc17cb1d', 'abcd8d7d-ec14-11ee-94eb-ca66e5b02be3', 10, 'TEST', 'http://test.zt.iocoder.cn/7926d23e751a3e6c3002d24386a826bb7e878ed6fb6be744bdfa57de9791a953.png', NULL, 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-27 19:32:36', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (270, 'dingding:1:ebf8e7eb-eea0-11ee-9667-e2a265c77a9c', '6246f786-eea0-11ee-9667-e2a265c77a9c', 10, 'TEST', 'http://test.zt.iocoder.cn/7c8923242e856d176a9054c671d4446c5b5e05c9ff316905b81b1d9062c47fc8.png', '123', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-03-30 22:22:22', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (271, 'test-multi:1:fb1f8c36-2c71-11ef-a3cf-9eb4566c9ffb', 'a01741c1-2c71-11ef-a3cf-9eb4566c9ffb', 10, 'TEST', 'http://test.zt.iocoder.cn/2a124ba5743f9572fcbd2718a64ba599618c96ddba6c7391ad35906cd3f37f94.png', NULL, 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-06-17 14:22:33', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (272, 'test-multi:2:fd3e749a-2c71-11ef-a3cf-9eb4566c9ffb', 'a01741c1-2c71-11ef-a3cf-9eb4566c9ffb', 10, 'TEST', 'http://test.zt.iocoder.cn/2a124ba5743f9572fcbd2718a64ba599618c96ddba6c7391ad35906cd3f37f94.png', NULL, 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-06-17 14:22:36', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (273, 'test-multi:3:3118e1a3-2c73-11ef-be08-6200d05e9e35', 'a01741c1-2c71-11ef-a3cf-9eb4566c9ffb', 10, 'TEST', 'http://test.zt.iocoder.cn/2a124ba5743f9572fcbd2718a64ba599618c96ddba6c7391ad35906cd3f37f94.png', NULL, 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-06-17 14:31:13', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (274, 'jiandan:1:d7d10d7c-46a3-11ef-9af1-ca5778fb00b9', 'ad764f47-46a3-11ef-9af1-ca5778fb00b9', 10, 'TEST', 'http://test.zt.iocoder.cn/9c6f8897bf5b3baa457b056cdfd3edebb4c5def6b2f241267b5d6903606358af.png', '123', 20, NULL, NULL, NULL, '1', '2', '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '110', '2024-07-20 22:24:59', '110', '2025-03-02 01:08:58', '0', 121); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (275, 'oa_leave:9:3413581e-48b8-11ef-abfa-867f8d724d70', 'e0d1eaff-ea2f-11ee-bb75-5e33ef4bb66f', 10, 'TEST', 'http://test.zt.iocoder.cn/a2b3603cf8797447c26a22f18256df94562d5e00bcbdc2a523098119c50a6efa.png', NULL, 20, NULL, NULL, NULL, '/bpm/oa/leave/create', '/bpm/oa/leave/detail', '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-07-23 13:55:46', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (276, 'common-form:24:8096981a-48b8-11ef-abfa-867f8d724d70', '749c937c-e9d8-11ee-b832-9eb3e287be9e', 10, 'TEST', 'http://test.zt.iocoder.cn/9bb3c5ced2acdd50e303db8d719900ac20a3a8fab2f2002c56fc8da41b74c204.png', '通用表单的简单示例', 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"UploadFile\\",\\"field\\":\\"c982ea4c-7bbd-40d3-9f58-4e6409feed7c\\",\\"title\\":\\"文件上传\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"UploadFile\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-07-23 13:57:54', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (277, 'dingding-test:1:c8d05645-570e-11ef-9a2a-ca6b32ba0b65', '5a8cf34f-570e-11ef-9a2a-ca6b32ba0b65', 10, 'TEST', 'http://test.zt.iocoder.cn/c659aa14a791d94ba75e1d2d60d41aa62903e5a6da5fb8f7df3e71532ee69fee.png', NULL, 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"UploadFile\\",\\"field\\":\\"c982ea4c-7bbd-40d3-9f58-4e6409feed7c\\",\\"title\\":\\"文件上传\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"UploadFile\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-08-10 19:50:48', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (278, 'test-multi-02:1:ca9cc34b-5786-11ef-a7d0-ca5778fb00b9', 'ac088bd6-5786-11ef-a7d0-ca5778fb00b9', 10, 'TEST', 'http://test.zt.iocoder.cn/2a124ba5743f9572fcbd2718a64ba599618c96ddba6c7391ad35906cd3f37f94.png', NULL, 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"UploadFile\\",\\"field\\":\\"c982ea4c-7bbd-40d3-9f58-4e6409feed7c\\",\\"title\\":\\"文件上传\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"UploadFile\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-08-11 10:09:51', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (279, 'test-multi-02:2:2775af2e-5787-11ef-a7d0-ca5778fb00b9', 'ac088bd6-5786-11ef-a7d0-ca5778fb00b9', 10, 'TEST', 'http://test.zt.iocoder.cn/2a124ba5743f9572fcbd2718a64ba599618c96ddba6c7391ad35906cd3f37f94.png', NULL, 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"UploadFile\\",\\"field\\":\\"c982ea4c-7bbd-40d3-9f58-4e6409feed7c\\",\\"title\\":\\"文件上传\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"UploadFile\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-08-11 10:12:27', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (280, 'dingding-new-01:1:4ec71d17-5b14-11ef-8d8b-0216fe4e30bd', '150076d1-5b14-11ef-8d8b-0216fe4e30bd', 10, 'TEST', 'http://test.zt.iocoder.cn/7401c394a43280732e6aaa715fbfefadc33eeb8fab8f45f6b53f1acf6b22ae29.png', NULL, 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"UploadFile\\",\\"field\\":\\"c982ea4c-7bbd-40d3-9f58-4e6409feed7c\\",\\"title\\":\\"文件上传\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"UploadFile\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-08-15 22:40:25', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (281, 'dingding-new-01:2:bd6da2c7-5be2-11ef-9e8e-0eb665c8c295', '150076d1-5b14-11ef-8d8b-0216fe4e30bd', 10, 'TEST', 'http://test.zt.iocoder.cn/7401c394a43280732e6aaa715fbfefadc33eeb8fab8f45f6b53f1acf6b22ae29.png', NULL, 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"UploadFile\\",\\"field\\":\\"c982ea4c-7bbd-40d3-9f58-4e6409feed7c\\",\\"title\\":\\"文件上传\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"UploadFile\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-08-16 23:18:07', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (282, 'dingding-new-01:3:1fa9307b-5be3-11ef-9e8e-0eb665c8c295', '150076d1-5b14-11ef-8d8b-0216fe4e30bd', 10, 'TEST', 'http://test.zt.iocoder.cn/7401c394a43280732e6aaa715fbfefadc33eeb8fab8f45f6b53f1acf6b22ae29.png', NULL, 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"UploadFile\\",\\"field\\":\\"c982ea4c-7bbd-40d3-9f58-4e6409feed7c\\",\\"title\\":\\"文件上传\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"UploadFile\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-08-16 23:20:52', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (283, 'dingding-new-02:1:9ced6afb-5c32-11ef-8920-6aa34c82345d', '81ca8c85-5c32-11ef-8920-6aa34c82345d', 10, 'TEST', 'http://test.zt.iocoder.cn/c659aa14a791d94ba75e1d2d60d41aa62903e5a6da5fb8f7df3e71532ee69fee.png', '你收呢!', 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"UploadFile\\",\\"field\\":\\"c982ea4c-7bbd-40d3-9f58-4e6409feed7c\\",\\"title\\":\\"文件上传\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"UploadFile\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-08-17 08:49:52', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (284, 'dingding-new-02:2:0594c7e2-5c45-11ef-ba72-da884e9ab97f', '81ca8c85-5c32-11ef-8920-6aa34c82345d', 10, 'TEST', 'http://test.zt.iocoder.cn/c659aa14a791d94ba75e1d2d60d41aa62903e5a6da5fb8f7df3e71532ee69fee.png', '你收呢!', 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"UploadFile\\",\\"field\\":\\"c982ea4c-7bbd-40d3-9f58-4e6409feed7c\\",\\"title\\":\\"文件上传\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"UploadFile\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-08-17 11:01:39', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (285, 'dingding-new-02:3:b1dc2c7b-5c45-11ef-b584-da884e9ab97f', '81ca8c85-5c32-11ef-8920-6aa34c82345d', 10, 'TEST', 'http://test.zt.iocoder.cn/c659aa14a791d94ba75e1d2d60d41aa62903e5a6da5fb8f7df3e71532ee69fee.png', '你收呢!', 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"UploadFile\\",\\"field\\":\\"c982ea4c-7bbd-40d3-9f58-4e6409feed7c\\",\\"title\\":\\"文件上传\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"UploadFile\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-08-17 11:06:28', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (286, 'dingding-new-02:4:cbe29e84-5c45-11ef-b584-da884e9ab97f', '81ca8c85-5c32-11ef-8920-6aa34c82345d', 10, 'TEST', 'http://test.zt.iocoder.cn/c659aa14a791d94ba75e1d2d60d41aa62903e5a6da5fb8f7df3e71532ee69fee.png', '你收呢!', 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"UploadFile\\",\\"field\\":\\"c982ea4c-7bbd-40d3-9f58-4e6409feed7c\\",\\"title\\":\\"文件上传\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"UploadFile\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-08-17 11:07:12', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (287, 'dingding-new-02:5:11743139-5c49-11ef-a949-da884e9ab97f', '81ca8c85-5c32-11ef-8920-6aa34c82345d', 10, 'TEST', 'http://test.zt.iocoder.cn/c659aa14a791d94ba75e1d2d60d41aa62903e5a6da5fb8f7df3e71532ee69fee.png', '你收呢!', 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"UploadFile\\",\\"field\\":\\"c982ea4c-7bbd-40d3-9f58-4e6409feed7c\\",\\"title\\":\\"文件上传\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"UploadFile\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-08-17 11:30:37', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (288, 'dingding-new-03:1:52e8ed81-5c5f-11ef-b68e-fada804b1506', '272cf19b-5c5f-11ef-b68e-fada804b1506', 10, 'TEST', 'http://test.zt.iocoder.cn/c659aa14a791d94ba75e1d2d60d41aa62903e5a6da5fb8f7df3e71532ee69fee.png', NULL, 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"UploadFile\\",\\"field\\":\\"c982ea4c-7bbd-40d3-9f58-4e6409feed7c\\",\\"title\\":\\"文件上传\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"UploadFile\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-08-17 14:09:55', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (289, 'dingding-new-03:2:71f8bda4-5c5f-11ef-b68e-fada804b1506', '272cf19b-5c5f-11ef-b68e-fada804b1506', 10, 'TEST', 'http://test.zt.iocoder.cn/c659aa14a791d94ba75e1d2d60d41aa62903e5a6da5fb8f7df3e71532ee69fee.png', NULL, 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"UploadFile\\",\\"field\\":\\"c982ea4c-7bbd-40d3-9f58-4e6409feed7c\\",\\"title\\":\\"文件上传\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"UploadFile\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-08-17 14:10:48', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (290, 'dingding-new-03:3:7906ec78-5c5f-11ef-b68e-fada804b1506', '272cf19b-5c5f-11ef-b68e-fada804b1506', 10, 'TEST', 'http://test.zt.iocoder.cn/c659aa14a791d94ba75e1d2d60d41aa62903e5a6da5fb8f7df3e71532ee69fee.png', NULL, 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"UploadFile\\",\\"field\\":\\"c982ea4c-7bbd-40d3-9f58-4e6409feed7c\\",\\"title\\":\\"文件上传\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"UploadFile\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-08-17 14:10:59', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (291, 'dingding-new-03:4:e4448c76-5c63-11ef-801e-ee42d61a19f3', '272cf19b-5c5f-11ef-b68e-fada804b1506', 10, 'TEST', 'http://test.zt.iocoder.cn/c659aa14a791d94ba75e1d2d60d41aa62903e5a6da5fb8f7df3e71532ee69fee.png', NULL, 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"UploadFile\\",\\"field\\":\\"c982ea4c-7bbd-40d3-9f58-4e6409feed7c\\",\\"title\\":\\"文件上传\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"UploadFile\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-08-17 14:42:37', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (292, 'dingding-new-03:5:85f5e50b-5c6d-11ef-8d6e-aed50561faa5', '272cf19b-5c5f-11ef-b68e-fada804b1506', 10, 'TEST', 'http://test.zt.iocoder.cn/c659aa14a791d94ba75e1d2d60d41aa62903e5a6da5fb8f7df3e71532ee69fee.png', NULL, 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"UploadFile\\",\\"field\\":\\"c982ea4c-7bbd-40d3-9f58-4e6409feed7c\\",\\"title\\":\\"文件上传\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"UploadFile\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-08-17 15:51:34', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (293, 'dingding-new-03:6:42a6615b-5c6f-11ef-b472-aed50561faa5', '272cf19b-5c5f-11ef-b68e-fada804b1506', 10, 'TEST', 'http://test.zt.iocoder.cn/c659aa14a791d94ba75e1d2d60d41aa62903e5a6da5fb8f7df3e71532ee69fee.png', NULL, 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"UploadFile\\",\\"field\\":\\"c982ea4c-7bbd-40d3-9f58-4e6409feed7c\\",\\"title\\":\\"文件上传\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"UploadFile\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-08-17 16:04:00', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (294, 'dingding-new-03:7:be066588-5c6f-11ef-9238-aed50561faa5', '272cf19b-5c5f-11ef-b68e-fada804b1506', 10, 'TEST', 'http://test.zt.iocoder.cn/c659aa14a791d94ba75e1d2d60d41aa62903e5a6da5fb8f7df3e71532ee69fee.png', NULL, 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"UploadFile\\",\\"field\\":\\"c982ea4c-7bbd-40d3-9f58-4e6409feed7c\\",\\"title\\":\\"文件上传\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"UploadFile\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-08-17 16:07:27', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (295, 'dingding-new-03:8:684002ca-5c71-11ef-84c7-e2daa89f1c3f', '272cf19b-5c5f-11ef-b68e-fada804b1506', 10, 'TEST', 'http://test.zt.iocoder.cn/c659aa14a791d94ba75e1d2d60d41aa62903e5a6da5fb8f7df3e71532ee69fee.png', NULL, 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"UploadFile\\",\\"field\\":\\"c982ea4c-7bbd-40d3-9f58-4e6409feed7c\\",\\"title\\":\\"文件上传\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"UploadFile\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-08-17 16:19:22', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (296, 'dingding-new-04:1:0ca99988-5c82-11ef-bedc-bec2e0c2f11f', 'a3a969df-5c81-11ef-921d-bec2e0c2f11f', 10, 'TEST', 'http://test.zt.iocoder.cn/c659aa14a791d94ba75e1d2d60d41aa62903e5a6da5fb8f7df3e71532ee69fee.png', NULL, 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"UploadFile\\",\\"field\\":\\"c982ea4c-7bbd-40d3-9f58-4e6409feed7c\\",\\"title\\":\\"文件上传\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"UploadFile\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-08-17 18:18:30', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (297, 'dingding-new-05:1:be1300a8-5c9a-11ef-a8e4-92f37d84469a', '961b11a2-5c9a-11ef-a8e4-92f37d84469a', 10, 'TEST', 'http://test.zt.iocoder.cn/e1c52473ec0716ecfb18bf2c2b8685883a3f4b511e54dbef2d39920afaa4f4ef.png', NULL, 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"UploadFile\\",\\"field\\":\\"c982ea4c-7bbd-40d3-9f58-4e6409feed7c\\",\\"title\\":\\"文件上传\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"UploadFile\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-08-17 21:15:16', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (298, 'dingding-new-05:2:dc369c07-5c9a-11ef-a8e4-92f37d84469a', '961b11a2-5c9a-11ef-a8e4-92f37d84469a', 10, 'TEST', 'http://test.zt.iocoder.cn/e1c52473ec0716ecfb18bf2c2b8685883a3f4b511e54dbef2d39920afaa4f4ef.png', NULL, 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"UploadFile\\",\\"field\\":\\"c982ea4c-7bbd-40d3-9f58-4e6409feed7c\\",\\"title\\":\\"文件上传\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"UploadFile\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-08-17 21:16:06', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (299, 'dingding-new-05:3:f50f3c66-5c9a-11ef-a8e4-92f37d84469a', '961b11a2-5c9a-11ef-a8e4-92f37d84469a', 10, 'TEST', 'http://test.zt.iocoder.cn/e1c52473ec0716ecfb18bf2c2b8685883a3f4b511e54dbef2d39920afaa4f4ef.png', NULL, 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"UploadFile\\",\\"field\\":\\"c982ea4c-7bbd-40d3-9f58-4e6409feed7c\\",\\"title\\":\\"文件上传\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"UploadFile\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-08-17 21:16:48', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (300, 'simple-01:1:b0cbe161-61de-11ef-abc5-ca1dd2e8f300', '917fa48b-61de-11ef-abc5-ca1dd2e8f300', 10, 'TEST', 'http://test.zt.iocoder.cn/7401c394a43280732e6aaa715fbfefadc33eeb8fab8f45f6b53f1acf6b22ae29.png', NULL, 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-08-24 14:04:15', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (301, 'simple-02:1:6f3a5cf8-61e7-11ef-8927-c646985e83ad', '57b5daf2-61e7-11ef-8927-c646985e83ad', 10, 'TEST', 'http://test.zt.iocoder.cn/7401c394a43280732e6aaa715fbfefadc33eeb8fab8f45f6b53f1acf6b22ae29.png', NULL, 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-08-24 15:06:50', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (302, 'simple-02:2:e3ddd385-61e7-11ef-8927-c646985e83ad', '57b5daf2-61e7-11ef-8927-c646985e83ad', 10, 'TEST', 'http://test.zt.iocoder.cn/7401c394a43280732e6aaa715fbfefadc33eeb8fab8f45f6b53f1acf6b22ae29.png', NULL, 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-08-24 15:10:06', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (303, 'simple-03:1:ffd041ac-6395-11ef-9c91-e6bb11cfb2c8', 'a10355c1-6392-11ef-93ff-6e48fd3e48cc', 10, 'TEST', 'http://test.zt.iocoder.cn/a8eb4341b2c88afb56f7b4d61826a55b9228e06e772cb140a411b15f9f235be0.png', 'ee', 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"UploadFile\\",\\"field\\":\\"c982ea4c-7bbd-40d3-9f58-4e6409feed7c\\",\\"title\\":\\"文件上传\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"UploadFile\\",\\"hidden\\":false,\\"display\\":true}"]', 'x', 'y', '1', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-08-26 18:28:57', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (304, 'simple-03:2:acdc2fca-6396-11ef-9467-9e8b8de3d574', 'a10355c1-6392-11ef-93ff-6e48fd3e48cc', 10, 'TEST', 'http://test.zt.iocoder.cn/a8eb4341b2c88afb56f7b4d61826a55b9228e06e772cb140a411b15f9f235be0.png', 'ee', 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"UploadFile\\",\\"field\\":\\"c982ea4c-7bbd-40d3-9f58-4e6409feed7c\\",\\"title\\":\\"文件上传\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"UploadFile\\",\\"hidden\\":false,\\"display\\":true}"]', 'x', 'y', '0', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-08-26 18:33:47', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (305, 'simple-03:3:67b17c0f-71c7-11ef-ac99-5621c86b7390', 'a10355c1-6392-11ef-93ff-6e48fd3e48cc', 10, 'TEST', 'http://test.zt.iocoder.cn/a8eb4341b2c88afb56f7b4d61826a55b9228e06e772cb140a411b15f9f235be0.png', 'ee', 10, 28, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"checkbox\\",\\"field\\":\\"Fo2b64a6nn6yw\\",\\"title\\":\\"多选框\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"选项1\\",\\"value\\":1},{\\"label\\":\\"选项2\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"checkbox\\",\\"hidden\\":false,\\"display\\":true}"]', 'x', 'y', '0', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-09-13 19:57:52', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (306, 'simple-03:4:25e2dcdd-71d2-11ef-ac99-5621c86b7390', 'a10355c1-6392-11ef-93ff-6e48fd3e48cc', 10, 'TEST', 'http://test.zt.iocoder.cn/a8eb4341b2c88afb56f7b4d61826a55b9228e06e772cb140a411b15f9f235be0.png', 'ee', 10, 28, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"cascader\\",\\"field\\":\\"Fafp64a7f65sr\\",\\"title\\":\\"级联选择器\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"props\\":{\\"options\\":[{\\"label\\":\\"选项1\\",\\"value\\":1,\\"children\\":[]},{\\"label\\":\\"选项2\\",\\"value\\":2,\\"children\\":[]}]},\\"_fc_drag_tag\\":\\"cascader\\",\\"hidden\\":false,\\"display\\":true}"]', 'x', 'y', '', 0, '0', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-09-13 21:14:46', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (307, 'simple-03:5:39b9c031-71d2-11ef-ac99-5621c86b7390', 'a10355c1-6392-11ef-93ff-6e48fd3e48cc', 10, 'TEST', 'http://test.zt.iocoder.cn/a8eb4341b2c88afb56f7b4d61826a55b9228e06e772cb140a411b15f9f235be0.png', 'ee', 10, 28, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"cascader\\",\\"field\\":\\"Fafp64a7f65sr\\",\\"title\\":\\"级联选择器\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"props\\":{\\"options\\":[{\\"label\\":\\"选项1\\",\\"value\\":1,\\"children\\":[]},{\\"label\\":\\"选项2\\",\\"value\\":2,\\"children\\":[]}]},\\"_fc_drag_tag\\":\\"cascader\\",\\"hidden\\":false,\\"display\\":true}"]', 'x', 'y', '', 0, '0', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-09-13 21:15:20', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (308, 'simple-03:6:3f8c13a5-71d2-11ef-ac99-5621c86b7390', 'a10355c1-6392-11ef-93ff-6e48fd3e48cc', 10, 'TEST', 'http://test.zt.iocoder.cn/a8eb4341b2c88afb56f7b4d61826a55b9228e06e772cb140a411b15f9f235be0.png', 'ee', 10, 28, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"cascader\\",\\"field\\":\\"Fafp64a7f65sr\\",\\"title\\":\\"级联选择器\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"props\\":{\\"options\\":[{\\"label\\":\\"选项1\\",\\"value\\":1,\\"children\\":[]},{\\"label\\":\\"选项2\\",\\"value\\":2,\\"children\\":[]}]},\\"_fc_drag_tag\\":\\"cascader\\",\\"hidden\\":false,\\"display\\":true}"]', 'x', 'y', '', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-09-13 21:15:30', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (309, 'simple-03:7:74db9347-71d3-11ef-ac99-5621c86b7390', 'a10355c1-6392-11ef-93ff-6e48fd3e48cc', 10, 'TEST', 'http://test.zt.iocoder.cn/a8eb4341b2c88afb56f7b4d61826a55b9228e06e772cb140a411b15f9f235be0.png', 'ee', 10, 28, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"cascader\\",\\"field\\":\\"Fafp64a7f65sr\\",\\"title\\":\\"级联选择器\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"props\\":{\\"options\\":[{\\"label\\":\\"选项1\\",\\"value\\":1,\\"children\\":[{\\"label\\":\\"选项11\\",\\"value\\":11,\\"children\\":[]},{\\"label\\":\\"选项12\\",\\"value\\":12,\\"children\\":[]}]},{\\"label\\":\\"选项2\\",\\"value\\":2,\\"children\\":[]}]},\\"_fc_drag_tag\\":\\"cascader\\",\\"hidden\\":false,\\"display\\":true}"]', 'x', 'y', '', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-09-13 21:24:08', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (310, 'simple-03:8:f46606f9-71d3-11ef-ac99-5621c86b7390', 'a10355c1-6392-11ef-93ff-6e48fd3e48cc', 10, 'TEST', 'http://test.zt.iocoder.cn/a8eb4341b2c88afb56f7b4d61826a55b9228e06e772cb140a411b15f9f235be0.png', 'ee', 10, 28, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"tree\\",\\"field\\":\\"Flm564a7jrfah\\",\\"title\\":\\"树形控件\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"props\\":{\\"props\\":{\\"label\\":\\"label\\"},\\"showCheckbox\\":true,\\"nodeKey\\":\\"id\\",\\"data\\":[{\\"label\\":\\"选项1\\",\\"id\\":1,\\"children\\":[{\\"label\\":\\"选项11\\",\\"id\\":11,\\"children\\":[]},{\\"label\\":\\"选项12\\",\\"id\\":12,\\"children\\":[]}]},{\\"label\\":\\"选项2\\",\\"id\\":2,\\"children\\":[]}]},\\"_fc_drag_tag\\":\\"tree\\",\\"hidden\\":false,\\"display\\":true}"]', 'x', 'y', '', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-09-13 21:27:42', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (311, 'simple-03:9:54f0c53d-74c1-11ef-b607-56c19462ac4b', 'a10355c1-6392-11ef-93ff-6e48fd3e48cc', 10, 'TEST', 'http://test.zt.iocoder.cn/a8eb4341b2c88afb56f7b4d61826a55b9228e06e772cb140a411b15f9f235be0.png', 'ee', 10, 29, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"UploadFile\\",\\"field\\":\\"6998d577-3e09-45db-945a-e38ae063070c\\",\\"title\\":\\"文件上传\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"UploadFile\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"UploadImg\\",\\"field\\":\\"69111c0e-e00a-4968-a363-dd8270d077a0\\",\\"title\\":\\"单图上传\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"UploadImg\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"UploadImgs\\",\\"field\\":\\"051b5d49-bc02-44e5-bed1-b85d56a979ff\\",\\"title\\":\\"多图上传\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"UploadImgs\\",\\"hidden\\":false,\\"display\\":true}"]', 'x', 'y', '', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-09-17 14:51:57', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (312, 'test-multi:4:5052448b-74c6-11ef-83e6-8a1db91ea8d5', 'a01741c1-2c71-11ef-a3cf-9eb4566c9ffb', 10, 'TEST', 'http://test.zt.iocoder.cn/2a124ba5743f9572fcbd2718a64ba599618c96ddba6c7391ad35906cd3f37f94.png', NULL, 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"UploadFile\\",\\"field\\":\\"c982ea4c-7bbd-40d3-9f58-4e6409feed7c\\",\\"title\\":\\"文件上传\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"UploadFile\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-09-17 15:27:37', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (313, 'test-multi-02:3:fbae7f56-7f21-11ef-bdea-ca5778fb00b9', 'ac088bd6-5786-11ef-a7d0-ca5778fb00b9', 10, 'TEST', 'http://test.zt.iocoder.cn/2a124ba5743f9572fcbd2718a64ba599618c96ddba6c7391ad35906cd3f37f94.png', NULL, 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"UploadFile\\",\\"field\\":\\"c982ea4c-7bbd-40d3-9f58-4e6409feed7c\\",\\"title\\":\\"文件上传\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"UploadFile\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-09-30 19:49:01', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (314, 'test-duoren:1:9276258a-7fd6-11ef-bf92-323a765bd653', '6335bdd5-7fd6-11ef-bf92-323a765bd653', 10, 'TEST', 'http://test.zt.iocoder.cn/84defd9f8ca220e357894a61c781b16950849b481752d4f76b797188f7286bd8.png', '321', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', NULL, NULL, '', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-10-01 17:21:43', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (315, 'new-key:1:f45cd1cd-8138-11ef-98ed-0ad1a6b0a8a7', 'cd5d2578-8138-11ef-98ed-0ad1a6b0a8a7', 10, 'TEST', 'http://test.zt.iocoder.cn/96f06d6c23c0207ffd03d71bd020ea1550a785441f95b9de4cf3765a202a68c8.png', '', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', '', '', '', 0, '1', NULL, NULL, NULL, '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-10-03 11:38:29', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (316, 'new-key:2:6f340a88-816b-11ef-980e-c6742a20eb3e', 'cd5d2578-8138-11ef-98ed-0ad1a6b0a8a7', 10, 'TEST', 'http://test.zt.iocoder.cn/96f06d6c23c0207ffd03d71bd020ea1550a785441f95b9de4cf3765a202a68c8.png', '', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', '', '', '', 0, '1', '100', NULL, '1,100,103', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-10-03 17:39:50', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (317, 'dingding-demo:1:32856ac4-8200-11ef-80a2-d693a04a0735', '1d7d4fdf-81ff-11ef-abac-d693a04a0735', 20, 'TEST', 'http://test.zt.iocoder.cn/9545f9b6ac86779f1b20337b159a85a46f05c6be68df2a31d707f2d7e61f6f54.png', '', 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"UploadFile\\",\\"field\\":\\"c982ea4c-7bbd-40d3-9f58-4e6409feed7c\\",\\"title\\":\\"文件上传\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"UploadFile\\",\\"hidden\\":false,\\"display\\":true}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"Activity_b967abd5-1238-45de-afee-2eb41ae64b61","type":11,"name":"审批人","showText":"指定成员:芋道源码","childNode":{"id":"EndEvent","type":1,"name":"结束"},"candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":1,"fieldsPermission":[{"field":"startTime","title":"开始时间","permission":"1"},{"field":"Fm9i1onr8v6n68","title":"结束时间","permission":"1"},{"field":"type","title":"请假类型","permission":"1"},{"field":"reason","title":"请假原因","permission":"1"},{"field":"c982ea4c-7bbd-40d3-9f58-4e6409feed7c","title":"文件上传","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"回退","enable":false}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"fieldsPermission":[{"field":"startTime","title":"开始时间","permission":"2"},{"field":"Fm9i1onr8v6n68","title":"结束时间","permission":"2"},{"field":"type","title":"请假类型","permission":"2"},{"field":"reason","title":"请假原因","permission":"2"},{"field":"c982ea4c-7bbd-40d3-9f58-4e6409feed7c","title":"文件上传","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"回退","enable":false}]}', 0, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-10-04 11:24:43', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (318, 'dingding-demo:2:f2654a62-8200-11ef-80a2-d693a04a0735', '1d7d4fdf-81ff-11ef-abac-d693a04a0735', 20, 'TEST', 'http://test.zt.iocoder.cn/9545f9b6ac86779f1b20337b159a85a46f05c6be68df2a31d707f2d7e61f6f54.png', '', 10, 27, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"datePicker\\",\\"field\\":\\"startTime\\",\\"title\\":\\"开始时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"datePicker\\",\\"field\\":\\"Fm9i1onr8v6n68\\",\\"title\\":\\"结束时间\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"datePicker\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"select\\",\\"field\\":\\"type\\",\\"title\\":\\"请假类型\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"options\\":[{\\"label\\":\\"事假\\",\\"value\\":1},{\\"label\\":\\"年假\\",\\"value\\":2}],\\"_fc_drag_tag\\":\\"select\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"reason\\",\\"title\\":\\"请假原因\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"rows\\":0,\\"type\\":\\"textarea\\"},\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"UploadFile\\",\\"field\\":\\"c982ea4c-7bbd-40d3-9f58-4e6409feed7c\\",\\"title\\":\\"文件上传\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"UploadFile\\",\\"hidden\\":false,\\"display\\":true}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"Activity_b967abd5-1238-45de-afee-2eb41ae64b61","type":11,"name":"审批人","showText":"指定成员:芋道源码","childNode":{"id":"Activity_c6a42fdd-5e2d-4670-adf8-9c6b0763aaeb","type":11,"name":"审批人","showText":"指定成员:芋道源码,芋道,源码,测试号","childNode":{"id":"EndEvent","type":1,"name":"结束"},"candidateStrategy":30,"candidateParam":"100,104,103,1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"startTime","title":"开始时间","permission":"1"},{"field":"Fm9i1onr8v6n68","title":"结束时间","permission":"1"},{"field":"type","title":"请假类型","permission":"1"},{"field":"reason","title":"请假原因","permission":"1"},{"field":"c982ea4c-7bbd-40d3-9f58-4e6409feed7c","title":"文件上传","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"回退","enable":false}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":1,"fieldsPermission":[{"field":"startTime","title":"开始时间","permission":"1"},{"field":"Fm9i1onr8v6n68","title":"结束时间","permission":"1"},{"field":"type","title":"请假类型","permission":"1"},{"field":"reason","title":"请假原因","permission":"1"},{"field":"c982ea4c-7bbd-40d3-9f58-4e6409feed7c","title":"文件上传","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"回退","enable":false}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"fieldsPermission":[{"field":"startTime","title":"开始时间","permission":"2"},{"field":"Fm9i1onr8v6n68","title":"结束时间","permission":"2"},{"field":"type","title":"请假类型","permission":"2"},{"field":"reason","title":"请假原因","permission":"2"},{"field":"c982ea4c-7bbd-40d3-9f58-4e6409feed7c","title":"文件上传","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"回退","enable":false}]}', 0, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-10-04 11:30:05', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (319, 'dingding-demo:3:fca032bb-8201-11ef-80a2-d693a04a0735', '1d7d4fdf-81ff-11ef-abac-d693a04a0735', 20, 'TEST', 'http://test.zt.iocoder.cn/9545f9b6ac86779f1b20337b159a85a46f05c6be68df2a31d707f2d7e61f6f54.png', '', 10, 30, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Famz1p93tieo6r\\",\\"title\\":\\"输入框1\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"Fdgk1p93tiyqoo\\",\\"title\\":\\"输入框2\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"F73v1p93tiyehp\\",\\"title\\":\\"输入框3\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"Fcpi1p93tiy2aq\\",\\"title\\":\\"输入框4\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"Fut41p93tixq3r\\",\\"title\\":\\"输入框5\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"Fbi21p93tixej0\\",\\"title\\":\\"输入框6\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"Fwbk1p93tix299\\",\\"title\\":\\"输入框7\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"F4zu1p93tiwoze\\",\\"title\\":\\"输入框8\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"Ffuu1p93tiwc8z\\",\\"title\\":\\"输入框9\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"F6zg1p93tivzz8\\",\\"title\\":\\"输入框10\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"Fryb1p93tivn8t\\",\\"title\\":\\"输入框11\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"F5p51p93tivb1u\\",\\"title\\":\\"输入框12\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"Fq6f1p93tiuyuv\\",\\"title\\":\\"输入框13\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"Fvrc1p93tiuna4\\",\\"title\\":\\"输入框14\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"F44d1p93tiub5x\\",\\"title\\":\\"输入框15\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"Fans1p93titxta\\",\\"title\\":\\"输入框16\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"Fkvp1p93titkxb\\",\\"title\\":\\"输入框17\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"Ffhi1p93tit7yk\\",\\"title\\":\\"输入框18\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"Fug81p93tis24x\\",\\"title\\":\\"输入框19\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"Activity_b967abd5-1238-45de-afee-2eb41ae64b61","type":11,"name":"审批人","showText":"指定成员:芋道源码","childNode":{"id":"Activity_c6a42fdd-5e2d-4670-adf8-9c6b0763aaeb","type":11,"name":"审批人","showText":"指定成员:芋道源码,芋道,源码,测试号","childNode":{"id":"EndEvent","type":1,"name":"结束"},"candidateStrategy":30,"candidateParam":"100,104,103,1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"startTime","title":"开始时间","permission":"1"},{"field":"Fm9i1onr8v6n68","title":"结束时间","permission":"1"},{"field":"type","title":"请假类型","permission":"1"},{"field":"reason","title":"请假原因","permission":"1"},{"field":"c982ea4c-7bbd-40d3-9f58-4e6409feed7c","title":"文件上传","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"回退","enable":false}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":1,"fieldsPermission":[{"field":"startTime","title":"开始时间","permission":"1"},{"field":"Fm9i1onr8v6n68","title":"结束时间","permission":"1"},{"field":"type","title":"请假类型","permission":"1"},{"field":"reason","title":"请假原因","permission":"1"},{"field":"c982ea4c-7bbd-40d3-9f58-4e6409feed7c","title":"文件上传","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"回退","enable":false}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"fieldsPermission":[{"field":"startTime","title":"开始时间","permission":"2"},{"field":"Fm9i1onr8v6n68","title":"结束时间","permission":"2"},{"field":"type","title":"请假类型","permission":"2"},{"field":"reason","title":"请假原因","permission":"2"},{"field":"c982ea4c-7bbd-40d3-9f58-4e6409feed7c","title":"文件上传","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"回退","enable":false}]}', 0, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-10-04 11:37:32', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (320, 'dingding-test01:1:846e8448-8204-11ef-80a2-d693a04a0735', '63f2a112-8204-11ef-80a2-d693a04a0735', 20, 'TEST', 'http://test.zt.iocoder.cn/633159e152c914578b6eb05fd35d9204cce50f8f183899a8d93a82ed9a818316.png', '', 10, 25, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fgjo62bltzzxt\\",\\"title\\":\\"新的表单\\",\\"info\\":\\"\\",\\"$required\\":\\"新的表单,必须填写\\",\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"Activity_e49a1ccc-1a43-4690-b455-b627896fc3c3","type":11,"name":"各个领导的审批","showText":"指定成员:芋道源码,芋道,源码,测试号","childNode":{"id":"EndEvent","type":1,"name":"结束"},"candidateStrategy":30,"candidateParam":"1,100,103,104","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Fgjo62bltzzxt","title":"新的表单","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"回退","enable":false}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"fieldsPermission":[{"field":"Fgjo62bltzzxt","title":"新的表单","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"回退","enable":false}]}', 0, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-10-04 11:55:39', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (321, 'dingding-test01:2:8c9946ac-8204-11ef-80a2-d693a04a0735', '63f2a112-8204-11ef-80a2-d693a04a0735', 20, 'TEST', 'http://test.zt.iocoder.cn/633159e152c914578b6eb05fd35d9204cce50f8f183899a8d93a82ed9a818316.png', '', 10, 25, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fgjo62bltzzxt\\",\\"title\\":\\"新的表单\\",\\"info\\":\\"\\",\\"$required\\":\\"新的表单,必须填写\\",\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"Activity_e49a1ccc-1a43-4690-b455-b627896fc3c3","type":11,"name":"各个领导的审批","showText":"指定成员:芋道源码,源码,测试号","childNode":{"id":"EndEvent","type":1,"name":"结束"},"candidateStrategy":30,"candidateParam":"1,103,104","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Fgjo62bltzzxt","title":"新的表单","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"回退","enable":false}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"fieldsPermission":[{"field":"Fgjo62bltzzxt","title":"新的表单","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"回退","enable":false}]}', 0, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-10-04 11:55:52', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (322, 'dingding-test01:3:a12112c9-8223-11ef-80a2-d693a04a0735', '63f2a112-8204-11ef-80a2-d693a04a0735', 20, 'TEST', 'http://test.zt.iocoder.cn/633159e152c914578b6eb05fd35d9204cce50f8f183899a8d93a82ed9a818316.png', '', 10, 25, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fgjo62bltzzxt\\",\\"title\\":\\"新的表单\\",\\"info\\":\\"\\",\\"$required\\":\\"新的表单,必须填写\\",\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"Activity_e49a1ccc-1a43-4690-b455-b627896fc3c3","type":11,"name":"各个领导的审批","showText":"指定成员:芋道源码,源码,测试号","childNode":{"id":"EndEvent","type":1,"name":"结束"},"candidateStrategy":30,"candidateParam":"1,103,104","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Fgjo62bltzzxt","title":"新的表单","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"回退","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"fieldsPermission":[{"field":"Fgjo62bltzzxt","title":"新的表单","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"回退","enable":false}]}', 0, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-10-04 15:38:21', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (323, 'test-bohui-second:1:6bd3bf48-8533-11ef-a5d2-e606a327ad6d', '22d05743-8533-11ef-a5d2-e606a327ad6d', 10, 'TEST', 'http://test.zt.iocoder.cn/633159e152c914578b6eb05fd35d9204cce50f8f183899a8d93a82ed9a818316.png', '', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', '', '', '', 0, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-10-08 13:08:57', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (324, 'test-bpmn-multi:1:547238b7-8642-11ef-85c1-feff1922d8e5', '43bedc82-8642-11ef-85c1-feff1922d8e5', 10, 'TEST', 'http://test.zt.iocoder.cn/633159e152c914578b6eb05fd35d9204cce50f8f183899a8d93a82ed9a818316.png', '312312', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', '', '', '', 0, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-10-09 21:28:11', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (325, 'dingding-demo:4:e4a26d53-8de2-11ef-9422-2ae51d8919f0', '1d7d4fdf-81ff-11ef-abac-d693a04a0735', 20, 'TEST', 'http://test.zt.iocoder.cn/9545f9b6ac86779f1b20337b159a85a46f05c6be68df2a31d707f2d7e61f6f54.png', '', 10, 30, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Famz1p93tieo6r\\",\\"title\\":\\"输入框1\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"Fdgk1p93tiyqoo\\",\\"title\\":\\"输入框2\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"F73v1p93tiyehp\\",\\"title\\":\\"输入框3\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"Fcpi1p93tiy2aq\\",\\"title\\":\\"输入框4\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"Fut41p93tixq3r\\",\\"title\\":\\"输入框5\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"Fbi21p93tixej0\\",\\"title\\":\\"输入框6\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"Fwbk1p93tix299\\",\\"title\\":\\"输入框7\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"F4zu1p93tiwoze\\",\\"title\\":\\"输入框8\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"Ffuu1p93tiwc8z\\",\\"title\\":\\"输入框9\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"F6zg1p93tivzz8\\",\\"title\\":\\"输入框10\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"Fryb1p93tivn8t\\",\\"title\\":\\"输入框11\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"F5p51p93tivb1u\\",\\"title\\":\\"输入框12\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"Fq6f1p93tiuyuv\\",\\"title\\":\\"输入框13\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"Fvrc1p93tiuna4\\",\\"title\\":\\"输入框14\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"F44d1p93tiub5x\\",\\"title\\":\\"输入框15\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"Fans1p93titxta\\",\\"title\\":\\"输入框16\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"Fkvp1p93titkxb\\",\\"title\\":\\"输入框17\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"Ffhi1p93tit7yk\\",\\"title\\":\\"输入框18\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"Fug81p93tis24x\\",\\"title\\":\\"输入框19\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"GateWay_0c28d217-e0c2-47fd-9518-901367382fe3","type":51,"name":"条件分支","childNode":{"id":"EndEvent","type":1,"name":"结束"},"conditionNodes":[{"id":"Flow_7b768e5e-8d06-4b80-8919-22732478016c","type":50,"name":"条件1","showText":"表达式:1=1","childNode":{"id":"Activity_5e2b7323-7546-4115-84eb-c022438a0706","type":11,"name":"审批人","showText":"指定成员:芋道源码","candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Famz1p93tieo6r","title":"输入框1","permission":"1"},{"field":"Fdgk1p93tiyqoo","title":"输入框2","permission":"1"},{"field":"F73v1p93tiyehp","title":"输入框3","permission":"1"},{"field":"Fcpi1p93tiy2aq","title":"输入框4","permission":"1"},{"field":"Fut41p93tixq3r","title":"输入框5","permission":"1"},{"field":"Fbi21p93tixej0","title":"输入框6","permission":"1"},{"field":"Fwbk1p93tix299","title":"输入框7","permission":"1"},{"field":"F4zu1p93tiwoze","title":"输入框8","permission":"1"},{"field":"Ffuu1p93tiwc8z","title":"输入框9","permission":"1"},{"field":"F6zg1p93tivzz8","title":"输入框10","permission":"1"},{"field":"Fryb1p93tivn8t","title":"输入框11","permission":"1"},{"field":"F5p51p93tivb1u","title":"输入框12","permission":"1"},{"field":"Fq6f1p93tiuyuv","title":"输入框13","permission":"1"},{"field":"Fvrc1p93tiuna4","title":"输入框14","permission":"1"},{"field":"F44d1p93tiub5x","title":"输入框15","permission":"1"},{"field":"Fans1p93titxta","title":"输入框16","permission":"1"},{"field":"Fkvp1p93titkxb","title":"输入框17","permission":"1"},{"field":"Ffhi1p93tit7yk","title":"输入框18","permission":"1"},{"field":"Fug81p93tis24x","title":"输入框19","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"回退","enable":false}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"conditionType":1,"conditionExpression":"1=1","defaultFlow":false},{"id":"Flow_44b36420-1005-4427-bfab-554b66f760a7","type":50,"name":"其它情况","showText":"其它情况进入此流程","defaultFlow":true}]},"fieldsPermission":[{"field":"startTime","title":"开始时间","permission":"2"},{"field":"Fm9i1onr8v6n68","title":"结束时间","permission":"2"},{"field":"type","title":"请假类型","permission":"2"},{"field":"reason","title":"请假原因","permission":"2"},{"field":"c982ea4c-7bbd-40d3-9f58-4e6409feed7c","title":"文件上传","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"回退","enable":false}]}', 0, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-10-19 14:25:11', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (326, 'dingding-demo:5:76b70e85-8de5-11ef-bb44-469a9b560ac7', '1d7d4fdf-81ff-11ef-abac-d693a04a0735', 20, 'TEST', 'http://test.zt.iocoder.cn/9545f9b6ac86779f1b20337b159a85a46f05c6be68df2a31d707f2d7e61f6f54.png', '', 10, 30, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Famz1p93tieo6r\\",\\"title\\":\\"输入框1\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"Fdgk1p93tiyqoo\\",\\"title\\":\\"输入框2\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"F73v1p93tiyehp\\",\\"title\\":\\"输入框3\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"Fcpi1p93tiy2aq\\",\\"title\\":\\"输入框4\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"Fut41p93tixq3r\\",\\"title\\":\\"输入框5\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"Fbi21p93tixej0\\",\\"title\\":\\"输入框6\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"Fwbk1p93tix299\\",\\"title\\":\\"输入框7\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"F4zu1p93tiwoze\\",\\"title\\":\\"输入框8\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"Ffuu1p93tiwc8z\\",\\"title\\":\\"输入框9\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"F6zg1p93tivzz8\\",\\"title\\":\\"输入框10\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"Fryb1p93tivn8t\\",\\"title\\":\\"输入框11\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"F5p51p93tivb1u\\",\\"title\\":\\"输入框12\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"Fq6f1p93tiuyuv\\",\\"title\\":\\"输入框13\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"Fvrc1p93tiuna4\\",\\"title\\":\\"输入框14\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"F44d1p93tiub5x\\",\\"title\\":\\"输入框15\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"Fans1p93titxta\\",\\"title\\":\\"输入框16\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"Fkvp1p93titkxb\\",\\"title\\":\\"输入框17\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"Ffhi1p93tit7yk\\",\\"title\\":\\"输入框18\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"input\\",\\"field\\":\\"Fug81p93tis24x\\",\\"title\\":\\"输入框19\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"GateWay_0c28d217-e0c2-47fd-9518-901367382fe3","type":51,"name":"条件分支","childNode":{"id":"EndEvent","type":1,"name":"结束"},"conditionNodes":[{"id":"Flow_7b768e5e-8d06-4b80-8919-22732478016c","type":50,"name":"条件1","showText":"表达式:1=1","childNode":{"id":"Activity_5e2b7323-7546-4115-84eb-c022438a0706","type":11,"name":"审批人","showText":"指定成员:芋道源码","candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Famz1p93tieo6r","title":"输入框1","permission":"1"},{"field":"Fdgk1p93tiyqoo","title":"输入框2","permission":"1"},{"field":"F73v1p93tiyehp","title":"输入框3","permission":"1"},{"field":"Fcpi1p93tiy2aq","title":"输入框4","permission":"1"},{"field":"Fut41p93tixq3r","title":"输入框5","permission":"1"},{"field":"Fbi21p93tixej0","title":"输入框6","permission":"1"},{"field":"Fwbk1p93tix299","title":"输入框7","permission":"1"},{"field":"F4zu1p93tiwoze","title":"输入框8","permission":"1"},{"field":"Ffuu1p93tiwc8z","title":"输入框9","permission":"1"},{"field":"F6zg1p93tivzz8","title":"输入框10","permission":"1"},{"field":"Fryb1p93tivn8t","title":"输入框11","permission":"1"},{"field":"F5p51p93tivb1u","title":"输入框12","permission":"1"},{"field":"Fq6f1p93tiuyuv","title":"输入框13","permission":"1"},{"field":"Fvrc1p93tiuna4","title":"输入框14","permission":"1"},{"field":"F44d1p93tiub5x","title":"输入框15","permission":"1"},{"field":"Fans1p93titxta","title":"输入框16","permission":"1"},{"field":"Fkvp1p93titkxb","title":"输入框17","permission":"1"},{"field":"Ffhi1p93tit7yk","title":"输入框18","permission":"1"},{"field":"Fug81p93tis24x","title":"输入框19","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"回退","enable":false}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"conditionType":1,"conditionExpression":"1=1","defaultFlow":false},{"id":"Flow_44b36420-1005-4427-bfab-554b66f760a7","type":50,"name":"其它情况","showText":"其它情况进入此流程","defaultFlow":true}]},"fieldsPermission":[{"field":"startTime","title":"开始时间","permission":"2"},{"field":"Fm9i1onr8v6n68","title":"结束时间","permission":"2"},{"field":"type","title":"请假类型","permission":"2"},{"field":"reason","title":"请假原因","permission":"2"},{"field":"c982ea4c-7bbd-40d3-9f58-4e6409feed7c","title":"文件上传","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"回退","enable":false}]}', 0, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-10-19 14:43:35', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (327, 'dd-test01:1:b4285add-8de7-11ef-8d94-86849c485c24', '859d1257-8de7-11ef-8d94-86849c485c24', 20, 'TEST', 'http://test.zt.iocoder.cn/83852d802b3aab78ba9badf700079178d352d6a946f7c748ad8e1d3172f82032.png', '仿钉钉设计器', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"GateWay_20dceaa5-8743-479d-9973-7466ea49c9d3","type":51,"name":"条件分支","childNode":{"id":"EndEvent","type":1,"name":"结束"},"conditionNodes":[{"id":"Flow_c9854ec9-247d-40c8-9b42-22d0d3ca9227","type":50,"name":"条件1","showText":"(输入框 等于 1 ) ","childNode":{"id":"Activity_2abeedeb-3631-4735-af92-cfd96e79192e","type":11,"name":"审批人(条件1)","showText":"指定成员:芋道源码","candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Fjph60d8vlrl9","title":"输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"回退","enable":false}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"conditionType":2,"defaultFlow":false,"conditionGroups":{"and":true,"conditions":[{"and":true,"rules":[{"opCode":"==","leftSide":"Fjph60d8vlrl9","rightSide":"1"}]}]}},{"id":"Flow_9ab1b69e-f579-47a8-8f04-a1653ae28903","type":50,"name":"其它情况","showText":"其它情况进入此流程","childNode":{"id":"Activity_3e938a57-ab55-4d41-a690-7f8b7842e090","type":11,"name":"审批人(条件2)","showText":"指定成员:芋道源码","candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Fjph60d8vlrl9","title":"输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"回退","enable":false}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"defaultFlow":true}]},"fieldsPermission":[{"field":"Fjph60d8vlrl9","title":"输入框","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"回退","enable":false}]}', 0, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-10-19 14:59:37', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (328, 'dd-test01:2:d290ae57-8dec-11ef-ab5b-0e429fa854dc', '859d1257-8de7-11ef-8d94-86849c485c24', 20, 'TEST', 'http://test.zt.iocoder.cn/83852d802b3aab78ba9badf700079178d352d6a946f7c748ad8e1d3172f82032.png', '仿钉钉设计器', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"GateWay_20dceaa5-8743-479d-9973-7466ea49c9d3","type":51,"name":"条件分支","childNode":{"id":"EndEvent","type":1,"name":"结束"},"conditionNodes":[{"id":"Flow_c9854ec9-247d-40c8-9b42-22d0d3ca9227","type":50,"name":"条件1","showText":"(输入框 等于 1 ) ","childNode":{"id":"Activity_2abeedeb-3631-4735-af92-cfd96e79192e","type":11,"name":"审批人(条件1)","showText":"指定成员:芋道源码","candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Fjph60d8vlrl9","title":"输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"回退","enable":false}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"conditionType":2,"defaultFlow":false,"conditionGroups":{"and":true,"conditions":[{"and":true,"rules":[{"opCode":"==","leftSide":"Fjph60d8vlrl9","rightSide":"1"}]}]}},{"id":"Flow_9ab1b69e-f579-47a8-8f04-a1653ae28903","type":50,"name":"其它情况","showText":"其它情况进入此流程","childNode":{"id":"Activity_3e938a57-ab55-4d41-a690-7f8b7842e090","type":11,"name":"审批人(条件2)","showText":"指定成员:芋道源码","candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Fjph60d8vlrl9","title":"输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"回退","enable":false}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"defaultFlow":true}]},"fieldsPermission":[{"field":"Fjph60d8vlrl9","title":"输入框","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"回退","enable":false}]}', 0, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-10-19 15:36:16', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (329, 'dd-test01:3:3dc35ae2-8e08-11ef-81c9-6a7b77f5ecdf', '859d1257-8de7-11ef-8d94-86849c485c24', 20, 'TEST', 'http://test.zt.iocoder.cn/83852d802b3aab78ba9badf700079178d352d6a946f7c748ad8e1d3172f82032.png', '仿钉钉设计器', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"GateWay_20dceaa5-8743-479d-9973-7466ea49c9d3","type":51,"name":"条件分支","childNode":{"id":"EndEvent","type":1,"name":"结束"},"conditionNodes":[{"id":"Flow_c9854ec9-247d-40c8-9b42-22d0d3ca9227","type":50,"name":"条件1","showText":"(输入框 等于 1 ) ","childNode":{"id":"Activity_2abeedeb-3631-4735-af92-cfd96e79192e","type":11,"name":"审批人(条件1)","showText":"指定成员:芋道源码","candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Fjph60d8vlrl9","title":"输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"回退","enable":false}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"conditionType":2,"defaultFlow":false,"conditionGroups":{"and":true,"conditions":[{"and":true,"rules":[{"opCode":"==","leftSide":"Fjph60d8vlrl9","rightSide":"1"}]}]}},{"id":"Flow_9ab1b69e-f579-47a8-8f04-a1653ae28903","type":50,"name":"其它情况","showText":"其它情况进入此流程","childNode":{"id":"Activity_3e938a57-ab55-4d41-a690-7f8b7842e090","type":11,"name":"审批人(条件2)","showText":"指定成员:芋道源码","candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Fjph60d8vlrl9","title":"输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"回退","enable":false}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"defaultFlow":true}]},"fieldsPermission":[{"field":"Fjph60d8vlrl9","title":"输入框","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"回退","enable":false}]}', 0, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-10-19 18:52:32', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (330, 'dd-test01:4:54ed8706-8e08-11ef-81c9-6a7b77f5ecdf', '859d1257-8de7-11ef-8d94-86849c485c24', 20, 'TEST', 'http://test.zt.iocoder.cn/83852d802b3aab78ba9badf700079178d352d6a946f7c748ad8e1d3172f82032.png', '仿钉钉设计器', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"GateWay_20dceaa5-8743-479d-9973-7466ea49c9d3","type":51,"name":"条件分支","childNode":{"id":"EndEvent","type":1,"name":"结束"},"conditionNodes":[{"id":"Flow_c9854ec9-247d-40c8-9b42-22d0d3ca9227","type":50,"name":"条件1","showText":"(输入框 等于 1 ) ","childNode":{"id":"Activity_2abeedeb-3631-4735-af92-cfd96e79192e","type":11,"name":"审批人(条件1)","showText":"指定成员:芋道源码","candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Fjph60d8vlrl9","title":"输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"回退","enable":false}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"conditionType":2,"defaultFlow":false,"conditionGroups":{"and":true,"conditions":[{"and":true,"rules":[{"opCode":"==","leftSide":"Fjph60d8vlrl9","rightSide":"1"}]}]}},{"id":"Flow_9ab1b69e-f579-47a8-8f04-a1653ae28903","type":50,"name":"其它情况","showText":"其它情况进入此流程","childNode":{"id":"Activity_3e938a57-ab55-4d41-a690-7f8b7842e090","type":11,"name":"审批人(条件2)","showText":"指定成员:芋道源码","candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Fjph60d8vlrl9","title":"输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"回退","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"defaultFlow":true}]},"fieldsPermission":[{"field":"Fjph60d8vlrl9","title":"输入框","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"回退","enable":false}]}', 0, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-10-19 18:53:11', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (331, 'new-form-test:1:8f685bb5-8e7a-11ef-b032-92bb1f99c49d', '7be9aa80-8e7a-11ef-b032-92bb1f99c49d', 10, 'TEST', 'http://test.zt.iocoder.cn/b36b69a9389417970bcaa546d363acfd4167150666c2d02a8ff271afd9573b0d.png', '321321', 10, 31, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"default","labelWidth":"125px"},"resetBtn":{"show":false,"innerText":"重置"},"submitBtn":{"show":true,"innerText":"提交"},"formName":"新表单"}', '["{\\"type\\":\\"input\\",\\"field\\":\\"F1j4m2guo62qbdc\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_id\\":\\"id_F9jam2guo62qbec\\",\\"name\\":\\"ref_Fzq1m2guo62qbfc\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"input\\"}","{\\"type\\":\\"input\\",\\"field\\":\\"Fdmkm2guoa4mbgc\\",\\"title\\":\\"多行输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"type\\":\\"textarea\\"},\\"_fc_id\\":\\"id_Ftlim2guoa4mbhc\\",\\"name\\":\\"ref_Fl0cm2guoa4mbic\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"textarea\\"}"]', '', '', '', 0, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-10-20 08:30:52', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (332, 'new-form-test:2:38dbd8a6-8e7e-11ef-b032-92bb1f99c49d', '7be9aa80-8e7a-11ef-b032-92bb1f99c49d', 10, 'TEST', 'http://test.zt.iocoder.cn/b36b69a9389417970bcaa546d363acfd4167150666c2d02a8ff271afd9573b0d.png', '321321', 10, 31, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"default","labelWidth":"100px"},"resetBtn":{"show":false,"innerText":"重置"},"submitBtn":{"show":true,"innerText":"提交"},"formName":"新表单"}', '["{\\"type\\":\\"input\\",\\"field\\":\\"F1j4m2guo62qbdc\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_id\\":\\"id_F9jam2guo62qbec\\",\\"name\\":\\"ref_Fzq1m2guo62qbfc\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"input\\"}","{\\"type\\":\\"input\\",\\"field\\":\\"Fdmkm2guoa4mbgc\\",\\"title\\":\\"多行输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"type\\":\\"textarea\\"},\\"_fc_id\\":\\"id_Ftlim2guoa4mbhc\\",\\"name\\":\\"ref_Fl0cm2guoa4mbic\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"textarea\\"}"]', '', '', '', 0, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-10-20 08:57:04', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (333, 'test-001:1:6daba54f-8e83-11ef-b032-92bb1f99c49d', '5af01d09-8e83-11ef-b032-92bb1f99c49d', 20, 'TEST', 'http://test.zt.iocoder.cn/7f57be8f3808693f9a5fa78277c6f4ec55cc69f6b61760683498d7112f0dbed2.jpg', '', 10, 31, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"default","labelWidth":"100px"},"resetBtn":{"show":false,"innerText":"重置"},"submitBtn":{"show":true,"innerText":"提交"},"formName":"新表单"}', '["{\\"type\\":\\"input\\",\\"field\\":\\"F1j4m2guo62qbdc\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_id\\":\\"id_F9jam2guo62qbec\\",\\"name\\":\\"ref_Fzq1m2guo62qbfc\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"input\\"}","{\\"type\\":\\"input\\",\\"field\\":\\"Fdmkm2guoa4mbgc\\",\\"title\\":\\"多行输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"type\\":\\"textarea\\"},\\"_fc_id\\":\\"id_Ftlim2guoa4mbhc\\",\\"name\\":\\"ref_Fl0cm2guoa4mbic\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"textarea\\"}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"Activity_594b7ff9-3fee-43f9-97c9-900c1e35d8d7","type":11,"name":"审批人","showText":"指定成员:芋道源码,芋道","childNode":{"id":"Activity_25061c33-55af-480e-ba62-ea57c0cb9dee","type":11,"name":"审批人","showText":"指定成员:芋道源码,芋道,源码,测试号,新对象,hr 小姐姐","childNode":{"id":"EndEvent","type":1,"name":"结束"},"candidateStrategy":30,"candidateParam":"1,100,103,104,112,114","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"candidateStrategy":30,"candidateParam":"1,100","approveType":1,"approveMethod":2,"approveRatio":100,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"2"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"退回","enable":false}]}', 0, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-10-20 09:34:20', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (334, 'test-001:2:015b2ce3-8e8d-11ef-b032-92bb1f99c49d', '5af01d09-8e83-11ef-b032-92bb1f99c49d', 20, 'TEST', 'http://test.zt.iocoder.cn/7f57be8f3808693f9a5fa78277c6f4ec55cc69f6b61760683498d7112f0dbed2.jpg', '', 10, 31, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"default","labelWidth":"100px"},"resetBtn":{"show":false,"innerText":"重置"},"submitBtn":{"show":true,"innerText":"提交"},"formName":"新表单"}', '["{\\"type\\":\\"input\\",\\"field\\":\\"F1j4m2guo62qbdc\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_id\\":\\"id_F9jam2guo62qbec\\",\\"name\\":\\"ref_Fzq1m2guo62qbfc\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"input\\"}","{\\"type\\":\\"input\\",\\"field\\":\\"Fdmkm2guoa4mbgc\\",\\"title\\":\\"多行输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"type\\":\\"textarea\\"},\\"_fc_id\\":\\"id_Ftlim2guoa4mbhc\\",\\"name\\":\\"ref_Fl0cm2guoa4mbic\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"textarea\\"}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"Activity_594b7ff9-3fee-43f9-97c9-900c1e35d8d7","type":11,"name":"主管审批","showText":"指定成员:芋道源码,芋道","childNode":{"id":"Activity_25061c33-55af-480e-ba62-ea57c0cb9dee","type":11,"name":"财务审批","showText":"指定成员:芋道源码,芋道,源码,测试号,新对象,hr 小姐姐","childNode":{"id":"EndEvent","type":1,"name":"结束"},"candidateStrategy":30,"candidateParam":"1,100,103,104,112,114","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"candidateStrategy":30,"candidateParam":"1,100","approveType":1,"approveMethod":2,"approveRatio":100,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"2"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"退回","enable":false}]}', 0, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-10-20 10:42:54', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (335, 'a-fuza-liucheng:1:dd477671-8f92-11ef-947c-ba5e239a6eb4', '4601b953-8f92-11ef-947c-ba5e239a6eb4', 20, 'TEST', 'http://test.zt.iocoder.cn/83852d802b3aab78ba9badf700079178d352d6a946f7c748ad8e1d3172f82032.png', '333', 10, 31, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"default","labelWidth":"100px"},"resetBtn":{"show":false,"innerText":"重置"},"submitBtn":{"show":true,"innerText":"提交"},"formName":"新表单"}', '["{\\"type\\":\\"input\\",\\"field\\":\\"F1j4m2guo62qbdc\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_id\\":\\"id_F9jam2guo62qbec\\",\\"name\\":\\"ref_Fzq1m2guo62qbfc\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"input\\"}","{\\"type\\":\\"input\\",\\"field\\":\\"Fdmkm2guoa4mbgc\\",\\"title\\":\\"多行输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"type\\":\\"textarea\\"},\\"_fc_id\\":\\"id_Ftlim2guoa4mbhc\\",\\"name\\":\\"ref_Fl0cm2guoa4mbic\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"textarea\\"}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","childNode":{"id":"Activity_8cf244ab-06dd-482a-a450-9d27b95e9329","type":11,"name":"审批人1","showText":"指定成员:芋道源码","childNode":{"id":"GateWay_f2d542fa-6a3f-467a-ae44-0dd82baf2074","type":51,"name":"条件分支","childNode":{"id":"GateWay_163d43e0-d611-4a98-ac64-6ff3a5ccbcd7","type":52,"name":"并行分支","childNode":{"id":"GateWay_83b50563-d1be-4285-92c7-a1835609af94","type":53,"name":"包容分支","childNode":{"id":"EndEvent","type":1,"name":"结束"},"conditionNodes":[{"id":"Flow_b82eee37-6334-40ff-8905-0675fbcdf890","type":50,"name":"包容条件1","showText":"(输入框 等于 2 ) ","childNode":{"id":"Activity_da31d23c-5694-40d5-b947-6380a9a2b5a9","type":11,"name":"审批人41","showText":"指定成员:芋道源码","candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"conditionType":2,"conditionGroups":{"and":true,"conditions":[{"and":true,"rules":[{"opCode":"==","leftSide":"F1j4m2guo62qbdc","rightSide":"2"}]}]}},{"id":"Flow_48dcd8b2-c479-463c-9102-82182295ff60","type":50,"name":"包容条件2","showText":"(输入框 等于 3 ) ","childNode":{"id":"Activity_cebf2a5f-de9b-43fa-939d-ca7d64f40237","type":11,"name":"审批人42","showText":"指定成员:芋道源码","candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"conditionNodes":[],"conditionType":2,"defaultFlow":false,"conditionGroups":{"and":true,"conditions":[{"and":true,"rules":[{"opCode":"==","leftSide":"F1j4m2guo62qbdc","rightSide":"3"}]}]}},{"id":"Flow_99e16653-b0b1-4494-956c-5b56c5790eaa","type":50,"name":"其它情况","showText":"未满足其它条件时,将进入此分支","childNode":{"id":"Activity_7594cc43-bf07-4521-bb21-e2b610cf6dbc","type":11,"name":"审批人43","showText":"指定成员:芋道源码","candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"defaultFlow":true}]},"conditionNodes":[{"id":"Flow_f43d89ba-0e97-40aa-82c9-67558edf0376","type":50,"name":"并行1","showText":"无需配置条件同时执行","childNode":{"id":"Activity_7617020f-7bb0-4332-acdf-602234b46137","type":11,"name":"审批人31","showText":"指定成员:芋道源码","candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}}},{"id":"Flow_c24d111d-e11c-4cd8-9310-d9eb81420739","type":50,"name":"并行2","showText":"无需配置条件同时执行","childNode":{"id":"Activity_c7881bce-0da2-4b70-9de3-ba4b6245c898","type":11,"name":"审批人32","showText":"指定成员:芋道源码","candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}}}]},"conditionNodes":[{"id":"Flow_a1556f3e-58c5-4db0-a7eb-b583de1e2c70","type":50,"name":"条件1","showText":"(输入框 等于 1 ) ","childNode":{"id":"Activity_6bd27fd4-25fc-42c1-beac-458123b72a68","type":11,"name":"审批人21","showText":"指定成员:芋道源码","candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"conditionType":2,"defaultFlow":false,"conditionGroups":{"and":true,"conditions":[{"and":true,"rules":[{"opCode":"==","leftSide":"F1j4m2guo62qbdc","rightSide":"1"}]}]}},{"id":"Flow_d7fb79fd-175b-4b30-8a44-d8c67fcd5e80","type":50,"name":"其它情况","showText":"未满足其它条件时,将进入此分支","childNode":{"id":"Activity_405d08c8-93ce-4f3c-a5af-b022e1a36a10","type":11,"name":"审批人22","showText":"指定成员:芋道源码","candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"defaultFlow":true}]},"candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}}}', 0, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-10-21 17:57:21', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (336, '61f69eae-8fa6-11ef-9532-fa47f0b26dd4', '52b23bc8-8fa6-11ef-9532-fa47f0b26dd4', 20, 'TEST', 'http://test.zt.iocoder.cn/83852d802b3aab78ba9badf700079178d352d6a946f7c748ad8e1d3172f82032.png', '', 10, 31, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"default","labelWidth":"100px"},"resetBtn":{"show":false,"innerText":"重置"},"submitBtn":{"show":true,"innerText":"提交"},"formName":"新表单"}', '["{\\"type\\":\\"input\\",\\"field\\":\\"F1j4m2guo62qbdc\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_id\\":\\"id_F9jam2guo62qbec\\",\\"name\\":\\"ref_Fzq1m2guo62qbfc\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"input\\"}","{\\"type\\":\\"input\\",\\"field\\":\\"Fdmkm2guoa4mbgc\\",\\"title\\":\\"多行输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"type\\":\\"textarea\\"},\\"_fc_id\\":\\"id_Ftlim2guoa4mbhc\\",\\"name\\":\\"ref_Fl0cm2guoa4mbic\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"textarea\\"}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"GateWay_b21f8ff0-fadf-4467-bc51-64b233d023c2","type":53,"name":"包容分支","childNode":{"id":"EndEvent","type":1,"name":"结束"},"conditionNodes":[{"id":"Flow_1971a7b7-8648-4183-8862-6c7e1962fac6","type":50,"name":"包容条件1","showText":"(输入框 等于 123 ) ","conditionType":2,"conditionGroups":{"and":true,"conditions":[{"and":true,"rules":[{"opCode":"==","leftSide":"F1j4m2guo62qbdc","rightSide":"123"}]}]}},{"id":"Flow_b4a9ecfc-d873-417f-b663-48f5df6d543e","type":50,"name":"其它情况","showText":"未满足其它条件时,将进入此分支","defaultFlow":true}]},"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"2"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"退回","enable":false}]}', 0, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-10-21 20:17:04', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (337, '7cd71bf2-8fa6-11ef-9532-fa47f0b26dd4', '52b23bc8-8fa6-11ef-9532-fa47f0b26dd4', 20, 'TEST', 'http://test.zt.iocoder.cn/83852d802b3aab78ba9badf700079178d352d6a946f7c748ad8e1d3172f82032.png', '', 10, 31, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"default","labelWidth":"100px"},"resetBtn":{"show":false,"innerText":"重置"},"submitBtn":{"show":true,"innerText":"提交"},"formName":"新表单"}', '["{\\"type\\":\\"input\\",\\"field\\":\\"F1j4m2guo62qbdc\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_id\\":\\"id_F9jam2guo62qbec\\",\\"name\\":\\"ref_Fzq1m2guo62qbfc\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"input\\"}","{\\"type\\":\\"input\\",\\"field\\":\\"Fdmkm2guoa4mbgc\\",\\"title\\":\\"多行输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"type\\":\\"textarea\\"},\\"_fc_id\\":\\"id_Ftlim2guoa4mbhc\\",\\"name\\":\\"ref_Fl0cm2guoa4mbic\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"textarea\\"}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"GateWay_b21f8ff0-fadf-4467-bc51-64b233d023c2","type":53,"name":"包容分支","childNode":{"id":"EndEvent","type":1,"name":"结束"},"conditionNodes":[{"id":"Flow_1971a7b7-8648-4183-8862-6c7e1962fac6","type":50,"name":"包容条件1","showText":"(输入框 等于 123 ) ","childNode":{"id":"Activity_075f4900-fe8b-40d3-9354-c8bcaf946d71","type":11,"name":"审批人1","showText":"指定成员:芋道源码","candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"conditionType":2,"conditionGroups":{"and":true,"conditions":[{"and":true,"rules":[{"opCode":"==","leftSide":"F1j4m2guo62qbdc","rightSide":"123"}]}]}},{"id":"Flow_b4a9ecfc-d873-417f-b663-48f5df6d543e","type":50,"name":"其它情况","showText":"未满足其它条件时,将进入此分支","childNode":{"id":"Activity_4a49b732-bf9e-4113-a375-50ed5c7a493e","type":11,"name":"审批人2","showText":"指定成员:芋道源码","candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"defaultFlow":true}]},"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"2"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"退回","enable":false}]}', 0, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-10-21 20:17:49', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (338, '82232866-8fa6-11ef-9532-fa47f0b26dd4', '52b23bc8-8fa6-11ef-9532-fa47f0b26dd4', 20, 'TEST', 'http://test.zt.iocoder.cn/83852d802b3aab78ba9badf700079178d352d6a946f7c748ad8e1d3172f82032.png', '', 10, 31, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"default","labelWidth":"100px"},"resetBtn":{"show":false,"innerText":"重置"},"submitBtn":{"show":true,"innerText":"提交"},"formName":"新表单"}', '["{\\"type\\":\\"input\\",\\"field\\":\\"F1j4m2guo62qbdc\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_id\\":\\"id_F9jam2guo62qbec\\",\\"name\\":\\"ref_Fzq1m2guo62qbfc\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"input\\"}","{\\"type\\":\\"input\\",\\"field\\":\\"Fdmkm2guoa4mbgc\\",\\"title\\":\\"多行输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"type\\":\\"textarea\\"},\\"_fc_id\\":\\"id_Ftlim2guoa4mbhc\\",\\"name\\":\\"ref_Fl0cm2guoa4mbic\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"textarea\\"}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"GateWay_b21f8ff0-fadf-4467-bc51-64b233d023c2","type":53,"name":"包容分支","childNode":{"id":"EndEvent","type":1,"name":"结束"},"conditionNodes":[{"id":"Flow_1971a7b7-8648-4183-8862-6c7e1962fac6","type":50,"name":"包容条件1","showText":"(输入框 等于 123 ) ","childNode":{"id":"Activity_075f4900-fe8b-40d3-9354-c8bcaf946d71","type":11,"name":"审批人1","showText":"指定成员:芋道源码","candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"conditionType":2,"conditionGroups":{"and":true,"conditions":[{"and":true,"rules":[{"opCode":"==","leftSide":"F1j4m2guo62qbdc","rightSide":"123"}]}]}},{"id":"Flow_b4a9ecfc-d873-417f-b663-48f5df6d543e","type":50,"name":"其它情况","showText":"未满足其它条件时,将进入此分支","childNode":{"id":"Activity_4a49b732-bf9e-4113-a375-50ed5c7a493e","type":11,"name":"审批人2","showText":"指定成员:芋道源码","candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"defaultFlow":true}]},"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"2"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"退回","enable":false}]}', 0, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-10-21 20:17:58', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (339, 'd94ff656-8fba-11ef-9f5e-ca5778fb00b9', '52b23bc8-8fa6-11ef-9532-fa47f0b26dd4', 20, 'TEST', 'http://test.zt.iocoder.cn/83852d802b3aab78ba9badf700079178d352d6a946f7c748ad8e1d3172f82032.png', '', 10, 31, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"default","labelWidth":"100px"},"resetBtn":{"show":false,"innerText":"重置"},"submitBtn":{"show":true,"innerText":"提交"},"formName":"新表单"}', '["{\\"type\\":\\"input\\",\\"field\\":\\"F1j4m2guo62qbdc\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_id\\":\\"id_F9jam2guo62qbec\\",\\"name\\":\\"ref_Fzq1m2guo62qbfc\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"input\\"}","{\\"type\\":\\"input\\",\\"field\\":\\"Fdmkm2guoa4mbgc\\",\\"title\\":\\"多行输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"type\\":\\"textarea\\"},\\"_fc_id\\":\\"id_Ftlim2guoa4mbhc\\",\\"name\\":\\"ref_Fl0cm2guoa4mbic\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"textarea\\"}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"Activity_ec43ca7a-ec75-4bc7-940a-9ddcf563e337","type":11,"name":"审批人","showText":"指定成员:芋道源码","childNode":{"id":"GateWay_b21f8ff0-fadf-4467-bc51-64b233d023c2","type":53,"name":"包容分支","childNode":{"id":"EndEvent","type":1,"name":"结束"},"conditionNodes":[{"id":"Flow_1971a7b7-8648-4183-8862-6c7e1962fac6","type":50,"name":"包容条件1","showText":"(输入框 等于 123 ) ","childNode":{"id":"Activity_075f4900-fe8b-40d3-9354-c8bcaf946d71","type":11,"name":"审批人1","showText":"指定成员:芋道源码","candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"conditionType":2,"conditionGroups":{"and":true,"conditions":[{"and":true,"rules":[{"opCode":"==","leftSide":"F1j4m2guo62qbdc","rightSide":"123"}]}]}},{"id":"Flow_b4a9ecfc-d873-417f-b663-48f5df6d543e","type":50,"name":"其它情况","showText":"未满足其它条件时,将进入此分支","childNode":{"id":"Activity_4a49b732-bf9e-4113-a375-50ed5c7a493e","type":11,"name":"审批人2","showText":"指定成员:芋道源码","candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"defaultFlow":true}]},"candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"2"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"退回","enable":false}]}', 0, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-10-21 22:43:34', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (340, 'test-dingding-bingxing:1:280345f0-9132-11ef-ae97-eaf49df1f932', '1629e04a-9132-11ef-ae97-eaf49df1f932', 20, 'TEST', 'http://test.zt.iocoder.cn/83852d802b3aab78ba9badf700079178d352d6a946f7c748ad8e1d3172f82032.png', '312', 10, 31, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"default","labelWidth":"100px"},"resetBtn":{"show":false,"innerText":"重置"},"submitBtn":{"show":true,"innerText":"提交"},"formName":"新表单"}', '["{\\"type\\":\\"input\\",\\"field\\":\\"F1j4m2guo62qbdc\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_id\\":\\"id_F9jam2guo62qbec\\",\\"name\\":\\"ref_Fzq1m2guo62qbfc\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"input\\"}","{\\"type\\":\\"input\\",\\"field\\":\\"Fdmkm2guoa4mbgc\\",\\"title\\":\\"多行输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"type\\":\\"textarea\\"},\\"_fc_id\\":\\"id_Ftlim2guoa4mbhc\\",\\"name\\":\\"ref_Fl0cm2guoa4mbic\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"textarea\\"}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","childNode":{"id":"GateWay_b5aaf8df-6500-48f4-a847-bf72bcc9cd18","type":52,"name":"并行分支","childNode":{"id":"EndEvent","type":1,"name":"结束"},"conditionNodes":[{"id":"Flow_48ec853d-3a3b-4da3-9af6-2ddaedca3a50","type":50,"name":"并行1","showText":"无需配置条件同时执行","childNode":{"id":"Activity_94eb01f0-d03f-42b3-a625-78dd9706fd4d","type":11,"name":"审批人1","showText":"指定成员:芋道源码","candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}}},{"id":"Flow_b8a6887b-d79b-4eeb-a6a4-160af0626dbe","type":50,"name":"并行2","showText":"无需配置条件同时执行","childNode":{"id":"Activity_e8464a11-c32b-4c2f-a533-08cc0e13daf3","type":11,"name":"审批人","showText":"指定成员:芋道源码","candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}}}]}}', 0, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-10-23 19:30:08', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (341, 'test-dingding-bingxing:2:58b1e2e3-9132-11ef-ae97-eaf49df1f932', '1629e04a-9132-11ef-ae97-eaf49df1f932', 20, 'TEST', 'http://test.zt.iocoder.cn/83852d802b3aab78ba9badf700079178d352d6a946f7c748ad8e1d3172f82032.png', '312', 10, 31, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"default","labelWidth":"100px"},"resetBtn":{"show":false,"innerText":"重置"},"submitBtn":{"show":true,"innerText":"提交"},"formName":"新表单"}', '["{\\"type\\":\\"input\\",\\"field\\":\\"F1j4m2guo62qbdc\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_id\\":\\"id_F9jam2guo62qbec\\",\\"name\\":\\"ref_Fzq1m2guo62qbfc\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"input\\"}","{\\"type\\":\\"input\\",\\"field\\":\\"Fdmkm2guoa4mbgc\\",\\"title\\":\\"多行输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"type\\":\\"textarea\\"},\\"_fc_id\\":\\"id_Ftlim2guoa4mbhc\\",\\"name\\":\\"ref_Fl0cm2guoa4mbic\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"textarea\\"}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","childNode":{"id":"GateWay_b5aaf8df-6500-48f4-a847-bf72bcc9cd18","type":52,"name":"并行分支","childNode":{"id":"EndEvent","type":1,"name":"结束"},"conditionNodes":[{"id":"Flow_48ec853d-3a3b-4da3-9af6-2ddaedca3a50","type":50,"name":"并行1","showText":"无需配置条件同时执行","childNode":{"id":"Activity_94eb01f0-d03f-42b3-a625-78dd9706fd4d","type":11,"name":"审批人1","showText":"指定成员:芋道源码","candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}}},{"id":"Flow_b8a6887b-d79b-4eeb-a6a4-160af0626dbe","type":50,"name":"并行2","showText":"无需配置条件同时执行","childNode":{"id":"Activity_e8464a11-c32b-4c2f-a533-08cc0e13daf3","type":11,"name":"审批人","showText":"指定成员:芋道源码","candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}}}]}}', 0, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-10-23 19:31:29', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (342, 'test-0101:1:f28242b5-9132-11ef-ae97-eaf49df1f932', 'b6772aaf-9132-11ef-ae97-eaf49df1f932', 20, 'TEST', 'http://test.zt.iocoder.cn/83852d802b3aab78ba9badf700079178d352d6a946f7c748ad8e1d3172f82032.png', '', 10, 31, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"default","labelWidth":"100px"},"resetBtn":{"show":false,"innerText":"重置"},"submitBtn":{"show":true,"innerText":"提交"},"formName":"新表单"}', '["{\\"type\\":\\"input\\",\\"field\\":\\"F1j4m2guo62qbdc\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_id\\":\\"id_F9jam2guo62qbec\\",\\"name\\":\\"ref_Fzq1m2guo62qbfc\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"input\\"}","{\\"type\\":\\"input\\",\\"field\\":\\"Fdmkm2guoa4mbgc\\",\\"title\\":\\"多行输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"type\\":\\"textarea\\"},\\"_fc_id\\":\\"id_Ftlim2guoa4mbhc\\",\\"name\\":\\"ref_Fl0cm2guoa4mbic\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"textarea\\"}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","childNode":{"id":"Activity_007a62a5-8f3d-494a-b17a-1c7926ce7a2a","type":11,"name":"审批人","showText":"指定成员:芋道源码","childNode":{"id":"GateWay_1ead3b7a-06f1-455c-9755-91c3d7b987f9","type":51,"name":"条件分支","childNode":{"id":"GateWay_921c0715-d308-40f8-bd83-355b706d42bc","type":52,"name":"并行分支","childNode":{"id":"EndEvent","type":1,"name":"结束"},"conditionNodes":[{"id":"Flow_47f2b502-f15e-43fa-bff4-7e527f505d49","type":50,"name":"并行1","showText":"无需配置条件同时执行","childNode":{"id":"Activity_21854fa9-4de2-46da-aa1d-8648b3109ca6","type":11,"name":"审批人(并行1)","showText":"指定成员:芋道源码","candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}}},{"id":"Flow_76b3ebe0-6b12-4c1e-9d27-acef0d1f7502","type":50,"name":"并行2","showText":"无需配置条件同时执行","childNode":{"id":"Activity_4bcd8a9a-1652-4a47-96fb-174c54ee2339","type":11,"name":"审批人(并行2)","showText":"指定成员:芋道源码","candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}}}]},"conditionNodes":[{"id":"Flow_a619aa87-d388-4cb0-9cce-4933c4353f62","type":50,"name":"条件1","showText":"(输入框 等于 1 ) ","childNode":{"id":"Activity_580b4cbc-843c-4b76-9ac3-fbcb5954fcf2","type":11,"name":"审批人(分支条件 1)","showText":"指定成员:芋道源码","candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"conditionType":2,"defaultFlow":false,"conditionGroups":{"and":true,"conditions":[{"and":true,"rules":[{"opCode":"==","leftSide":"F1j4m2guo62qbdc","rightSide":"1"}]}]}},{"id":"Flow_2669ec3a-f38d-46bd-bd49-4bc4d407003f","type":50,"name":"其它情况","showText":"未满足其它条件时,将进入此分支","childNode":{"id":"Activity_7e062a59-d3fc-430a-a1cc-8c1ca042fb60","type":11,"name":"审批人(默认条件支付)","showText":"指定成员:芋道源码","candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"defaultFlow":true}]},"candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}}}', 0, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-10-23 19:35:47', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (343, 'test-0101:2:44c67133-9133-11ef-ae97-eaf49df1f932', 'b6772aaf-9132-11ef-ae97-eaf49df1f932', 20, 'TEST', 'http://test.zt.iocoder.cn/83852d802b3aab78ba9badf700079178d352d6a946f7c748ad8e1d3172f82032.png', '', 10, 31, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"default","labelWidth":"100px"},"resetBtn":{"show":false,"innerText":"重置"},"submitBtn":{"show":true,"innerText":"提交"},"formName":"新表单"}', '["{\\"type\\":\\"input\\",\\"field\\":\\"F1j4m2guo62qbdc\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_id\\":\\"id_F9jam2guo62qbec\\",\\"name\\":\\"ref_Fzq1m2guo62qbfc\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"input\\"}","{\\"type\\":\\"input\\",\\"field\\":\\"Fdmkm2guoa4mbgc\\",\\"title\\":\\"多行输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"type\\":\\"textarea\\"},\\"_fc_id\\":\\"id_Ftlim2guoa4mbhc\\",\\"name\\":\\"ref_Fl0cm2guoa4mbic\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"textarea\\"}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"GateWay_1ead3b7a-06f1-455c-9755-91c3d7b987f9","type":51,"name":"条件分支","childNode":{"id":"GateWay_921c0715-d308-40f8-bd83-355b706d42bc","type":52,"name":"并行分支","childNode":{"id":"EndEvent","type":1,"name":"结束"},"conditionNodes":[{"id":"Flow_47f2b502-f15e-43fa-bff4-7e527f505d49","type":50,"name":"并行1","showText":"无需配置条件同时执行","childNode":{"id":"Activity_21854fa9-4de2-46da-aa1d-8648b3109ca6","type":11,"name":"审批人(并行1)","showText":"指定成员:芋道源码","candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}}},{"id":"Flow_76b3ebe0-6b12-4c1e-9d27-acef0d1f7502","type":50,"name":"并行2","showText":"无需配置条件同时执行","childNode":{"id":"Activity_4bcd8a9a-1652-4a47-96fb-174c54ee2339","type":11,"name":"审批人(并行2)","showText":"指定成员:芋道源码","candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}}}]},"conditionNodes":[{"id":"Flow_a619aa87-d388-4cb0-9cce-4933c4353f62","type":50,"name":"条件1","showText":"(输入框 等于 1 ) ","childNode":{"id":"Activity_580b4cbc-843c-4b76-9ac3-fbcb5954fcf2","type":11,"name":"审批人(分支条件 1)","showText":"指定成员:芋道源码","candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"conditionType":2,"defaultFlow":false,"conditionGroups":{"and":true,"conditions":[{"and":true,"rules":[{"opCode":"==","leftSide":"F1j4m2guo62qbdc","rightSide":"1"}]}]}},{"id":"Flow_2669ec3a-f38d-46bd-bd49-4bc4d407003f","type":50,"name":"其它情况","showText":"未满足其它条件时,将进入此分支","childNode":{"id":"Activity_7e062a59-d3fc-430a-a1cc-8c1ca042fb60","type":11,"name":"审批人(默认条件支付)","showText":"指定成员:芋道源码","candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"defaultFlow":true}]},"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"2"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"退回","enable":false}]}', 0, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-10-23 19:38:06', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (344, 'test-dingding-bingxing:3:9738183e-9133-11ef-ae97-eaf49df1f932', '1629e04a-9132-11ef-ae97-eaf49df1f932', 20, 'TEST', 'http://test.zt.iocoder.cn/83852d802b3aab78ba9badf700079178d352d6a946f7c748ad8e1d3172f82032.png', '312', 10, 31, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"default","labelWidth":"100px"},"resetBtn":{"show":false,"innerText":"重置"},"submitBtn":{"show":true,"innerText":"提交"},"formName":"新表单"}', '["{\\"type\\":\\"input\\",\\"field\\":\\"F1j4m2guo62qbdc\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_id\\":\\"id_F9jam2guo62qbec\\",\\"name\\":\\"ref_Fzq1m2guo62qbfc\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"input\\"}","{\\"type\\":\\"input\\",\\"field\\":\\"Fdmkm2guoa4mbgc\\",\\"title\\":\\"多行输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"type\\":\\"textarea\\"},\\"_fc_id\\":\\"id_Ftlim2guoa4mbhc\\",\\"name\\":\\"ref_Fl0cm2guoa4mbic\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"textarea\\"}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","childNode":{"id":"Activity_b6b02fb9-3310-4bae-8be1-ae4e92c898dc","type":11,"name":"审批人","showText":"指定成员:芋道源码","childNode":{"id":"GateWay_b5aaf8df-6500-48f4-a847-bf72bcc9cd18","type":52,"name":"并行分支","childNode":{"id":"EndEvent","type":1,"name":"结束"},"conditionNodes":[{"id":"Flow_48ec853d-3a3b-4da3-9af6-2ddaedca3a50","type":50,"name":"并行1","showText":"无需配置条件同时执行","childNode":{"id":"Activity_94eb01f0-d03f-42b3-a625-78dd9706fd4d","type":11,"name":"审批人1","showText":"指定成员:芋道源码","candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}}},{"id":"Flow_b8a6887b-d79b-4eeb-a6a4-160af0626dbe","type":50,"name":"并行2","showText":"无需配置条件同时执行","childNode":{"id":"Activity_e8464a11-c32b-4c2f-a533-08cc0e13daf3","type":11,"name":"审批人","showText":"指定成员:芋道源码","candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}}}]},"candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}}}', 0, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-10-23 19:40:24', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (345, 'test03:1:d5625d34-9373-11ef-a841-e2a58ed7a101', 'a851318f-9373-11ef-a841-e2a58ed7a101', 10, 'TEST', 'http://test.zt.iocoder.cn/aa10f3fe6a6643ddf3284ce3f0e5573904d4e1d1844a37ea342f7069db1f32e2.png', '', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', '', '', NULL, 0, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-10-26 16:25:18', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (346, 'test-normal:1:3c5d5053-9380-11ef-b1a3-12361b4cbb3f', '1844be5e-9380-11ef-b1a3-12361b4cbb3f', 10, 'TEST', 'http://test.zt.iocoder.cn/83852d802b3aab78ba9badf700079178d352d6a946f7c748ad8e1d3172f82032.png', '', 10, 31, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"default","labelWidth":"100px"},"resetBtn":{"show":false,"innerText":"重置"},"submitBtn":{"show":true,"innerText":"提交"},"formName":"新表单"}', '["{\\"type\\":\\"input\\",\\"field\\":\\"F1j4m2guo62qbdc\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_id\\":\\"id_F9jam2guo62qbec\\",\\"name\\":\\"ref_Fzq1m2guo62qbfc\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"input\\"}","{\\"type\\":\\"input\\",\\"field\\":\\"Fdmkm2guoa4mbgc\\",\\"title\\":\\"多行输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"type\\":\\"textarea\\"},\\"_fc_id\\":\\"id_Ftlim2guoa4mbhc\\",\\"name\\":\\"ref_Fl0cm2guoa4mbic\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"textarea\\"}"]', '', '', NULL, 0, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-10-26 17:54:05', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (347, 'test-auto:1:c70a799a-9394-11ef-a039-7a9ac3d9eb6b', 'bc6ba9f4-9394-11ef-a039-7a9ac3d9eb6b', 20, 'TEST', 'http://test.zt.iocoder.cn/7f57be8f3808693f9a5fa78277c6f4ec55cc69f6b61760683498d7112f0dbed2.jpg', 'abaab', 10, 31, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"default","labelWidth":"100px"},"resetBtn":{"show":false,"innerText":"重置"},"submitBtn":{"show":true,"innerText":"提交"},"formName":"新表单"}', '["{\\"type\\":\\"input\\",\\"field\\":\\"F1j4m2guo62qbdc\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_id\\":\\"id_F9jam2guo62qbec\\",\\"name\\":\\"ref_Fzq1m2guo62qbfc\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"input\\"}","{\\"type\\":\\"input\\",\\"field\\":\\"Fdmkm2guoa4mbgc\\",\\"title\\":\\"多行输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"type\\":\\"textarea\\"},\\"_fc_id\\":\\"id_Ftlim2guoa4mbhc\\",\\"name\\":\\"ref_Fl0cm2guoa4mbic\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"textarea\\"}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"Activity_aa24c0cb-a95c-41f4-9949-faefa0ea076d","type":11,"name":"审批人","showText":"自动通过","childNode":{"id":"EndEvent","type":1,"name":"结束"},"approveType":2,"approveMethod":4,"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"2"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"退回","enable":false}]}', 1730548270469, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-10-26 20:21:08', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (348, 'test-auto:2:f4681edb-9430-11ef-919e-2224f84471e0', 'bc6ba9f4-9394-11ef-a039-7a9ac3d9eb6b', 20, 'TEST', 'http://test.zt.iocoder.cn/7f57be8f3808693f9a5fa78277c6f4ec55cc69f6b61760683498d7112f0dbed2.jpg', 'abaab', 10, 31, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"default","labelWidth":"100px"},"resetBtn":{"show":false,"innerText":"重置"},"submitBtn":{"show":true,"innerText":"提交"},"formName":"新表单"}', '["{\\"type\\":\\"input\\",\\"field\\":\\"F1j4m2guo62qbdc\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_id\\":\\"id_F9jam2guo62qbec\\",\\"name\\":\\"ref_Fzq1m2guo62qbfc\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"input\\"}","{\\"type\\":\\"input\\",\\"field\\":\\"Fdmkm2guoa4mbgc\\",\\"title\\":\\"多行输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"type\\":\\"textarea\\"},\\"_fc_id\\":\\"id_Ftlim2guoa4mbhc\\",\\"name\\":\\"ref_Fl0cm2guoa4mbic\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"textarea\\"}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"Activity_aa24c0cb-a95c-41f4-9949-faefa0ea076d","type":11,"name":"审批人","showText":"自动通过","childNode":{"id":"EndEvent","type":1,"name":"结束"},"approveType":2,"approveMethod":4,"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"2"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"退回","enable":false}]}', 1730548270469, '1', '1', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-10-27 14:59:05', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (349, 'test-role:1:317330f3-9511-11ef-8377-6a0da1cb9473', '27c020dd-9511-11ef-8377-6a0da1cb9473', 20, 'TEST', 'http://test.zt.iocoder.cn/06f9d34abad55094348b4cbb3bb2d5a3da4d1c515c6b12e3d6fe64a940593f33.png', '', 10, 31, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"default","labelWidth":"100px"},"resetBtn":{"show":false,"innerText":"重置"},"submitBtn":{"show":true,"innerText":"提交"},"formName":"新表单"}', '["{\\"type\\":\\"input\\",\\"field\\":\\"F1j4m2guo62qbdc\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_id\\":\\"id_F9jam2guo62qbec\\",\\"name\\":\\"ref_Fzq1m2guo62qbfc\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"input\\"}","{\\"type\\":\\"input\\",\\"field\\":\\"Fdmkm2guoa4mbgc\\",\\"title\\":\\"多行输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"type\\":\\"textarea\\"},\\"_fc_id\\":\\"id_Ftlim2guoa4mbhc\\",\\"name\\":\\"ref_Fl0cm2guoa4mbic\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"textarea\\"}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"Activity_733ed9e6-c572-4e22-ae14-09b1fb3a810e","type":11,"name":"审批人","showText":"指定角色:测试账号","childNode":{"id":"EndEvent","type":1,"name":"结束"},"candidateStrategy":10,"candidateParam":"101","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"2"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"退回","enable":false}]}', 0, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-10-28 17:44:15', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (350, 'test-role:2:43135e47-9511-11ef-8377-6a0da1cb9473', '27c020dd-9511-11ef-8377-6a0da1cb9473', 20, 'TEST', 'http://test.zt.iocoder.cn/06f9d34abad55094348b4cbb3bb2d5a3da4d1c515c6b12e3d6fe64a940593f33.png', '', 10, 31, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"default","labelWidth":"100px"},"resetBtn":{"show":false,"innerText":"重置"},"submitBtn":{"show":true,"innerText":"提交"},"formName":"新表单"}', '["{\\"type\\":\\"input\\",\\"field\\":\\"F1j4m2guo62qbdc\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_id\\":\\"id_F9jam2guo62qbec\\",\\"name\\":\\"ref_Fzq1m2guo62qbfc\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"input\\"}","{\\"type\\":\\"input\\",\\"field\\":\\"Fdmkm2guoa4mbgc\\",\\"title\\":\\"多行输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"type\\":\\"textarea\\"},\\"_fc_id\\":\\"id_Ftlim2guoa4mbhc\\",\\"name\\":\\"ref_Fl0cm2guoa4mbic\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"textarea\\"}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"Activity_733ed9e6-c572-4e22-ae14-09b1fb3a810e","type":11,"name":"审批人","showText":"指定角色:测试账号,超级管理员","childNode":{"id":"EndEvent","type":1,"name":"结束"},"candidateStrategy":10,"candidateParam":"101,1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"2"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"退回","enable":false}]}', 0, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-10-28 17:44:44', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (351, 'test-all-assign:1:76676b40-95f5-11ef-950f-3a242f068f0f', 'e685770a-95f4-11ef-950f-3a242f068f0f', 20, 'TEST', 'http://test.zt.iocoder.cn/83852d802b3aab78ba9badf700079178d352d6a946f7c748ad8e1d3172f82032.png', '', 10, 31, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"default","labelWidth":"100px"},"resetBtn":{"show":false,"innerText":"重置"},"submitBtn":{"show":true,"innerText":"提交"},"formName":"新表单"}', '["{\\"type\\":\\"input\\",\\"field\\":\\"F1j4m2guo62qbdc\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_id\\":\\"id_F9jam2guo62qbec\\",\\"name\\":\\"ref_Fzq1m2guo62qbfc\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"input\\"}","{\\"type\\":\\"input\\",\\"field\\":\\"Fdmkm2guoa4mbgc\\",\\"title\\":\\"多行输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"type\\":\\"textarea\\"},\\"_fc_id\\":\\"id_Ftlim2guoa4mbhc\\",\\"name\\":\\"ref_Fl0cm2guoa4mbic\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"textarea\\"}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"Activity_736f1407-9122-4260-9144-112cbaa39f37","type":11,"name":"审批人(指定成员)","showText":"指定成员:芋道源码,芋道","childNode":{"id":"Activity_08f0c04e-e3ba-44c9-b88f-d3b050327266","type":11,"name":"审批人(指定角色)","showText":"指定角色:测试账号,超级管理员","childNode":{"id":"Activity_0395ff02-43ad-4c74-a62e-8f11a6f60a6d","type":11,"name":"审批人(部门成员)","showText":"部门成员:芋道源码","childNode":{"id":"Activity_fb6572e9-fad7-4747-9b2b-c905df51e2a4","type":11,"name":"审批人(部门负责人)","showText":"部门的负责人:深圳总公司","childNode":{"id":"Activity_56e0e04f-dc67-49c9-8aab-3b74d7d2038c","type":11,"name":"审批人(连续多级部门负责人)","showText":"多级部门的负责人:研发部门","childNode":{"id":"Activity_02629fab-4fea-4c30-8d85-02b48e382600","type":11,"name":"审批人(发起人自选)","showText":"发起人自选","childNode":{"id":"Activity_76411cec-6229-4770-886c-f7eace8638a8","type":11,"name":"审批人(发起人本人)","showText":"发起人自己","childNode":{"id":"Activity_c40c3877-09c1-4ca6-a4a3-9de3da767163","type":11,"name":"审批人(发起人部门负责人)","showText":"发起人的部门负责人","childNode":{"id":"Activity_d704a6c2-d07d-42ee-ba49-018c74b7ecc2","type":11,"name":"审批人(发起人连续部门负责人)","showText":"发起人连续部门负责人","childNode":{"id":"Activity_929b02ef-37ea-40b5-b750-b2c409af32dd","type":11,"name":"审批人(用户组)","showText":"指定用户组: 测试一下","childNode":{"id":"Activity_e3d77e25-4c4e-48ed-ae6c-f83b07ae1b5c","type":11,"name":"审批人(流程表达式)","showText":"流程表达式:${1}","childNode":{"id":"EndEvent","type":1,"name":"结束"},"candidateStrategy":60,"candidateParam":"${1}","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"candidateStrategy":40,"candidateParam":"113","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"candidateStrategy":38,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"candidateStrategy":37,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"candidateStrategy":36,"approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"candidateStrategy":35,"approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"candidateStrategy":23,"candidateParam":"103|1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"candidateStrategy":21,"candidateParam":"101","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"candidateStrategy":20,"candidateParam":"100","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"candidateStrategy":10,"candidateParam":"101,1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"candidateStrategy":30,"candidateParam":"1,100","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"2"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"退回","enable":false}]}', 0, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-10-29 20:58:16', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (352, 'test-liuchengbiaodan:1:4ced4eb4-98ce-11ef-8ece-de51f13f22dd', '3b93041f-98ce-11ef-8ece-de51f13f22dd', 10, 'TEST', 'http://test.zt.iocoder.cn/6d68537ef4286cfd9a5fc0a550f48dfc8ed15c9f847036621724b07d32a571b5.png', '', 10, 31, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"default","labelWidth":"100px"},"resetBtn":{"show":false,"innerText":"重置"},"submitBtn":{"show":true,"innerText":"提交"},"formName":"新表单"}', '["{\\"type\\":\\"input\\",\\"field\\":\\"F1j4m2guo62qbdc\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_id\\":\\"id_F9jam2guo62qbec\\",\\"name\\":\\"ref_Fzq1m2guo62qbfc\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"input\\"}","{\\"type\\":\\"input\\",\\"field\\":\\"Fdmkm2guoa4mbgc\\",\\"title\\":\\"多行输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"type\\":\\"textarea\\"},\\"_fc_id\\":\\"id_Ftlim2guoa4mbhc\\",\\"name\\":\\"ref_Fl0cm2guoa4mbic\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"textarea\\"}"]', '', '', NULL, 1730542262629, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-11-02 11:55:29', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (353, 'test-liuchengbiaodan:2:8c64ae6a-9901-11ef-a7a1-0273c4a653d6', '3b93041f-98ce-11ef-8ece-de51f13f22dd', 10, 'TEST', 'http://test.zt.iocoder.cn/6d68537ef4286cfd9a5fc0a550f48dfc8ed15c9f847036621724b07d32a571b5.png', '', 10, 31, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"default","labelWidth":"100px"},"resetBtn":{"show":false,"innerText":"重置"},"submitBtn":{"show":true,"innerText":"提交"},"formName":"新表单"}', '["{\\"type\\":\\"input\\",\\"field\\":\\"F1j4m2guo62qbdc\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_id\\":\\"id_F9jam2guo62qbec\\",\\"name\\":\\"ref_Fzq1m2guo62qbfc\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"input\\"}","{\\"type\\":\\"input\\",\\"field\\":\\"Fdmkm2guoa4mbgc\\",\\"title\\":\\"多行输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"type\\":\\"textarea\\"},\\"_fc_id\\":\\"id_Ftlim2guoa4mbhc\\",\\"name\\":\\"ref_Fl0cm2guoa4mbic\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"textarea\\"}"]', '', '', NULL, 1730542262629, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-11-02 18:02:20', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (354, 'test-liuchengbiaodan:3:8eda424e-9901-11ef-a7a1-0273c4a653d6', '3b93041f-98ce-11ef-8ece-de51f13f22dd', 10, 'TEST', 'http://test.zt.iocoder.cn/6d68537ef4286cfd9a5fc0a550f48dfc8ed15c9f847036621724b07d32a571b5.png', '', 10, 31, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"default","labelWidth":"100px"},"resetBtn":{"show":false,"innerText":"重置"},"submitBtn":{"show":true,"innerText":"提交"},"formName":"新表单"}', '["{\\"type\\":\\"input\\",\\"field\\":\\"F1j4m2guo62qbdc\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_id\\":\\"id_F9jam2guo62qbec\\",\\"name\\":\\"ref_Fzq1m2guo62qbfc\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"input\\"}","{\\"type\\":\\"input\\",\\"field\\":\\"Fdmkm2guoa4mbgc\\",\\"title\\":\\"多行输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"type\\":\\"textarea\\"},\\"_fc_id\\":\\"id_Ftlim2guoa4mbhc\\",\\"name\\":\\"ref_Fl0cm2guoa4mbic\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"textarea\\"}"]', '', '', NULL, 1730542262629, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-11-02 18:02:24', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (355, 'test-auto:3:06e17e32-9902-11ef-a7a1-0273c4a653d6', 'bc6ba9f4-9394-11ef-a039-7a9ac3d9eb6b', 20, 'TEST', 'http://test.zt.iocoder.cn/7f57be8f3808693f9a5fa78277c6f4ec55cc69f6b61760683498d7112f0dbed2.jpg', 'abaab', 10, 31, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"default","labelWidth":"100px"},"resetBtn":{"show":false,"innerText":"重置"},"submitBtn":{"show":true,"innerText":"提交"},"formName":"新表单"}', '["{\\"type\\":\\"input\\",\\"field\\":\\"F1j4m2guo62qbdc\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_id\\":\\"id_F9jam2guo62qbec\\",\\"name\\":\\"ref_Fzq1m2guo62qbfc\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"input\\"}","{\\"type\\":\\"input\\",\\"field\\":\\"Fdmkm2guoa4mbgc\\",\\"title\\":\\"多行输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"type\\":\\"textarea\\"},\\"_fc_id\\":\\"id_Ftlim2guoa4mbhc\\",\\"name\\":\\"ref_Fl0cm2guoa4mbic\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"textarea\\"}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"Activity_aa24c0cb-a95c-41f4-9949-faefa0ea076d","type":11,"name":"审批人","showText":"自动通过","childNode":{"id":"EndEvent","type":1,"name":"结束"},"approveType":2,"approveMethod":4,"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"2"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"退回","enable":false}]}', 1730548270469, '1', '1', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-11-02 18:05:46', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (356, 'test-new-dd:1:f91a81a8-99bc-11ef-a45e-3a78b98a63cb', 'ee82ddf2-99bc-11ef-a45e-3a78b98a63cb', 20, 'TEST', 'http://test.zt.iocoder.cn/e5cca593a8f24433afa4806a21b7b2284d07bc159aec55da7e7091d497a0e023.png', '', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"Activity_a4b03090-68ad-4729-ad8f-7af95c34dba9","type":11,"name":"审批人","showText":"指定成员:芋道源码","childNode":{"id":"EndEvent","type":1,"name":"结束"},"candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Fjph60d8vlrl9","title":"输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"fieldsPermission":[{"field":"Fjph60d8vlrl9","title":"输入框","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"退回","enable":false}]}', 1730622220621, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-11-03 16:23:58', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (357, 'test-start-user-select:1:6e99b91c-9dc9-11ef-b43f-ee8532398633', '5765ef27-9dc9-11ef-b43f-ee8532398633', 10, 'TEST', 'http://test.zt.iocoder.cn/000e449d651ddf162c5603cbef8aed7446d2406cf311160b4e11a46444df5e7b.png', '', 10, 31, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"default","labelWidth":"100px"},"resetBtn":{"show":false,"innerText":"重置"},"submitBtn":{"show":true,"innerText":"提交"},"formName":"新表单"}', '["{\\"type\\":\\"input\\",\\"field\\":\\"F1j4m2guo62qbdc\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_id\\":\\"id_F9jam2guo62qbec\\",\\"name\\":\\"ref_Fzq1m2guo62qbfc\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"input\\"}","{\\"type\\":\\"input\\",\\"field\\":\\"Fdmkm2guoa4mbgc\\",\\"title\\":\\"多行输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"type\\":\\"textarea\\"},\\"_fc_id\\":\\"id_Ftlim2guoa4mbhc\\",\\"name\\":\\"ref_Fl0cm2guoa4mbic\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"textarea\\"}"]', '', '', NULL, 1731067355205, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-11-08 20:03:14', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (358, 'test-000001:1:b2da0708-9f14-11ef-9f88-ca5778fb00b9', '9d515502-9f14-11ef-9f88-ca5778fb00b9', 20, 'TEST', 'http://test.zt.iocoder.cn/000e449d651ddf162c5603cbef8aed7446d2406cf311160b4e11a46444df5e7b.png', '', 10, 31, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"default","labelWidth":"100px"},"resetBtn":{"show":false,"innerText":"重置"},"submitBtn":{"show":true,"innerText":"提交"},"formName":"新表单"}', '["{\\"type\\":\\"input\\",\\"field\\":\\"F1j4m2guo62qbdc\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_id\\":\\"id_F9jam2guo62qbec\\",\\"name\\":\\"ref_Fzq1m2guo62qbfc\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"input\\"}","{\\"type\\":\\"input\\",\\"field\\":\\"Fdmkm2guoa4mbgc\\",\\"title\\":\\"多行输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"type\\":\\"textarea\\"},\\"_fc_id\\":\\"id_Ftlim2guoa4mbhc\\",\\"name\\":\\"ref_Fl0cm2guoa4mbic\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"textarea\\"}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"Activity_e518bc01-7f92-44e2-b10c-bdbb5134408f","type":12,"name":"抄送人","showText":"发起人自选","childNode":{"id":"Activity_bb7d66a7-61bc-4e0b-a1dd-3dd8bec58746","type":11,"name":"审批人","showText":"发起人自选","childNode":{"id":"EndEvent","type":1,"name":"结束"},"candidateStrategy":35,"approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"candidateStrategy":35,"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}]},"fieldsPermission":[{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"2"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"退回","enable":false}]}', 1731209635926, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-11-10 11:34:32', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (359, 'test-form-001:1:f6ea9c4b-a8cc-11ef-bfaf-6ef3f2246243', 'e902bc25-a8cc-11ef-bfaf-6ef3f2246243', 20, 'TEST', 'http://test.zt.iocoder.cn/b46434bd8912c64a662cb3043e6f87e59ecf9a51c9dbcbc66d3699742b8f6f07.png', '', 10, 31, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"default","labelWidth":"100px"},"resetBtn":{"show":false,"innerText":"重置"},"submitBtn":{"show":true,"innerText":"提交"},"formName":"新表单"}', '["{\\"type\\":\\"input\\",\\"field\\":\\"F1j4m2guo62qbdc\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_id\\":\\"id_F9jam2guo62qbec\\",\\"name\\":\\"ref_Fzq1m2guo62qbfc\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"input\\"}","{\\"type\\":\\"input\\",\\"field\\":\\"Fdmkm2guoa4mbgc\\",\\"title\\":\\"多行输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"type\\":\\"textarea\\"},\\"_fc_id\\":\\"id_Ftlim2guoa4mbhc\\",\\"name\\":\\"ref_Fl0cm2guoa4mbic\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"textarea\\"}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"Activity_b059eb3b-70a9-4976-b71f-ce4e1601a219","type":11,"name":"审批人","showText":"指定成员:芋道源码","childNode":{"id":"EndEvent","type":1,"name":"结束"},"candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"PROCESS_START_USER_ID","title":"发起人","permission":"1"},{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"1"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"fieldsPermission":[{"field":"PROCESS_START_USER_ID","title":"发起人","permission":"1"},{"field":"F1j4m2guo62qbdc","title":"输入框","permission":"3"},{"field":"Fdmkm2guoa4mbgc","title":"多行输入框","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"退回","enable":false}]}', 1732278350781, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-11-22 20:26:14', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (360, 'test-yanchi:1:2316f0db-b43f-11ef-b227-ca5778fb00b9', 'dee255e8-b111-11ef-945b-4ac324ab7629', 10, 'TEST', 'http://test.zt.iocoder.cn/ec41e4f5b45c087232aab8d088019a1e9d781b9bde0f54ddbb18e90230b83255.png', '', 10, 31, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"default","labelWidth":"100px"},"resetBtn":{"show":false,"innerText":"重置"},"submitBtn":{"show":true,"innerText":"提交"},"formName":"新表单"}', '["{\\"type\\":\\"input\\",\\"field\\":\\"F1j4m2guo62qbdc\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_id\\":\\"id_F9jam2guo62qbec\\",\\"name\\":\\"ref_Fzq1m2guo62qbfc\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"input\\"}","{\\"type\\":\\"input\\",\\"field\\":\\"Fdmkm2guoa4mbgc\\",\\"title\\":\\"多行输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"type\\":\\"textarea\\"},\\"_fc_id\\":\\"id_Ftlim2guoa4mbhc\\",\\"name\\":\\"ref_Fl0cm2guoa4mbic\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"textarea\\"}"]', '', '', NULL, 1733187578368, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-12-07 10:01:14', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (361, 'oa_leave:10:ad6970da-c454-11ef-bb49-8aef06ea62f7', 'e0d1eaff-ea2f-11ee-bb75-5e33ef4bb66f', 10, 'TEST', 'http://test.zt.iocoder.cn/a2b3603cf8797447c26a22f18256df94562d5e00bcbdc2a523098119c50a6efa.png', NULL, 20, NULL, NULL, NULL, '/bpm/oa/leave/create', '/bpm/oa/leave/detail', NULL, 1711320185128, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-12-27 21:15:44', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (362, 'oa_leave:11:caa5e07e-c454-11ef-bb49-8aef06ea62f7', 'e0d1eaff-ea2f-11ee-bb75-5e33ef4bb66f', 10, 'TEST', 'http://test.zt.iocoder.cn/a2b3603cf8797447c26a22f18256df94562d5e00bcbdc2a523098119c50a6efa.png', NULL, 20, NULL, NULL, NULL, '/bpm/oa/leave/create', '/bpm/oa/leave/detail', NULL, 1711320185128, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-12-27 21:16:33', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (363, 'oa_leave:12:5f81bba2-c730-11ef-9202-6ec6f864d6ad', 'e0d1eaff-ea2f-11ee-bb75-5e33ef4bb66f', 10, 'TEST', 'http://test.zt.iocoder.cn/a2b3603cf8797447c26a22f18256df94562d5e00bcbdc2a523098119c50a6efa.png', NULL, 20, NULL, NULL, NULL, '/bpm/oa/leave/create', '/bpm/oa/leave/detail', NULL, 1711320185128, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2024-12-31 12:33:25', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (364, 'test0001-delay:1:0bf23edf-c9c5-11ef-bc0f-761b5f215c4f', '084d79c9-c9c5-11ef-bc0f-761b5f215c4f', 20, 'TEST', 'http://test.zt.iocoder.cn/d6db9135ef8d40ab5409d1105251d59819e92ba688607e7c8b9c3d98a1ef8ef5.jpg', '', 10, 31, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"default","labelWidth":"100px"},"resetBtn":{"show":false,"innerText":"重置"},"submitBtn":{"show":true,"innerText":"提交"},"formName":"新表单"}', '["{\\"type\\":\\"input\\",\\"field\\":\\"F1j4m2guo62qbdc\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_id\\":\\"id_F9jam2guo62qbec\\",\\"name\\":\\"ref_Fzq1m2guo62qbfc\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"input\\"}","{\\"type\\":\\"input\\",\\"field\\":\\"Fdmkm2guoa4mbgc\\",\\"title\\":\\"多行输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"type\\":\\"textarea\\"},\\"_fc_id\\":\\"id_Ftlim2guoa4mbhc\\",\\"name\\":\\"ref_Fl0cm2guoa4mbic\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"textarea\\"}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","childNode":{"id":"Activity_5d621d3a-c6a9-4870-ab5b-f89081c98d7d","type":14,"name":"延迟器","showText":"延迟1小时","childNode":{"id":"Activity_6aa83f61-3202-47ec-834f-0037fa2ebb02","type":11,"name":"审批人","showText":"指定成员:芋道源码","childNode":{"id":"EndEvent","type":1,"name":"结束"},"candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"delaySetting":{"delayType":1,"delayTime":"PT1H"}}}', 1735903355678, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2025-01-03 19:22:42', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (365, 'test-yanchi1:1:41c6f52b-c9c6-11ef-bc0f-761b5f215c4f', '3ff6c905-c9c6-11ef-bc0f-761b5f215c4f', 20, 'TEST', 'http://test.zt.iocoder.cn/e5cca593a8f24433afa4806a21b7b2284d07bc159aec55da7e7091d497a0e023.png', '', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"Activity_eeca2569-4e7f-455c-804e-46e1b156ad23","type":14,"name":"延迟器","showText":"延迟1分钟","childNode":{"id":"Activity_39d2e3df-5ca3-40f7-8296-ef5f97edfb4a","type":11,"name":"审批人","showText":"指定成员:芋道源码","childNode":{"id":"EndEvent","type":1,"name":"结束"},"candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"delaySetting":{"delayType":1,"delayTime":"PT1M"}},"fieldsPermission":[],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"退回","enable":false}]}', 1735903878561, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2025-01-03 19:31:22', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (366, 'test-yanchi:2:04796d15-ca6c-11ef-a6a2-ca5778fb00b9', 'dee255e8-b111-11ef-945b-4ac324ab7629', 10, 'TEST', 'http://test.zt.iocoder.cn/ec41e4f5b45c087232aab8d088019a1e9d781b9bde0f54ddbb18e90230b83255.png', '', 10, 31, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"default","labelWidth":"100px"},"resetBtn":{"show":false,"innerText":"重置"},"submitBtn":{"show":true,"innerText":"提交"},"formName":"新表单"}', '["{\\"type\\":\\"input\\",\\"field\\":\\"F1j4m2guo62qbdc\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_id\\":\\"id_F9jam2guo62qbec\\",\\"name\\":\\"ref_Fzq1m2guo62qbfc\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"input\\"}","{\\"type\\":\\"input\\",\\"field\\":\\"Fdmkm2guoa4mbgc\\",\\"title\\":\\"多行输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"type\\":\\"textarea\\"},\\"_fc_id\\":\\"id_Ftlim2guoa4mbhc\\",\\"name\\":\\"ref_Fl0cm2guoa4mbic\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"textarea\\"}"]', '', '', NULL, 1733187578368, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2025-01-04 15:17:55', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (367, 'test-new-dd:2:218de259-ca6c-11ef-a6a2-ca5778fb00b9', 'ee82ddf2-99bc-11ef-a45e-3a78b98a63cb', 20, 'TEST', 'http://test.zt.iocoder.cn/e5cca593a8f24433afa4806a21b7b2284d07bc159aec55da7e7091d497a0e023.png', '', 10, 24, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"Activity_a4b03090-68ad-4729-ad8f-7af95c34dba9","type":11,"name":"审批人","showText":"指定成员:芋道源码,芋道","childNode":{"id":"EndEvent","type":1,"name":"结束"},"candidateStrategy":30,"candidateParam":"1,100","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Fjph60d8vlrl9","title":"输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null}},"fieldsPermission":[{"field":"Fjph60d8vlrl9","title":"输入框","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"退回","enable":false}]}', 1730622220621, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2025-01-04 15:18:44', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (368, 'oa_leave:13:2ed4a55e-d335-11ef-af0f-fe4f43a22da7', 'e0d1eaff-ea2f-11ee-bb75-5e33ef4bb66f', 10, 'TEST', 'http://test.zt.iocoder.cn/a2b3603cf8797447c26a22f18256df94562d5e00bcbdc2a523098119c50a6efa.png', '1', 20, NULL, NULL, NULL, '/bpm/oa/leave/create', '/bpm/oa/leave/detail', NULL, 1711320185128, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2025-01-15 19:38:04', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (369, 'test-0113:1:d4ddfca3-d335-11ef-af0f-fe4f43a22da7', 'c8212efd-d335-11ef-af0f-fe4f43a22da7', 20, 'TEST', 'http://test.zt.iocoder.cn/e71669a0c827bbb96b3e320b6ed19a9fd3d53027833f880fc38a010cac2a2eff.png', '测试013', 10, 26, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"inputNumber\\",\\"field\\":\\"Fui862bxrgp87\\",\\"title\\":\\"计数器\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"inputNumber\\",\\"hidden\\":false,\\"display\\":true}","{\\"type\\":\\"fc-editor\\",\\"field\\":\\"Fbwr1op3hb735f\\",\\"title\\":\\"富文本框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_drag_tag\\":\\"fc-editor\\",\\"hidden\\":false,\\"display\\":true}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"Activity_3cc9763b-ce9b-401b-b047-81d71de818f0","type":11,"name":"审批人","showText":"指定成员:芋道源码","childNode":{"id":"EndEvent","type":1,"name":"结束"},"candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Fui862bxrgp87","title":"计数器","permission":"1"},{"field":"Fbwr1op3hb735f","title":"富文本框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"signEnable":false,"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null},"taskCreateListener":{"enable":false,"path":null,"header":[],"body":[]},"taskAssignListener":{"enable":false,"path":null,"header":[],"body":[]},"taskCompleteListener":{"enable":false,"path":null,"header":[],"body":[]}},"fieldsPermission":[{"field":"Fui862bxrgp87","title":"计数器","permission":"2"},{"field":"Fbwr1op3hb735f","title":"富文本框","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"退回","enable":false}]}', 1736941341612, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2025-01-15 19:42:43', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (370, 'test-yanchi:3:8c229947-d340-11ef-af0f-fe4f43a22da7', 'dee255e8-b111-11ef-945b-4ac324ab7629', 10, 'TEST', 'http://test.zt.iocoder.cn/ec41e4f5b45c087232aab8d088019a1e9d781b9bde0f54ddbb18e90230b83255.png', '', 10, 24, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"small","labelWidth":"125px","showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true,\\"_fc_id\\":\\"id_Fxehm5xwr2ewblc\\",\\"name\\":\\"ref_F4n0m5xwr2ewbmc\\"}"]', '', '', NULL, 1733187578368, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2025-01-15 20:59:25', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (371, 'test-sign:1:4c969669-d3c5-11ef-ba9d-4e3a74af44c4', '37c6fb33-d3c5-11ef-ba9d-4e3a74af44c4', 20, 'TEST', 'http://test.zt.iocoder.cn/de74fdbe9ad40173345d4cd1e2b684fcbb5e797f7b7cc37b42dcbaa20dcf6bb3.png', '', 10, 24, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"small","labelWidth":"125px","showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true,\\"_fc_id\\":\\"id_Fxehm5xwr2ewblc\\",\\"name\\":\\"ref_F4n0m5xwr2ewbmc\\"}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"Activity_40c0d932-7b40-4587-a6ac-3f3a901e7a0c","type":11,"name":"审批人","showText":"指定成员:芋道源码","childNode":{"id":"EndEvent","type":1,"name":"结束"},"candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"signEnable":true,"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null},"taskCreateListener":{"enable":false,"path":null,"header":[],"body":[]},"taskAssignListener":{"enable":false,"path":null,"header":[],"body":[]},"taskCompleteListener":{"enable":false,"path":null,"header":[],"body":[]}},"fieldsPermission":[],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"退回","enable":false}]}', 1737002946955, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2025-01-16 12:49:42', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (372, 'test-0013:1:0f851713-d4c9-11ef-ba9d-4e3a74af44c4', '0892fbbe-d4c9-11ef-ba9d-4e3a74af44c4', 10, 'TEST', 'http://test.zt.iocoder.cn/e71669a0c827bbb96b3e320b6ed19a9fd3d53027833f880fc38a010cac2a2eff.png', '', 10, 31, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"default","labelWidth":"100px"},"resetBtn":{"show":false,"innerText":"重置"},"submitBtn":{"show":true,"innerText":"提交"},"formName":"新表单"}', '["{\\"type\\":\\"input\\",\\"field\\":\\"F1j4m2guo62qbdc\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"_fc_id\\":\\"id_F9jam2guo62qbec\\",\\"name\\":\\"ref_Fzq1m2guo62qbfc\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"input\\"}","{\\"type\\":\\"input\\",\\"field\\":\\"Fdmkm2guoa4mbgc\\",\\"title\\":\\"多行输入框\\",\\"info\\":\\"\\",\\"$required\\":false,\\"props\\":{\\"type\\":\\"textarea\\"},\\"_fc_id\\":\\"id_Ftlim2guoa4mbhc\\",\\"name\\":\\"ref_Fl0cm2guoa4mbic\\",\\"display\\":true,\\"hidden\\":false,\\"_fc_drag_tag\\":\\"textarea\\"}"]', '', '', NULL, 1737114536914, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2025-01-17 19:49:09', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (373, 'test0005:1:c2a8ff7d-e92d-11ef-96e7-5634af1c9594', 'a122a7a1-da4b-11ef-9595-4224b09f332b', 20, 'TEST', 'http://test.zt.iocoder.cn/52216f4a3e96a9b531970c4b334dbb831bf49ebd829c9554a18eccd9cb0959b8.png', '', 10, 25, '{"form":{"labelPosition":"right","size":"default","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fgjo62bltzzxt\\",\\"title\\":\\"新的表单\\",\\"info\\":\\"\\",\\"$required\\":\\"新的表单,必须填写\\",\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","childNode":{"id":"Activity_a61d6f41-c93e-4046-8c78-7561fc131335","type":13,"name":"办理人","showText":"指定成员:芋道源码","childNode":{"id":"EndEvent","type":1,"name":"结束"},"candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Fgjo62bltzzxt","title":"新的表单","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"办理","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"退回","enable":false}],"signEnable":false,"reasonRequire":false,"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null},"taskCreateListener":{"enable":false,"path":null,"header":[],"body":[]},"taskAssignListener":{"enable":false,"path":null,"header":[],"body":[]},"taskCompleteListener":{"enable":false,"path":null,"header":[],"body":[]}}}', 1737720383258, '1', '', NULL, '1', '1', '{"enable":false,"prefix":"","infix":"","postfix":"","length":5}', 0, '{"enable":false,"title":""}', '{"enable":false,"summary":[]}', NULL, NULL, NULL, NULL, '1', '2025-02-12 18:40:22', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (374, 'test_banli:1:2795a334-e92e-11ef-96e7-5634af1c9594', '21cc9e8e-e92e-11ef-96e7-5634af1c9594', 20, 'TEST', 'http://test.zt.iocoder.cn/ea7998292215fff556ee7ea4c3c2c54e099881d8bced9ba3524799b225306282.png', '', 10, 24, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"small","labelWidth":"125px","showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true,\\"_fc_id\\":\\"id_Fxehm5xwr2ewblc\\",\\"name\\":\\"ref_F4n0m5xwr2ewbmc\\"}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"Activity_2b43e2fa-78d8-4f62-8264-e1d8336d4125","type":13,"name":"办理人","showText":"指定成员:芋道源码","childNode":{"id":"EndEvent","type":1,"name":"结束"},"candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[],"buttonsSetting":[{"id":1,"displayName":"办理","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"退回","enable":false}],"signEnable":false,"reasonRequire":false,"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null},"taskCreateListener":{"enable":false,"path":null,"header":[],"body":[]},"taskAssignListener":{"enable":false,"path":null,"header":[],"body":[]},"taskCompleteListener":{"enable":false,"path":null,"header":[],"body":[]}},"fieldsPermission":[],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"退回","enable":false}]}', 1739356981658, '1', '', NULL, '1', '1', '{"enable":false,"prefix":"","infix":"","postfix":"","length":5}', 0, '{"enable":false,"title":""}', '{"enable":false,"summary":[]}', NULL, NULL, NULL, NULL, '1', '2025-02-12 18:43:11', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (375, 'test_banli:2:4579b4a4-eb36-11ef-bc8c-ca5778fb00b9', '21cc9e8e-e92e-11ef-96e7-5634af1c9594', 20, 'TEST', 'http://test.zt.iocoder.cn/ea7998292215fff556ee7ea4c3c2c54e099881d8bced9ba3524799b225306282.png', '', 10, 24, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"small","labelWidth":"125px","showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true,\\"_fc_id\\":\\"id_Fxehm5xwr2ewblc\\",\\"name\\":\\"ref_F4n0m5xwr2ewbmc\\"}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"Activity_2b43e2fa-78d8-4f62-8264-e1d8336d4125","type":13,"name":"办理人","showText":"指定成员:芋道源码","childNode":{"id":"EndEvent","type":1,"name":"结束"},"candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[],"buttonsSetting":[{"id":1,"displayName":"办理","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"退回","enable":false}],"signEnable":false,"reasonRequire":false,"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null},"taskCreateListener":{"enable":false,"path":null,"header":[],"body":[]},"taskAssignListener":{"enable":false,"path":null,"header":[],"body":[]},"taskCompleteListener":{"enable":false,"path":null,"header":[],"body":[]}},"fieldsPermission":[],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"退回","enable":false}]}', 1739356981658, '1', '', NULL, '1', '1', '{"enable":false,"prefix":"","infix":"","postfix":"","length":5}', 0, '{"enable":false,"title":""}', '{"enable":false,"summary":[]}', NULL, NULL, NULL, NULL, '1', '2025-02-15 08:46:20', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (376, 'test_next_node_select:1:986216e0-f67b-11ef-b767-ca5778fb00b9', '72de351a-f67b-11ef-b767-ca5778fb00b9', 20, 'TEST', NULL, '', 10, 24, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"small","labelWidth":"125px","showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true,\\"_fc_id\\":\\"id_Fxehm5xwr2ewblc\\",\\"name\\":\\"ref_F4n0m5xwr2ewbmc\\"}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"GateWay_23ea4fb2-e3af-461a-812d-3ca1214ce857","type":51,"name":"条件分支","childNode":{"id":"EndEvent","type":1,"name":"结束"},"conditionNodes":[{"id":"Flow_eb013ce8-9cf1-4fa5-96af-c26817e6e831","type":50,"name":"条件1","showText":"(输入框 等于 1 ) ","childNode":{"id":"Activity_d338a067-c586-4665-870d-ffd11faa62e8","type":11,"name":"条件 1 的审批人","showText":"发起人自选","candidateStrategy":35,"approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Fjph60d8vlrl9","title":"输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"signEnable":false,"reasonRequire":false,"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null},"taskCreateListener":{"enable":false,"path":null,"header":[],"body":[]},"taskAssignListener":{"enable":false,"path":null,"header":[],"body":[]},"taskCompleteListener":{"enable":false,"path":null,"header":[],"body":[]}},"conditionSetting":{"conditionType":2,"conditionExpression":null,"defaultFlow":false,"conditionGroups":{"and":true,"conditions":[{"and":true,"rules":[{"opCode":"==","leftSide":"Fjph60d8vlrl9","rightSide":"1"}]}]}}},{"id":"Flow_171b8abf-e01c-4c72-9513-eb5452efc66a","type":50,"name":"其它情况","showText":"未满足其它条件时,将进入此分支","childNode":{"id":"Activity_9e415dab-36d9-4ec3-9252-7df1cebea304","type":11,"name":"条件 2 的审批人","showText":"发起人自选","candidateStrategy":35,"approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Fjph60d8vlrl9","title":"输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"signEnable":false,"reasonRequire":false,"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null},"taskCreateListener":{"enable":false,"path":null,"header":[],"body":[]},"taskAssignListener":{"enable":false,"path":null,"header":[],"body":[]},"taskCompleteListener":{"enable":false,"path":null,"header":[],"body":[]}},"conditionSetting":{"conditionType":null,"conditionExpression":null,"defaultFlow":true,"conditionGroups":null}}]},"fieldsPermission":[],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"退回","enable":false}]}', 1740819554032, '1', '', NULL, '1', '1', '{"enable":false,"prefix":"","infix":"","postfix":"","length":5}', 0, '{"enable":false,"title":""}', '{"enable":false,"summary":[]}', NULL, NULL, NULL, NULL, '1', '2025-03-01 17:00:17', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (377, 'test_next_node_select:2:cc80d514-f67b-11ef-b767-ca5778fb00b9', '72de351a-f67b-11ef-b767-ca5778fb00b9', 20, 'TEST', NULL, '', 10, 24, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"small","labelWidth":"125px","showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true,\\"_fc_id\\":\\"id_Fxehm5xwr2ewblc\\",\\"name\\":\\"ref_F4n0m5xwr2ewbmc\\"}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"GateWay_23ea4fb2-e3af-461a-812d-3ca1214ce857","type":51,"name":"条件分支","childNode":{"id":"EndEvent","type":1,"name":"结束"},"conditionNodes":[{"id":"Flow_eb013ce8-9cf1-4fa5-96af-c26817e6e831","type":50,"name":"条件1","showText":"(输入框 等于 1 ) ","childNode":{"id":"Activity_1685d656-3c87-4939-b95c-182bf4d1892b","type":11,"name":"条件 1 的审批人","showText":"发起人自选","childNode":{"id":"Activity_d338a067-c586-4665-870d-ffd11faa62e8","type":11,"name":"条件 11 的审批人","showText":"发起人自选","candidateStrategy":35,"approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Fjph60d8vlrl9","title":"输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"signEnable":false,"reasonRequire":false,"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null},"taskCreateListener":{"enable":false,"path":null,"header":[],"body":[]},"taskAssignListener":{"enable":false,"path":null,"header":[],"body":[]},"taskCompleteListener":{"enable":false,"path":null,"header":[],"body":[]}},"candidateStrategy":35,"approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Fjph60d8vlrl9","title":"输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"signEnable":false,"reasonRequire":false,"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null},"taskCreateListener":{"enable":false,"path":null,"header":[],"body":[]},"taskAssignListener":{"enable":false,"path":null,"header":[],"body":[]},"taskCompleteListener":{"enable":false,"path":null,"header":[],"body":[]}},"conditionSetting":{"conditionType":2,"conditionExpression":null,"defaultFlow":false,"conditionGroups":{"and":true,"conditions":[{"and":true,"rules":[{"opCode":"==","leftSide":"Fjph60d8vlrl9","rightSide":"1"}]}]}}},{"id":"Flow_171b8abf-e01c-4c72-9513-eb5452efc66a","type":50,"name":"其它情况","showText":"未满足其它条件时,将进入此分支","childNode":{"id":"Activity_9e415dab-36d9-4ec3-9252-7df1cebea304","type":11,"name":"条件 2 的审批人","showText":"发起人自选","childNode":{"id":"Activity_14066617-72d7-4f74-a034-d84b31ba25c6","type":11,"name":"条件 22 的审批人","showText":"发起人自选","candidateStrategy":35,"approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Fjph60d8vlrl9","title":"输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"signEnable":false,"reasonRequire":false,"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null},"taskCreateListener":{"enable":false,"path":null,"header":[],"body":[]},"taskAssignListener":{"enable":false,"path":null,"header":[],"body":[]},"taskCompleteListener":{"enable":false,"path":null,"header":[],"body":[]}},"candidateStrategy":35,"approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Fjph60d8vlrl9","title":"输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"signEnable":false,"reasonRequire":false,"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null},"taskCreateListener":{"enable":false,"path":null,"header":[],"body":[]},"taskAssignListener":{"enable":false,"path":null,"header":[],"body":[]},"taskCompleteListener":{"enable":false,"path":null,"header":[],"body":[]}},"conditionSetting":{"conditionType":null,"conditionExpression":null,"defaultFlow":true,"conditionGroups":null}}]},"fieldsPermission":[],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"退回","enable":false}]}', 1740819554032, '1', '', NULL, '1', '1', '{"enable":false,"prefix":"","infix":"","postfix":"","length":5}', 0, '{"enable":false,"title":""}', '{"enable":false,"summary":[]}', NULL, NULL, NULL, NULL, '1', '2025-03-01 17:01:44', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (378, 'test_next_node_select:3:cf9938a8-f67b-11ef-b767-ca5778fb00b9', '72de351a-f67b-11ef-b767-ca5778fb00b9', 20, 'TEST', NULL, '', 10, 24, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"small","labelWidth":"125px","showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true,\\"_fc_id\\":\\"id_Fxehm5xwr2ewblc\\",\\"name\\":\\"ref_F4n0m5xwr2ewbmc\\"}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"GateWay_23ea4fb2-e3af-461a-812d-3ca1214ce857","type":51,"name":"条件分支","childNode":{"id":"EndEvent","type":1,"name":"结束"},"conditionNodes":[{"id":"Flow_eb013ce8-9cf1-4fa5-96af-c26817e6e831","type":50,"name":"条件1","showText":"(输入框 等于 1 ) ","childNode":{"id":"Activity_1685d656-3c87-4939-b95c-182bf4d1892b","type":11,"name":"条件 1 的审批人","showText":"发起人自选","childNode":{"id":"Activity_d338a067-c586-4665-870d-ffd11faa62e8","type":11,"name":"条件 11 的审批人","showText":"发起人自选","candidateStrategy":35,"approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Fjph60d8vlrl9","title":"输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"signEnable":false,"reasonRequire":false,"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null},"taskCreateListener":{"enable":false,"path":null,"header":[],"body":[]},"taskAssignListener":{"enable":false,"path":null,"header":[],"body":[]},"taskCompleteListener":{"enable":false,"path":null,"header":[],"body":[]}},"candidateStrategy":35,"approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Fjph60d8vlrl9","title":"输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"signEnable":false,"reasonRequire":false,"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null},"taskCreateListener":{"enable":false,"path":null,"header":[],"body":[]},"taskAssignListener":{"enable":false,"path":null,"header":[],"body":[]},"taskCompleteListener":{"enable":false,"path":null,"header":[],"body":[]}},"conditionSetting":{"conditionType":2,"conditionExpression":null,"defaultFlow":false,"conditionGroups":{"and":true,"conditions":[{"and":true,"rules":[{"opCode":"==","leftSide":"Fjph60d8vlrl9","rightSide":"1"}]}]}}},{"id":"Flow_171b8abf-e01c-4c72-9513-eb5452efc66a","type":50,"name":"其它情况","showText":"未满足其它条件时,将进入此分支","childNode":{"id":"Activity_9e415dab-36d9-4ec3-9252-7df1cebea304","type":11,"name":"条件 2 的审批人","showText":"发起人自选","childNode":{"id":"Activity_14066617-72d7-4f74-a034-d84b31ba25c6","type":11,"name":"条件 22 的审批人","showText":"发起人自选","candidateStrategy":35,"approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Fjph60d8vlrl9","title":"输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"signEnable":false,"reasonRequire":false,"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null},"taskCreateListener":{"enable":false,"path":null,"header":[],"body":[]},"taskAssignListener":{"enable":false,"path":null,"header":[],"body":[]},"taskCompleteListener":{"enable":false,"path":null,"header":[],"body":[]}},"candidateStrategy":35,"approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Fjph60d8vlrl9","title":"输入框","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"signEnable":false,"reasonRequire":false,"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null},"taskCreateListener":{"enable":false,"path":null,"header":[],"body":[]},"taskAssignListener":{"enable":false,"path":null,"header":[],"body":[]},"taskCompleteListener":{"enable":false,"path":null,"header":[],"body":[]}},"conditionSetting":{"conditionType":null,"conditionExpression":null,"defaultFlow":true,"conditionGroups":null}}]},"fieldsPermission":[],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"退回","enable":false}]}', 1740819554032, '1', '', NULL, '1', '1', '{"enable":false,"prefix":"","infix":"","postfix":"","length":5}', 0, '{"enable":false,"title":""}', '{"enable":false,"summary":[]}', NULL, NULL, NULL, NULL, '1', '2025-03-01 17:01:50', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (379, 'test_next_node_select:4:0f77ed11-f67c-11ef-b767-ca5778fb00b9', '72de351a-f67b-11ef-b767-ca5778fb00b9', 20, 'TEST', NULL, '', 10, 24, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"small","labelWidth":"125px","showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true,\\"_fc_id\\":\\"id_Fxehm5xwr2ewblc\\",\\"name\\":\\"ref_F4n0m5xwr2ewbmc\\"}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"GateWay_23ea4fb2-e3af-461a-812d-3ca1214ce857","type":51,"name":"条件分支","childNode":{"id":"EndEvent","type":1,"name":"结束"},"conditionNodes":[{"id":"Flow_eb013ce8-9cf1-4fa5-96af-c26817e6e831","type":50,"name":"条件1","showText":"(输入框 等于 1 ) ","childNode":{"id":"Activity_1685d656-3c87-4939-b95c-182bf4d1892b","type":11,"name":"条件 1 的审批人","showText":"发起人自选","childNode":{"id":"Activity_d338a067-c586-4665-870d-ffd11faa62e8","type":11,"name":"条件 11 的审批人","showText":"发起人自选","candidateStrategy":35,"approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Fjph60d8vlrl9","title":"输入框","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"signEnable":false,"reasonRequire":false,"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null},"taskCreateListener":{"enable":false,"path":null,"header":[],"body":[]},"taskAssignListener":{"enable":false,"path":null,"header":[],"body":[]},"taskCompleteListener":{"enable":false,"path":null,"header":[],"body":[]}},"candidateStrategy":35,"approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Fjph60d8vlrl9","title":"输入框","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"signEnable":false,"reasonRequire":false,"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null},"taskCreateListener":{"enable":false,"path":null,"header":[],"body":[]},"taskAssignListener":{"enable":false,"path":null,"header":[],"body":[]},"taskCompleteListener":{"enable":false,"path":null,"header":[],"body":[]}},"conditionSetting":{"conditionType":2,"conditionExpression":null,"defaultFlow":false,"conditionGroups":{"and":true,"conditions":[{"and":true,"rules":[{"opCode":"==","leftSide":"Fjph60d8vlrl9","rightSide":"1"}]}]}}},{"id":"Flow_171b8abf-e01c-4c72-9513-eb5452efc66a","type":50,"name":"其它情况","showText":"未满足其它条件时,将进入此分支","childNode":{"id":"Activity_9e415dab-36d9-4ec3-9252-7df1cebea304","type":11,"name":"条件 2 的审批人","showText":"发起人自选","childNode":{"id":"Activity_14066617-72d7-4f74-a034-d84b31ba25c6","type":11,"name":"条件 22 的审批人","showText":"发起人自选","candidateStrategy":35,"approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Fjph60d8vlrl9","title":"输入框","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"signEnable":false,"reasonRequire":false,"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null},"taskCreateListener":{"enable":false,"path":null,"header":[],"body":[]},"taskAssignListener":{"enable":false,"path":null,"header":[],"body":[]},"taskCompleteListener":{"enable":false,"path":null,"header":[],"body":[]}},"candidateStrategy":35,"approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Fjph60d8vlrl9","title":"输入框","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"signEnable":false,"reasonRequire":false,"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null},"taskCreateListener":{"enable":false,"path":null,"header":[],"body":[]},"taskAssignListener":{"enable":false,"path":null,"header":[],"body":[]},"taskCompleteListener":{"enable":false,"path":null,"header":[],"body":[]}},"conditionSetting":{"conditionType":null,"conditionExpression":null,"defaultFlow":true,"conditionGroups":null}}]},"fieldsPermission":[],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"退回","enable":false}]}', 1740819554032, '1', '', NULL, '1', '1', '{"enable":false,"prefix":"","infix":"","postfix":"","length":5}', 0, '{"enable":false,"title":""}', '{"enable":false,"summary":[]}', NULL, NULL, NULL, NULL, '1', '2025-03-01 17:03:37', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (380, 'test_next_node_select:5:44279c60-f6fd-11ef-945c-ca5778fb00b9', '72de351a-f67b-11ef-b767-ca5778fb00b9', 20, 'TEST', NULL, 'abcabc', 10, 24, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"small","labelWidth":"125px","showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true,\\"_fc_id\\":\\"id_Fxehm5xwr2ewblc\\",\\"name\\":\\"ref_F4n0m5xwr2ewbmc\\"}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"GateWay_23ea4fb2-e3af-461a-812d-3ca1214ce857","type":51,"name":"条件分支","childNode":{"id":"EndEvent","type":1,"name":"结束"},"conditionNodes":[{"id":"Flow_eb013ce8-9cf1-4fa5-96af-c26817e6e831","type":50,"name":"条件1","showText":"(输入框 等于 1 ) ","childNode":{"id":"Activity_1685d656-3c87-4939-b95c-182bf4d1892b","type":11,"name":"条件 1 的审批人","showText":"发起人自选","childNode":{"id":"Activity_d338a067-c586-4665-870d-ffd11faa62e8","type":11,"name":"条件 11 的审批人","showText":"发起人自选","candidateStrategy":35,"approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Fjph60d8vlrl9","title":"输入框","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"signEnable":false,"reasonRequire":false,"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null},"taskCreateListener":{"enable":false,"path":null,"header":[],"body":[]},"taskAssignListener":{"enable":false,"path":null,"header":[],"body":[]},"taskCompleteListener":{"enable":false,"path":null,"header":[],"body":[]}},"candidateStrategy":35,"approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Fjph60d8vlrl9","title":"输入框","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"signEnable":false,"reasonRequire":false,"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null},"taskCreateListener":{"enable":false,"path":null,"header":[],"body":[]},"taskAssignListener":{"enable":false,"path":null,"header":[],"body":[]},"taskCompleteListener":{"enable":false,"path":null,"header":[],"body":[]}},"conditionSetting":{"conditionType":2,"conditionExpression":null,"defaultFlow":false,"conditionGroups":{"and":true,"conditions":[{"and":true,"rules":[{"opCode":"==","leftSide":"Fjph60d8vlrl9","rightSide":"1"}]}]}}},{"id":"Flow_171b8abf-e01c-4c72-9513-eb5452efc66a","type":50,"name":"其它情况","showText":"未满足其它条件时,将进入此分支","childNode":{"id":"Activity_9e415dab-36d9-4ec3-9252-7df1cebea304","type":11,"name":"条件 2 的审批人","showText":"发起人自选","childNode":{"id":"Activity_14066617-72d7-4f74-a034-d84b31ba25c6","type":11,"name":"条件 22 的审批人","showText":"发起人自选","candidateStrategy":35,"approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Fjph60d8vlrl9","title":"输入框","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"signEnable":false,"reasonRequire":false,"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null},"taskCreateListener":{"enable":false,"path":null,"header":[],"body":[]},"taskAssignListener":{"enable":false,"path":null,"header":[],"body":[]},"taskCompleteListener":{"enable":false,"path":null,"header":[],"body":[]}},"candidateStrategy":35,"approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Fjph60d8vlrl9","title":"输入框","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"signEnable":false,"reasonRequire":false,"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null},"taskCreateListener":{"enable":false,"path":null,"header":[],"body":[]},"taskAssignListener":{"enable":false,"path":null,"header":[],"body":[]},"taskCompleteListener":{"enable":false,"path":null,"header":[],"body":[]}},"conditionSetting":{"conditionType":null,"conditionExpression":null,"defaultFlow":true,"conditionGroups":null}}]},"fieldsPermission":[],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"退回","enable":false}]}', 1740819554032, '1', '', NULL, '1', '1', '{"enable":false,"prefix":"","infix":"","postfix":"","length":5}', 0, '{"enable":false,"title":""}', '{"enable":false,"summary":[]}', NULL, NULL, NULL, NULL, '1', '2025-03-02 08:28:30', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (381, 'test_next_node_select:6:620f4024-f6fd-11ef-945c-ca5778fb00b9', '72de351a-f67b-11ef-b767-ca5778fb00b9', 20, 'TEST', 'http://test.zt.iocoder.cn/3f2a1f61740b56b3e532412b52890a2d4cf29742cfd4ec64969e29844472103c.jpg', 'abcabc', 10, 24, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"small","labelWidth":"125px","showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true,\\"_fc_id\\":\\"id_Fxehm5xwr2ewblc\\",\\"name\\":\\"ref_F4n0m5xwr2ewbmc\\"}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"GateWay_23ea4fb2-e3af-461a-812d-3ca1214ce857","type":51,"name":"条件分支","childNode":{"id":"EndEvent","type":1,"name":"结束"},"conditionNodes":[{"id":"Flow_eb013ce8-9cf1-4fa5-96af-c26817e6e831","type":50,"name":"条件1","showText":"(输入框 等于 1 ) ","childNode":{"id":"Activity_1685d656-3c87-4939-b95c-182bf4d1892b","type":11,"name":"条件 1 的审批人","showText":"发起人自选","childNode":{"id":"Activity_d338a067-c586-4665-870d-ffd11faa62e8","type":11,"name":"条件 11 的审批人","showText":"发起人自选","candidateStrategy":35,"approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Fjph60d8vlrl9","title":"输入框","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"signEnable":false,"reasonRequire":false,"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null},"taskCreateListener":{"enable":false,"path":null,"header":[],"body":[]},"taskAssignListener":{"enable":false,"path":null,"header":[],"body":[]},"taskCompleteListener":{"enable":false,"path":null,"header":[],"body":[]}},"candidateStrategy":35,"approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Fjph60d8vlrl9","title":"输入框","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"signEnable":false,"reasonRequire":false,"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null},"taskCreateListener":{"enable":false,"path":null,"header":[],"body":[]},"taskAssignListener":{"enable":false,"path":null,"header":[],"body":[]},"taskCompleteListener":{"enable":false,"path":null,"header":[],"body":[]}},"conditionSetting":{"conditionType":2,"conditionExpression":null,"defaultFlow":false,"conditionGroups":{"and":true,"conditions":[{"and":true,"rules":[{"opCode":"==","leftSide":"Fjph60d8vlrl9","rightSide":"1"}]}]}}},{"id":"Flow_171b8abf-e01c-4c72-9513-eb5452efc66a","type":50,"name":"其它情况","showText":"未满足其它条件时,将进入此分支","childNode":{"id":"Activity_9e415dab-36d9-4ec3-9252-7df1cebea304","type":11,"name":"条件 2 的审批人","showText":"发起人自选","childNode":{"id":"Activity_14066617-72d7-4f74-a034-d84b31ba25c6","type":11,"name":"条件 22 的审批人","showText":"发起人自选","candidateStrategy":35,"approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Fjph60d8vlrl9","title":"输入框","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"signEnable":false,"reasonRequire":false,"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null},"taskCreateListener":{"enable":false,"path":null,"header":[],"body":[]},"taskAssignListener":{"enable":false,"path":null,"header":[],"body":[]},"taskCompleteListener":{"enable":false,"path":null,"header":[],"body":[]}},"candidateStrategy":35,"approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Fjph60d8vlrl9","title":"输入框","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"signEnable":false,"reasonRequire":false,"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null},"taskCreateListener":{"enable":false,"path":null,"header":[],"body":[]},"taskAssignListener":{"enable":false,"path":null,"header":[],"body":[]},"taskCompleteListener":{"enable":false,"path":null,"header":[],"body":[]}},"conditionSetting":{"conditionType":null,"conditionExpression":null,"defaultFlow":true,"conditionGroups":null}}]},"fieldsPermission":[],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"退回","enable":false}]}', 1740819554032, '1', '', NULL, '1', '1', '{"enable":false,"prefix":"","infix":"","postfix":"","length":5}', 0, '{"enable":false,"title":""}', '{"enable":false,"summary":[]}', NULL, NULL, NULL, NULL, '1', '2025-03-02 08:29:20', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (382, 'test-yanchi:4:798dc738-f700-11ef-af43-ca5778fb00b9', 'dee255e8-b111-11ef-945b-4ac324ab7629', 10, 'TEST', 'http://test.zt.iocoder.cn/ec41e4f5b45c087232aab8d088019a1e9d781b9bde0f54ddbb18e90230b83255.png', '', 10, 24, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"small","labelWidth":"125px","showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true,\\"_fc_id\\":\\"id_Fxehm5xwr2ewblc\\",\\"name\\":\\"ref_F4n0m5xwr2ewbmc\\"}"]', '', '', NULL, 1733187578368, '1', '', NULL, '1', '1', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2025-03-02 08:52:42', '1', '2025-03-02 01:08:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (383, 'test-006:1:2c1aaf0b-f708-11ef-b6b3-ca5778fb00b9', 'a46bfb51-c800-11ef-936e-ca5778fb00b9', 10, 'OA', 'http://test.zt.iocoder.cn/d6db9135ef8d40ab5409d1105251d59819e92ba688607e7c8b9c3d98a1ef8ef5.jpg', 'ABC', 10, 24, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"small","labelWidth":"125px","showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true,\\"_fc_id\\":\\"id_Fxehm5xwr2ewblc\\",\\"name\\":\\"ref_F4n0m5xwr2ewbmc\\"}"]', '', '', NULL, 1735709055584, '1', '', NULL, '1', '1', '{"enable":false,"prefix":"","infix":"","postfix":"","length":5}', 0, '{"enable":false,"title":""}', '{"enable":false,"summary":[]}', NULL, NULL, NULL, NULL, '1', '2025-03-02 09:46:34', '1', '2025-03-02 09:46:34', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (384, 'test-006:2:4530314f-f708-11ef-b6b3-ca5778fb00b9', 'a46bfb51-c800-11ef-936e-ca5778fb00b9', 10, 'OA', 'http://test.zt.iocoder.cn/d6db9135ef8d40ab5409d1105251d59819e92ba688607e7c8b9c3d98a1ef8ef5.jpg', 'ABC DDD', 10, 24, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"small","labelWidth":"125px","showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true,\\"_fc_id\\":\\"id_Fxehm5xwr2ewblc\\",\\"name\\":\\"ref_F4n0m5xwr2ewbmc\\"}"]', '', '', NULL, 1735709055584, '1', '', NULL, '1', '1', '{"enable":false,"prefix":"","infix":"","postfix":"","length":5}', 0, '{"enable":false,"title":""}', '{"enable":false,"summary":[]}', NULL, NULL, NULL, NULL, '1', '2025-03-02 09:47:16', '1', '2025-03-02 09:47:16', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (385, 'test-007:1:7e3fee6a-f709-11ef-9ff4-ca5778fb00b9', 'c37c4093-c800-11ef-936e-ca5778fb00b9', 20, 'OA', 'http://test.zt.iocoder.cn/d6db9135ef8d40ab5409d1105251d59819e92ba688607e7c8b9c3d98a1ef8ef5.jpg', '', 10, 28, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"tree\\",\\"field\\":\\"Flm564a7jrfah\\",\\"title\\":\\"树形控件\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"props\\":{\\"props\\":{\\"label\\":\\"label\\"},\\"showCheckbox\\":true,\\"nodeKey\\":\\"id\\",\\"data\\":[{\\"label\\":\\"选项1\\",\\"id\\":1,\\"children\\":[{\\"label\\":\\"选项11\\",\\"id\\":11,\\"children\\":[]},{\\"label\\":\\"选项12\\",\\"id\\":12,\\"children\\":[]}]},{\\"label\\":\\"选项2\\",\\"id\\":2,\\"children\\":[]}]},\\"_fc_drag_tag\\":\\"tree\\",\\"hidden\\":false,\\"display\\":true}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","childNode":{"id":"Activity_96efe144-5fe1-42b8-8e93-ac803865d275","type":11,"name":"审批人","showText":"指定成员:芋道源码","childNode":{"id":"EndEvent","type":1,"name":"结束"},"candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"Flm564a7jrfah","title":"树形控件","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"signEnable":false,"reasonRequire":false,"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null},"taskCreateListener":{"enable":false,"path":null,"header":[],"body":[]},"taskAssignListener":{"enable":false,"path":null,"header":[],"body":[]},"taskCompleteListener":{"enable":false,"path":null,"header":[],"body":[]}}}', 1735709107702, '1', '', NULL, '1', '1', '{"enable":false,"prefix":"","infix":"","postfix":"","length":5}', 0, '{"enable":false,"title":""}', '{"enable":false,"summary":[]}', NULL, NULL, NULL, NULL, '1', '2025-03-02 09:56:02', '1', '2025-03-02 09:56:02', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (386, 'test-sub:1:a083550b-0148-11f0-9d11-ca5778fb00b9', '9d680b45-0148-11f0-9d11-ca5778fb00b9', 20, 'OA', NULL, '', 10, 24, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"small","labelWidth":"125px","showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true,\\"_fc_id\\":\\"id_Fxehm5xwr2ewblc\\",\\"name\\":\\"ref_F4n0m5xwr2ewbmc\\"}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","childNode":{"id":"Activity_85b5819c-c3f2-4515-ba0a-78cc7d74e57b","type":11,"name":"审批人(子01)","showText":"指定成员:芋道源码","childNode":{"id":"Activity_131a7fae-6f73-4e70-9d97-50b25dce585d","type":11,"name":"审批人(子02)","showText":"指定成员:芋道源码","childNode":{"id":"EndEvent","type":1,"name":"结束"},"candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"signEnable":false,"reasonRequire":false,"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null},"taskCreateListener":{"enable":false,"path":null,"header":[],"body":[]},"taskAssignListener":{"enable":false,"path":null,"header":[],"body":[]},"taskCompleteListener":{"enable":false,"path":null,"header":[],"body":[]}},"candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"signEnable":false,"reasonRequire":false,"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null},"taskCreateListener":{"enable":false,"path":null,"header":[],"body":[]},"taskAssignListener":{"enable":false,"path":null,"header":[],"body":[]},"taskCompleteListener":{"enable":false,"path":null,"header":[],"body":[]}}}', 1742007183859, '1', '', NULL, '1', '1', '{"enable":false,"prefix":"","infix":"","postfix":"","length":5}', 0, '{"enable":false,"title":""}', '{"enable":false,"summary":[]}', NULL, NULL, NULL, NULL, '1', '2025-03-15 10:53:09', '1', '2025-03-15 10:53:09', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (387, 'test-main:1:bdc8ec6f-0148-11f0-9d11-ca5778fb00b9', '71be85f2-0148-11f0-9d11-ca5778fb00b9', 20, 'OA', NULL, '测试下', 10, 24, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"small","labelWidth":"125px","showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true,\\"_fc_id\\":\\"id_Fxehm5xwr2ewblc\\",\\"name\\":\\"ref_F4n0m5xwr2ewbmc\\"}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"Activity_11c7f31c-546a-4964-a7f4-82d2a9f1d486","type":11,"name":"审批人","showText":"指定成员:芋道源码","childNode":{"id":"Activity_deb6aa64-bcd5-4f23-88fd-22df1166579d","type":20,"name":"子流程","showText":"调用子流程:测试子流程","childNode":{"id":"EndEvent","type":1,"name":"结束"},"childProcessSetting":{"calledProcessDefinitionKey":"test-sub","calledProcessDefinitionName":"测试子流程","async":false,"inVariables":[],"outVariables":[],"skipStartUserNode":false,"startUserSetting":{"type":1,"formField":"","emptyType":1},"timeoutSetting":{"enable":false,"type":null,"timeExpression":null},"multiInstanceSetting":{"enable":false,"sequential":null,"approveRatio":null,"sourceType":null,"source":null}}},"candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"signEnable":false,"reasonRequire":false,"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null},"taskCreateListener":{"enable":false,"path":null,"header":[],"body":[]},"taskAssignListener":{"enable":false,"path":null,"header":[],"body":[]},"taskCompleteListener":{"enable":false,"path":null,"header":[],"body":[]}},"fieldsPermission":[],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"退回","enable":false}]}', 1742007110601, '1', '', NULL, '1', '1', '{"enable":false,"prefix":"","infix":"","postfix":"","length":5}', 0, '{"enable":false,"title":""}', '{"enable":false,"summary":[]}', NULL, NULL, NULL, NULL, '1', '2025-03-15 10:53:58', '1', '2025-03-15 10:53:58', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (388, 'test-sub:2:996ca5f2-0149-11f0-9d92-ca5778fb00b9', '9d680b45-0148-11f0-9d11-ca5778fb00b9', 20, 'OA', NULL, '', 10, 28, '{"form":{"labelPosition":"right","size":"small","labelWidth":"125px","hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"tree\\",\\"field\\":\\"Flm564a7jrfah\\",\\"title\\":\\"树形控件\\",\\"info\\":\\"\\",\\"effect\\":{\\"fetch\\":\\"\\"},\\"$required\\":false,\\"props\\":{\\"props\\":{\\"label\\":\\"label\\"},\\"showCheckbox\\":true,\\"nodeKey\\":\\"id\\",\\"data\\":[{\\"label\\":\\"选项1\\",\\"id\\":1,\\"children\\":[{\\"label\\":\\"选项11\\",\\"id\\":11,\\"children\\":[]},{\\"label\\":\\"选项12\\",\\"id\\":12,\\"children\\":[]}]},{\\"label\\":\\"选项2\\",\\"id\\":2,\\"children\\":[]}]},\\"_fc_drag_tag\\":\\"tree\\",\\"hidden\\":false,\\"display\\":true}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","childNode":{"id":"Activity_85b5819c-c3f2-4515-ba0a-78cc7d74e57b","type":11,"name":"审批人(子01)","showText":"指定成员:芋道源码","childNode":{"id":"Activity_131a7fae-6f73-4e70-9d97-50b25dce585d","type":11,"name":"审批人(子02)","showText":"指定成员:芋道源码","childNode":{"id":"EndEvent","type":1,"name":"结束"},"candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"signEnable":false,"reasonRequire":false,"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null},"taskCreateListener":{"enable":false,"path":null,"header":[],"body":[]},"taskAssignListener":{"enable":false,"path":null,"header":[],"body":[]},"taskCompleteListener":{"enable":false,"path":null,"header":[],"body":[]}},"candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"signEnable":false,"reasonRequire":false,"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null},"taskCreateListener":{"enable":false,"path":null,"header":[],"body":[]},"taskAssignListener":{"enable":false,"path":null,"header":[],"body":[]},"taskCompleteListener":{"enable":false,"path":null,"header":[],"body":[]}}}', 1742007183859, '1', '', NULL, '1', '1', '{"enable":false,"prefix":"","infix":"","postfix":"","length":5}', 0, '{"enable":false,"title":""}', '{"enable":false,"summary":[]}', NULL, NULL, NULL, NULL, '1', '2025-03-15 11:00:07', '1', '2025-03-15 11:00:07', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (389, 'test-main:2:a2684ce6-0149-11f0-9d92-ca5778fb00b9', '71be85f2-0148-11f0-9d11-ca5778fb00b9', 20, 'OA', NULL, '测试下', 10, 24, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"small","labelWidth":"125px","showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true,\\"_fc_id\\":\\"id_Fxehm5xwr2ewblc\\",\\"name\\":\\"ref_F4n0m5xwr2ewbmc\\"}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"Activity_11c7f31c-546a-4964-a7f4-82d2a9f1d486","type":11,"name":"审批人","showText":"指定成员:芋道源码","childNode":{"id":"Activity_deb6aa64-bcd5-4f23-88fd-22df1166579d","type":20,"name":"子流程","showText":"调用子流程:测试子流程","childNode":{"id":"EndEvent","type":1,"name":"结束"},"childProcessSetting":{"calledProcessDefinitionKey":"test-sub","calledProcessDefinitionName":"测试子流程","async":false,"inVariables":[],"outVariables":[],"skipStartUserNode":false,"startUserSetting":{"type":1,"formField":"","emptyType":1},"timeoutSetting":{"enable":false,"type":null,"timeExpression":null},"multiInstanceSetting":{"enable":false,"sequential":null,"approveRatio":null,"sourceType":null,"source":null}}},"candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"signEnable":false,"reasonRequire":false,"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null},"taskCreateListener":{"enable":false,"path":null,"header":[],"body":[]},"taskAssignListener":{"enable":false,"path":null,"header":[],"body":[]},"taskCompleteListener":{"enable":false,"path":null,"header":[],"body":[]}},"fieldsPermission":[],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"退回","enable":false}]}', 1742007110601, '1', '', NULL, '1', '1', '{"enable":false,"prefix":"","infix":"","postfix":"","length":5}', 0, '{"enable":false,"title":""}', '{"enable":false,"summary":[]}', NULL, NULL, NULL, NULL, '1', '2025-03-15 11:00:22', '1', '2025-03-15 11:00:22', '0', 1); +INSERT INTO bpm_process_definition_info (id, process_definition_id, model_id, model_type, category, icon, description, form_type, form_id, form_conf, form_fields, form_custom_create_path, form_custom_view_path, simple_model, sort, visible, start_user_ids, start_dept_ids, manager_user_ids, allow_cancel_running_process, process_id_rule, auto_approval_type, title_setting, summary_setting, process_before_trigger_setting, process_after_trigger_setting, task_before_trigger_setting, task_after_trigger_setting, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (390, 'test-main:3:ac53f92a-0149-11f0-9d92-ca5778fb00b9', '71be85f2-0148-11f0-9d11-ca5778fb00b9', 20, 'OA', NULL, '测试下', 10, 24, '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"small","labelWidth":"125px","showMessage":true,"inlineMessage":false},"submitBtn":{"show":true,"innerText":"提交"},"resetBtn":{"show":false,"innerText":"重置"}}', '["{\\"type\\":\\"input\\",\\"field\\":\\"Fjph60d8vlrl9\\",\\"title\\":\\"输入框\\",\\"info\\":\\"\\",\\"$required\\":true,\\"_fc_drag_tag\\":\\"input\\",\\"hidden\\":false,\\"display\\":true,\\"_fc_id\\":\\"id_Fxehm5xwr2ewblc\\",\\"name\\":\\"ref_F4n0m5xwr2ewbmc\\"}"]', '', '', '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"Activity_11c7f31c-546a-4964-a7f4-82d2a9f1d486","type":11,"name":"审批人","showText":"指定成员:芋道源码","childNode":{"id":"Activity_deb6aa64-bcd5-4f23-88fd-22df1166579d","type":20,"name":"子流程","showText":"调用子流程:测试子流程","childNode":{"id":"EndEvent","type":1,"name":"结束"},"childProcessSetting":{"calledProcessDefinitionKey":"test-sub","calledProcessDefinitionName":"测试子流程","async":false,"inVariables":[],"outVariables":[],"skipStartUserNode":false,"startUserSetting":{"type":1,"formField":"","emptyType":1},"timeoutSetting":{"enable":false,"type":null,"timeExpression":null},"multiInstanceSetting":{"enable":false,"sequential":null,"approveRatio":null,"sourceType":null,"source":null}}},"candidateStrategy":30,"candidateParam":"1","approveType":1,"approveMethod":4,"fieldsPermission":[],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"signEnable":false,"reasonRequire":false,"rejectHandler":{"type":1,"returnNodeId":null},"timeoutHandler":{"enable":false,"type":null,"timeDuration":null,"maxRemindCount":null},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1,"userIds":null},"taskCreateListener":{"enable":false,"path":null,"header":[],"body":[]},"taskAssignListener":{"enable":false,"path":null,"header":[],"body":[]},"taskCompleteListener":{"enable":false,"path":null,"header":[],"body":[]}},"fieldsPermission":[],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"退回","enable":false}]}', 1742007110601, '1', '', NULL, '1', '1', '{"enable":false,"prefix":"","infix":"","postfix":"","length":5}', 0, '{"enable":false,"title":""}', '{"enable":false,"summary":[]}', NULL, NULL, NULL, NULL, '1', '2025-03-15 11:00:38', '1', '2025-03-15 11:00:38', '0', 1); +COMMIT; +-- SET IDENTITY_INSERT bpm_process_definition_info OFF; +-- @formatter:on + +-- ---------------------------- +-- Table structure for bpm_process_expression +-- ---------------------------- +CREATE TABLE bpm_process_expression ( + id bigint NOT NULL PRIMARY KEY, + name varchar(64) DEFAULT '' NULL, + status smallint NOT NULL, + expression varchar(1024) NOT NULL, + creator varchar(64) DEFAULT '' NULL, + create_time datetime DEFAULT CURRENT_TIMESTAMP NOT NULL, + updater varchar(64) DEFAULT '' NULL, + update_time datetime DEFAULT CURRENT_TIMESTAMP NOT NULL, + deleted bit DEFAULT '0' NOT NULL, + tenant_id bigint DEFAULT 0 NOT NULL +); + +COMMENT ON COLUMN bpm_process_expression.id IS '编号'; +COMMENT ON COLUMN bpm_process_expression.name IS '表达式名字'; +COMMENT ON COLUMN bpm_process_expression.status IS '表达式状态'; +COMMENT ON COLUMN bpm_process_expression.expression IS '表达式'; +COMMENT ON COLUMN bpm_process_expression.creator IS '创建者'; +COMMENT ON COLUMN bpm_process_expression.create_time IS '创建时间'; +COMMENT ON COLUMN bpm_process_expression.updater IS '更新者'; +COMMENT ON COLUMN bpm_process_expression.update_time IS '更新时间'; +COMMENT ON COLUMN bpm_process_expression.deleted IS '是否删除'; +COMMENT ON COLUMN bpm_process_expression.tenant_id IS '租户编号'; +COMMENT ON TABLE bpm_process_expression IS 'BPM 流程表达式表'; + +-- ---------------------------- +-- Records of bpm_process_expression +-- ---------------------------- +-- @formatter:off +-- SET IDENTITY_INSERT bpm_process_expression ON; +INSERT INTO bpm_process_expression (id, name, status, expression, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (116, '测试表达式', 0, 'com.zt.plat.module.bpm.framework.flowable.core.listener.demo.exection.DemoDelegateClassExecutionListener', '1', '2024-03-23 15:13:20', '1', '2024-03-09 22:37:51', '1', 1); +INSERT INTO bpm_process_expression (id, name, status, expression, creator, create_time, updater, update_time, deleted, tenant_id) VALUES (118, '测试任务监听器', 0, 'com.zt.plat.module.bpm.framework.flowable.core.listener.demo.task.DemoDelegateClassTaskListener', '1', '2024-03-23 19:13:15', '1', '2024-03-09 22:36:44', '1', 1); +COMMIT; +-- SET IDENTITY_INSERT bpm_process_expression OFF; +-- @formatter:on + +-- ---------------------------- +-- Table structure for bpm_process_instance_copy +-- ---------------------------- +CREATE TABLE bpm_process_instance_copy ( + id bigint NOT NULL PRIMARY KEY, + user_id bigint DEFAULT 0 NOT NULL, + start_user_id bigint DEFAULT 0 NOT NULL, + process_instance_id varchar(64) DEFAULT '' NULL, + process_instance_name varchar(64) DEFAULT '' NULL, + process_definition_id varchar(64) NOT NULL, + category varchar(64) NOT NULL, + activity_id varchar(64) DEFAULT '' NULL, + activity_name varchar(64) NOT NULL, + task_id varchar(64) DEFAULT '' NULL, + reason varchar(256) DEFAULT '' NULL, + creator varchar(64) DEFAULT '' NULL, + create_time datetime DEFAULT CURRENT_TIMESTAMP NOT NULL, + updater varchar(64) DEFAULT '' NULL, + update_time datetime DEFAULT CURRENT_TIMESTAMP NOT NULL, + deleted bit DEFAULT '0' NOT NULL, + tenant_id bigint DEFAULT 0 NOT NULL +); + +COMMENT ON COLUMN bpm_process_instance_copy.id IS '编号'; +COMMENT ON COLUMN bpm_process_instance_copy.user_id IS '用户编号,被抄送人'; +COMMENT ON COLUMN bpm_process_instance_copy.start_user_id IS '发起流程的用户编号'; +COMMENT ON COLUMN bpm_process_instance_copy.process_instance_id IS '流程实例的编号'; +COMMENT ON COLUMN bpm_process_instance_copy.process_instance_name IS '流程实例的名字'; +COMMENT ON COLUMN bpm_process_instance_copy.process_definition_id IS '流程定义的编号'; +COMMENT ON COLUMN bpm_process_instance_copy.category IS '流程定义的分类'; +COMMENT ON COLUMN bpm_process_instance_copy.activity_id IS '流程活动的编号'; +COMMENT ON COLUMN bpm_process_instance_copy.activity_name IS '流程活动的名字'; +COMMENT ON COLUMN bpm_process_instance_copy.task_id IS '流程任务的编号'; +COMMENT ON COLUMN bpm_process_instance_copy.reason IS '抄送意见'; +COMMENT ON COLUMN bpm_process_instance_copy.creator IS '创建者'; +COMMENT ON COLUMN bpm_process_instance_copy.create_time IS '创建时间'; +COMMENT ON COLUMN bpm_process_instance_copy.updater IS '更新者'; +COMMENT ON COLUMN bpm_process_instance_copy.update_time IS '更新时间'; +COMMENT ON COLUMN bpm_process_instance_copy.deleted IS '是否删除'; +COMMENT ON COLUMN bpm_process_instance_copy.tenant_id IS '租户编号'; +COMMENT ON TABLE bpm_process_instance_copy IS 'BPM 流程实例抄送表'; + +-- ---------------------------- +-- Table structure for bpm_process_listener +-- ---------------------------- +CREATE TABLE bpm_process_listener ( + id bigint NOT NULL PRIMARY KEY, + name varchar(30) DEFAULT '' NULL, + type varchar(255) NOT NULL, + status smallint NOT NULL, + event varchar(30) DEFAULT '' NULL, + value_type varchar(64) DEFAULT '' NULL, + value varchar(1024) NOT NULL, + creator varchar(64) DEFAULT '' NULL, + create_time datetime DEFAULT CURRENT_TIMESTAMP NOT NULL, + updater varchar(64) DEFAULT '' NULL, + update_time datetime DEFAULT CURRENT_TIMESTAMP NOT NULL, + deleted bit DEFAULT '0' NOT NULL, + tenant_id bigint DEFAULT 0 NOT NULL +); + +COMMENT ON COLUMN bpm_process_listener.id IS '编号'; +COMMENT ON COLUMN bpm_process_listener.name IS '监听器名字'; +COMMENT ON COLUMN bpm_process_listener.type IS '监听器类型'; +COMMENT ON COLUMN bpm_process_listener.status IS '监听器状态'; +COMMENT ON COLUMN bpm_process_listener.event IS '监听事件'; +COMMENT ON COLUMN bpm_process_listener.value_type IS '监听器值类型'; +COMMENT ON COLUMN bpm_process_listener.value IS '监听器值'; +COMMENT ON COLUMN bpm_process_listener.creator IS '创建者'; +COMMENT ON COLUMN bpm_process_listener.create_time IS '创建时间'; +COMMENT ON COLUMN bpm_process_listener.updater IS '更新者'; +COMMENT ON COLUMN bpm_process_listener.update_time IS '更新时间'; +COMMENT ON COLUMN bpm_process_listener.deleted IS '是否删除'; +COMMENT ON COLUMN bpm_process_listener.tenant_id IS '租户编号'; +COMMENT ON TABLE bpm_process_listener IS 'BPM 流程监听器表'; + +-- ---------------------------- +-- Table structure for bpm_user_group +-- ---------------------------- +CREATE TABLE bpm_user_group ( + id bigint NOT NULL PRIMARY KEY, + name varchar(30) DEFAULT '' NULL, + description varchar(255) DEFAULT '' NULL, + user_ids varchar(1024) DEFAULT NULL NULL, + status smallint NOT NULL, + creator varchar(64) DEFAULT '' NULL, + create_time datetime DEFAULT CURRENT_TIMESTAMP NOT NULL, + updater varchar(64) DEFAULT '' NULL, + update_time datetime DEFAULT CURRENT_TIMESTAMP NOT NULL, + deleted bit DEFAULT '0' NOT NULL, + tenant_id bigint DEFAULT 0 NOT NULL +); + +COMMENT ON COLUMN bpm_user_group.id IS '编号'; +COMMENT ON COLUMN bpm_user_group.name IS '组名'; +COMMENT ON COLUMN bpm_user_group.description IS '描述'; +COMMENT ON COLUMN bpm_user_group.user_ids IS '成员编号数组'; +COMMENT ON COLUMN bpm_user_group.status IS '状态(0正常 1停用)'; +COMMENT ON COLUMN bpm_user_group.creator IS '创建者'; +COMMENT ON COLUMN bpm_user_group.create_time IS '创建时间'; +COMMENT ON COLUMN bpm_user_group.updater IS '更新者'; +COMMENT ON COLUMN bpm_user_group.update_time IS '更新时间'; +COMMENT ON COLUMN bpm_user_group.deleted IS '是否删除'; +COMMENT ON COLUMN bpm_user_group.tenant_id IS '租户编号'; +COMMENT ON TABLE bpm_user_group IS 'BPM 用户组表'; \ No newline at end of file diff --git a/zt-framework/zt-common/pom.xml b/zt-framework/zt-common/pom.xml index 79049dff..db7d9ceb 100644 --- a/zt-framework/zt-common/pom.xml +++ b/zt-framework/zt-common/pom.xml @@ -52,6 +52,12 @@ provided + + org.springframework.data + spring-data-redis + provided + + jakarta.servlet jakarta.servlet-api @@ -151,6 +157,12 @@ spring-boot-starter-test test + + + org.mockito + mockito-core + test + diff --git a/zt-framework/zt-common/src/main/java/com/zt/plat/framework/common/annotation/PageSum.java b/zt-framework/zt-common/src/main/java/com/zt/plat/framework/common/annotation/PageSum.java new file mode 100644 index 00000000..0130ea7c --- /dev/null +++ b/zt-framework/zt-common/src/main/java/com/zt/plat/framework/common/annotation/PageSum.java @@ -0,0 +1,31 @@ +package com.zt.plat.framework.common.annotation; + +import java.lang.annotation.*; + +/** + * 标记分页结果中需要求和的字段。 + *

+ * 未显式指定列名时,会默认使用实体字段对应的数据库列。 + *

+ * {@link #exist()} 可以用于声明该字段并不存在于表结构中,相当于为字段添加 + * {@code @TableField(exist = false)},方便在 DO 中声明专用于汇总结果的临时字段。 + */ +@Documented +@Target(ElementType.FIELD) +@Retention(RetentionPolicy.RUNTIME) +public @interface PageSum { + + /** + * 自定义求和的数据库列名或表达式,未设置时默认使用实体字段对应的列。 + */ + String column() default ""; + + /** + * 是否在实体字段上声明真实存在的数据库列。 + *

+ * 设为 {@code false} 时,框架会自动为该字段提供 {@code @TableField(exist = false)} 的能力, + * 适用于只在分页响应中返回的临时统计字段。 + */ + boolean exist() default false; + +} diff --git a/zt-framework/zt-common/src/main/java/com/zt/plat/framework/common/pojo/PageResult.java b/zt-framework/zt-common/src/main/java/com/zt/plat/framework/common/pojo/PageResult.java index 6d4aa9bb..103230f5 100644 --- a/zt-framework/zt-common/src/main/java/com/zt/plat/framework/common/pojo/PageResult.java +++ b/zt-framework/zt-common/src/main/java/com/zt/plat/framework/common/pojo/PageResult.java @@ -1,11 +1,18 @@ package com.zt.plat.framework.common.pojo; +import com.fasterxml.jackson.annotation.JsonAlias; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import java.io.Serializable; +import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Collections; +import java.util.LinkedHashMap; import java.util.List; +import java.util.Map; @Schema(description = "分页结果") @Data @@ -15,19 +22,31 @@ public final class PageResult implements Serializable { private List list; @Schema(description = "总量", requiredMode = Schema.RequiredMode.REQUIRED) + @JsonProperty("total") + @JsonAlias({"totalCount"}) private Long total; + @Schema(description = "汇总信息(字段需使用 @PageSum 标注)") + @JsonProperty("summary") + private Map summary; + public PageResult() { + this.list = new ArrayList<>(); + this.summary = Collections.emptyMap(); } public PageResult(List list, Long total) { + this(list, total, null); + } + + public PageResult(List list, Long total, Map summary) { this.list = list; this.total = total; + setSummaryInternal(summary); } public PageResult(Long total) { - this.list = new ArrayList<>(); - this.total = total; + this(new ArrayList<>(), total, null); } public static PageResult empty() { @@ -38,4 +57,30 @@ public final class PageResult implements Serializable { return new PageResult<>(total); } + public void setSummary(Map summary) { + setSummaryInternal(summary); + } + + private void setSummaryInternal(Map summary) { + if (summary == null || summary.isEmpty()) { + this.summary = Collections.emptyMap(); + return; + } + this.summary = new LinkedHashMap<>(summary); + } + + public PageResult convert(List newList) { + return new PageResult<>(newList, total, summary); + } + + @JsonIgnore + public Long getTotalCount() { + return total; + } + + @JsonIgnore + public void setTotalCount(Long totalCount) { + this.total = totalCount; + } + } diff --git a/zt-framework/zt-common/src/main/java/com/zt/plat/framework/common/util/integration/ShareServiceProperties.java b/zt-framework/zt-common/src/main/java/com/zt/plat/framework/common/util/integration/ShareServiceProperties.java new file mode 100644 index 00000000..c5daff37 --- /dev/null +++ b/zt-framework/zt-common/src/main/java/com/zt/plat/framework/common/util/integration/ShareServiceProperties.java @@ -0,0 +1,112 @@ +package com.zt.plat.framework.common.util.integration; + +import cn.hutool.core.util.StrUtil; +import lombok.Getter; +import lombok.Setter; +import org.springframework.boot.context.properties.ConfigurationProperties; +import org.springframework.stereotype.Component; + +import java.time.Duration; + +/** + * 配置参数,控制对接 ePlat 共享服务的请求行为。 + */ +@Getter +@Setter +@Component +@ConfigurationProperties(prefix = "eplat.share") +public class ShareServiceProperties { + + private static final String DEFAULT_TOKEN_ENDPOINT_PATH = "/eplat/oauth/token"; + + /** + * 共享服务基础地址,例如:https://example.com/share。 + */ + private String urlPrefix; + + /** + * OAuth 客户端标识。 + */ + private String clientId; + + /** + * OAuth 客户端密钥。 + */ + private String clientSecret; + + /** + * OAuth scope,默认 read。 + */ + private String scope = "read"; + + /** + * 访问 token 在 Redis 中的缓存 key。 + */ + private String tokenCacheKey = "eplat:cache:shareToken"; + + /** + * 刷新 token 在 Redis 中的缓存 key。 + */ + private String refreshTokenCacheKey = "eplat:cache:shareRefreshToken"; + + /** + * 调用共享服务时携带 token 的请求头名称。 + */ + private String tokenHeaderName = "Xplat-Token"; + + /** + * 获取 token 的接口路径,默认 /eplat/oauth/token。 + */ + private String tokenEndpointPath = DEFAULT_TOKEN_ENDPOINT_PATH; + + /** + * 访问 token 默认有效期,默认 5000 秒,建议略小于服务端实际过期时间。 + */ + private Duration tokenTtl = Duration.ofSeconds(5000); + + /** + * 刷新 token 默认有效期,若未设置则取访问 token 的 2 倍。 + */ + private Duration refreshTokenTtl; + + /** + * 构造具体服务的请求地址。 + * + * @param serviceNo 服务号 + * @return 完整请求地址 + */ + public String buildServiceUrl(String serviceNo) { + return normalizeBaseUrl(urlPrefix) + "/service/" + serviceNo; + } + + /** + * 构造获取 token 的请求地址。 + * + * @return token 请求地址 + */ + public String buildTokenUrl() { + String base = normalizeBaseUrl(urlPrefix); + String path = StrUtil.prependIfMissing(tokenEndpointPath, "/"); + return base + path; + } + + /** + * 刷新 token 的缓存有效期。 + * + * @return 刷新 token 有效期 + */ + public Duration getRefreshTokenTtl() { + if (refreshTokenTtl != null) { + return refreshTokenTtl; + } + return tokenTtl.multipliedBy(2); + } + + private static String normalizeBaseUrl(String url) { + if (StrUtil.isBlank(url)) { + throw new IllegalArgumentException("共享服务地址不能为空"); + } + return StrUtil.removeSuffix(url.trim(), "/"); + } + +} diff --git a/zt-framework/zt-common/src/main/java/com/zt/plat/framework/common/util/integration/ShareServiceUtils.java b/zt-framework/zt-common/src/main/java/com/zt/plat/framework/common/util/integration/ShareServiceUtils.java new file mode 100644 index 00000000..cf11959c --- /dev/null +++ b/zt-framework/zt-common/src/main/java/com/zt/plat/framework/common/util/integration/ShareServiceUtils.java @@ -0,0 +1,237 @@ +package com.zt.plat.framework.common.util.integration; + +import cn.hutool.core.util.StrUtil; +import com.zt.plat.framework.common.util.json.JsonUtils; +import lombok.extern.slf4j.Slf4j; +import org.springframework.data.redis.core.StringRedisTemplate; +import org.springframework.data.redis.core.ValueOperations; +import org.springframework.http.HttpEntity; +import org.springframework.http.HttpHeaders; +import org.springframework.http.HttpMethod; +import org.springframework.http.MediaType; +import org.springframework.http.ResponseEntity; +import org.springframework.util.Assert; +import org.springframework.util.LinkedMultiValueMap; +import org.springframework.util.MultiValueMap; +import org.springframework.web.client.RestClientException; +import org.springframework.web.client.RestTemplate; + +import java.nio.charset.StandardCharsets; +import java.time.Duration; +import java.util.Objects; +import java.util.concurrent.ConcurrentHashMap; +import java.util.concurrent.ConcurrentMap; +import java.util.concurrent.locks.Lock; +import java.util.concurrent.locks.ReentrantLock; + +/** + * ePlat 共享服务调用工具,负责发送请求与自动刷新访问 token。 + */ +@Slf4j +public final class ShareServiceUtils { + + private static final Duration MIN_CACHE_TTL = Duration.ofSeconds(1); + private static final ConcurrentMap TOKEN_REFRESH_LOCKS = new ConcurrentHashMap<>(); + + private ShareServiceUtils() { + } + + public static String callShareService(RestTemplate restTemplate, + StringRedisTemplate redisTemplate, + ShareServiceProperties properties, + String serviceNo, + String requestBody) { + return callShareService(restTemplate, redisTemplate, properties, serviceNo, (Object) requestBody); + } + + public static String callShareService(RestTemplate restTemplate, + StringRedisTemplate redisTemplate, + ShareServiceProperties properties, + String serviceNo, + Object requestBody) { + Assert.notNull(restTemplate, "RestTemplate 不能为空"); + Assert.notNull(redisTemplate, "StringRedisTemplate 不能为空"); + Assert.notNull(properties, "ShareServiceProperties 不能为空"); + Assert.hasText(serviceNo, "服务号不能为空"); + + String url = properties.buildServiceUrl(serviceNo); + String payload = convertRequestBody(requestBody); + log.info("共享服务调用地址:[{}],请求体:[{}]", url, payload); + + String token = obtainAccessToken(restTemplate, redisTemplate, properties); + log.debug("共享服务服务号 [{}] 使用的 token 已获取", serviceNo); + + HttpHeaders headers = new HttpHeaders(); + headers.setContentType(MediaType.APPLICATION_JSON); + headers.set(properties.getTokenHeaderName(), token); + + HttpEntity entity = new HttpEntity<>(payload, headers); + ResponseEntity response = restTemplate.exchange(url, HttpMethod.POST, entity, String.class); + return Objects.requireNonNullElse(response.getBody(), ""); + } + + /** + * 获取共享服务的访问 token,可复用于自定义调用场景。 + * + * @param restTemplate 用于请求共享服务的 {@link RestTemplate} + * @param redisTemplate 缓存 token 的 {@link StringRedisTemplate} + * @param properties 共享服务配置 + * @return 访问共享服务的 token + */ + public static String getAccessToken(RestTemplate restTemplate, + StringRedisTemplate redisTemplate, + ShareServiceProperties properties) { + Assert.notNull(restTemplate, "RestTemplate 不能为空"); + Assert.notNull(redisTemplate, "StringRedisTemplate 不能为空"); + Assert.notNull(properties, "ShareServiceProperties 不能为空"); + return obtainAccessToken(restTemplate, redisTemplate, properties); + } + + private static String convertRequestBody(Object requestBody) { + if (requestBody == null) { + return ""; + } + if (requestBody instanceof String str) { + return str; + } + if (requestBody instanceof byte[] bytes) { + return new String(bytes, StandardCharsets.UTF_8); + } + return JsonUtils.toJsonString(requestBody); + } + + private static String obtainAccessToken(RestTemplate restTemplate, + StringRedisTemplate redisTemplate, + ShareServiceProperties properties) { + // 直接从 Redis 读取可复用的 token + ValueOperations valueOps = redisTemplate.opsForValue(); + String token = valueOps.get(properties.getTokenCacheKey()); + if (StrUtil.isNotBlank(token)) { + return token; + } + // 针对同一个缓存 key 做细粒度加锁,避免并发刷新问题 + Lock lock = TOKEN_REFRESH_LOCKS.computeIfAbsent(properties.getTokenCacheKey(), key -> new ReentrantLock()); + lock.lock(); + try { + token = valueOps.get(properties.getTokenCacheKey()); + if (StrUtil.isNotBlank(token)) { + return token; + } + return refreshAccessToken(restTemplate, redisTemplate, properties, valueOps); + } finally { + lock.unlock(); + } + } + + private static String refreshAccessToken(RestTemplate restTemplate, + StringRedisTemplate redisTemplate, + ShareServiceProperties properties, + ValueOperations valueOps) { + String refreshToken = valueOps.get(properties.getRefreshTokenCacheKey()); + if (StrUtil.isNotBlank(refreshToken)) { + try { + return requestToken(restTemplate, redisTemplate, properties, + buildRefreshTokenParams(properties, refreshToken)); + } catch (RuntimeException ex) { + log.warn("刷新共享服务 token 失败,准备回退为 client_credentials 模式", ex); + redisTemplate.delete(properties.getRefreshTokenCacheKey()); + } + } + return requestToken(restTemplate, redisTemplate, properties, + buildClientCredentialsParams(properties)); + } + + private static MultiValueMap buildClientCredentialsParams(ShareServiceProperties properties) { + MultiValueMap params = baseTokenParams(properties); + params.add("grant_type", "client_credentials"); + if (StrUtil.isNotBlank(properties.getScope())) { + params.add("scope", properties.getScope()); + } + return params; + } + + private static MultiValueMap buildRefreshTokenParams(ShareServiceProperties properties, + String refreshToken) { + MultiValueMap params = baseTokenParams(properties); + params.add("grant_type", "refresh_token"); + params.add("refresh_token", refreshToken); + return params; + } + + private static MultiValueMap baseTokenParams(ShareServiceProperties properties) { + MultiValueMap params = new LinkedMultiValueMap<>(); + Assert.hasText(properties.getClientId(), "clientId 不能为空"); + Assert.hasText(properties.getClientSecret(), "clientSecret 不能为空"); + params.add("client_id", properties.getClientId()); + params.add("client_secret", properties.getClientSecret()); + return params; + } + + private static String requestToken(RestTemplate restTemplate, + StringRedisTemplate redisTemplate, + ShareServiceProperties properties, + MultiValueMap body) { + HttpHeaders headers = new HttpHeaders(); + headers.setContentType(MediaType.APPLICATION_FORM_URLENCODED); + HttpEntity> entity = new HttpEntity<>(body, headers); + String tokenUrl = properties.buildTokenUrl(); + log.info("共享服务获取 token 地址:[{}],授权方式:[{}]", tokenUrl, body.getFirst("grant_type")); + ResponseEntity response; + try { + response = restTemplate.postForEntity(tokenUrl, entity, String.class); + } catch (RestClientException ex) { + throw new IllegalStateException("请求共享服务 token 失败", ex); + } + String responseBody = response.getBody(); + if (StrUtil.isBlank(responseBody)) { + throw new IllegalStateException("共享服务返回的 token 内容为空"); + } + TokenResponse tokenResponse = parseTokenResponse(responseBody); + cacheTokens(redisTemplate, properties, tokenResponse); + return tokenResponse.accessToken(); + } + + private static TokenResponse parseTokenResponse(String body) { + var node = JsonUtils.parseTree(body); + String accessToken = node.path("access_token").asText(null); + if (StrUtil.isBlank(accessToken)) { + throw new IllegalStateException("共享服务返回结果缺少 access_token 字段"); + } + String refreshToken = node.path("refresh_token").asText(null); + long expiresIn = node.path("expires_in").asLong(-1); + long refreshExpiresIn = node.path("refresh_expires_in").asLong(-1); + return new TokenResponse(accessToken, refreshToken, expiresIn, refreshExpiresIn); + } + + private static void cacheTokens(StringRedisTemplate redisTemplate, + ShareServiceProperties properties, + TokenResponse tokenResponse) { + // 将最新的 token 与刷新 token 写回缓存 + ValueOperations valueOps = redisTemplate.opsForValue(); + Duration tokenTtl = resolveTtl(tokenResponse.expiresIn(), properties.getTokenTtl()); + valueOps.set(properties.getTokenCacheKey(), tokenResponse.accessToken(), tokenTtl); + if (StrUtil.isNotBlank(tokenResponse.refreshToken())) { + Duration refreshTtl = resolveTtl(tokenResponse.refreshExpiresIn(), properties.getRefreshTokenTtl()); + valueOps.set(properties.getRefreshTokenCacheKey(), tokenResponse.refreshToken(), refreshTtl); + } + } + + private static Duration resolveTtl(long expiresInSeconds, Duration fallback) { + Duration effectiveFallback = fallback; + if (effectiveFallback == null || effectiveFallback.compareTo(MIN_CACHE_TTL) < 0) { + effectiveFallback = Duration.ofMinutes(5); + } + if (expiresInSeconds > 0) { + Duration candidate = Duration.ofSeconds(expiresInSeconds); + if (candidate.compareTo(MIN_CACHE_TTL) < 0) { + candidate = MIN_CACHE_TTL; + } + return candidate.compareTo(effectiveFallback) < 0 ? candidate : effectiveFallback; + } + return effectiveFallback; + } + + private record TokenResponse(String accessToken, String refreshToken, long expiresIn, long refreshExpiresIn) { + } + +} diff --git a/zt-framework/zt-common/src/main/java/com/zt/plat/framework/common/util/monitor/TracerUtils.java b/zt-framework/zt-common/src/main/java/com/zt/plat/framework/common/util/monitor/TracerUtils.java index a098d6cd..98d1063b 100644 --- a/zt-framework/zt-common/src/main/java/com/zt/plat/framework/common/util/monitor/TracerUtils.java +++ b/zt-framework/zt-common/src/main/java/com/zt/plat/framework/common/util/monitor/TracerUtils.java @@ -1,6 +1,14 @@ package com.zt.plat.framework.common.util.monitor; +import jakarta.servlet.http.HttpServletRequest; +import org.apache.commons.lang3.StringUtils; import org.apache.skywalking.apm.toolkit.trace.TraceContext; +import org.slf4j.MDC; +import org.springframework.web.context.request.RequestAttributes; +import org.springframework.web.context.request.RequestContextHolder; +import org.springframework.web.context.request.ServletRequestAttributes; + +import java.util.UUID; /** * 链路追踪工具类 @@ -9,7 +17,33 @@ import org.apache.skywalking.apm.toolkit.trace.TraceContext; * * @author ZT */ -public class TracerUtils { +public final class TracerUtils { + + /** + * SkyWalking 在未接入 Agent 时返回的默认占位值 + */ + private static final String SKY_WALKING_PLACEHOLDER = "N/A"; + + /** + * SkyWalking 在忽略追踪时返回的占位值 + */ + private static final String SKY_WALKING_IGNORED = "Ignored_Trace"; + + private static final String MDC_TRACE_ID_KEY = "traceId"; + private static final String REQUEST_ATTRIBUTE_KEY = TracerUtils.class.getName() + ".TRACE_ID"; + private static final String[] HEADER_CANDIDATES = { + "trace-id", + "Trace-Id", + "x-trace-id", + "X-Trace-Id", + "x-request-id", + "X-Request-Id" + }; + + /** + * 兜底的 traceId,保证在未接入链路追踪时依旧具备追踪能力 + */ + private static final InheritableThreadLocal FALLBACK_TRACE_ID = new InheritableThreadLocal<>(); /** * 私有化构造方法 @@ -18,13 +52,121 @@ public class TracerUtils { } /** - * 获得链路追踪编号,直接返回 SkyWalking 的 TraceId。 - * 如果不存在的话为空字符串!!! + * 获得链路追踪编号。 + *

+ * 优先返回 SkyWalking 的 TraceId;在缺少链路上下文或者未接入 SkyWalking 时,会优先复用来自请求上下文的 TraceId, + * 否则生成一个新的兜底 TraceId,并在当前线程、请求上下文与日志 MDC 中缓存,确保后续组件能够复用。 * * @return 链路追踪编号 */ public static String getTraceId() { - return TraceContext.traceId(); + String traceId = TraceContext.traceId(); + if (isValidTraceId(traceId)) { + cacheTraceId(traceId); + return traceId; + } + String cached = resolveCachedTraceId(); + if (StringUtils.isNotBlank(cached)) { + return cached; + } + String generated = generateFallbackTraceId(); + cacheTraceId(generated); + return generated; + } + + /** + * 手动绑定外部传入的 TraceId,例如消费消息、处理异步任务时。 + * + * @param traceId 链路编号 + */ + public static void bindTraceId(String traceId) { + if (StringUtils.isBlank(traceId)) { + return; + } + cacheTraceId(traceId.trim()); + } + + /** + * 清理当前线程关联的兜底 traceId,避免线程复用导致污染。 + */ + public static void clear() { + FALLBACK_TRACE_ID.remove(); + MDC.remove(MDC_TRACE_ID_KEY); + HttpServletRequest request = currentRequest(); + if (request != null) { + request.removeAttribute(REQUEST_ATTRIBUTE_KEY); + } + } + + private static boolean isValidTraceId(String traceId) { + if (StringUtils.isBlank(traceId)) { + return false; + } + if (StringUtils.equalsIgnoreCase(traceId, SKY_WALKING_PLACEHOLDER)) { + return false; + } + return !StringUtils.equalsIgnoreCase(traceId, SKY_WALKING_IGNORED); + } + + private static String resolveCachedTraceId() { + String cached = FALLBACK_TRACE_ID.get(); + if (StringUtils.isNotBlank(cached)) { + return cached; + } + HttpServletRequest request = currentRequest(); + if (request != null) { + Object attribute = request.getAttribute(REQUEST_ATTRIBUTE_KEY); + if (attribute instanceof String attrValue && StringUtils.isNotBlank(attrValue)) { + cacheTraceId(attrValue); + return attrValue; + } + String headerValue = resolveTraceIdFromHeader(request); + if (StringUtils.isNotBlank(headerValue)) { + cacheTraceId(headerValue); + return headerValue; + } + } + String mdcTraceId = MDC.get(MDC_TRACE_ID_KEY); + if (StringUtils.isNotBlank(mdcTraceId)) { + cacheTraceId(mdcTraceId); + return mdcTraceId; + } + return null; + } + + private static void cacheTraceId(String traceId) { + if (StringUtils.isBlank(traceId)) { + return; + } + String trimmed = traceId.trim(); + FALLBACK_TRACE_ID.set(trimmed); + MDC.put(MDC_TRACE_ID_KEY, trimmed); + HttpServletRequest request = currentRequest(); + if (request != null) { + request.setAttribute(REQUEST_ATTRIBUTE_KEY, trimmed); + } + } + + private static HttpServletRequest currentRequest() { + RequestAttributes requestAttributes = RequestContextHolder.getRequestAttributes(); + if (requestAttributes instanceof ServletRequestAttributes servletRequestAttributes) { + return servletRequestAttributes.getRequest(); + } + return null; + } + + private static String resolveTraceIdFromHeader(HttpServletRequest request) { + for (String header : HEADER_CANDIDATES) { + String value = request.getHeader(header); + if (StringUtils.isNotBlank(value)) { + return value.trim(); + } + } + return null; + } + + private static String generateFallbackTraceId() { + return StringUtils.replace(UUID.randomUUID().toString(), "-", ""); } } diff --git a/zt-framework/zt-common/src/main/java/com/zt/plat/framework/common/util/object/BeanUtils.java b/zt-framework/zt-common/src/main/java/com/zt/plat/framework/common/util/object/BeanUtils.java index be773fe0..346e6627 100644 --- a/zt-framework/zt-common/src/main/java/com/zt/plat/framework/common/util/object/BeanUtils.java +++ b/zt-framework/zt-common/src/main/java/com/zt/plat/framework/common/util/object/BeanUtils.java @@ -4,6 +4,7 @@ import cn.hutool.core.bean.BeanUtil; import com.zt.plat.framework.common.pojo.PageResult; import com.zt.plat.framework.common.util.collection.CollectionUtils; +import java.util.Collections; import java.util.List; import java.util.Set; import java.util.function.Consumer; @@ -69,10 +70,13 @@ public class BeanUtils { return null; } List list = toBean(source.getList(), targetType); + if (list == null) { + list = Collections.emptyList(); + } if (peek != null) { list.forEach(peek); } - return new PageResult<>(list, source.getTotal()); + return new PageResult<>(list, source.getTotal(), source.getSummary()); } public static void copyProperties(Object source, Object target) { diff --git a/zt-framework/zt-spring-boot-starter-monitor/src/main/java/com/zt/plat/framework/tracer/core/filter/TraceFilter.java b/zt-framework/zt-spring-boot-starter-monitor/src/main/java/com/zt/plat/framework/tracer/core/filter/TraceFilter.java index d9cbc1cb..1651f7f7 100644 --- a/zt-framework/zt-spring-boot-starter-monitor/src/main/java/com/zt/plat/framework/tracer/core/filter/TraceFilter.java +++ b/zt-framework/zt-spring-boot-starter-monitor/src/main/java/com/zt/plat/framework/tracer/core/filter/TraceFilter.java @@ -24,10 +24,15 @@ public class TraceFilter extends OncePerRequestFilter { @Override protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain chain) throws IOException, ServletException { - // 设置响应 traceId - response.addHeader(HEADER_NAME_TRACE_ID, TracerUtils.getTraceId()); - // 继续过滤 - chain.doFilter(request, response); + String traceId = TracerUtils.getTraceId(); + try { + // 设置响应 traceId,便于客户端回溯 + response.addHeader(HEADER_NAME_TRACE_ID, traceId); + // 继续过滤 + chain.doFilter(request, response); + } finally { + TracerUtils.clear(); + } } } diff --git a/zt-framework/zt-spring-boot-starter-mybatis/pom.xml b/zt-framework/zt-spring-boot-starter-mybatis/pom.xml index 510b74c2..66f0ec5f 100644 --- a/zt-framework/zt-spring-boot-starter-mybatis/pom.xml +++ b/zt-framework/zt-spring-boot-starter-mybatis/pom.xml @@ -107,6 +107,12 @@ org.springframework.cloud spring-cloud-starter-openfeign + + + org.springframework.boot + spring-boot-starter-test + test + diff --git a/zt-framework/zt-spring-boot-starter-mybatis/src/main/java/com/zt/plat/framework/mybatis/config/ZtMybatisAutoConfiguration.java b/zt-framework/zt-spring-boot-starter-mybatis/src/main/java/com/zt/plat/framework/mybatis/config/ZtMybatisAutoConfiguration.java index f83cd5f2..896aae53 100644 --- a/zt-framework/zt-spring-boot-starter-mybatis/src/main/java/com/zt/plat/framework/mybatis/config/ZtMybatisAutoConfiguration.java +++ b/zt-framework/zt-spring-boot-starter-mybatis/src/main/java/com/zt/plat/framework/mybatis/config/ZtMybatisAutoConfiguration.java @@ -1,9 +1,9 @@ package com.zt.plat.framework.mybatis.config; import cn.hutool.core.util.StrUtil; -import com.zt.plat.framework.mybatis.core.handler.DefaultDBFieldHandler; import com.baomidou.mybatisplus.annotation.DbType; import com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration; +import com.baomidou.mybatisplus.autoconfigure.MybatisPlusPropertiesCustomizer; import com.baomidou.mybatisplus.core.handlers.MetaObjectHandler; import com.baomidou.mybatisplus.core.incrementer.IKeyGenerator; import com.baomidou.mybatisplus.extension.incrementer.*; @@ -11,6 +11,8 @@ import com.baomidou.mybatisplus.extension.parser.JsqlParserGlobal; import com.baomidou.mybatisplus.extension.parser.cache.JdkSerialCaffeineJsqlParseCache; import com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor; import com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor; +import com.zt.plat.framework.mybatis.core.handler.DefaultDBFieldHandler; +import com.zt.plat.framework.mybatis.core.sum.PageSumTableFieldAnnotationHandler; import org.apache.ibatis.annotations.Mapper; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.autoconfigure.AutoConfiguration; @@ -25,29 +27,40 @@ import java.util.concurrent.TimeUnit; * * @author ZT */ -@AutoConfiguration(before = MybatisPlusAutoConfiguration.class) // 目的:先于 MyBatis Plus 自动配置,避免 @MapperScan 可能扫描不到 Mapper 打印 warn 日志 +@AutoConfiguration(before = MybatisPlusAutoConfiguration.class) // 先于官方自动配置,避免 Mapper 未扫描完成 @MapperScan(value = "${zt.info.base-package}", annotationClass = Mapper.class, - lazyInitialization = "${mybatis.lazy-initialization:false}") // Mapper 懒加载,目前仅用于单元测试 + lazyInitialization = "${mybatis.lazy-initialization:false}") // Mapper 懒加载,目前仅单测需要 public class ZtMybatisAutoConfiguration { static { - // 动态 SQL 智能优化支持本地缓存加速解析,更完善的租户复杂 XML 动态 SQL 支持,静态注入缓存 + // 使用本地缓存加速 JsqlParser 解析,复杂动态 SQL 性能更稳定 JsqlParserGlobal.setJsqlParseCache(new JdkSerialCaffeineJsqlParseCache( - (cache) -> cache.maximumSize(1024) - .expireAfterWrite(5, TimeUnit.SECONDS)) - ); + cache -> cache.maximumSize(1024).expireAfterWrite(5, TimeUnit.SECONDS))); } @Bean public MybatisPlusInterceptor mybatisPlusInterceptor() { - MybatisPlusInterceptor mybatisPlusInterceptor = new MybatisPlusInterceptor(); - mybatisPlusInterceptor.addInnerInterceptor(new PaginationInnerInterceptor()); // 分页插件 - return mybatisPlusInterceptor; + MybatisPlusInterceptor interceptor = new MybatisPlusInterceptor(); + interceptor.addInnerInterceptor(new PaginationInnerInterceptor()); // 分页插件 + return interceptor; } @Bean public MetaObjectHandler defaultMetaObjectHandler() { - return new DefaultDBFieldHandler(); // 自动填充参数类 + return new DefaultDBFieldHandler(); // 统一的公共字段填充 + } + + @Bean + public MybatisPlusPropertiesCustomizer pageSumAnnotationCustomizer() { + // 通过官方扩展点为 @PageSum 字段自动注入 exist = false 的 TableField 注解 + return properties -> { + var globalConfig = properties.getGlobalConfig(); + if (globalConfig == null) { + return; + } + globalConfig.setAnnotationHandler( + new PageSumTableFieldAnnotationHandler(globalConfig.getAnnotationHandler())); + }; } @Bean diff --git a/zt-framework/zt-spring-boot-starter-mybatis/src/main/java/com/zt/plat/framework/mybatis/core/mapper/BaseMapperX.java b/zt-framework/zt-spring-boot-starter-mybatis/src/main/java/com/zt/plat/framework/mybatis/core/mapper/BaseMapperX.java index 9512a900..3de8aa7b 100644 --- a/zt-framework/zt-spring-boot-starter-mybatis/src/main/java/com/zt/plat/framework/mybatis/core/mapper/BaseMapperX.java +++ b/zt-framework/zt-spring-boot-starter-mybatis/src/main/java/com/zt/plat/framework/mybatis/core/mapper/BaseMapperX.java @@ -1,6 +1,13 @@ package com.zt.plat.framework.mybatis.core.mapper; import cn.hutool.core.collection.CollUtil; +import com.zt.plat.framework.common.pojo.PageParam; +import com.zt.plat.framework.common.pojo.PageResult; +import com.zt.plat.framework.common.pojo.SortablePageParam; +import com.zt.plat.framework.common.pojo.SortingField; +import com.zt.plat.framework.mybatis.core.sum.PageSumSupport; +import com.zt.plat.framework.mybatis.core.util.JdbcUtils; +import com.zt.plat.framework.mybatis.core.util.MyBatisUtils; import com.baomidou.mybatisplus.annotation.DbType; import com.baomidou.mybatisplus.core.conditions.Wrapper; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; @@ -43,14 +50,18 @@ public interface BaseMapperX extends MPJBaseMapper { // 特殊:不分页,直接查询全部 if (PageParam.PAGE_SIZE_NONE.equals(pageParam.getPageSize())) { List list = selectList(queryWrapper); - return new PageResult<>(list, (long) list.size()); + PageResult pageResult = new PageResult<>(list, (long) list.size()); + PageSumSupport.tryAttachSummary(this, queryWrapper, pageResult); + return pageResult; } // MyBatis Plus 查询 IPage mpPage = MyBatisUtils.buildPage(pageParam, sortingFields); selectPage(mpPage, queryWrapper); // 转换返回 - return new PageResult<>(mpPage.getRecords(), mpPage.getTotal()); + PageResult pageResult = new PageResult<>(mpPage.getRecords(), mpPage.getTotal()); + PageSumSupport.tryAttachSummary(this, queryWrapper, pageResult); + return pageResult; } default PageResult selectJoinPage(PageParam pageParam, Class clazz, MPJLambdaWrapper lambdaWrapper) { diff --git a/zt-framework/zt-spring-boot-starter-mybatis/src/main/java/com/zt/plat/framework/mybatis/core/sum/PageSumFieldMeta.java b/zt-framework/zt-spring-boot-starter-mybatis/src/main/java/com/zt/plat/framework/mybatis/core/sum/PageSumFieldMeta.java new file mode 100644 index 00000000..8357b00d --- /dev/null +++ b/zt-framework/zt-spring-boot-starter-mybatis/src/main/java/com/zt/plat/framework/mybatis/core/sum/PageSumFieldMeta.java @@ -0,0 +1,76 @@ +package com.zt.plat.framework.mybatis.core.sum; + +import java.lang.reflect.Field; +import java.util.Objects; + +/** + * Metadata describing a field participating in page-level SUM aggregation. + */ +final class PageSumFieldMeta { + + private final String propertyName; + private final String columnExpression; + private final String selectAlias; + private final Class fieldType; + + PageSumFieldMeta(String propertyName, String columnExpression, String selectAlias, Class fieldType) { + this.propertyName = propertyName; + this.columnExpression = columnExpression; + this.selectAlias = selectAlias; + this.fieldType = fieldType; + } + + static PageSumFieldMeta of(Field field, String columnExpression) { + String property = field.getName(); + return new PageSumFieldMeta(property, columnExpression, property, field.getType()); + } + + String getPropertyName() { + return propertyName; + } + + String getColumnExpression() { + return columnExpression; + } + + String getSelectAlias() { + return selectAlias; + } + + Class getFieldType() { + return fieldType; + } + + String buildSelectSegment() { + return "SUM(" + columnExpression + ") AS " + selectAlias; + } + + @Override + public int hashCode() { + return Objects.hash(propertyName, columnExpression, selectAlias, fieldType); + } + + @Override + public boolean equals(Object obj) { + if (this == obj) { + return true; + } + if (!(obj instanceof PageSumFieldMeta other)) { + return false; + } + return Objects.equals(propertyName, other.propertyName) + && Objects.equals(columnExpression, other.columnExpression) + && Objects.equals(selectAlias, other.selectAlias) + && Objects.equals(fieldType, other.fieldType); + } + + @Override + public String toString() { + return "PageSumFieldMeta{" + + "propertyName='" + propertyName + '\'' + + ", columnExpression='" + columnExpression + '\'' + + ", selectAlias='" + selectAlias + '\'' + + ", fieldType=" + fieldType + + '}'; + } +} diff --git a/zt-framework/zt-spring-boot-starter-mybatis/src/main/java/com/zt/plat/framework/mybatis/core/sum/PageSumSupport.java b/zt-framework/zt-spring-boot-starter-mybatis/src/main/java/com/zt/plat/framework/mybatis/core/sum/PageSumSupport.java new file mode 100644 index 00000000..a2ad25f8 --- /dev/null +++ b/zt-framework/zt-spring-boot-starter-mybatis/src/main/java/com/zt/plat/framework/mybatis/core/sum/PageSumSupport.java @@ -0,0 +1,341 @@ +package com.zt.plat.framework.mybatis.core.sum; + +import cn.hutool.core.util.StrUtil; +import com.baomidou.mybatisplus.core.conditions.Wrapper; +import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.baomidou.mybatisplus.core.metadata.TableFieldInfo; +import com.baomidou.mybatisplus.core.metadata.TableInfo; +import com.baomidou.mybatisplus.core.metadata.TableInfoHelper; +import com.zt.plat.framework.common.annotation.PageSum; +import com.zt.plat.framework.common.pojo.PageResult; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import java.lang.reflect.Field; +import java.lang.reflect.ParameterizedType; +import java.lang.reflect.Type; +import java.math.BigDecimal; +import java.math.BigInteger; +import java.util.ArrayList; +import java.util.Collections; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.concurrent.ConcurrentHashMap; +import java.util.concurrent.ConcurrentMap; + +/** + * Utility that inspects {@link PageSum} annotations and attaches aggregated SUM results to {@link PageResult}. + */ +public final class PageSumSupport { + + private static final Logger LOGGER = LoggerFactory.getLogger(PageSumSupport.class); + + private static final ConcurrentMap, Optional>> ENTITY_CLASS_CACHE = new ConcurrentHashMap<>(); + private static final ConcurrentMap, List> FIELD_META_CACHE = new ConcurrentHashMap<>(); + private static final ConcurrentMap, Optional> SQL_SELECT_FIELD_CACHE = new ConcurrentHashMap<>(); + + private PageSumSupport() { + } + + public static void tryAttachSummary(Object mapperProxy, Wrapper wrapper, PageResult pageResult) { + if (mapperProxy == null || pageResult == null) { + return; + } + Class entityClass = resolveEntityClass(mapperProxy.getClass()); + if (entityClass == null) { + return; + } + List fieldMetas = resolveFieldMetas(entityClass); + if (fieldMetas.isEmpty()) { + return; + } + Map summary = executeSum((BaseMapper) mapperProxy, wrapper, fieldMetas); + if (!summary.isEmpty()) { + pageResult.setSummary(summary); + } + } + + private static Class resolveEntityClass(Class mapperProxyClass) { + return ENTITY_CLASS_CACHE.computeIfAbsent(mapperProxyClass, PageSumSupport::extractEntityClass) + .orElse(null); + } + + private static Optional> extractEntityClass(Class mapperProxyClass) { + Class[] interfaces = mapperProxyClass.getInterfaces(); + for (Class iface : interfaces) { + Class entityClass = extractEntityClassFromInterface(iface); + if (entityClass != null) { + return Optional.of(entityClass); + } + } + return Optional.empty(); + } + + private static Class extractEntityClassFromInterface(Class interfaceClass) { + if (interfaceClass == null || interfaceClass == Object.class) { + return null; + } + // inspect direct generic interfaces + for (Type type : interfaceClass.getGenericInterfaces()) { + Class resolved = resolveFromType(type); + if (resolved != null) { + return resolved; + } + } + // fallback to parent interfaces recursively + for (Class parent : interfaceClass.getInterfaces()) { + Class resolved = extractEntityClassFromInterface(parent); + if (resolved != null) { + return resolved; + } + } + // handle generic super class (rare for interfaces but keep for completeness) + return resolveFromType(interfaceClass.getGenericSuperclass()); + } + + private static Class resolveFromType(Type type) { + if (type == null) { + return null; + } + if (type instanceof ParameterizedType parameterizedType) { + Type raw = parameterizedType.getRawType(); + if (raw instanceof Class rawClass) { + if (BaseMapper.class.isAssignableFrom(rawClass)) { + Type[] actualTypes = parameterizedType.getActualTypeArguments(); + if (actualTypes.length > 0) { + Type actual = actualTypes[0]; + return toClass(actual); + } + } + Class resolved = extractEntityClassFromInterface(rawClass); + if (resolved != null) { + return resolved; + } + } + for (Type actual : parameterizedType.getActualTypeArguments()) { + Class resolved = resolveFromType(actual); + if (resolved != null) { + return resolved; + } + } + } else if (type instanceof Class clazz) { + return extractEntityClassFromInterface(clazz); + } + return null; + } + + private static Class toClass(Type type) { + if (type instanceof Class clazz) { + return clazz; + } + if (type instanceof ParameterizedType parameterizedType) { + Type raw = parameterizedType.getRawType(); + if (raw instanceof Class) { + return (Class) raw; + } + } + return null; + } + + private static List resolveFieldMetas(Class entityClass) { + return FIELD_META_CACHE.computeIfAbsent(entityClass, PageSumSupport::scanFieldMetas); + } + + private static List scanFieldMetas(Class entityClass) { + TableInfo tableInfo = TableInfoHelper.getTableInfo(entityClass); + if (tableInfo == null) { + LOGGER.debug("No TableInfo found for entity {}, falling back to annotation provided column expressions.", + entityClass.getName()); + } + Map propertyColumnMap = tableInfo != null + ? buildPropertyColumnMap(tableInfo) + : Collections.emptyMap(); + List metas = new ArrayList<>(); + Class current = entityClass; + while (current != null && current != Object.class) { + Field[] fields = current.getDeclaredFields(); + for (Field field : fields) { + PageSum annotation = field.getAnnotation(PageSum.class); + if (annotation == null) { + continue; + } + if (!isNumeric(field.getType())) { + LOGGER.warn("Field {}.{} annotated with @PageSum is not numeric and will be ignored.", + entityClass.getSimpleName(), field.getName()); + continue; + } + String columnExpression = resolveColumnExpression(annotation, field, propertyColumnMap); + if (StrUtil.isBlank(columnExpression)) { + LOGGER.warn("Unable to resolve column for field {}.{} with @PageSum, skipping.", + entityClass.getSimpleName(), field.getName()); + continue; + } + metas.add(PageSumFieldMeta.of(field, columnExpression)); + } + current = current.getSuperclass(); + } + return metas.isEmpty() ? Collections.emptyList() : Collections.unmodifiableList(metas); + } + + private static Map buildPropertyColumnMap(TableInfo tableInfo) { + Map mapping = new LinkedHashMap<>(); + if (StrUtil.isNotBlank(tableInfo.getKeyProperty()) && StrUtil.isNotBlank(tableInfo.getKeyColumn())) { + mapping.put(tableInfo.getKeyProperty(), tableInfo.getKeyColumn()); + } + for (TableFieldInfo fieldInfo : tableInfo.getFieldList()) { + mapping.put(fieldInfo.getProperty(), fieldInfo.getColumn()); + } + return mapping; + } + + private static String resolveColumnExpression(PageSum annotation, Field field, Map propertyColumnMap) { + if (StrUtil.isNotBlank(annotation.column())) { + return annotation.column(); + } + return propertyColumnMap.get(field.getName()); + } + + private static boolean isNumeric(Class type) { + if (type.isPrimitive()) { + return type == int.class || type == long.class || type == double.class + || type == float.class || type == short.class || type == byte.class; + } + return Number.class.isAssignableFrom(type) || BigDecimal.class.isAssignableFrom(type) + || BigInteger.class.isAssignableFrom(type); + } + + private static Map executeSum(BaseMapper mapper, Wrapper wrapper, List metas) { + if (metas.isEmpty()) { + return Collections.emptyMap(); + } + Wrapper workingWrapper = cloneWrapper(wrapper); + applySelect(workingWrapper, metas); + List> rows = mapper.selectMaps(workingWrapper); + Map result = new LinkedHashMap<>(metas.size()); + Map row = rows.isEmpty() ? Collections.emptyMap() : rows.get(0); + for (PageSumFieldMeta meta : metas) { + Object value = extractValue(row, meta.getSelectAlias()); + result.put(meta.getPropertyName(), toBigDecimal(value)); + } + return result; + } + + private static Wrapper cloneWrapper(Wrapper wrapper) { + if (wrapper == null) { + return new QueryWrapper<>(); + } + if (wrapper instanceof com.baomidou.mybatisplus.core.conditions.AbstractWrapper abstractWrapper) { + @SuppressWarnings("unchecked") + Wrapper clone = (Wrapper) abstractWrapper.clone(); + return clone; + } + return wrapper; + } + + private static void applySelect(Wrapper wrapper, List metas) { + String selectSql = buildSelectSql(metas); + if (wrapper instanceof QueryWrapper queryWrapper) { + queryWrapper.select(selectSql); + return; + } + if (wrapper instanceof LambdaQueryWrapper lambdaQueryWrapper) { + setSqlSelect(lambdaQueryWrapper, selectSql); + return; + } + // attempt reflective fallback for other wrapper implementations extending LambdaQueryWrapper + setSqlSelect(wrapper, selectSql); + } + + private static String buildSelectSql(List metas) { + StringBuilder builder = new StringBuilder(); + for (int i = 0; i < metas.size(); i++) { + if (i > 0) { + builder.append(','); + } + builder.append(metas.get(i).buildSelectSegment()); + } + return builder.toString(); + } + + private static void setSqlSelect(Object wrapper, String selectSql) { + Field field = SQL_SELECT_FIELD_CACHE.computeIfAbsent(wrapper.getClass(), PageSumSupport::locateSqlSelectField) + .orElse(null); + if (field == null) { + LOGGER.debug("Unable to locate sqlSelect field on wrapper {}, summary aggregation skipped.", + wrapper.getClass().getName()); + return; + } + try { + com.baomidou.mybatisplus.core.conditions.SharedString shared = (com.baomidou.mybatisplus.core.conditions.SharedString) field.get(wrapper); + if (shared == null) { + shared = com.baomidou.mybatisplus.core.conditions.SharedString.emptyString(); + field.set(wrapper, shared); + } + shared.setStringValue(selectSql); + } catch (IllegalAccessException ex) { + LOGGER.warn("Failed to set sqlSelect on wrapper {}: {}", wrapper.getClass().getName(), ex.getMessage()); + } + } + + private static Optional locateSqlSelectField(Class wrapperClass) { + Class current = wrapperClass; + while (current != null && current != Object.class) { + try { + Field field = current.getDeclaredField("sqlSelect"); + field.setAccessible(true); + return Optional.of(field); + } catch (NoSuchFieldException ignored) { + current = current.getSuperclass(); + } + } + return Optional.empty(); + } + + private static Object extractValue(Map row, String alias) { + if (row == null || row.isEmpty()) { + return null; + } + if (row.containsKey(alias)) { + return row.get(alias); + } + for (Map.Entry entry : row.entrySet()) { + if (alias.equalsIgnoreCase(entry.getKey())) { + return entry.getValue(); + } + } + return null; + } + + private static BigDecimal toBigDecimal(Object value) { + if (value == null) { + return BigDecimal.ZERO; + } + if (value instanceof BigDecimal decimal) { + return decimal; + } + if (value instanceof BigInteger bigInteger) { + return new BigDecimal(bigInteger); + } + if (value instanceof Number number) { + return new BigDecimal(number.toString()); + } + if (value instanceof CharSequence sequence) { + String text = sequence.toString().trim(); + if (text.isEmpty()) { + return BigDecimal.ZERO; + } + try { + return new BigDecimal(text); + } catch (NumberFormatException ex) { + LOGGER.warn("Unable to parse numeric summary value '{}': {}", text, ex.getMessage()); + return BigDecimal.ZERO; + } + } + LOGGER.warn("Unsupported summary value type: {}", value.getClass().getName()); + return BigDecimal.ZERO; + } +} diff --git a/zt-framework/zt-spring-boot-starter-mybatis/src/main/java/com/zt/plat/framework/mybatis/core/sum/PageSumTableFieldAnnotationHandler.java b/zt-framework/zt-spring-boot-starter-mybatis/src/main/java/com/zt/plat/framework/mybatis/core/sum/PageSumTableFieldAnnotationHandler.java new file mode 100644 index 00000000..b8037837 --- /dev/null +++ b/zt-framework/zt-spring-boot-starter-mybatis/src/main/java/com/zt/plat/framework/mybatis/core/sum/PageSumTableFieldAnnotationHandler.java @@ -0,0 +1,79 @@ +package com.zt.plat.framework.mybatis.core.sum; + +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.core.handlers.AnnotationHandler; +import com.zt.plat.framework.common.annotation.PageSum; +import org.springframework.core.annotation.AnnotationUtils; + +import java.lang.annotation.Annotation; +import java.lang.reflect.Field; +import java.util.Collections; +import java.util.Map; + +/** + * 让 {@link PageSum#exist()} 能够自动生成 {@link TableField#exist()} = false 的能力, + * 这样 DO 层无需重复编写 {@code @TableField(exist = false)}。 + */ +public class PageSumTableFieldAnnotationHandler implements AnnotationHandler { + + private static final AnnotationHandler DEFAULT_HANDLER = new AnnotationHandler() { }; + /** 预构建 @TableField(exist = false) 的属性集合,避免重复创建 Map 对象 */ + private static final Map TABLE_FIELD_EXIST_FALSE_ATTRIBUTES = + Collections.singletonMap("exist", Boolean.FALSE); + + private final AnnotationHandler delegate; + + public PageSumTableFieldAnnotationHandler(AnnotationHandler delegate) { + this.delegate = delegate != null ? delegate : DEFAULT_HANDLER; + } + + @Override + public T getAnnotation(Class target, Class annotationClass) { + return delegate.getAnnotation(target, annotationClass); + } + + @Override + public boolean isAnnotationPresent(Class target, Class annotationClass) { + return delegate.isAnnotationPresent(target, annotationClass); + } + + @Override + public T getAnnotation(java.lang.reflect.Method method, Class annotationClass) { + return delegate.getAnnotation(method, annotationClass); + } + + @Override + public boolean isAnnotationPresent(java.lang.reflect.Method method, Class annotationClass) { + return delegate.isAnnotationPresent(method, annotationClass); + } + + @Override + public T getAnnotation(Field field, Class annotationClass) { + T annotation = delegate.getAnnotation(field, annotationClass); + if (annotation != null || annotationClass != TableField.class) { + return annotation; + } + PageSum pageSum = delegate.getAnnotation(field, PageSum.class); + if (pageSum != null && !pageSum.exist()) { + // 当字段只用于分页汇总时,动态合成一个 exist = false 的 TableField 注解 + return annotationClass.cast(synthesizeTableField(field)); + } + return null; + } + + @Override + public boolean isAnnotationPresent(Field field, Class annotationClass) { + if (delegate.isAnnotationPresent(field, annotationClass)) { + return true; + } + if (annotationClass != TableField.class) { + return false; + } + PageSum pageSum = delegate.getAnnotation(field, PageSum.class); + return pageSum != null && !pageSum.exist(); + } + + private static TableField synthesizeTableField(Field field) { + return AnnotationUtils.synthesizeAnnotation(TABLE_FIELD_EXIST_FALSE_ATTRIBUTES, TableField.class, field); + } +} diff --git a/zt-framework/zt-spring-boot-starter-mybatis/src/test/java/com/zt/plat/framework/mybatis/core/sum/PageSumSupportTest.java b/zt-framework/zt-spring-boot-starter-mybatis/src/test/java/com/zt/plat/framework/mybatis/core/sum/PageSumSupportTest.java new file mode 100644 index 00000000..4e8058c0 --- /dev/null +++ b/zt-framework/zt-spring-boot-starter-mybatis/src/test/java/com/zt/plat/framework/mybatis/core/sum/PageSumSupportTest.java @@ -0,0 +1,68 @@ +package com.zt.plat.framework.mybatis.core.sum; + +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.zt.plat.framework.common.annotation.PageSum; +import com.zt.plat.framework.common.pojo.PageResult; +import com.zt.plat.framework.mybatis.core.mapper.BaseMapperX; +import org.junit.jupiter.api.Test; + +import java.lang.reflect.InvocationHandler; +import java.lang.reflect.Method; +import java.lang.reflect.Proxy; +import java.math.BigDecimal; +import java.util.Collections; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertFalse; + +class PageSumSupportTest { + + @Test + void shouldAttachSummaryWhenAnnotationPresent() { + TestMapper mapper = createMapperProxy(); + PageResult pageResult = new PageResult<>(Collections.emptyList(), 0L); + QueryWrapper wrapper = new QueryWrapper<>(); + + PageSumSupport.tryAttachSummary(mapper, wrapper, pageResult); + + assertFalse(pageResult.getSummary().isEmpty()); + assertEquals(new BigDecimal("123.45"), pageResult.getSummary().get("amount")); + assertEquals(new BigDecimal("50"), pageResult.getSummary().get("virtualAmount")); + } + + private TestMapper createMapperProxy() { + InvocationHandler handler = new InvocationHandler() { + @Override + public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { + if (method.getDeclaringClass() == Object.class) { + return method.invoke(this, args); + } + if ("selectMaps".equals(method.getName())) { + Map row = new HashMap<>(); + row.put("amount", new BigDecimal("123.45")); + row.put("virtualAmount", new BigDecimal("50")); + return List.of(row); + } + return Collections.emptyList(); + } + }; + return (TestMapper) Proxy.newProxyInstance( + TestMapper.class.getClassLoader(), + new Class[]{TestMapper.class}, + handler); + } + + interface TestMapper extends BaseMapperX { + } + + static class TestEntity { + @PageSum(column = "amount") + private BigDecimal amount; + + @PageSum(column = "virtual_column", exist = false) + private BigDecimal virtualAmount; + } +} diff --git a/zt-module-databus/zt-module-databus-server/src/main/java/com/zt/plat/module/databus/controller/admin/gateway/ApiAccessLogController.java b/zt-module-databus/zt-module-databus-server/src/main/java/com/zt/plat/module/databus/controller/admin/gateway/ApiAccessLogController.java index 6f7d93fa..f3650534 100644 --- a/zt-module-databus/zt-module-databus-server/src/main/java/com/zt/plat/module/databus/controller/admin/gateway/ApiAccessLogController.java +++ b/zt-module-databus/zt-module-databus-server/src/main/java/com/zt/plat/module/databus/controller/admin/gateway/ApiAccessLogController.java @@ -7,17 +7,23 @@ import com.zt.plat.module.databus.controller.admin.gateway.vo.accesslog.ApiAcces import com.zt.plat.module.databus.controller.admin.gateway.vo.accesslog.ApiAccessLogRespVO; import com.zt.plat.module.databus.dal.dataobject.gateway.ApiAccessLogDO; import com.zt.plat.module.databus.service.gateway.ApiAccessLogService; +import com.zt.plat.module.databus.service.gateway.ApiDefinitionService; import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Parameter; import io.swagger.v3.oas.annotations.tags.Tag; import jakarta.annotation.Resource; import jakarta.validation.Valid; import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.util.CollectionUtils; +import org.springframework.util.StringUtils; import org.springframework.validation.annotation.Validated; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; +import java.util.HashMap; +import java.util.List; +import java.util.Map; import static com.zt.plat.framework.common.pojo.CommonResult.success; @@ -33,13 +39,18 @@ public class ApiAccessLogController { @Resource private ApiAccessLogService apiAccessLogService; + @Resource + private ApiDefinitionService apiDefinitionService; + @GetMapping("/get") @Operation(summary = "获取访问日志详情") @Parameter(name = "id", description = "日志编号", required = true, example = "1024") @PreAuthorize("@ss.hasPermission('databus:gateway:access-log:query')") public CommonResult get(@RequestParam("id") Long id) { ApiAccessLogDO logDO = apiAccessLogService.get(id); - return success(ApiAccessLogConvert.INSTANCE.convert(logDO)); + ApiAccessLogRespVO respVO = ApiAccessLogConvert.INSTANCE.convert(logDO); + enrichDefinitionInfo(respVO); + return success(respVO); } @GetMapping("/page") @@ -47,6 +58,51 @@ public class ApiAccessLogController { @PreAuthorize("@ss.hasPermission('databus:gateway:access-log:query')") public CommonResult> page(@Valid ApiAccessLogPageReqVO pageReqVO) { PageResult pageResult = apiAccessLogService.getPage(pageReqVO); - return success(ApiAccessLogConvert.INSTANCE.convertPage(pageResult)); + PageResult result = ApiAccessLogConvert.INSTANCE.convertPage(pageResult); + enrichDefinitionInfo(result.getList()); + return success(result); + } + + private void enrichDefinitionInfo(List list) { + // 对分页结果批量补充 API 描述,使用本地缓存减少重复查询 + if (CollectionUtils.isEmpty(list)) { + return; + } + Map cache = new HashMap<>(list.size()); + list.forEach(item -> { + if (item == null) { + return; + } + String cacheKey = buildCacheKey(item.getApiCode(), item.getApiVersion()); + if (!cache.containsKey(cacheKey)) { + cache.put(cacheKey, resolveApiDescription(item.getApiCode(), item.getApiVersion())); + } + item.setApiDescription(cache.get(cacheKey)); + }); + } + + private void enrichDefinitionInfo(ApiAccessLogRespVO item) { + // 单条数据同样需要补全描述信息 + if (item == null) { + return; + } + item.setApiDescription(resolveApiDescription(item.getApiCode(), item.getApiVersion())); + } + + private String resolveApiDescription(String apiCode, String apiVersion) { + if (!StringUtils.hasText(apiCode)) { + return null; + } + String normalizedVersion = StringUtils.hasText(apiVersion) ? apiVersion.trim() : apiVersion; + // 通过网关定义服务补全 API 描述,提升页面可读性 + return apiDefinitionService.findByCodeAndVersionIncludingInactive(apiCode, normalizedVersion) + .map(aggregate -> aggregate.getDefinition() != null ? aggregate.getDefinition().getDescription() : null) + .filter(StringUtils::hasText) + .orElse(null); + } + + private String buildCacheKey(String apiCode, String apiVersion) { + // 组合唯一键,避免重复查询相同的 API 描述 + return (apiCode == null ? "" : apiCode) + "#" + (apiVersion == null ? "" : apiVersion); } } diff --git a/zt-module-databus/zt-module-databus-server/src/main/java/com/zt/plat/module/databus/controller/admin/gateway/convert/ApiAccessLogConvert.java b/zt-module-databus/zt-module-databus-server/src/main/java/com/zt/plat/module/databus/controller/admin/gateway/convert/ApiAccessLogConvert.java index 23cb9e94..442a212b 100644 --- a/zt-module-databus/zt-module-databus-server/src/main/java/com/zt/plat/module/databus/controller/admin/gateway/convert/ApiAccessLogConvert.java +++ b/zt-module-databus/zt-module-databus-server/src/main/java/com/zt/plat/module/databus/controller/admin/gateway/convert/ApiAccessLogConvert.java @@ -4,7 +4,9 @@ import com.zt.plat.framework.common.pojo.PageResult; import com.zt.plat.module.databus.controller.admin.gateway.vo.accesslog.ApiAccessLogRespVO; import com.zt.plat.module.databus.dal.dataobject.gateway.ApiAccessLogDO; import org.mapstruct.Mapper; +import org.mapstruct.Mapping; import org.mapstruct.factory.Mappers; +import org.springframework.http.HttpStatus; import java.util.List; @@ -13,6 +15,8 @@ public interface ApiAccessLogConvert { ApiAccessLogConvert INSTANCE = Mappers.getMapper(ApiAccessLogConvert.class); + @Mapping(target = "statusDesc", expression = "java(statusDesc(bean.getStatus()))") + @Mapping(target = "responseStatusText", expression = "java(resolveHttpStatusText(bean.getResponseStatus()))") ApiAccessLogRespVO convert(ApiAccessLogDO bean); List convertList(List list); @@ -26,4 +30,26 @@ public interface ApiAccessLogConvert { result.setTotal(page.getTotal()); return result; } + + default String statusDesc(Integer status) { + // 将数字状态码转换为中文描述,方便前端直接展示 + if (status == null) { + return "未知"; + } + return switch (status) { + case 0 -> "成功"; + case 1 -> "客户端错误"; + case 2 -> "服务端错误"; + default -> "未知"; + }; + } + + default String resolveHttpStatusText(Integer status) { + // 统一使用 Spring 的 HttpStatus 解析出标准文案 + if (status == null) { + return null; + } + HttpStatus resolved = HttpStatus.resolve(status); + return resolved != null ? resolved.getReasonPhrase() : null; + } } diff --git a/zt-module-databus/zt-module-databus-server/src/main/java/com/zt/plat/module/databus/controller/admin/gateway/vo/accesslog/ApiAccessLogRespVO.java b/zt-module-databus/zt-module-databus-server/src/main/java/com/zt/plat/module/databus/controller/admin/gateway/vo/accesslog/ApiAccessLogRespVO.java index 254bcc1e..00126a9a 100644 --- a/zt-module-databus/zt-module-databus-server/src/main/java/com/zt/plat/module/databus/controller/admin/gateway/vo/accesslog/ApiAccessLogRespVO.java +++ b/zt-module-databus/zt-module-databus-server/src/main/java/com/zt/plat/module/databus/controller/admin/gateway/vo/accesslog/ApiAccessLogRespVO.java @@ -21,6 +21,9 @@ public class ApiAccessLogRespVO { @Schema(description = "API 编码", example = "user.query") private String apiCode; + @Schema(description = "API 描述", example = "用户查询服务") + private String apiDescription; + @Schema(description = "API 版本", example = "v1") private String apiVersion; @@ -42,6 +45,9 @@ public class ApiAccessLogRespVO { @Schema(description = "响应 HTTP 状态", example = "200") private Integer responseStatus; + @Schema(description = "响应 HTTP 状态说明", example = "OK") + private String responseStatusText; + @Schema(description = "响应提示", example = "OK") private String responseMessage; @@ -51,6 +57,9 @@ public class ApiAccessLogRespVO { @Schema(description = "访问状态", example = "0") private Integer status; + @Schema(description = "访问状态展示文案", example = "成功") + private String statusDesc; + @Schema(description = "错误码", example = "DAT-001") private String errorCode; diff --git a/zt-module-databus/zt-module-databus-server/src/main/java/com/zt/plat/module/databus/dal/dataobject/gateway/ApiAccessLogDO.java b/zt-module-databus/zt-module-databus-server/src/main/java/com/zt/plat/module/databus/dal/dataobject/gateway/ApiAccessLogDO.java index 9341a211..f6ab6f90 100644 --- a/zt-module-databus/zt-module-databus-server/src/main/java/com/zt/plat/module/databus/dal/dataobject/gateway/ApiAccessLogDO.java +++ b/zt-module-databus/zt-module-databus-server/src/main/java/com/zt/plat/module/databus/dal/dataobject/gateway/ApiAccessLogDO.java @@ -28,7 +28,7 @@ public class ApiAccessLogDO extends TenantBaseDO { private Long id; /** - * 请求追踪标识,对应 {@link com.zt.plat.module.databus.framework.integration.gateway.model.ApiInvocationContext#getRequestId()} + * 请求追踪标识,对应 {@link com.zt.plat.framework.common.util.monitor.TracerUtils#getTraceId()} */ private String traceId; diff --git a/zt-module-databus/zt-module-databus-server/src/main/java/com/zt/plat/module/databus/framework/integration/gateway/core/ApiGatewayAccessLogger.java b/zt-module-databus/zt-module-databus-server/src/main/java/com/zt/plat/module/databus/framework/integration/gateway/core/ApiGatewayAccessLogger.java index 56cd6f2d..8528c16d 100644 --- a/zt-module-databus/zt-module-databus-server/src/main/java/com/zt/plat/module/databus/framework/integration/gateway/core/ApiGatewayAccessLogger.java +++ b/zt-module-databus/zt-module-databus-server/src/main/java/com/zt/plat/module/databus/framework/integration/gateway/core/ApiGatewayAccessLogger.java @@ -2,12 +2,14 @@ package com.zt.plat.module.databus.framework.integration.gateway.core; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; +import com.zt.plat.framework.common.util.monitor.TracerUtils; import com.zt.plat.module.databus.dal.dataobject.gateway.ApiAccessLogDO; import com.zt.plat.module.databus.framework.integration.gateway.model.ApiInvocationContext; import com.zt.plat.module.databus.service.gateway.ApiAccessLogService; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.springframework.http.HttpHeaders; +import org.springframework.http.HttpStatus; import org.springframework.stereotype.Component; import org.springframework.util.CollectionUtils; import org.springframework.util.StringUtils; @@ -42,8 +44,9 @@ public class ApiGatewayAccessLogger { */ public void onRequest(ApiInvocationContext context) { try { + String traceId = TracerUtils.getTraceId(); ApiAccessLogDO logDO = new ApiAccessLogDO(); - logDO.setTraceId(context.getRequestId()); + logDO.setTraceId(traceId); logDO.setApiCode(context.getApiCode()); logDO.setApiVersion(context.getApiVersion()); logDO.setRequestMethod(context.getHttpMethod()); @@ -60,7 +63,7 @@ public class ApiGatewayAccessLogger { Long logId = apiAccessLogService.create(logDO); context.getAttributes().put(ATTR_LOG_ID, logId); } catch (Exception ex) { - log.warn("记录 API 访问日志开始阶段失败, traceId={}", context.getRequestId(), ex); + log.warn("记录 API 访问日志开始阶段失败, traceId={}", TracerUtils.getTraceId(), ex); } } @@ -85,12 +88,18 @@ public class ApiGatewayAccessLogger { try { ApiAccessLogDO update = new ApiAccessLogDO(); update.setId(logId); - update.setResponseStatus(context.getResponseStatus()); - update.setResponseMessage(context.getResponseMessage()); + int responseStatus = resolveHttpStatus(context); + context.setResponseStatus(responseStatus); + update.setResponseStatus(responseStatus); + String responseMessage = resolveResponseMessage(context, responseStatus); + update.setResponseMessage(responseMessage); + if (!StringUtils.hasText(context.getResponseMessage()) && StringUtils.hasText(responseMessage)) { + context.setResponseMessage(responseMessage); + } update.setResponseBody(toJson(context.getResponseBody())); - update.setStatus(resolveStatus(context.getResponseStatus())); - update.setErrorCode(extractErrorCode(context.getResponseBody())); - update.setErrorMessage(resolveErrorMessage(context)); + update.setStatus(resolveStatus(responseStatus)); + update.setErrorCode(extractErrorCode(context.getResponseBody(), responseStatus)); + update.setErrorMessage(resolveErrorMessage(context, responseStatus)); update.setExceptionStack((String) context.getAttributes().get(ATTR_EXCEPTION_STACK)); update.setStepResults(toJson(context.getStepResults())); update.setExtra(toJson(buildExtra(context))); @@ -98,7 +107,7 @@ public class ApiGatewayAccessLogger { update.setDuration(calculateDuration(context)); apiAccessLogService.update(update); } catch (Exception ex) { - log.warn("记录 API 访问日志结束阶段失败, traceId={}, logId={}", context.getRequestId(), logId, ex); + log.warn("记录 API 访问日志结束阶段失败, traceId={}, logId={}", TracerUtils.getTraceId(), logId, ex); } } @@ -137,7 +146,10 @@ public class ApiGatewayAccessLogger { return 3; } - private String resolveErrorMessage(ApiInvocationContext context) { + private String resolveErrorMessage(ApiInvocationContext context, int responseStatus) { + if (!isErrorStatus(responseStatus)) { + return null; + } if (StringUtils.hasText(context.getResponseMessage())) { return truncate(context.getResponseMessage()); } @@ -151,7 +163,10 @@ public class ApiGatewayAccessLogger { return null; } - private String extractErrorCode(Object responseBody) { + private String extractErrorCode(Object responseBody, int responseStatus) { + if (!isErrorStatus(responseStatus)) { + return null; + } if (responseBody instanceof Map map) { Object errorCode = firstNonNull(map.get("errorCode"), map.get("code")); return errorCode == null ? null : truncate(String.valueOf(errorCode)); @@ -159,6 +174,27 @@ public class ApiGatewayAccessLogger { return null; } + private int resolveHttpStatus(ApiInvocationContext context) { + Integer status = context.getResponseStatus(); + if (status != null) { + return status; + } + // 默认兜底为 200,避免日志中出现空的 HTTP 状态码 + return HttpStatus.OK.value(); + } + + private String resolveResponseMessage(ApiInvocationContext context, int responseStatus) { + if (StringUtils.hasText(context.getResponseMessage())) { + return truncate(context.getResponseMessage()); + } + HttpStatus resolved = HttpStatus.resolve(responseStatus); + return resolved != null ? resolved.getReasonPhrase() : null; + } + + private boolean isErrorStatus(int responseStatus) { + return responseStatus >= 400; + } + private Map buildExtra(ApiInvocationContext context) { Map extra = new HashMap<>(); if (!CollectionUtils.isEmpty(context.getVariables())) { diff --git a/zt-module-databus/zt-module-databus-server/src/main/java/com/zt/plat/module/databus/framework/integration/gateway/core/ApiGatewayExecutionService.java b/zt-module-databus/zt-module-databus-server/src/main/java/com/zt/plat/module/databus/framework/integration/gateway/core/ApiGatewayExecutionService.java index f84e5fdc..8f442153 100644 --- a/zt-module-databus/zt-module-databus-server/src/main/java/com/zt/plat/module/databus/framework/integration/gateway/core/ApiGatewayExecutionService.java +++ b/zt-module-databus/zt-module-databus-server/src/main/java/com/zt/plat/module/databus/framework/integration/gateway/core/ApiGatewayExecutionService.java @@ -4,6 +4,7 @@ import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import com.zt.plat.framework.common.exception.ServiceException; import com.zt.plat.framework.common.exception.util.ServiceExceptionUtil; +import com.zt.plat.framework.common.util.monitor.TracerUtils; import com.zt.plat.module.databus.controller.admin.gateway.vo.ApiGatewayInvokeReqVO; import com.zt.plat.module.databus.framework.integration.config.ApiGatewayProperties; import com.zt.plat.module.databus.framework.integration.gateway.domain.ApiDefinitionAggregate; @@ -236,12 +237,12 @@ public class ApiGatewayExecutionService { String message = StringUtils.hasText(context.getResponseMessage()) ? context.getResponseMessage() : HttpStatus.valueOf(status).getReasonPhrase(); - return ApiGatewayResponse.builder() + return ApiGatewayResponse.builder() .code(status) - .message(message) - .response(context.getResponseBody()) - .traceId(context.getRequestId()) - .build(); + .message(message) + .response(context.getResponseBody()) + .traceId(TracerUtils.getTraceId()) + .build(); } private String normalizeBasePath(String basePath) { diff --git a/zt-module-databus/zt-module-databus-server/src/main/java/com/zt/plat/module/databus/framework/integration/gateway/security/GatewaySecurityFilter.java b/zt-module-databus/zt-module-databus-server/src/main/java/com/zt/plat/module/databus/framework/integration/gateway/security/GatewaySecurityFilter.java index a437c1d3..81e19c6a 100644 --- a/zt-module-databus/zt-module-databus-server/src/main/java/com/zt/plat/module/databus/framework/integration/gateway/security/GatewaySecurityFilter.java +++ b/zt-module-databus/zt-module-databus-server/src/main/java/com/zt/plat/module/databus/framework/integration/gateway/security/GatewaySecurityFilter.java @@ -4,6 +4,7 @@ import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import com.zt.plat.framework.common.util.json.JsonUtils; +import com.zt.plat.framework.common.util.monitor.TracerUtils; import com.zt.plat.framework.common.util.security.CryptoSignatureUtils; import com.zt.plat.framework.common.util.servlet.ServletUtils; import com.zt.plat.framework.security.core.LoginUser; @@ -464,11 +465,12 @@ public class GatewaySecurityFilter extends OncePerRequestFilter { response.resetBuffer(); response.setStatus(status.value()); String resolvedMessage = StringUtils.hasText(message) ? message : status.getReasonPhrase(); - ApiGatewayResponse envelope = ApiGatewayResponse.builder() + String traceId = TracerUtils.getTraceId(); + ApiGatewayResponse envelope = ApiGatewayResponse.builder() .code(status.value()) .message(resolvedMessage) .response(null) - .traceId(null) + .traceId(traceId) .build(); if (shouldEncryptErrorResponse(security, credential)) { String encryptionKey = credential.getEncryptionKey(); diff --git a/zt-module-databus/zt-module-databus-server/src/test/java/com/zt/plat/module/databus/framework/integration/gateway/step/impl/HttpStepHandlerConnectionResetScenarioTest.java b/zt-module-databus/zt-module-databus-server/src/test/java/com/zt/plat/module/databus/framework/integration/gateway/step/impl/HttpStepHandlerConnectionResetScenarioTest.java new file mode 100644 index 00000000..854c7122 --- /dev/null +++ b/zt-module-databus/zt-module-databus-server/src/test/java/com/zt/plat/module/databus/framework/integration/gateway/step/impl/HttpStepHandlerConnectionResetScenarioTest.java @@ -0,0 +1,360 @@ +package com.zt.plat.module.databus.framework.integration.gateway.step.impl; + +import com.zt.plat.framework.common.exception.ServiceException; +import org.junit.jupiter.api.Test; +import org.springframework.http.MediaType; +import org.springframework.http.client.reactive.ReactorClientHttpConnector; +import org.springframework.web.reactive.function.client.WebClient; +import reactor.core.publisher.Mono; +import reactor.netty.http.client.HttpClient; +import reactor.netty.http.client.PrematureCloseException; +import reactor.netty.resources.ConnectionProvider; +import reactor.util.retry.Retry; + +import java.io.BufferedReader; +import java.io.IOException; +import java.io.InputStreamReader; +import java.io.OutputStream; +import java.net.*; +import java.nio.charset.StandardCharsets; +import java.time.Duration; +import java.util.*; +import java.util.concurrent.*; +import java.util.concurrent.atomic.AtomicInteger; + +import static org.assertj.core.api.Assertions.assertThat; + +/** + * Demonstrates the stale-connection scenario using the legacy vs the deferred retry pipeline. + */ +class HttpStepHandlerConnectionResetScenarioTest { + + private static final Duration RETRY_DELAY = Duration.ofMillis(200); + private static final int RETRY_ATTEMPTS = 3; + private static final Duration BLOCK_TIMEOUT = Duration.ofSeconds(5); + private static final Duration RESET_WAIT = Duration.ofMillis(300); + + @Test + void legacyPipelineLosesSuccessfulRetry() throws Exception { + try (ResetOnceHttpServer server = new ResetOnceHttpServer()) { + WebClient webClient = createWebClient(); + URI uri = server.uri("/demo"); + + warmUp(server, webClient, uri); + server.awaitWarmupConnectionReset(RESET_WAIT); + + legacyInvoke(webClient, uri, Map.of("mode", "legacy")); + + server.awaitFreshResponses(1, Duration.ofSeconds(2)); + assertThat(server.getFreshResponseCount()).isEqualTo(1); + assertThat(server.getServedBodies()).contains("reset", "fresh"); + } + } + + @Test + void deferredPipelinePropagatesSuccessfulRetry() throws Exception { + try (ResetOnceHttpServer server = new ResetOnceHttpServer()) { + WebClient webClient = createWebClient(); + URI uri = server.uri("/demo"); + + warmUp(server, webClient, uri); + server.awaitWarmupConnectionReset(RESET_WAIT); + + Object result = deferredInvoke(webClient, uri, Map.of("mode", "defer")); + assertThat(result).isInstanceOf(Map.class); + Map resultMap = (Map) result; + assertThat(resultMap.get("stage")).isEqualTo("fresh"); + + server.awaitFreshResponses(1, Duration.ofSeconds(2)); + assertThat(server.getFreshResponseCount()).isEqualTo(1); + assertThat(server.getServedBodies()).contains("reset", "fresh"); + } + } + + private WebClient createWebClient() { + ConnectionProvider provider = ConnectionProvider.builder("http-step-handler-demo") + .maxConnections(1) + .pendingAcquireMaxCount(-1) + .maxIdleTime(Duration.ofSeconds(5)) + .build(); + HttpClient httpClient = HttpClient.create(provider).compress(true); + return WebClient.builder() + .clientConnector(new ReactorClientHttpConnector(httpClient)) + .build(); + } + + private void warmUp(ResetOnceHttpServer server, WebClient webClient, URI uri) { + webClient.post() + .uri(uri) + .contentType(MediaType.APPLICATION_JSON) + .accept(MediaType.APPLICATION_JSON) + .bodyValue(Map.of("warm", true)) + .retrieve() + .bodyToMono(Object.class) + .block(BLOCK_TIMEOUT); + server.awaitWarmupResponse(Duration.ofSeconds(2)); + } + + private Object legacyInvoke(WebClient webClient, URI uri, Object body) { + WebClient.RequestHeadersSpec spec = webClient.post() + .uri(uri) + .contentType(MediaType.APPLICATION_JSON) + .accept(MediaType.APPLICATION_JSON) + .bodyValue(body); + Mono responseMono = spec.retrieve() + .bodyToMono(Object.class) + // 模拟业务中首次订阅后缓存失败结果的场景 + .cache(); + return responseMono.retryWhen(Retry.fixedDelay(RETRY_ATTEMPTS, RETRY_DELAY) + .filter(this::isRetryableException) + .onRetryExhaustedThrow((specification, signal) -> signal.failure())) + .block(BLOCK_TIMEOUT); + } + + private Object deferredInvoke(WebClient webClient, URI uri, Object body) { + Mono responseMono = Mono.defer(() -> webClient.post() + .uri(uri) + .contentType(MediaType.APPLICATION_JSON) + .accept(MediaType.APPLICATION_JSON) + .bodyValue(body) + .retrieve() + .bodyToMono(Object.class) + // 通过 defer,每次重试都会重新创建带缓存的响应 Mono + .cache()); + return responseMono.retryWhen(Retry.fixedDelay(RETRY_ATTEMPTS, RETRY_DELAY) + .filter(this::isRetryableException)) + .block(BLOCK_TIMEOUT); + } + + private boolean isRetryableException(Throwable throwable) { + if (throwable == null) { + return false; + } + Throwable cursor = throwable; + while (cursor != null) { + if (cursor instanceof ServiceException) { + return false; + } + if (cursor instanceof PrematureCloseException) { + return true; + } + if (cursor instanceof IOException) { + return true; + } + cursor = cursor.getCause(); + } + return false; + } + + private static final class ResetOnceHttpServer implements AutoCloseable { + + private static final Duration RESET_DELAY = Duration.ofMillis(250); + + private final ServerSocket serverSocket; + private final ExecutorService acceptExecutor; + private final ScheduledExecutorService scheduler; + private final AtomicInteger connectionCount = new AtomicInteger(); + private final AtomicInteger freshResponses = new AtomicInteger(); + private final CountDownLatch warmupResponseSent = new CountDownLatch(1); + private final CountDownLatch warmupReset = new CountDownLatch(1); + private final List servedBodies = new CopyOnWriteArrayList<>(); + private volatile boolean running = true; + private volatile Socket warmupSocket; + + ResetOnceHttpServer() throws IOException { + this.serverSocket = new ServerSocket(0, 50, InetAddress.getByName("127.0.0.1")); + this.serverSocket.setReuseAddress(true); + this.acceptExecutor = Executors.newSingleThreadExecutor(r -> { + Thread t = new Thread(r, "reset-once-http-accept"); + t.setDaemon(true); + return t; + }); + this.scheduler = Executors.newSingleThreadScheduledExecutor(r -> { + Thread t = new Thread(r, "reset-once-http-scheduler"); + t.setDaemon(true); + return t; + }); + acceptExecutor.submit(this::acceptLoop); + } + + URI uri(String path) { + Objects.requireNonNull(path, "path"); + if (!path.startsWith("/")) { + path = "/" + path; + } + return URI.create("http://127.0.0.1:" + serverSocket.getLocalPort() + path); + } + + List getServedBodies() { + return new ArrayList<>(servedBodies); + } + + int getFreshResponseCount() { + return freshResponses.get(); + } + + void awaitWarmupResponse(Duration timeout) { + awaitLatch(warmupResponseSent, timeout); + } + + void awaitWarmupConnectionReset(Duration timeout) { + awaitLatch(warmupReset, timeout); + } + + void awaitFreshResponses(int expected, Duration timeout) { + long deadline = System.nanoTime() + timeout.toNanos(); + while (freshResponses.get() < expected && System.nanoTime() < deadline) { + try { + Thread.sleep(10); + } catch (InterruptedException ignored) { + Thread.currentThread().interrupt(); + return; + } + } + } + + private void awaitLatch(CountDownLatch latch, Duration timeout) { + try { + if (!latch.await(timeout.toMillis(), TimeUnit.MILLISECONDS)) { + throw new IllegalStateException("Timed out waiting for latch"); + } + } catch (InterruptedException ex) { + Thread.currentThread().interrupt(); + throw new IllegalStateException(ex); + } + } + + private void acceptLoop() { + try { + while (running) { + Socket socket = serverSocket.accept(); + int index = connectionCount.incrementAndGet(); + handle(socket, index); + } + } catch (SocketException ex) { + if (running) { + throw new IllegalStateException("Unexpected server socket error", ex); + } + } catch (IOException ex) { + if (running) { + throw new IllegalStateException("I/O error in server", ex); + } + } + } + + private void handle(Socket socket, int index) { + try { + socket.setTcpNoDelay(true); + RequestMetadata metadata = readRequest(socket); + if (index == 1) { + warmupSocket = socket; + String body = "{\"stage\":\"warmup\",\"path\":\"" + metadata.path + "\"}"; + writeResponse(socket, body, true); + servedBodies.add("warmup"); + warmupResponseSent.countDown(); + scheduler.schedule(() -> forceReset(socket), RESET_DELAY.toMillis(), TimeUnit.MILLISECONDS); + } else if (index == 2) { + // 模拟客户端复用到仍在连接池中的旧连接,但服务端已在请求到达后立即复位。 + servedBodies.add("reset"); + scheduler.schedule(() -> closeWithReset(socket), 10, TimeUnit.MILLISECONDS); + } else { + String body = "{\"stage\":\"fresh\",\"attempt\":" + index + "}"; + writeResponse(socket, body, false); + servedBodies.add("fresh"); + freshResponses.incrementAndGet(); + socket.close(); + } + } catch (IOException ex) { + // ignore for the purpose of the test + } + } + + private void forceReset(Socket socket) { + try { + if (!socket.isClosed()) { + servedBodies.add("reset"); + closeWithReset(socket); + } + } finally { + warmupReset.countDown(); + } + } + + private void closeWithReset(Socket socket) { + try { + if (!socket.isClosed()) { + socket.setSoLinger(true, 0); + socket.close(); + } + } catch (IOException ignored) { + // ignore + } + } + + private RequestMetadata readRequest(Socket socket) throws IOException { + BufferedReader reader = new BufferedReader(new InputStreamReader(socket.getInputStream(), StandardCharsets.US_ASCII)); + String requestLine = reader.readLine(); + if (requestLine == null) { + return new RequestMetadata("unknown", 0); + } + String path = requestLine.split(" ", 3)[1]; + int contentLength = 0; + String line; + while ((line = reader.readLine()) != null && !line.isEmpty()) { + if (line.toLowerCase(Locale.ROOT).startsWith("content-length:")) { + contentLength = Integer.parseInt(line.substring(line.indexOf(':') + 1).trim()); + } + } + if (contentLength > 0) { + char[] buffer = new char[contentLength]; + int read = 0; + while (read < contentLength) { + int r = reader.read(buffer, read, contentLength - read); + if (r < 0) { + break; + } + read += r; + } + } + return new RequestMetadata(path, contentLength); + } + + private void writeResponse(Socket socket, String body, boolean keepAlive) throws IOException { + byte[] bodyBytes = body.getBytes(StandardCharsets.UTF_8); + StringBuilder builder = new StringBuilder() + .append("HTTP/1.1 200 OK\r\n") + .append("Content-Type: application/json\r\n") + .append("Content-Length: ").append(bodyBytes.length).append("\r\n"); + if (keepAlive) { + builder.append("Connection: keep-alive\r\n"); + } else { + builder.append("Connection: close\r\n"); + } + builder.append("\r\n"); + OutputStream outputStream = socket.getOutputStream(); + outputStream.write(builder.toString().getBytes(StandardCharsets.US_ASCII)); + outputStream.write(bodyBytes); + outputStream.flush(); + } + + @Override + public void close() throws Exception { + running = false; + try { + serverSocket.close(); + } catch (IOException ignored) { + } + if (warmupSocket != null && !warmupSocket.isClosed()) { + try { + warmupSocket.close(); + } catch (IOException ignored) { + } + } + scheduler.shutdownNow(); + acceptExecutor.shutdownNow(); + } + + private record RequestMetadata(String path, int contentLength) { + } + } +} diff --git a/zt-module-infra/zt-module-infra-server/src/main/java/com/zt/plat/module/infra/controller/admin/businessfile/BusinessFileController.java b/zt-module-infra/zt-module-infra-server/src/main/java/com/zt/plat/module/infra/controller/admin/businessfile/BusinessFileController.java index 8c4f8eaa..306e44e1 100644 --- a/zt-module-infra/zt-module-infra-server/src/main/java/com/zt/plat/module/infra/controller/admin/businessfile/BusinessFileController.java +++ b/zt-module-infra/zt-module-infra-server/src/main/java/com/zt/plat/module/infra/controller/admin/businessfile/BusinessFileController.java @@ -92,7 +92,7 @@ public class BusinessFileController { @GetMapping("/page") @Operation(summary = "获得业务附件关联分页") - @PreAuthorize("@ss.hasPermission('infra:business-file:query')") + @PreAuthorize("@ss.hasAnyPermissions({'infra:business-file:query','PurchaseCreditGrantingFormTemplate:query','PurchaseAmountRequestFormTemplate:query'})") public CommonResult> getBusinessFilePage(@Valid BusinessFilePageReqVO pageReqVO) { PageResult pageResult = businessFileService.getBusinessFilePage(pageReqVO); return success(BeanUtils.toBean(pageResult, BusinessFileRespVO.class)); diff --git a/zt-module-system/zt-module-system-api/src/main/java/com/zt/plat/module/system/enums/ErrorCodeConstants.java b/zt-module-system/zt-module-system-api/src/main/java/com/zt/plat/module/system/enums/ErrorCodeConstants.java index a7899b69..4fbc5184 100644 --- a/zt-module-system/zt-module-system-api/src/main/java/com/zt/plat/module/system/enums/ErrorCodeConstants.java +++ b/zt-module-system/zt-module-system-api/src/main/java/com/zt/plat/module/system/enums/ErrorCodeConstants.java @@ -22,6 +22,12 @@ public interface ErrorCodeConstants { ErrorCode AUTH_LOGIN_INTERNAL_USER_PASSWORD_NOT_ALLOWED = new ErrorCode(1_002_000_011, "内部用户不允许使用账号密码登录,请通过e办进行统一登录"); ErrorCode AUTH_LOGIN_EBAN_TOKEN_INVALID = new ErrorCode(1_002_000_012, "token 无效"); ErrorCode AUTH_LOGIN_EBAN_USER_NOT_SYNC = new ErrorCode(1_002_000_013, "用户未同步到此应用,请联系管理员进行同步"); + ErrorCode EXTERNAL_SSO_DISABLED = new ErrorCode(1_002_000_050, "外部单点登录功能已关闭"); + ErrorCode EXTERNAL_SSO_TOKEN_MISSING = new ErrorCode(1_002_000_051, "token 不能为空"); + ErrorCode EXTERNAL_SSO_REMOTE_ERROR = new ErrorCode(1_002_000_055, "获取外部用户信息失败:{}"); + ErrorCode EXTERNAL_SSO_USER_NOT_FOUND = new ErrorCode(1_002_000_056, "未找到匹配的本地用户"); + ErrorCode EXTERNAL_SSO_USER_DISABLED = new ErrorCode(1_002_000_057, "匹配的本地用户已被禁用"); + ErrorCode EXTERNAL_SSO_SOURCE_UNSUPPORTED = new ErrorCode(1_002_000_058, "来源系统({})暂不支持"); // ========== 菜单模块 1-002-001-000 ========== ErrorCode MENU_NAME_DUPLICATE = new ErrorCode(1_002_001_000, "已经存在该名字的菜单"); diff --git a/zt-module-system/zt-module-system-api/src/main/java/com/zt/plat/module/system/enums/logger/LoginLogTypeEnum.java b/zt-module-system/zt-module-system-api/src/main/java/com/zt/plat/module/system/enums/logger/LoginLogTypeEnum.java index fcc928bb..340ce68a 100644 --- a/zt-module-system/zt-module-system-api/src/main/java/com/zt/plat/module/system/enums/logger/LoginLogTypeEnum.java +++ b/zt-module-system/zt-module-system-api/src/main/java/com/zt/plat/module/system/enums/logger/LoginLogTypeEnum.java @@ -14,6 +14,7 @@ public enum LoginLogTypeEnum { LOGIN_SOCIAL(101), // 使用社交登录 LOGIN_MOBILE(103), // 使用手机登陆 LOGIN_SMS(104), // 使用短信登陆 + LOGIN_EXTERNAL_SSO(105), // 外部系统单点登录 LOGOUT_SELF(200), // 自己主动登出 LOGOUT_DELETE(202), // 强制退出 diff --git a/zt-module-system/zt-module-system-api/src/main/java/com/zt/plat/module/system/enums/logger/LoginResultEnum.java b/zt-module-system/zt-module-system-api/src/main/java/com/zt/plat/module/system/enums/logger/LoginResultEnum.java index 9c78364d..2c0b8853 100644 --- a/zt-module-system/zt-module-system-api/src/main/java/com/zt/plat/module/system/enums/logger/LoginResultEnum.java +++ b/zt-module-system/zt-module-system-api/src/main/java/com/zt/plat/module/system/enums/logger/LoginResultEnum.java @@ -15,6 +15,11 @@ public enum LoginResultEnum { USER_DISABLED(20), // 用户被禁用 CAPTCHA_NOT_FOUND(30), // 图片验证码不存在 CAPTCHA_CODE_ERROR(31), // 图片验证码不正确 + TOKEN_INVALID(40), // SSO token 无效 + TOKEN_EXPIRED(41), // SSO token 已过期 + TOKEN_REPLAY(42), // SSO token 被重复使用 + REMOTE_SERVICE_ERROR(43), // 拉取外部用户失败 + USER_NOT_FOUND(44), // 未找到匹配的本地用户 ; diff --git a/zt-module-system/zt-module-system-server/pom.xml b/zt-module-system/zt-module-system-server/pom.xml index 3ebb627c..414a983c 100644 --- a/zt-module-system/zt-module-system-server/pom.xml +++ b/zt-module-system/zt-module-system-server/pom.xml @@ -67,6 +67,17 @@ zt-spring-boot-starter-redis + + + org.springframework.boot + spring-boot-starter-webflux + + + + com.github.ben-manes.caffeine + caffeine + + com.zt.plat @@ -127,6 +138,18 @@ zt-spring-boot-starter-monitor + + + org.apache.seata + seata-spring-boot-starter + + + com.alibaba + druid + + + + me.zhyd.oauth diff --git a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/integration/iwork/IWorkIntegrationController.java b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/integration/iwork/IWorkIntegrationController.java new file mode 100644 index 00000000..89f742a1 --- /dev/null +++ b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/integration/iwork/IWorkIntegrationController.java @@ -0,0 +1,51 @@ +package com.zt.plat.module.system.controller.admin.integration.iwork; + +import com.zt.plat.framework.common.pojo.CommonResult; +import com.zt.plat.module.system.controller.admin.integration.iwork.vo.IWorkOperationRespVO; +import com.zt.plat.module.system.controller.admin.integration.iwork.vo.IWorkUserInfoReqVO; +import com.zt.plat.module.system.controller.admin.integration.iwork.vo.IWorkUserInfoRespVO; +import com.zt.plat.module.system.controller.admin.integration.iwork.vo.IWorkWorkflowCreateReqVO; +import com.zt.plat.module.system.controller.admin.integration.iwork.vo.IWorkWorkflowVoidReqVO; +import com.zt.plat.module.system.service.integration.iwork.IWorkIntegrationService; +import io.swagger.v3.oas.annotations.Operation; +import io.swagger.v3.oas.annotations.tags.Tag; +import jakarta.validation.Valid; +import lombok.RequiredArgsConstructor; +import org.springframework.validation.annotation.Validated; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +import static com.zt.plat.framework.common.pojo.CommonResult.success; + +/** + * 提供统一 iWork 流程能力的管理端接口。 + */ +@Tag(name = "管理后台 - iWork 集成") +@RestController +@RequestMapping("/system/integration/iwork") +@RequiredArgsConstructor +@Validated +public class IWorkIntegrationController { + + private final IWorkIntegrationService integrationService; + + @PostMapping("/user/resolve") + @Operation(summary = "根据外部标识获取 iWork 用户编号") + public CommonResult resolveUser(@Valid @RequestBody IWorkUserInfoReqVO reqVO) { + return success(integrationService.resolveUserId(reqVO)); + } + + @PostMapping("/workflow/create") + @Operation(summary = "发起 iWork 流程") + public CommonResult createWorkflow(@Valid @RequestBody IWorkWorkflowCreateReqVO reqVO) { + return success(integrationService.createWorkflow(reqVO)); + } + + @PostMapping("/workflow/void") + @Operation(summary = "作废 / 干预 iWork 流程") + public CommonResult voidWorkflow(@Valid @RequestBody IWorkWorkflowVoidReqVO reqVO) { + return success(integrationService.voidWorkflow(reqVO)); + } +} diff --git a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/integration/iwork/vo/IWorkBaseReqVO.java b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/integration/iwork/vo/IWorkBaseReqVO.java new file mode 100644 index 00000000..0e25630e --- /dev/null +++ b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/integration/iwork/vo/IWorkBaseReqVO.java @@ -0,0 +1,20 @@ +package com.zt.plat.module.system.controller.admin.integration.iwork.vo; + +import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; + +/** + * iWork 集成接口公用的请求字段。 + */ +@Data +public class IWorkBaseReqVO { + + @Schema(description = "配置的 iWork 凭证 appId;为空时使用默认凭证", example = "iwork-app") + private String appId; + + @Schema(description = "iWork 操作人用户编号", example = "1") + private String operatorUserId; + + @Schema(description = "是否强制刷新 token", example = "false") + private Boolean forceRefreshToken; +} diff --git a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/integration/iwork/vo/IWorkDetailRecordVO.java b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/integration/iwork/vo/IWorkDetailRecordVO.java new file mode 100644 index 00000000..7a2dce2d --- /dev/null +++ b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/integration/iwork/vo/IWorkDetailRecordVO.java @@ -0,0 +1,23 @@ +package com.zt.plat.module.system.controller.admin.integration.iwork.vo; + +import io.swagger.v3.oas.annotations.media.Schema; +import jakarta.validation.Valid; +import jakarta.validation.constraints.NotEmpty; +import lombok.Data; + +import java.util.List; + +/** + * 传递给 iWork 的单条明细记录。 + */ +@Data +public class IWorkDetailRecordVO { + + @Schema(description = "记录序号,从 0 开始", example = "0") + private Integer recordOrder; + + @Schema(description = "明细字段列表") + @NotEmpty(message = "明细字段不能为空") + @Valid + private List fields; +} diff --git a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/integration/iwork/vo/IWorkDetailTableVO.java b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/integration/iwork/vo/IWorkDetailTableVO.java new file mode 100644 index 00000000..3d17be66 --- /dev/null +++ b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/integration/iwork/vo/IWorkDetailTableVO.java @@ -0,0 +1,25 @@ +package com.zt.plat.module.system.controller.admin.integration.iwork.vo; + +import io.swagger.v3.oas.annotations.media.Schema; +import jakarta.validation.Valid; +import jakarta.validation.constraints.NotBlank; +import jakarta.validation.constraints.NotEmpty; +import lombok.Data; + +import java.util.List; + +/** + * iWork 流程请求中的明细表定义。 + */ +@Data +public class IWorkDetailTableVO { + + @Schema(description = "表名", example = "formtable_main_26_dt1") + @NotBlank(message = "明细表名不能为空") + private String tableDBName; + + @Schema(description = "明细记录集合") + @NotEmpty(message = "明细记录不能为空") + @Valid + private List records; +} diff --git a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/integration/iwork/vo/IWorkFormFieldVO.java b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/integration/iwork/vo/IWorkFormFieldVO.java new file mode 100644 index 00000000..c40c2f85 --- /dev/null +++ b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/integration/iwork/vo/IWorkFormFieldVO.java @@ -0,0 +1,20 @@ +package com.zt.plat.module.system.controller.admin.integration.iwork.vo; + +import io.swagger.v3.oas.annotations.media.Schema; +import jakarta.validation.constraints.NotBlank; +import lombok.Data; + +/** + * 提交给 iWork 的单个表单字段。 + */ +@Data +public class IWorkFormFieldVO { + + @Schema(description = "字段名", example = "sqr") + @NotBlank(message = "字段名不能为空") + private String fieldName; + + @Schema(description = "字段值", example = "张三") + @NotBlank(message = "字段值不能为空") + private String fieldValue; +} diff --git a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/integration/iwork/vo/IWorkOperationRespVO.java b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/integration/iwork/vo/IWorkOperationRespVO.java new file mode 100644 index 00000000..d108d3c2 --- /dev/null +++ b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/integration/iwork/vo/IWorkOperationRespVO.java @@ -0,0 +1,25 @@ +package com.zt.plat.module.system.controller.admin.integration.iwork.vo; + +import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; + +import java.util.Map; + +/** + * iWork 流程操作的通用响应封装。 + */ +@Data +public class IWorkOperationRespVO { + + @Schema(description = "iWork 返回的原始数据") + private Map payload; + + @Schema(description = "iWork 返回的原始字符串") + private String rawBody; + + @Schema(description = "是否判断为成功") + private boolean success; + + @Schema(description = "返回提示信息") + private String message; +} diff --git a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/integration/iwork/vo/IWorkTokenApplyReqVO.java b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/integration/iwork/vo/IWorkTokenApplyReqVO.java new file mode 100644 index 00000000..b3422122 --- /dev/null +++ b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/integration/iwork/vo/IWorkTokenApplyReqVO.java @@ -0,0 +1,12 @@ +package com.zt.plat.module.system.controller.admin.integration.iwork.vo; + +import lombok.Data; +import lombok.EqualsAndHashCode; + +/** + * 获取 iWork 会话令牌的请求载荷。 + */ +@Data +@EqualsAndHashCode(callSuper = true) +public class IWorkTokenApplyReqVO extends IWorkBaseReqVO { +} diff --git a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/integration/iwork/vo/IWorkUserInfoReqVO.java b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/integration/iwork/vo/IWorkUserInfoReqVO.java new file mode 100644 index 00000000..a45fa302 --- /dev/null +++ b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/integration/iwork/vo/IWorkUserInfoReqVO.java @@ -0,0 +1,30 @@ +package com.zt.plat.module.system.controller.admin.integration.iwork.vo; + +import io.swagger.v3.oas.annotations.media.Schema; +import jakarta.validation.constraints.NotBlank; +import lombok.Data; +import lombok.EqualsAndHashCode; + +import java.util.Map; + +/** + * 用于解析 iWork 用户编号的请求体。 + */ +@Data +@EqualsAndHashCode(callSuper = true) +public class IWorkUserInfoReqVO extends IWorkBaseReqVO { + + @Schema(description = "用户识别字段", example = "loginid") + @NotBlank(message = "用户识别字段不能为空") + private String identifierKey; + + @Schema(description = "用户识别值", example = "zhangsan") + @NotBlank(message = "用户识别值不能为空") + private String identifierValue; + + @Schema(description = "额外的请求载荷,会与识别字段合并后提交") + private Map payload; + + @Schema(description = "额外的查询参数") + private Map queryParams; +} diff --git a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/integration/iwork/vo/IWorkUserInfoRespVO.java b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/integration/iwork/vo/IWorkUserInfoRespVO.java new file mode 100644 index 00000000..429c2d8d --- /dev/null +++ b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/integration/iwork/vo/IWorkUserInfoRespVO.java @@ -0,0 +1,28 @@ +package com.zt.plat.module.system.controller.admin.integration.iwork.vo; + +import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; + +import java.util.Map; + +/** + * iWork 用户信息查询结果。 + */ +@Data +public class IWorkUserInfoRespVO { + + @Schema(description = "iWork 返回的原始数据") + private Map payload; + + @Schema(description = "iWork 返回的原始字符串") + private String rawBody; + + @Schema(description = "是否判断为成功") + private boolean success; + + @Schema(description = "返回提示信息") + private String message; + + @Schema(description = "解析出的 iWork 用户编号") + private String userId; +} diff --git a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/integration/iwork/vo/IWorkWorkflowCreateReqVO.java b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/integration/iwork/vo/IWorkWorkflowCreateReqVO.java new file mode 100644 index 00000000..8d804cde --- /dev/null +++ b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/integration/iwork/vo/IWorkWorkflowCreateReqVO.java @@ -0,0 +1,41 @@ +package com.zt.plat.module.system.controller.admin.integration.iwork.vo; + +import io.swagger.v3.oas.annotations.media.Schema; +import jakarta.validation.Valid; +import jakarta.validation.constraints.NotBlank; +import jakarta.validation.constraints.NotEmpty; +import lombok.Data; +import lombok.EqualsAndHashCode; + +import java.util.List; +import java.util.Map; + +/** + * 发起 iWork 流程的请求体。 + */ +@Data +@EqualsAndHashCode(callSuper = true) +public class IWorkWorkflowCreateReqVO extends IWorkBaseReqVO { + + @Schema(description = "流程标题", example = "测试流程") + @NotBlank(message = "流程标题不能为空") + private String requestName; + + @Schema(description = "流程模板编号,可为空使用默认配置", example = "54") + private Long workflowId; + + @Schema(description = "主表字段") + @NotEmpty(message = "主表字段不能为空") + @Valid + private List mainFields; + + @Schema(description = "明细表数据") + @Valid + private List detailTables; + + @Schema(description = "额外参数") + private Map otherParams; + + @Schema(description = "额外 Form 数据") + private Map formExtras; +} diff --git a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/integration/iwork/vo/IWorkWorkflowVoidReqVO.java b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/integration/iwork/vo/IWorkWorkflowVoidReqVO.java new file mode 100644 index 00000000..9495f27d --- /dev/null +++ b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/integration/iwork/vo/IWorkWorkflowVoidReqVO.java @@ -0,0 +1,29 @@ +package com.zt.plat.module.system.controller.admin.integration.iwork.vo; + +import io.swagger.v3.oas.annotations.media.Schema; +import jakarta.validation.constraints.NotBlank; +import lombok.Data; +import lombok.EqualsAndHashCode; + +import java.util.Map; + +/** + * 作废 / 干预 iWork 流程的请求体。 + */ +@Data +@EqualsAndHashCode(callSuper = true) +public class IWorkWorkflowVoidReqVO extends IWorkBaseReqVO { + + @Schema(description = "流程请求编号", example = "REQ-001") + @NotBlank(message = "流程请求编号不能为空") + private String requestId; + + @Schema(description = "作废原因") + private String reason; + + @Schema(description = "额外参数") + private Map extraParams; + + @Schema(description = "额外 Form 数据") + private Map formExtras; +} diff --git a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/sso/ExternalSsoController.java b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/sso/ExternalSsoController.java new file mode 100644 index 00000000..2da6964b --- /dev/null +++ b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/sso/ExternalSsoController.java @@ -0,0 +1,40 @@ +package com.zt.plat.module.system.controller.admin.sso; + +import com.zt.plat.framework.common.pojo.CommonResult; +import com.zt.plat.framework.tenant.core.aop.TenantIgnore; +import com.zt.plat.module.system.controller.admin.auth.vo.AuthLoginRespVO; +import com.zt.plat.module.system.controller.admin.sso.vo.ExternalSsoVerifyReqVO; +import com.zt.plat.module.system.service.sso.ExternalSsoService; +import io.swagger.v3.oas.annotations.Operation; +import io.swagger.v3.oas.annotations.tags.Tag; +import jakarta.annotation.security.PermitAll; +import jakarta.validation.Valid; +import lombok.RequiredArgsConstructor; +import org.springframework.validation.annotation.Validated; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +import static com.zt.plat.framework.common.pojo.CommonResult.success; + +/** + * 管理后台 - 外部单点登录接口。 + */ +@Tag(name = "管理后台 - 外部单点登录") +@RestController +@RequestMapping("/system/sso") +@Validated +@RequiredArgsConstructor +public class ExternalSsoController { + + private final ExternalSsoService externalSsoService; + + @PostMapping("/verify") + @PermitAll + @TenantIgnore + @Operation(summary = "校验外部单点登录令牌") + public CommonResult verify(@Valid @RequestBody ExternalSsoVerifyReqVO reqVO) { + return success(externalSsoService.verifyToken(reqVO)); + } +} diff --git a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/sso/vo/ExternalSsoVerifyReqVO.java b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/sso/vo/ExternalSsoVerifyReqVO.java new file mode 100644 index 00000000..f626d86c --- /dev/null +++ b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/sso/vo/ExternalSsoVerifyReqVO.java @@ -0,0 +1,23 @@ +package com.zt.plat.module.system.controller.admin.sso.vo; + +import io.swagger.v3.oas.annotations.media.Schema; +import jakarta.validation.constraints.NotBlank; +import lombok.Data; + +/** + * 外部 SSO token 校验请求 VO。 + */ +@Data +public class ExternalSsoVerifyReqVO { + + @Schema(description = "外部系统下发的单点登录 token", requiredMode = Schema.RequiredMode.REQUIRED) + @NotBlank(message = "token 不能为空") + private String token; + + @Schema(description = "外部系统跳转时的原始地址", example = "/#/dashboard") + private String targetUri; + + @Schema(description = "来源系统标识", example = "partner-a") + private String sourceSystem; + +} diff --git a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/sync/vo/user/UserCreateRequestVO.java b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/sync/vo/user/UserCreateRequestVO.java index 716035bb..670b36a6 100644 --- a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/sync/vo/user/UserCreateRequestVO.java +++ b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/controller/admin/sync/vo/user/UserCreateRequestVO.java @@ -17,6 +17,8 @@ public class UserCreateRequestVO { private String bimRequestId; @Schema(description = "用户归属部门(多个为逗号分割)", required = true) private String deptIds; + @Schema(description = "所属岗位名称") + private String postName; @Schema(description = "用户名") private String username; @Schema(description = "密码") diff --git a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/framework/integration/iwork/config/IWorkIntegrationConfiguration.java b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/framework/integration/iwork/config/IWorkIntegrationConfiguration.java new file mode 100644 index 00000000..02fb1f76 --- /dev/null +++ b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/framework/integration/iwork/config/IWorkIntegrationConfiguration.java @@ -0,0 +1,12 @@ +package com.zt.plat.module.system.framework.integration.iwork.config; + +import org.springframework.boot.context.properties.EnableConfigurationProperties; +import org.springframework.context.annotation.Configuration; + +/** + * 负责加载 {@link IWorkProperties} 的自动配置类。 + */ +@Configuration +@EnableConfigurationProperties(IWorkProperties.class) +public class IWorkIntegrationConfiguration { +} diff --git a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/framework/integration/iwork/config/IWorkProperties.java b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/framework/integration/iwork/config/IWorkProperties.java new file mode 100644 index 00000000..14d7aa50 --- /dev/null +++ b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/framework/integration/iwork/config/IWorkProperties.java @@ -0,0 +1,126 @@ +package com.zt.plat.module.system.framework.integration.iwork.config; + +import jakarta.validation.Valid; +import jakarta.validation.constraints.Min; +import jakarta.validation.constraints.NotBlank; +import jakarta.validation.constraints.NotNull; +import lombok.Data; +import lombok.Getter; +import org.springframework.boot.context.properties.ConfigurationProperties; +import org.springframework.validation.annotation.Validated; + +import java.time.Duration; + +/** + * iWork 集成所需的配置项。 + */ +@Data +@Validated +@ConfigurationProperties(prefix = "iwork") +public class IWorkProperties { + + /** + * 是否开启 iWork 集成能力。 + */ + private boolean enabled = false; + + /** + * iWork 网关的基础地址。 + */ + private String baseUrl; + + /** + * 当调用方未传入时使用的默认 appId。 + */ + private String appId; + + /** + * 与 iWork 侧预先约定的 RSA 公钥(Base64 编码)。 + */ + private String clientPublicKey; + + /** + * 当调用方未指定流程编号时使用的默认流程模板编号。 + */ + private Long workflowId; + + /** + * 当请求未指定操作人时使用的默认用户编号。 + */ + private String userId; + + @Valid + private final Paths paths = new Paths(); + private final Headers headers = new Headers(); + @Valid + private final Token token = new Token(); + @Valid + private final Client client = new Client(); + + @Data + public static class Paths { + /** + * 负责交换公钥和密钥的注册接口路径。 + */ + @NotBlank(message = "iWork 注册接口路径不能为空") + private String register; + /** + * 申请访问令牌的接口路径。 + */ + @NotBlank(message = "iWork 申请 Token 接口路径不能为空") + private String applyToken; + /** + * 查询用户信息的接口路径。 + */ + @NotBlank(message = "iWork 用户信息接口路径不能为空") + private String userInfo; + /** + * 发起流程的接口路径。 + */ + @NotBlank(message = "iWork 发起流程接口路径不能为空") + private String createWorkflow; + /** + * 干预或作废流程的接口路径。 + */ + @NotBlank(message = "iWork 作废流程接口路径不能为空") + private String voidWorkflow; + } + + @Getter + public static class Headers { + private final String appId = "app-id"; + private final String clientPublicKey = "client-public-key"; + private final String secret = "secret"; + private final String token = "token"; + private final String time = "time"; + private final String userId = "user-id"; + } + + @Data + public static class Token { + /** + * 向 iWork 申请的 Token 有效期(单位秒)。 + */ + @Min(value = 1, message = "iWork Token 有效期必须大于 0") + private long ttlSeconds; + /** + * Token 过期前提前刷新的秒数。 + */ + @Min(value = 0, message = "iWork Token 提前刷新秒数不能为负数") + private long refreshAheadSeconds; + } + + @Data + public static class Client { + /** + * Reactor Netty 连接超时时间。 + */ + @NotNull(message = "iWork 客户端连接超时时间不能为空") + private Duration connectTimeout; + /** + * Reactor Netty 响应超时时间。 + */ + @NotNull(message = "iWork 客户端响应超时时间不能为空") + private Duration responseTimeout; + } +} diff --git a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/framework/sso/config/ExternalSsoProperties.java b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/framework/sso/config/ExternalSsoProperties.java new file mode 100644 index 00000000..85d8d52e --- /dev/null +++ b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/framework/sso/config/ExternalSsoProperties.java @@ -0,0 +1,223 @@ +package com.zt.plat.module.system.framework.sso.config; + +import jakarta.validation.constraints.Min; +import jakarta.validation.constraints.NotBlank; +import jakarta.validation.constraints.NotEmpty; +import jakarta.validation.constraints.NotNull; +import lombok.Data; +import lombok.experimental.Accessors; +import org.springframework.boot.context.properties.ConfigurationProperties; +import org.springframework.cloud.context.config.annotation.RefreshScope; +import org.springframework.http.HttpMethod; +import org.springframework.stereotype.Component; +import org.springframework.validation.annotation.Validated; + +import java.time.Duration; +import java.util.*; + +/** + * 外部 SSO 相关的可配置属性。 + * + *

该配置支持通过配置中心(如 Nacos)在运行期动态刷新。

+ */ +@Component +@ConfigurationProperties(prefix = "external-sso") +@Validated +@RefreshScope +@Data +public class ExternalSsoProperties { + + /** + * 是否开启外部 SSO 集成。 + */ + private boolean enabled = true; + + /** + * 用于区分不同上游系统的业务标识。 + */ + private String systemCode = "default"; + + @NotNull + private TokenProperties token = new TokenProperties(); + + @NotNull + private RemoteProperties remote = new RemoteProperties(); + + @NotNull + private MappingProperties mapping = new MappingProperties(); + + @NotNull + private CorsProperties cors = new CorsProperties(); + + @Data + @Accessors(chain = true) + public static class TokenProperties { + + /** + * 用于解密外部令牌的共享密钥。 + */ + @NotBlank(message = "external-sso.token.secret 不能为空") + private String secret; + + /** + * 加密算法,默认使用 AES。 + */ + @NotBlank + private String algorithm = "AES"; + + /** + * 校验签发时间允许的最大时间偏移(秒)。 + */ + @Min(0) + private long allowedClockSkewSeconds = 60; + + /** + * 当令牌未包含过期时间时允许的最大生存时间(秒)。 + */ + @Min(1) + private long maxAgeSeconds = Duration.ofMinutes(5).getSeconds(); + + /** + * 是否要求令牌中必须包含一次性随机数(nonce)。 + */ + private boolean requireNonce = true; + + /** + * 是否启用基于 nonce 的重放校验。 + */ + private boolean replayProtectionEnabled = true; + + /** + * nonce 在缓存中的有效期(秒)。 + */ + @Min(1) + private long nonceTtlSeconds = Duration.ofMinutes(10).getSeconds(); + + /** + * 可选的签名密钥,用于验证解密后的载荷签名。 + */ + private String signatureSecret; + + /** + * 签名算法,例如 HMAC-SHA256。为空表示不进行签名校验。 + */ + private String signatureAlgorithm; + } + + @Data + @Accessors(chain = true) + public static class RemoteProperties { + + /** + * 上游接口的基础地址,例如 https://partner.example.com。 + */ + @NotBlank(message = "external-sso.remote.base-url 不能为空") + private String baseUrl = "http://10.1.7.110"; + + /** + * 用户信息接口路径,例如 /api/user/info。 + */ + @NotBlank + private String userInfoPath = "/service/S_BF_CS_01"; + + /** + * 调用上游接口所使用的 HTTP 方法。 + */ + @NotNull + private HttpMethod method = HttpMethod.POST; + + /** + * 发送请求时附加的静态请求头。 + */ + @NotNull + private Map headers = new LinkedHashMap<>(); + + /** + * 发送请求时附加的静态查询参数。 + */ + @NotNull + private Map queryParams = new LinkedHashMap<>(); + + /** + * POST/PUT 请求使用的请求体模板,支持简单占位符替换。 + */ + @NotNull + private Map body = new LinkedHashMap<>(); + + /** + * 连接超时时间,单位毫秒。 + */ + @Min(1) + private int connectTimeoutMillis = (int) Duration.ofSeconds(5).toMillis(); + + /** + * 读取超时时间,单位毫秒。 + */ + @Min(1) + private int readTimeoutMillis = (int) Duration.ofSeconds(10).toMillis(); + + + /** + * 响应中表示业务状态码的字段路径。 + */ + private String codeField = "__sys__.status"; + + /** + * 上游系统约定的成功状态码。 + */ + private String successCode = "1"; + + /** + * 上游返回的提示信息字段路径。 + */ + private String messageField = "message"; + + /** + * 包裹实际数据载荷的字段路径。 + */ + private String dataField = "data"; + + /** 外部用户唯一标识所在的字段路径。 */ + private String userIdField = "sub"; + } + + public enum MatchField { + USERNAME, + MOBILE + } + + @Data + @Accessors(chain = true) + public static class MappingProperties { + + /** 匹配策略的执行顺序。 */ + @NotEmpty + private List order = new LinkedList<>(List.of(MatchField.USERNAME, MatchField.MOBILE)); + /** 当上游未提供租户信息时使用的默认租户。 */ + private Long defaultTenantId; + /** 字符串字段比较时是否忽略大小写。 */ + private boolean ignoreCase = true; + /** 是否在每次登录成功后同步昵称、邮箱、手机号等资料。 */ + private boolean updateProfileOnLogin = true; + } + + @Data + @Accessors(chain = true) + public static class CorsProperties { + /** 允许访问 SSO 校验接口的来源域名。 */ + @NotNull + private List allowedOrigins = new ArrayList<>(); + /** 允许的 HTTP 方法。 */ + @NotNull + private List allowedMethods = new ArrayList<>(List.of("OPTIONS", "GET", "POST")); + /** 允许携带的请求头。 */ + @NotNull + private List allowedHeaders = new ArrayList<>(List.of("Authorization", "Content-Type", "X-Requested-With")); + /** 是否允许携带凭证信息(Cookie、授权头等)。 */ + private boolean allowCredentials = true; + /** 预检请求的缓存时长。 */ + @Min(0) + private long maxAge = Duration.ofMinutes(30).getSeconds(); + } + +} diff --git a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/dept/DeptServiceImpl.java b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/dept/DeptServiceImpl.java index ce8f88b3..130edbb7 100644 --- a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/dept/DeptServiceImpl.java +++ b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/dept/DeptServiceImpl.java @@ -17,6 +17,7 @@ import com.zt.plat.module.system.dal.mysql.dept.DeptMapper; import com.zt.plat.module.system.dal.mysql.userdept.UserDeptMapper; import com.zt.plat.module.system.dal.redis.RedisKeyConstants; import com.zt.plat.module.system.enums.dept.DeptSourceEnum; +import org.apache.seata.spring.annotation.GlobalTransactional; import jakarta.annotation.Resource; import lombok.extern.slf4j.Slf4j; import org.springframework.cache.annotation.CacheEvict; @@ -58,6 +59,8 @@ public class DeptServiceImpl implements DeptService { .thenComparing(DeptDO::getId, Comparator.nullsLast(Comparator.naturalOrder())); @Override + @GlobalTransactional(rollbackFor = Exception.class) + @Transactional(rollbackFor = Exception.class) @CacheEvict(cacheNames = RedisKeyConstants.DEPT_CHILDREN_ID_LIST, allEntries = true) // allEntries 清空所有缓存,因为操作一个部门,涉及到多个缓存 public Long createDept(DeptSaveReqVO createReqVO) { diff --git a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/integration/iwork/IWorkIntegrationErrorCodeConstants.java b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/integration/iwork/IWorkIntegrationErrorCodeConstants.java new file mode 100644 index 00000000..c4fdd12f --- /dev/null +++ b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/integration/iwork/IWorkIntegrationErrorCodeConstants.java @@ -0,0 +1,21 @@ +package com.zt.plat.module.system.service.integration.iwork; + +import com.zt.plat.framework.common.exception.ErrorCode; + +/** + * iWork 集成相关的错误码常量。 + */ +public interface IWorkIntegrationErrorCodeConstants { + + ErrorCode IWORK_DISABLED = new ErrorCode(1_010_200_001, "iWork 集成未启用,请先完成配置"); + ErrorCode IWORK_BASE_URL_MISSING = new ErrorCode(1_010_200_002, "iWork 集成未配置网关地址"); + ErrorCode IWORK_CONFIGURATION_INVALID = new ErrorCode(1_010_200_003, + "iWork 集成缺少必填配置(appId/clientPublicKey/userId/workflowId)"); + ErrorCode IWORK_REGISTER_FAILED = new ErrorCode(1_010_200_004, "iWork 注册授权失败"); + ErrorCode IWORK_APPLY_TOKEN_FAILED = new ErrorCode(1_010_200_005, "iWork 令牌申请失败"); + ErrorCode IWORK_REMOTE_REQUEST_FAILED = new ErrorCode(1_010_200_006, "iWork 接口请求失败"); + ErrorCode IWORK_USER_IDENTIFIER_MISSING = new ErrorCode(1_010_200_007, "缺少用户识别信息,无法调用 iWork 接口"); + ErrorCode IWORK_OPERATOR_USER_MISSING = new ErrorCode(1_010_200_008, "缺少 iWork 操作人用户编号"); + ErrorCode IWORK_WORKFLOW_ID_MISSING = new ErrorCode(1_010_200_009, "缺少 iWork 流程模板编号"); + +} diff --git a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/integration/iwork/IWorkIntegrationService.java b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/integration/iwork/IWorkIntegrationService.java new file mode 100644 index 00000000..c268029f --- /dev/null +++ b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/integration/iwork/IWorkIntegrationService.java @@ -0,0 +1,28 @@ +package com.zt.plat.module.system.service.integration.iwork; + +import com.zt.plat.module.system.controller.admin.integration.iwork.vo.IWorkOperationRespVO; +import com.zt.plat.module.system.controller.admin.integration.iwork.vo.IWorkUserInfoReqVO; +import com.zt.plat.module.system.controller.admin.integration.iwork.vo.IWorkUserInfoRespVO; +import com.zt.plat.module.system.controller.admin.integration.iwork.vo.IWorkWorkflowCreateReqVO; +import com.zt.plat.module.system.controller.admin.integration.iwork.vo.IWorkWorkflowVoidReqVO; + +/** + * 对外暴露统一 iWork 流程能力的门面接口。 + */ +public interface IWorkIntegrationService { + + /** + * 根据外部标识解析 iWork 内部用户编号。 + */ + IWorkUserInfoRespVO resolveUserId(IWorkUserInfoReqVO reqVO); + + /** + * 在 iWork 中发起新流程。 + */ + IWorkOperationRespVO createWorkflow(IWorkWorkflowCreateReqVO reqVO); + + /** + * 在 iWork 中对已有流程执行作废或干预。 + */ + IWorkOperationRespVO voidWorkflow(IWorkWorkflowVoidReqVO reqVO); +} diff --git a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/integration/iwork/impl/IWorkIntegrationServiceImpl.java b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/integration/iwork/impl/IWorkIntegrationServiceImpl.java new file mode 100644 index 00000000..1fd71ec4 --- /dev/null +++ b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/integration/iwork/impl/IWorkIntegrationServiceImpl.java @@ -0,0 +1,641 @@ +package com.zt.plat.module.system.service.integration.iwork.impl; + +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.ObjectMapper; +import com.github.benmanes.caffeine.cache.Cache; +import com.github.benmanes.caffeine.cache.Caffeine; +import com.zt.plat.framework.common.exception.ErrorCode; +import com.zt.plat.framework.common.exception.ServiceException; +import com.zt.plat.framework.common.exception.util.ServiceExceptionUtil; +import com.zt.plat.module.system.controller.admin.integration.iwork.vo.IWorkDetailRecordVO; +import com.zt.plat.module.system.controller.admin.integration.iwork.vo.IWorkDetailTableVO; +import com.zt.plat.module.system.controller.admin.integration.iwork.vo.IWorkFormFieldVO; +import com.zt.plat.module.system.controller.admin.integration.iwork.vo.IWorkOperationRespVO; +import com.zt.plat.module.system.controller.admin.integration.iwork.vo.IWorkUserInfoReqVO; +import com.zt.plat.module.system.controller.admin.integration.iwork.vo.IWorkUserInfoRespVO; +import com.zt.plat.module.system.controller.admin.integration.iwork.vo.IWorkWorkflowCreateReqVO; +import com.zt.plat.module.system.controller.admin.integration.iwork.vo.IWorkWorkflowVoidReqVO; +import com.zt.plat.module.system.framework.integration.iwork.config.IWorkProperties; +import com.zt.plat.module.system.service.integration.iwork.IWorkIntegrationService; +import lombok.Getter; +import lombok.RequiredArgsConstructor; +import lombok.ToString; +import lombok.extern.slf4j.Slf4j; +import org.springframework.http.MediaType; +import org.springframework.stereotype.Service; +import org.springframework.util.LinkedMultiValueMap; +import org.springframework.util.MultiValueMap; +import org.springframework.util.StringUtils; +import org.springframework.web.reactive.function.BodyInserters; +import org.springframework.web.reactive.function.client.WebClient; +import org.springframework.web.reactive.function.client.WebClientResponseException; + +import javax.crypto.Cipher; +import java.nio.charset.StandardCharsets; +import java.security.KeyFactory; +import java.security.PublicKey; +import java.security.spec.X509EncodedKeySpec; +import java.time.Duration; +import java.time.Instant; +import java.util.Base64; +import java.util.Collections; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +import static com.zt.plat.module.system.service.integration.iwork.IWorkIntegrationErrorCodeConstants.*; + +/** + * {@link IWorkIntegrationService} 的默认实现,负责编排远程 iWork 调用。 + */ +@Slf4j +@Service +@RequiredArgsConstructor +public class IWorkIntegrationServiceImpl implements IWorkIntegrationService { + + private static final TypeReference> MAP_TYPE = new TypeReference<>() { + }; + + private final IWorkProperties properties; + private final ObjectMapper objectMapper; + private final WebClient.Builder webClientBuilder; + + private final Cache sessionCache = Caffeine.newBuilder() + .maximumSize(256) + .build(); + + private final Cache publicKeyCache = Caffeine.newBuilder() + .maximumSize(64) + .build(); + + private volatile WebClient cachedWebClient; + + @Override + public IWorkUserInfoRespVO resolveUserId(IWorkUserInfoReqVO reqVO) { + assertEnabled(); + String appId = resolveAppId(); + String clientPublicKey = resolveClientPublicKey(); + String operatorUserId = resolveOperatorUserId(reqVO.getOperatorUserId()); + ensureIdentifier(reqVO.getIdentifierKey(), reqVO.getIdentifierValue()); + + IWorkSession session = ensureSession(appId, clientPublicKey, operatorUserId, Boolean.TRUE.equals(reqVO.getForceRefreshToken())); + Map payload = buildUserPayload(reqVO); + String responseBody = executeJsonRequest(properties.getPaths().getUserInfo(), reqVO.getQueryParams(), appId, session, payload); + + return buildUserInfoResponse(responseBody); + } + + @Override + public IWorkOperationRespVO createWorkflow(IWorkWorkflowCreateReqVO reqVO) { + assertEnabled(); + String appId = resolveAppId(); + String clientPublicKey = resolveClientPublicKey(); + String operatorUserId = resolveOperatorUserId(reqVO.getOperatorUserId()); + IWorkSession session = ensureSession(appId, clientPublicKey, operatorUserId, Boolean.TRUE.equals(reqVO.getForceRefreshToken())); + + MultiValueMap formData = buildCreateForm(reqVO); + appendFormExtras(formData, reqVO.getFormExtras()); + String responseBody = executeFormRequest(properties.getPaths().getCreateWorkflow(), appId, session, formData); + return buildOperationResponse(responseBody); + } + + @Override + public IWorkOperationRespVO voidWorkflow(IWorkWorkflowVoidReqVO reqVO) { + assertEnabled(); + String appId = resolveAppId(); + String clientPublicKey = resolveClientPublicKey(); + String operatorUserId = resolveOperatorUserId(reqVO.getOperatorUserId()); + if (!StringUtils.hasText(reqVO.getRequestId())) { + throw ServiceExceptionUtil.exception(IWORK_USER_IDENTIFIER_MISSING); + } + IWorkSession session = ensureSession(appId, clientPublicKey, operatorUserId, Boolean.TRUE.equals(reqVO.getForceRefreshToken())); + + MultiValueMap formData = buildVoidForm(reqVO); + appendFormExtras(formData, reqVO.getFormExtras()); + String responseBody = executeFormRequest(properties.getPaths().getVoidWorkflow(), appId, session, formData); + return buildOperationResponse(responseBody); + } + + private void assertEnabled() { + if (!properties.isEnabled()) { + throw ServiceExceptionUtil.exception(IWORK_DISABLED); + } + if (!StringUtils.hasText(properties.getBaseUrl())) { + throw ServiceExceptionUtil.exception(IWORK_BASE_URL_MISSING); + } + if (!StringUtils.hasText(properties.getAppId()) || !StringUtils.hasText(properties.getClientPublicKey())) { + throw ServiceExceptionUtil.exception(IWORK_CONFIGURATION_INVALID); + } + } + + private String resolveOperatorUserId(String requestValue) { + if (StringUtils.hasText(requestValue)) { + return requestValue.trim(); + } + if (StringUtils.hasText(properties.getUserId())) { + return properties.getUserId().trim(); + } + throw ServiceExceptionUtil.exception(IWORK_OPERATOR_USER_MISSING); + } + + private String resolveAppId() { + String value = properties.getAppId(); + if (!StringUtils.hasText(value)) { + throw ServiceExceptionUtil.exception(IWORK_CONFIGURATION_INVALID); + } + return StringUtils.trimWhitespace(value); + } + + private String resolveClientPublicKey() { + String value = properties.getClientPublicKey(); + if (!StringUtils.hasText(value)) { + throw ServiceExceptionUtil.exception(IWORK_CONFIGURATION_INVALID); + } + return StringUtils.trimWhitespace(value); + } + + private void ensureIdentifier(String identifierKey, String identifierValue) { + if (!StringUtils.hasText(identifierKey) || !StringUtils.hasText(identifierValue)) { + throw ServiceExceptionUtil.exception(IWORK_USER_IDENTIFIER_MISSING); + } + } + + private IWorkSession ensureSession(String appId, String clientPublicKey, String operatorUserId, boolean forceRefresh) { + SessionKey key = new SessionKey(appId, operatorUserId); + Instant now = Instant.now(); + if (!forceRefresh) { + IWorkSession cached = sessionCache.getIfPresent(key); + if (cached != null && cached.isValid(now, properties.getToken().getRefreshAheadSeconds())) { + return cached; + } + } + synchronized (key.intern()) { + IWorkSession cached = sessionCache.getIfPresent(key); + if (!forceRefresh && cached != null && cached.isValid(now, properties.getToken().getRefreshAheadSeconds())) { + return cached; + } + IWorkSession session = createSession(appId, clientPublicKey, operatorUserId); + sessionCache.put(key, session); + return session; + } + } + + private IWorkSession createSession(String appId, String clientPublicKey, String operatorUserId) { + RegistrationResult registration = register(appId, clientPublicKey); + String encryptedSecret = encryptWithPublicKey(registration.secret(), registration.spk()); + String encryptedUserId = encryptWithPublicKey(operatorUserId, registration.spk()); + String token = applyToken(appId, encryptedSecret); + Instant expiresAt = Instant.now().plusSeconds(Math.max(1L, properties.getToken().getTtlSeconds())); + return new IWorkSession(token, encryptedUserId, expiresAt, registration.spk()); + } + + private RegistrationResult register(String appId, String clientPublicKey) { + String responseBody; + try { + responseBody = webClient() + .post() + .uri(properties.getPaths().getRegister()) + .headers(headers -> { + headers.set(properties.getHeaders().getAppId(), appId); + headers.set(properties.getHeaders().getClientPublicKey(), clientPublicKey); + }) + .retrieve() + .bodyToMono(String.class) + .block(); + } catch (WebClientResponseException ex) { + log.error("[iWork] register failed. status={}, body={}", ex.getStatusCode(), ex.getResponseBodyAsString(), ex); + throw ServiceExceptionUtil.exception(IWORK_REGISTER_FAILED, ex.getStatusCode().value(), ex.getResponseBodyAsString()); + } catch (Exception ex) { + log.error("[iWork] register failed", ex); + throw ServiceExceptionUtil.exception(IWORK_REGISTER_FAILED, ex.getMessage()); + } + JsonNode node = parseJson(responseBody, IWORK_REGISTER_FAILED); + String secret = textValue(node, "secret"); + String spk = textValue(node, "spk"); + if (!StringUtils.hasText(secret) || !StringUtils.hasText(spk)) { + throw ServiceExceptionUtil.exception(IWORK_REGISTER_FAILED, "返回缺少 secret 或 spk"); + } + return new RegistrationResult(secret, spk); + } + + private String applyToken(String appId, String encryptedSecret) { + String responseBody; + try { + responseBody = webClient() + .post() + .uri(properties.getPaths().getApplyToken()) + .headers(headers -> { + headers.set(properties.getHeaders().getAppId(), appId); + headers.set(properties.getHeaders().getSecret(), encryptedSecret); + headers.set(properties.getHeaders().getTime(), String.valueOf(properties.getToken().getTtlSeconds())); + }) + .retrieve() + .bodyToMono(String.class) + .block(); + } catch (WebClientResponseException ex) { + log.error("[iWork] apply token failed. status={}, body={}", ex.getStatusCode(), ex.getResponseBodyAsString(), ex); + throw ServiceExceptionUtil.exception(IWORK_APPLY_TOKEN_FAILED, ex.getStatusCode().value(), ex.getResponseBodyAsString()); + } catch (Exception ex) { + log.error("[iWork] apply token failed", ex); + throw ServiceExceptionUtil.exception(IWORK_APPLY_TOKEN_FAILED, ex.getMessage()); + } + JsonNode node = parseJson(responseBody, IWORK_APPLY_TOKEN_FAILED); + String token = textValue(node, "token"); + if (!StringUtils.hasText(token)) { + throw ServiceExceptionUtil.exception(IWORK_APPLY_TOKEN_FAILED, "返回缺少 token"); + } + return token; + } + + private String executeJsonRequest(String path, + Map queryParams, + String appId, + IWorkSession session, + Map payload) { + try { + return webClient() + .post() + .uri(uriBuilder -> { + uriBuilder.path(path); + if (queryParams != null) { + queryParams.forEach((key, value) -> { + if (value != null) { + uriBuilder.queryParam(key, value); + } + }); + } + return uriBuilder.build(); + }) + .headers(headers -> setAuthHeaders(headers, appId, session)) + .contentType(MediaType.APPLICATION_JSON) + .bodyValue(payload == null ? Collections.emptyMap() : payload) + .retrieve() + .bodyToMono(String.class) + .block(); + } catch (WebClientResponseException ex) { + log.error("[iWork] request {} failed. status={}, body={}", path, ex.getStatusCode(), ex.getResponseBodyAsString(), ex); + throw ServiceExceptionUtil.exception(IWORK_REMOTE_REQUEST_FAILED, ex.getStatusCode().value(), ex.getResponseBodyAsString()); + } catch (Exception ex) { + log.error("[iWork] request {} failed", path, ex); + throw ServiceExceptionUtil.exception(IWORK_REMOTE_REQUEST_FAILED, ex.getMessage()); + } + } + + private String executeFormRequest(String path, + String appId, + IWorkSession session, + MultiValueMap formData) { + try { + return webClient() + .post() + .uri(path) + .headers(headers -> setAuthHeaders(headers, appId, session)) + .contentType(MediaType.APPLICATION_FORM_URLENCODED) + .body(BodyInserters.fromFormData(formData)) + .retrieve() + .bodyToMono(String.class) + .block(); + } catch (WebClientResponseException ex) { + log.error("[iWork] form request {} failed. status={}, body={}", path, ex.getStatusCode(), ex.getResponseBodyAsString(), ex); + throw ServiceExceptionUtil.exception(IWORK_REMOTE_REQUEST_FAILED, ex.getStatusCode().value(), ex.getResponseBodyAsString()); + } catch (Exception ex) { + log.error("[iWork] form request {} failed", path, ex); + throw ServiceExceptionUtil.exception(IWORK_REMOTE_REQUEST_FAILED, ex.getMessage()); + } + } + + private void setAuthHeaders(org.springframework.http.HttpHeaders headers, + String appId, + IWorkSession session) { + headers.set(properties.getHeaders().getAppId(), appId); + headers.set(properties.getHeaders().getToken(), session.getToken()); + headers.set(properties.getHeaders().getUserId(), session.getEncryptedUserId()); + } + + private Map buildUserPayload(IWorkUserInfoReqVO reqVO) { + Map payload = new HashMap<>(); + if (reqVO.getPayload() != null) { + payload.putAll(reqVO.getPayload()); + } + payload.put(reqVO.getIdentifierKey(), reqVO.getIdentifierValue()); + return payload; + } + + private MultiValueMap buildCreateForm(IWorkWorkflowCreateReqVO reqVO) { + MultiValueMap formData = new LinkedMultiValueMap<>(); + formData.add("requestName", reqVO.getRequestName()); + formData.add("workflowId", String.valueOf(resolveWorkflowId(reqVO.getWorkflowId()))); + formData.add("mainData", toJsonString(convertFormFields(reqVO.getMainFields()))); + if (reqVO.getDetailTables() != null && !reqVO.getDetailTables().isEmpty()) { + formData.add("detailData", toJsonString(convertDetailTables(reqVO.getDetailTables()))); + } + if (reqVO.getOtherParams() != null && !reqVO.getOtherParams().isEmpty()) { + formData.add("otherParams", toJsonString(reqVO.getOtherParams())); + } + return formData; + } + + private long resolveWorkflowId(Long requestWorkflowId) { + if (requestWorkflowId != null) { + return requestWorkflowId; + } + if (properties.getWorkflowId() != null) { + return properties.getWorkflowId(); + } + throw ServiceExceptionUtil.exception(IWORK_WORKFLOW_ID_MISSING); + } + + private MultiValueMap buildVoidForm(IWorkWorkflowVoidReqVO reqVO) { + MultiValueMap formData = new LinkedMultiValueMap<>(); + formData.add("requestId", reqVO.getRequestId()); + if (StringUtils.hasText(reqVO.getReason())) { + formData.add("remark", reqVO.getReason()); + } + if (reqVO.getExtraParams() != null && !reqVO.getExtraParams().isEmpty()) { + reqVO.getExtraParams().forEach((key, value) -> { + if (value != null) { + formData.add(key, String.valueOf(value)); + } + }); + } + return formData; + } + + private void appendFormExtras(MultiValueMap formData, Map extras) { + if (extras == null || extras.isEmpty()) { + return; + } + extras.forEach((key, value) -> { + if (StringUtils.hasText(key) && value != null) { + formData.add(key, value); + } + }); + } + + private List> convertFormFields(List fields) { + return fields.stream().map(field -> { + Map map = new HashMap<>(2); + map.put("fieldName", field.getFieldName()); + map.put("fieldValue", field.getFieldValue()); + return map; + }).toList(); + } + + private List> convertDetailTables(List tables) { + return tables.stream().map(table -> { + Map tableMap = new HashMap<>(2); + tableMap.put("tableDBName", table.getTableDBName()); + List> records = table.getRecords().stream().map(record -> { + Map recordMap = new HashMap<>(2); + if (record.getRecordOrder() != null) { + recordMap.put("recordOrder", record.getRecordOrder()); + } + recordMap.put("workflowRequestTableFields", convertFormFields(record.getFields())); + return recordMap; + }).toList(); + tableMap.put("workflowRequestTableRecords", records); + return tableMap; + }).toList(); + } + + private IWorkUserInfoRespVO buildUserInfoResponse(String responseBody) { + IWorkUserInfoRespVO respVO = new IWorkUserInfoRespVO(); + respVO.setRawBody(responseBody); + if (!StringUtils.hasText(responseBody)) { + return respVO; + } + JsonNode node = parseJson(responseBody, IWORK_REMOTE_REQUEST_FAILED); + Map payload = objectMapper.convertValue(node, MAP_TYPE); + respVO.setPayload(payload); + respVO.setSuccess(isSuccess(node)); + respVO.setMessage(resolveMessage(node)); + respVO.setUserId(extractUserId(node)); + return respVO; + } + + private IWorkOperationRespVO buildOperationResponse(String responseBody) { + IWorkOperationRespVO respVO = new IWorkOperationRespVO(); + respVO.setRawBody(responseBody); + if (!StringUtils.hasText(responseBody)) { + return respVO; + } + JsonNode node = parseJson(responseBody, IWORK_REMOTE_REQUEST_FAILED); + respVO.setPayload(objectMapper.convertValue(node, MAP_TYPE)); + respVO.setSuccess(isSuccess(node)); + respVO.setMessage(resolveMessage(node)); + return respVO; + } + + private boolean isSuccess(JsonNode node) { + if (node == null) { + return false; + } + return checkSuccessByField(node, "code") + || checkSuccessByField(node, "status") + || checkSuccessByField(node, "success") + || checkSuccessByField(node, "errno"); + } + + private boolean checkSuccessByField(JsonNode node, String field) { + if (!node.has(field)) { + return false; + } + JsonNode value = node.get(field); + if (value.isBoolean()) { + return value.booleanValue(); + } + String text = value.asText(); + return Objects.equals("0", text) || Objects.equals("1", text) || Objects.equals("success", text); + } + + private String resolveMessage(JsonNode node) { + if (node == null) { + return null; + } + if (node.has("msg")) { + return node.get("msg").asText(); + } + if (node.has("message")) { + return node.get("message").asText(); + } + if (node.has("errmsg")) { + return node.get("errmsg").asText(); + } + return null; + } + + private String extractUserId(JsonNode node) { + if (node == null) { + return null; + } + if (node.has("userid")) { + return node.get("userid").asText(); + } + if (node.has("userId")) { + return node.get("userId").asText(); + } + if (node.has("data")) { + JsonNode data = node.get("data"); + if (data.has("userid")) { + return data.get("userid").asText(); + } + if (data.has("userId")) { + return data.get("userId").asText(); + } + if (data.isArray() && data.size() > 0) { + JsonNode first = data.get(0); + if (first.has("userid")) { + return first.get("userid").asText(); + } + if (first.has("userId")) { + return first.get("userId").asText(); + } + } + } + return null; + } + + private JsonNode parseJson(String responseBody, ErrorCode errorCode) { + try { + return objectMapper.readTree(responseBody); + } catch (JsonProcessingException ex) { + log.error("[iWork] failed to parse JSON body: {}", responseBody, ex); + throw ServiceExceptionUtil.exception(errorCode, "响应不是合法 JSON"); + } + } + + private String textValue(JsonNode node, String fieldName) { + return node != null && node.has(fieldName) ? node.get(fieldName).asText() : null; + } + + private String toJsonString(Object payload) { + try { + return objectMapper.writeValueAsString(payload); + } catch (JsonProcessingException ex) { + throw new ServiceException(IWORK_REMOTE_REQUEST_FAILED.getCode(), "序列化 JSON 失败: " + ex.getMessage()); + } + } + + private String encryptWithPublicKey(String plainText, String base64PublicKey) { + if (!StringUtils.hasText(plainText)) { + return plainText; + } + try { + PublicKey publicKey = publicKeyCache.get(base64PublicKey, this::loadPublicKey); + Cipher cipher = Cipher.getInstance("RSA/ECB/PKCS1Padding"); + cipher.init(Cipher.ENCRYPT_MODE, publicKey); + byte[] encrypted = cipher.doFinal(plainText.getBytes(StandardCharsets.UTF_8)); + return Base64.getEncoder().encodeToString(encrypted); + } catch (Exception ex) { + log.error("[iWork] RSA encryption failed", ex); + throw new ServiceException(IWORK_REMOTE_REQUEST_FAILED.getCode(), "RSA 加密失败: " + ex.getMessage()); + } + } + + private PublicKey loadPublicKey(String base64PublicKey) { + try { + byte[] decoded = Base64.getDecoder().decode(base64PublicKey); + X509EncodedKeySpec keySpec = new X509EncodedKeySpec(decoded); + return KeyFactory.getInstance("RSA").generatePublic(keySpec); + } catch (Exception ex) { + throw new ServiceException(IWORK_REMOTE_REQUEST_FAILED.getCode(), "加载公钥失败: " + ex.getMessage()); + } + } + + private WebClient webClient() { + WebClient client = cachedWebClient; + if (client != null) { + return client; + } + synchronized (this) { + if (cachedWebClient == null) { + cachedWebClient = buildWebClient(); + } + return cachedWebClient; + } + } + + private WebClient buildWebClient() { + WebClient.Builder builder = cloneBuilder(); + builder.baseUrl(properties.getBaseUrl()); + IWorkProperties.Client clientProps = properties.getClient(); + if (clientProps != null) { + Duration responseTimeout = clientProps.getResponseTimeout(); + if (responseTimeout != null) { + builder.filter((request, next) -> next.exchange(request).timeout(responseTimeout)); + } + // 连接超时时间由全局的 HttpClient 自定义器统一配置(若存在)。 + } + return builder.build(); + } + + private WebClient.Builder cloneBuilder() { + try { + return webClientBuilder.clone(); + } catch (UnsupportedOperationException ex) { + return WebClient.builder(); + } + } + + private record RegistrationResult(String secret, String spk) { + } + + @Getter + private static final class IWorkSession { + private final String token; + private final String encryptedUserId; + private final Instant expiresAt; + private final String spk; + + private IWorkSession(String token, String encryptedUserId, Instant expiresAt, String spk) { + this.token = token; + this.encryptedUserId = encryptedUserId; + this.expiresAt = expiresAt; + this.spk = spk; + } + + private boolean isValid(Instant now, long refreshAheadSeconds) { + Instant refreshThreshold = expiresAt.minusSeconds(Math.max(0L, refreshAheadSeconds)); + return refreshThreshold.isAfter(now) && StringUtils.hasText(token) && StringUtils.hasText(encryptedUserId); + } + } + + @ToString + private static final class SessionKey { + private final String appId; + private final String operatorUserId; + + private SessionKey(String appId, String operatorUserId) { + this.appId = appId; + this.operatorUserId = operatorUserId; + } + + private String cacheKey() { + return appId + "::" + operatorUserId; + } + + private String intern() { + return cacheKey().intern(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SessionKey that)) { + return false; + } + return Objects.equals(appId, that.appId) + && Objects.equals(operatorUserId, that.operatorUserId); + } + + @Override + public int hashCode() { + return Objects.hash(appId, operatorUserId); + } + } +} diff --git a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/permission/PermissionServiceImpl.java b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/permission/PermissionServiceImpl.java index a86899a3..ac7a1553 100644 --- a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/permission/PermissionServiceImpl.java +++ b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/permission/PermissionServiceImpl.java @@ -4,6 +4,10 @@ import cn.hutool.core.collection.CollUtil; import cn.hutool.core.collection.CollectionUtil; import cn.hutool.core.util.ArrayUtil; import cn.hutool.extra.spring.SpringUtil; +import com.baomidou.dynamic.datasource.annotation.DSTransactional; +import com.google.common.annotations.VisibleForTesting; +import com.google.common.base.Suppliers; +import com.google.common.collect.Sets; import com.zt.plat.framework.common.biz.system.permission.dto.DeptDataPermissionRespDTO; import com.zt.plat.framework.common.enums.CommonStatusEnum; import com.zt.plat.framework.common.util.collection.CollectionUtils; @@ -23,16 +27,13 @@ import com.zt.plat.module.system.enums.permission.RoleTypeEnum; import com.zt.plat.module.system.service.dept.DeptService; import com.zt.plat.module.system.service.user.AdminUserService; import com.zt.plat.module.system.service.userdept.UserDeptService; -import com.baomidou.dynamic.datasource.annotation.DSTransactional; -import com.google.common.annotations.VisibleForTesting; -import com.google.common.base.Suppliers; -import com.google.common.collect.Sets; import jakarta.annotation.Resource; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.cache.annotation.CacheEvict; import org.springframework.cache.annotation.Cacheable; import org.springframework.cache.annotation.Caching; +import org.springframework.context.annotation.Lazy; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; @@ -61,7 +62,6 @@ public class PermissionServiceImpl implements PermissionService { @Resource private UserRoleMapper userRoleMapper; - @Resource private RoleService roleService; @Resource private MenuService menuService; @@ -73,8 +73,11 @@ public class PermissionServiceImpl implements PermissionService { private RoleMenuExclusionMapper roleMenuExclusionMapper; @Resource private UserDeptService userDeptService; + @Autowired - private PermissionService permissionService; + public void setRoleService(@Lazy RoleService roleService) { + this.roleService = roleService; + } @Override public boolean hasAnyPermissions(Long userId, String... permissions) { @@ -320,7 +323,7 @@ public class PermissionServiceImpl implements PermissionService { @Override public void assignRoleDataScope(Long roleId, Integer dataScope, Set dataScopeDeptIds) { RoleDO role = roleService.getRole(roleId); - Set userRoleIdListByUserId = permissionService.getUserRoleIdListByUserId(getLoginUserId()); + Set userRoleIdListByUserId = getSelf().getUserRoleIdListByUserId(getLoginUserId()); // 如果为标准角色,只允许管理员修改数据权限 if (RoleTypeEnum.NORMAL.getType().equals(role.getType()) && !roleService.hasAnySuperAdmin(userRoleIdListByUserId)) { throw exception(ROLE_CAN_NOT_UPDATE_NORMAL_TYPE_ROLE); diff --git a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/permission/RoleServiceImpl.java b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/permission/RoleServiceImpl.java index 3fb4af7e..238f90d3 100644 --- a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/permission/RoleServiceImpl.java +++ b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/permission/RoleServiceImpl.java @@ -29,6 +29,7 @@ import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.cache.annotation.CacheEvict; import org.springframework.cache.annotation.Cacheable; +import org.springframework.context.annotation.Lazy; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import org.springframework.util.StringUtils; @@ -52,7 +53,6 @@ import static com.zt.plat.module.system.enums.LogRecordConstants.*; @Slf4j public class RoleServiceImpl implements RoleService { - @Resource private PermissionService permissionService; @Resource @@ -60,6 +60,11 @@ public class RoleServiceImpl implements RoleService { @Autowired private UserRoleMapper userRoleMapper; + @Autowired + public void setPermissionService(@Lazy PermissionService permissionService) { + this.permissionService = permissionService; + } + @Override @Transactional(rollbackFor = Exception.class) @LogRecord(type = SYSTEM_ROLE_TYPE, subType = SYSTEM_ROLE_CREATE_SUB_TYPE, bizNo = "{{#role.id}}", diff --git a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/sso/ExternalSsoService.java b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/sso/ExternalSsoService.java new file mode 100644 index 00000000..b77c142a --- /dev/null +++ b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/sso/ExternalSsoService.java @@ -0,0 +1,18 @@ +package com.zt.plat.module.system.service.sso; + +import com.zt.plat.module.system.controller.admin.auth.vo.AuthLoginRespVO; +import com.zt.plat.module.system.controller.admin.sso.vo.ExternalSsoVerifyReqVO; + +/** + * 处理外部单点登录校验的业务接口。 + */ +public interface ExternalSsoService { + + /** + * 校验外部单点登录令牌并返回本地登录凭证。 + * + * @param reqVO 校验请求参数 + * @return 登录凭证信息 + */ + AuthLoginRespVO verifyToken(ExternalSsoVerifyReqVO reqVO); +} diff --git a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/sso/ExternalSsoServiceImpl.java b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/sso/ExternalSsoServiceImpl.java new file mode 100644 index 00000000..ac76d7a8 --- /dev/null +++ b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/sso/ExternalSsoServiceImpl.java @@ -0,0 +1,233 @@ +package com.zt.plat.module.system.service.sso; + +import cn.hutool.core.util.StrUtil; +import com.zt.plat.framework.common.biz.system.logger.dto.OperateLogCreateReqDTO; +import com.zt.plat.framework.common.enums.CommonStatusEnum; +import com.zt.plat.framework.common.enums.UserTypeEnum; +import com.zt.plat.framework.common.exception.ErrorCode; +import com.zt.plat.framework.common.exception.ServiceException; +import com.zt.plat.framework.common.util.json.JsonUtils; +import com.zt.plat.framework.common.util.monitor.TracerUtils; +import com.zt.plat.framework.common.util.servlet.ServletUtils; +import com.zt.plat.framework.tenant.core.util.TenantUtils; +import com.zt.plat.module.system.api.logger.dto.LoginLogCreateReqDTO; +import com.zt.plat.module.system.controller.admin.auth.vo.AuthLoginRespVO; +import com.zt.plat.module.system.controller.admin.sso.vo.ExternalSsoVerifyReqVO; +import com.zt.plat.module.system.convert.auth.AuthConvert; +import com.zt.plat.module.system.dal.dataobject.oauth2.OAuth2AccessTokenDO; +import com.zt.plat.module.system.dal.dataobject.user.AdminUserDO; +import com.zt.plat.module.system.enums.logger.LoginLogTypeEnum; +import com.zt.plat.module.system.enums.logger.LoginResultEnum; +import com.zt.plat.module.system.enums.oauth2.OAuth2ClientConstants; +import com.zt.plat.module.system.framework.sso.config.ExternalSsoProperties; +import com.zt.plat.module.system.service.logger.LoginLogService; +import com.zt.plat.module.system.service.logger.OperateLogService; +import com.zt.plat.module.system.service.oauth2.OAuth2TokenService; +import com.zt.plat.module.system.service.sso.client.ExternalSsoClientException; +import com.zt.plat.module.system.service.sso.dto.ExternalSsoUserInfo; +import com.zt.plat.module.system.service.sso.strategy.ExternalSsoStrategy; +import com.zt.plat.module.system.service.user.AdminUserService; +import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import org.springframework.stereotype.Service; +import org.springframework.util.StringUtils; + +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; + +import static com.zt.plat.framework.common.exception.util.ServiceExceptionUtil.exception; +import static com.zt.plat.module.system.enums.ErrorCodeConstants.*; + +/** + * {@link ExternalSsoService} 的默认实现。 + */ +@Slf4j +@Service +@RequiredArgsConstructor +public class ExternalSsoServiceImpl implements ExternalSsoService { + + private final ExternalSsoProperties properties; + private final List strategies; + private final AdminUserService adminUserService; + private final LoginLogService loginLogService; + private final OAuth2TokenService oauth2TokenService; + private final OperateLogService operateLogService; + + @Override + public AuthLoginRespVO verifyToken(ExternalSsoVerifyReqVO reqVO) { + // 步骤一:检查开关并校验令牌参数 + if (!properties.isEnabled()) { + throw fail(EXTERNAL_SSO_DISABLED, LoginResultEnum.TOKEN_INVALID, null, null); + } + if (!StringUtils.hasText(reqVO.getToken())) { + throw fail(EXTERNAL_SSO_TOKEN_MISSING, LoginResultEnum.TOKEN_INVALID, null, null); + } + String normalizedSourceSystem = normalizeSourceSystem(reqVO.getSourceSystem()); + reqVO.setSourceSystem(normalizedSourceSystem); + + ExternalSsoStrategy strategy = selectStrategy(normalizedSourceSystem); + if (strategy == null) { + throw fail(EXTERNAL_SSO_SOURCE_UNSUPPORTED, LoginResultEnum.REMOTE_SERVICE_ERROR, + null, null, normalizedSourceSystem); + } + + // 步骤二:调用外部接口查询用户资料 + ExternalSsoUserInfo externalUser = fetchExternalUser(strategy, reqVO); + // 步骤三:匹配本地账号 + AdminUserDO user = resolveLocalUser(strategy, externalUser, reqVO); + ensureUserEnabled(user); + // 步骤四:发放本地登录凭证并记审计日志 + AuthLoginRespVO respVO = issueLoginToken(user); + recordAuditLog(user, reqVO, externalUser, reqVO.getToken()); + return respVO; + } + + + /** + * 调用外部系统获取用户信息,并兜底补充外部用户标识。 + */ + private ExternalSsoUserInfo fetchExternalUser(ExternalSsoStrategy strategy, ExternalSsoVerifyReqVO reqVO) { + try { + return strategy.fetchExternalUser(reqVO); + } catch (ExternalSsoClientException ex) { + log.warn("拉取外部用户信息失败: {}", ex.getMessage()); + throw fail(EXTERNAL_SSO_REMOTE_ERROR, LoginResultEnum.REMOTE_SERVICE_ERROR, null, + ex, ex.getMessage()); + } + } + + private AdminUserDO resolveLocalUser(ExternalSsoStrategy strategy, ExternalSsoUserInfo externalUser, + ExternalSsoVerifyReqVO reqVO) { + AdminUserDO user = strategy.resolveLocalUser(externalUser, reqVO); + if (user != null) { + return user; + } + return handleMissingUser(); + } + + /** + * 当无法匹配到本地账号时直接返回错误,不再自动建号。 + */ + private AdminUserDO handleMissingUser() { + // 明确禁止自动建号,统一返回用户不存在 + throw fail(EXTERNAL_SSO_USER_NOT_FOUND, LoginResultEnum.USER_NOT_FOUND, null, + null); + } + + private void ensureUserEnabled(AdminUserDO user) { + if (user == null) { + throw fail(EXTERNAL_SSO_USER_NOT_FOUND, LoginResultEnum.USER_NOT_FOUND, null, + null); + } + if (CommonStatusEnum.isDisable(user.getStatus())) { + throw fail(EXTERNAL_SSO_USER_DISABLED, LoginResultEnum.USER_DISABLED, user, + null); + } + } + + /** + * 为已通过校验的账号创建访问令牌并返回。 + */ + private AuthLoginRespVO issueLoginToken(AdminUserDO user) { + recordLoginLog(user.getId(), user.getUsername(), LoginResultEnum.SUCCESS); + OAuth2AccessTokenDO token = TenantUtils.execute(user.getTenantId(), + () -> oauth2TokenService.createAccessToken(user.getId(), UserTypeEnum.ADMIN.getValue(), + OAuth2ClientConstants.CLIENT_ID_DEFAULT, null)); + return AuthConvert.INSTANCE.convert(token); + } + + /** + * 记录一次外部单点登录的审计日志,便于后续追踪。 + */ + private void recordAuditLog(AdminUserDO user, ExternalSsoVerifyReqVO request, + ExternalSsoUserInfo externalUser, String token) { + try { + Map extra = new LinkedHashMap<>(); + extra.put("externalUsername", externalUser.getUsername()); + extra.put("externalNickname", externalUser.getNickname()); +// extra.put("externalAttributes", attributes); + extra.put("localUserId", user.getId()); + extra.put("localUsername", user.getUsername()); +// extra.put("tenantId", user.getTenantId()); + extra.put("targetUri", request.getTargetUri()); + extra.put("sourceSystem", request.getSourceSystem()); + + OperateLogCreateReqDTO dto = new OperateLogCreateReqDTO(); + dto.setTraceId(TracerUtils.getTraceId()); + dto.setUserId(user.getId()); + dto.setUserType(UserTypeEnum.ADMIN.getValue()); + dto.setType("EXTERNAL_SSO"); + dto.setSubType("VERIFY"); + dto.setBizId(user.getId()); + String externalPrincipal = StringUtils.hasText(externalUser.getUsername()) + ? externalUser.getUsername() + : ""; + dto.setAction(StrUtil.format("外部单点登录成功: {} -> {}", externalPrincipal, user.getUsername())); + dto.setExtra(JsonUtils.toJsonString(extra)); + dto.setRequestMethod("POST"); + dto.setRequestUrl("/system/sso/verify"); + dto.setUserIp(ServletUtils.getClientIP()); + dto.setUserAgent(ServletUtils.getUserAgent()); + operateLogService.createOperateLog(dto); + } catch (Exception ex) { + log.warn("记录外部 SSO 审计日志失败", ex); + } + } + + private void recordLoginLog(Long userId, String username, LoginResultEnum result) { + LoginLogCreateReqDTO dto = new LoginLogCreateReqDTO(); + dto.setLogType(LoginLogTypeEnum.LOGIN_EXTERNAL_SSO.getType()); + dto.setTraceId(TracerUtils.getTraceId()); + dto.setUserId(userId); + dto.setUserType(UserTypeEnum.ADMIN.getValue()); + dto.setUsername(username); + dto.setResult(result.getResult()); + dto.setUserIp(ServletUtils.getClientIP()); + dto.setUserAgent(ServletUtils.getUserAgent()); + loginLogService.createLoginLog(dto); + if (userId != null && result == LoginResultEnum.SUCCESS) { + adminUserService.updateUserLogin(userId, ServletUtils.getClientIP()); + } + } + + /** + * 构造业务异常并同步记录登录日志。 + */ + private ServiceException fail(ErrorCode errorCode, LoginResultEnum result, AdminUserDO user, + Throwable cause, Object... args) { + Long userId = user != null ? user.getId() : null; + String username = user != null ? user.getUsername() : "登录失败"; + recordLoginLog(userId, username, result); + ServiceException ex = exception(errorCode, args); + if (cause != null) { + ex.initCause(cause); + } + return ex; + } + + private String normalizeSourceSystem(String sourceSystem) { + String trimmed = StringUtils.hasText(sourceSystem) ? sourceSystem.trim() : null; + if (StringUtils.hasText(trimmed)) { + return trimmed; + } + return properties.getSystemCode(); + } + + private ExternalSsoStrategy selectStrategy(String sourceSystem) { + if (strategies == null || strategies.isEmpty()) { + return null; + } + return strategies.stream() + .filter(strategy -> { + try { + return strategy.supports(sourceSystem); + } catch (Exception ex) { + log.warn("判定 SSO 策略是否支持来源系统时出现异常: {}", ex.getMessage()); + return false; + } + }) + .findFirst() + .orElse(null); + } +} diff --git a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/sso/client/DefaultExternalSsoClient.java b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/sso/client/DefaultExternalSsoClient.java new file mode 100644 index 00000000..4d558e91 --- /dev/null +++ b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/sso/client/DefaultExternalSsoClient.java @@ -0,0 +1,294 @@ +package com.zt.plat.module.system.service.sso.client; + +import cn.hutool.core.util.StrUtil; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.ObjectMapper; +import com.fasterxml.jackson.databind.node.MissingNode; +import com.zt.plat.framework.common.util.integration.ShareServiceProperties; +import com.zt.plat.framework.common.util.integration.ShareServiceUtils; +import com.zt.plat.module.system.controller.admin.sso.vo.ExternalSsoVerifyReqVO; +import com.zt.plat.module.system.framework.sso.config.ExternalSsoProperties; +import com.zt.plat.module.system.framework.sso.config.ExternalSsoProperties.RemoteProperties; +import com.zt.plat.module.system.service.sso.dto.ExternalSsoUserInfo; +import jakarta.annotation.PostConstruct; +import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import org.springframework.boot.web.client.RestTemplateBuilder; +import org.springframework.data.redis.core.StringRedisTemplate; +import org.springframework.http.*; +import org.springframework.http.client.SimpleClientHttpRequestFactory; +import org.springframework.util.StringUtils; +import org.springframework.web.client.RestClientResponseException; +import org.springframework.web.client.RestTemplate; +import org.springframework.web.util.UriComponentsBuilder; + +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; + +/** + * 通过 HTTP 调用外部接口获取用户信息的默认实现。 + */ +@Slf4j +@RequiredArgsConstructor +public class DefaultExternalSsoClient implements ExternalSsoClient { + + private static final String RESPONSE_CODE_FIELD = "__sys__.status"; + private static final String RESPONSE_SUCCESS_CODE = "1"; + private static final String RESPONSE_MESSAGE_FIELD = "__sys__.msg"; + private static final String RESPONSE_USERNAME_FIELD = "sub"; + private static final String RESPONSE_NICKNAME_FIELD = "ucn"; + + private final ExternalSsoProperties properties; + private final ObjectMapper objectMapper; + private final RestTemplateBuilder restTemplateBuilder; + private final ShareServiceProperties shareServiceProperties; + private final StringRedisTemplate stringRedisTemplate; + + private volatile RestTemplate restTemplate; + private volatile RestTemplate shareServiceRestTemplate; + + @PostConstruct + public void init() { + this.restTemplate = buildRestTemplate(); + } + + @Override + public ExternalSsoUserInfo fetchUserInfo(String token, ExternalSsoVerifyReqVO request) { + RemoteProperties remote = properties.getRemote(); + RestTemplate template = getUserInfoRestTemplate(); + String shareToken = obtainShareServiceToken(); + + // 构造访问外部用户信息接口的完整地址 + UriComponentsBuilder uriBuilder = UriComponentsBuilder.fromHttpUrl(normalizeBaseUrl(remote.getBaseUrl())) + .path(normalizePath(remote.getUserInfoPath())); + + remote.getQueryParams().forEach((key, value) -> { + if (value != null) { + uriBuilder.queryParam(key, value); + } + }); + + // 组装请求头 + HttpHeaders headers = new HttpHeaders(); + headers.setAccept(List.of(MediaType.APPLICATION_JSON, MediaType.TEXT_PLAIN, MediaType.ALL)); + remote.getHeaders().forEach((key, value) -> { + if (value != null) { + headers.set(key, value); + } + }); + if (StringUtils.hasText(shareToken)) { + headers.set(shareServiceProperties.getTokenHeaderName(), shareToken); + } + + // 组装请求体 + HttpEntity entity; + if (remote.getMethod() == HttpMethod.GET) { + entity = new HttpEntity<>(headers); + } else { + Map body = buildRequestBody(remote, token); + if (headers.getContentType() == null) { + headers.setContentType(MediaType.APPLICATION_JSON); + } + entity = new HttpEntity<>(body, headers); + } + + // 调用外部接口并处理重试 + String responseBody = null; + int attempts = Math.max(1, 0) + 1; + // 简单重试机制 + for (int current = 1; current <= attempts; current++) { + try { + ResponseEntity response = template.exchange(uriBuilder.build(true).toUri(), remote.getMethod(), entity, String.class); + responseBody = response.getBody(); + break; + } catch (RestClientResponseException ex) { + responseBody = ex.getResponseBodyAsString(); + if (current == attempts) { + throw new ExternalSsoClientException("调用外部用户信息接口返回异常: " + ex.getRawStatusCode(), ex, responseBody); + } + log.warn("调用外部 SSO 接口失败({}/{}): status={}, body={}", current, attempts, ex.getRawStatusCode(), StrUtil.maxLength(responseBody, 200)); + } catch (Exception ex) { + if (current == attempts) { + throw new ExternalSsoClientException("调用外部用户信息接口失败", ex); + } + log.warn("调用外部 SSO 接口异常({}/{}): {}", current, attempts, ex.getMessage()); + } + } + + if (!StringUtils.hasText(responseBody)) { + throw new ExternalSsoClientException("外部用户信息接口返回空响应"); + } + + try { + // 解析外部接口返回结果并抽取关键字段 + JsonNode root = objectMapper.readTree(responseBody); + validateResponse(root); + String username = textValue(extractNode(root, RESPONSE_USERNAME_FIELD)); + String nickname = textValue(extractNode(root, RESPONSE_NICKNAME_FIELD)); + + if (!StringUtils.hasText(username)) { + username = token; + } + if (!StringUtils.hasText(nickname)) { + nickname = username; + } + + ExternalSsoUserInfo info = new ExternalSsoUserInfo() + .setUsername(username) + .setNickname(nickname); + info.addAttribute("rawResponse", responseBody); + return info; + } catch (ExternalSsoClientException ex) { + throw ex; + } catch (Exception ex) { + throw new ExternalSsoClientException("解析外部用户信息失败", ex, responseBody); + } + } + + /** + * 校验外部接口的业务状态码,只有成功码才允许继续解析。 + */ + private void validateResponse(JsonNode root) { + JsonNode codeNode = extractNode(root, RESPONSE_CODE_FIELD); + String code = codeNode != null && !codeNode.isNull() ? codeNode.asText() : null; + if (code != null) { + if (!StrUtil.equals(code, RESPONSE_SUCCESS_CODE)) { + String message = textValue(extractNode(root, RESPONSE_MESSAGE_FIELD)); + throw new ExternalSsoClientException(StrUtil.format("外部接口返回失败, code={}, message={}", code, message), root.toString()); + } + return; + } + + // 如果最终既没有配置的 code 字段,则不再强制认为失败,后续解析将尽量从返回体中抽取数据。 + } + + /** + * 按“a.b.c”路径提取嵌套节点,缺失时返回 MissingNode,便于后续统一判空。 + */ + private JsonNode extractNode(JsonNode root, String path) { + if (!StringUtils.hasText(path)) { + return root; + } + if (root == null || root.isMissingNode()) { + return MissingNode.getInstance(); + } + JsonNode current = root; + for (String segment : path.split("\\.")) { + if (!StringUtils.hasText(segment) || current == null) { + return MissingNode.getInstance(); + } + current = current.get(segment); + if (current == null) { + return MissingNode.getInstance(); + } + } + return current; + } + + /** + * 获取字符串值并做去空白处理。 + */ + private String textValue(JsonNode node) { + if (node == null || node.isMissingNode() || node.isNull()) { + return null; + } + String value = node.asText(); + return StringUtils.hasText(value) ? value.trim() : null; + } + + + /** + * 调用共享服务获取访问 token,失败时包装成客户端异常。 + */ + private String obtainShareServiceToken() { + try { + RestTemplate shareTemplate = getShareServiceRestTemplate(); + String token = ShareServiceUtils.getAccessToken(shareTemplate, stringRedisTemplate, shareServiceProperties); + if (!StringUtils.hasText(token)) { + throw new ExternalSsoClientException("获取共享服务访问 token 为空"); + } + return token; + } catch (ExternalSsoClientException ex) { + throw ex; + } catch (Exception ex) { + throw new ExternalSsoClientException("获取共享服务访问 token 失败", ex); + } + } + + /** + * 懒加载共享服务使用的 RestTemplate,减少重复构造。 + */ + private RestTemplate getShareServiceRestTemplate() { + RestTemplate existing = shareServiceRestTemplate; + if (existing != null) { + return existing; + } + synchronized (this) { + if (shareServiceRestTemplate == null) { + shareServiceRestTemplate = restTemplateBuilder.build(); + } + return shareServiceRestTemplate; + } + } + + /** + * 构建具备超时与代理能力的 RestTemplate。 + */ + private RestTemplate buildRestTemplate() { + RemoteProperties remote = properties.getRemote(); + return restTemplateBuilder.requestFactory(() -> createRequestFactory(remote)).build(); + } + + /** + * 懒加载外部用户接口使用的 RestTemplate,确保多线程安全。 + */ + private RestTemplate getUserInfoRestTemplate() { + RestTemplate existing = restTemplate; + if (existing != null) { + return existing; + } + synchronized (this) { + if (restTemplate == null) { + restTemplate = buildRestTemplate(); + } + return restTemplate; + } + } + + private SimpleClientHttpRequestFactory createRequestFactory(RemoteProperties remote) { + SimpleClientHttpRequestFactory factory = new SimpleClientHttpRequestFactory(); + factory.setConnectTimeout(remote.getConnectTimeoutMillis()); + factory.setReadTimeout(remote.getReadTimeoutMillis()); + return factory; + } + + private String normalizeBaseUrl(String baseUrl) { + if (!StringUtils.hasText(baseUrl)) { + return baseUrl; + } + return baseUrl.endsWith("/") ? baseUrl.substring(0, baseUrl.length() - 1) : baseUrl; + } + + private String normalizePath(String path) { + if (!StringUtils.hasText(path)) { + return ""; + } + return path.startsWith("/") ? path : "/" + path; + } + + /** + * 根据配置与动态上下文构造请求体,并附加必需的 x-token 结构。 + */ + private Map buildRequestBody(RemoteProperties remote, + String token) { + Map body = new LinkedHashMap<>(); + remote.getBody().forEach((key, value) -> { + if (value != null) { + body.put(key, value); + } + }); + body.put("x-token", token); + return body; + } +} diff --git a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/sso/client/ExternalSsoClient.java b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/sso/client/ExternalSsoClient.java new file mode 100644 index 00000000..dc40101d --- /dev/null +++ b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/sso/client/ExternalSsoClient.java @@ -0,0 +1,19 @@ +package com.zt.plat.module.system.service.sso.client; + +import com.zt.plat.module.system.controller.admin.sso.vo.ExternalSsoVerifyReqVO; +import com.zt.plat.module.system.service.sso.dto.ExternalSsoUserInfo; + +/** + * 定义外部身份源拉取用户信息的能力。 + */ +public interface ExternalSsoClient { + + /** + * 根据外部令牌获取用户详情。 + * + * @param token 原始令牌 + * @param request 请求参数 + * @return 外部用户信息 + */ + ExternalSsoUserInfo fetchUserInfo(String token, ExternalSsoVerifyReqVO request); +} diff --git a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/sso/client/ExternalSsoClientConfiguration.java b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/sso/client/ExternalSsoClientConfiguration.java new file mode 100644 index 00000000..c1b8d85c --- /dev/null +++ b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/sso/client/ExternalSsoClientConfiguration.java @@ -0,0 +1,29 @@ +package com.zt.plat.module.system.service.sso.client; + +import com.fasterxml.jackson.databind.ObjectMapper; +import com.zt.plat.framework.common.util.integration.ShareServiceProperties; +import com.zt.plat.module.system.framework.sso.config.ExternalSsoProperties; +import org.springframework.boot.context.properties.EnableConfigurationProperties; +import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; +import org.springframework.boot.web.client.RestTemplateBuilder; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.data.redis.core.StringRedisTemplate; + +/** + * 注册外部 SSO 客户端默认实现的配置类,允许业务自行覆盖。 + */ +@Configuration(proxyBeanMethods = false) +@EnableConfigurationProperties(ShareServiceProperties.class) +public class ExternalSsoClientConfiguration { + + @Bean + @ConditionalOnMissingBean(ExternalSsoClient.class) + public ExternalSsoClient externalSsoClient(ExternalSsoProperties properties, + ObjectMapper objectMapper, + RestTemplateBuilder restTemplateBuilder, + ShareServiceProperties shareServiceProperties, + StringRedisTemplate stringRedisTemplate) { + return new DefaultExternalSsoClient(properties, objectMapper, restTemplateBuilder, shareServiceProperties, stringRedisTemplate); + } +} diff --git a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/sso/client/ExternalSsoClientException.java b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/sso/client/ExternalSsoClientException.java new file mode 100644 index 00000000..d1ce33ac --- /dev/null +++ b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/sso/client/ExternalSsoClientException.java @@ -0,0 +1,33 @@ +package com.zt.plat.module.system.service.sso.client; + +/** + * 外部 SSO 客户端在获取用户信息失败时抛出的异常。 + */ +public class ExternalSsoClientException extends RuntimeException { + + private final String responseBody; + + public ExternalSsoClientException(String message) { + super(message); + this.responseBody = null; + } + + public ExternalSsoClientException(String message, Throwable cause) { + super(message, cause); + this.responseBody = null; + } + + public ExternalSsoClientException(String message, String responseBody) { + super(message); + this.responseBody = responseBody; + } + + public ExternalSsoClientException(String message, Throwable cause, String responseBody) { + super(message, cause); + this.responseBody = responseBody; + } + + public String getResponseBody() { + return responseBody; + } +} diff --git a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/sso/dto/ExternalSsoUserInfo.java b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/sso/dto/ExternalSsoUserInfo.java new file mode 100644 index 00000000..67fb75af --- /dev/null +++ b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/sso/dto/ExternalSsoUserInfo.java @@ -0,0 +1,30 @@ +package com.zt.plat.module.system.service.sso.dto; + +import lombok.Data; +import lombok.experimental.Accessors; + +import java.util.HashMap; +import java.util.Map; + +/** + * 外部系统返回的用户信息标准化模型。 + */ +@Data +@Accessors(chain = true) +public class ExternalSsoUserInfo { + + private String username; + private String nickname; + private String email; + private String mobile; + private Long tenantId; + private Map attributes = new HashMap<>(); + + public ExternalSsoUserInfo addAttribute(String key, Object value) { + if (attributes == null) { + attributes = new HashMap<>(); + } + attributes.put(key, value); + return this; + } +} diff --git a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/sso/strategy/DefaultExternalSsoStrategy.java b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/sso/strategy/DefaultExternalSsoStrategy.java new file mode 100644 index 00000000..e19380b2 --- /dev/null +++ b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/sso/strategy/DefaultExternalSsoStrategy.java @@ -0,0 +1,103 @@ +package com.zt.plat.module.system.service.sso.strategy; + +import cn.hutool.core.util.StrUtil; +import com.zt.plat.framework.tenant.core.util.TenantUtils; +import com.zt.plat.module.system.controller.admin.sso.vo.ExternalSsoVerifyReqVO; +import com.zt.plat.module.system.dal.dataobject.user.AdminUserDO; +import com.zt.plat.module.system.framework.sso.config.ExternalSsoProperties; +import com.zt.plat.module.system.framework.sso.config.ExternalSsoProperties.MatchField; +import com.zt.plat.module.system.framework.sso.config.ExternalSsoProperties.MappingProperties; +import com.zt.plat.module.system.service.sso.client.ExternalSsoClient; +import com.zt.plat.module.system.service.sso.client.ExternalSsoClientException; +import com.zt.plat.module.system.service.sso.dto.ExternalSsoUserInfo; +import com.zt.plat.module.system.service.user.AdminUserService; +import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import org.springframework.core.Ordered; +import org.springframework.core.annotation.Order; +import org.springframework.stereotype.Component; +import org.springframework.util.CollectionUtils; +import org.springframework.util.StringUtils; + +import java.util.List; + +/** + * 默认的外部单点登录策略,基于 {@link ExternalSsoProperties} 配置实现。 + */ +@Slf4j +@Component +@Order(Ordered.LOWEST_PRECEDENCE) +@RequiredArgsConstructor +public class DefaultExternalSsoStrategy implements ExternalSsoStrategy { + + private final ExternalSsoProperties properties; + private final ExternalSsoClient externalSsoClient; + private final AdminUserService adminUserService; + + @Override + public boolean supports(String sourceSystem) { + String expected = properties.getSystemCode(); + if (!StringUtils.hasText(sourceSystem)) { + return true; + } + if (!StringUtils.hasText(expected)) { + return true; + } + return StrUtil.equalsIgnoreCase(sourceSystem.trim(), expected); + } + + @Override + public ExternalSsoUserInfo fetchExternalUser(ExternalSsoVerifyReqVO reqVO) { + ExternalSsoUserInfo info = externalSsoClient.fetchUserInfo(reqVO.getToken(), reqVO); + if (info == null) { + throw new ExternalSsoClientException("外部接口未返回用户信息"); + } + return info; + } + + @Override + public AdminUserDO resolveLocalUser(ExternalSsoUserInfo externalUser, ExternalSsoVerifyReqVO reqVO) { + MappingProperties mapping = properties.getMapping(); + List fields = mapping.getOrder(); + if (CollectionUtils.isEmpty(fields)) { + fields = List.of(MatchField.USERNAME, MatchField.MOBILE); + } + AdminUserDO user = null; + for (MatchField field : fields) { + switch (field) { + case USERNAME -> user = findUserByUsername(externalUser.getUsername(), mapping.isIgnoreCase()); + case MOBILE -> user = findUserByMobile(externalUser.getMobile()); + default -> { + } + } + if (user != null) { + break; + } + } + return user; + } + + private AdminUserDO findUserByUsername(String username, boolean ignoreCase) { + if (!StringUtils.hasText(username)) { + return null; + } + AdminUserDO user = adminUserService.getUserByUsername(username); + if (user == null && ignoreCase) { + AdminUserDO candidate = TenantUtils.executeIgnore(() -> { + List list = adminUserService.getUserListByNickname(username); + return list.stream().filter(item -> StrUtil.equalsIgnoreCase(item.getUsername(), username)).findFirst().orElse(null); + }); + if (candidate != null) { + user = candidate; + } + } + return user; + } + + private AdminUserDO findUserByMobile(String mobile) { + if (!StringUtils.hasText(mobile)) { + return null; + } + return adminUserService.getUserByMobile(mobile); + } +} diff --git a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/sso/strategy/ExternalSsoStrategy.java b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/sso/strategy/ExternalSsoStrategy.java new file mode 100644 index 00000000..44c042a6 --- /dev/null +++ b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/sso/strategy/ExternalSsoStrategy.java @@ -0,0 +1,37 @@ +package com.zt.plat.module.system.service.sso.strategy; + +import com.zt.plat.module.system.controller.admin.sso.vo.ExternalSsoVerifyReqVO; +import com.zt.plat.module.system.dal.dataobject.user.AdminUserDO; +import com.zt.plat.module.system.service.sso.dto.ExternalSsoUserInfo; +import org.springframework.lang.Nullable; + +/** + * 定义外部单点登录在不同来源系统下的处理策略。 + */ +public interface ExternalSsoStrategy { + + /** + * 判断当前策略是否适用于指定来源系统。 + * + * @param sourceSystem 来源系统标识,可能为空 + * @return 是否支持 + */ + boolean supports(@Nullable String sourceSystem); + + /** + * 拉取并构造外部用户信息。 + * + * @param reqVO 请求参数 + * @return 外部用户信息,不能为空 + */ + ExternalSsoUserInfo fetchExternalUser(ExternalSsoVerifyReqVO reqVO); + + /** + * 根据外部用户信息匹配本地账号。 + * + * @param externalUser 外部用户信息 + * @param reqVO 请求参数 + * @return 匹配到的用户,找不到时返回 {@code null} + */ + AdminUserDO resolveLocalUser(ExternalSsoUserInfo externalUser, ExternalSsoVerifyReqVO reqVO); +} diff --git a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/sync/UserSyncServiceImpl.java b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/sync/UserSyncServiceImpl.java index 0610c086..34f59675 100644 --- a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/sync/UserSyncServiceImpl.java +++ b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/sync/UserSyncServiceImpl.java @@ -58,6 +58,15 @@ public class UserSyncServiceImpl implements UserSyncService { saveReqVO.setPassword("Zgty@9527"); // 设置为同步用户 saveReqVO.setUserSource(UserSourceEnum.SYNC.getSource()); + // 处理岗位名称字段 + if (StrUtil.isNotBlank(requestVO.getPostName())) { + Long postId = postService.getOrCreatePostByName(requestVO.getPostName()); + if (postId != null) { + Set postIds = saveReqVO.getPostIds() != null ? new HashSet<>(saveReqVO.getPostIds()) : new HashSet<>(); + postIds.add(postId); + saveReqVO.setPostIds(postIds); + } + } Long userId = adminUserService.createUser(saveReqVO); UserCreateResponseVO resp = new UserCreateResponseVO(); resp.setUid(String.valueOf(userId)); diff --git a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/user/AdminUserServiceImpl.java b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/user/AdminUserServiceImpl.java index 29ff8fc0..716ea498 100644 --- a/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/user/AdminUserServiceImpl.java +++ b/zt-module-system/zt-module-system-server/src/main/java/com/zt/plat/module/system/service/user/AdminUserServiceImpl.java @@ -33,6 +33,7 @@ import com.zt.plat.module.system.service.dept.PostService; import com.zt.plat.module.system.service.permission.PermissionService; import com.zt.plat.module.system.service.tenant.TenantService; import com.zt.plat.module.system.service.userdept.UserDeptService; +import org.apache.seata.spring.annotation.GlobalTransactional; import jakarta.annotation.Resource; import lombok.extern.slf4j.Slf4j; import org.springframework.context.annotation.Lazy; @@ -93,6 +94,7 @@ public class AdminUserServiceImpl implements AdminUserService { private UserDeptService userDeptService; @Override + @GlobalTransactional(rollbackFor = Exception.class) @Transactional(rollbackFor = Exception.class) @LogRecord(type = SYSTEM_USER_TYPE, subType = SYSTEM_USER_CREATE_SUB_TYPE, bizNo = "{{#user.id}}", success = SYSTEM_USER_CREATE_SUCCESS) @@ -323,12 +325,18 @@ public class AdminUserServiceImpl implements AdminUserService { @Override public AdminUserDO getUserByUsername(String username) { AdminUserDO user = userMapper.selectByUsername(username); + if (user != null) { + fillUserDeptInfo(Collections.singletonList(user)); + } return user; } @Override public AdminUserDO getUserByMobile(String mobile) { AdminUserDO user = userMapper.selectByMobile(mobile); + if (user != null) { + fillUserDeptInfo(Collections.singletonList(user)); + } return user; } @@ -386,7 +394,9 @@ public class AdminUserServiceImpl implements AdminUserService { } // 查询用户信息 Set userIds = convertSet(validUserDeptListByDeptIds, UserDeptDO::getUserId); - return userMapper.selectList("id", userIds); + List users = userMapper.selectList("id", userIds); + fillUserDeptInfo(users); + return users; } @Override @@ -399,6 +409,7 @@ public class AdminUserServiceImpl implements AdminUserService { return Collections.emptyList(); } List users = userMapper.selectBatchIds(userIds); + fillUserDeptInfo(users); return users; } @@ -408,6 +419,7 @@ public class AdminUserServiceImpl implements AdminUserService { return Collections.emptyList(); } List users = userMapper.selectListByIds(ids); + fillUserDeptInfo(users); return users; } @@ -434,6 +446,7 @@ public class AdminUserServiceImpl implements AdminUserService { @Override public List getUserListByNickname(String nickname) { List users = userMapper.selectListByNickname(nickname); + fillUserDeptInfo(users); return users; } @@ -603,6 +616,7 @@ public class AdminUserServiceImpl implements AdminUserService { @Override public List getUserListByStatus(Integer status) { List users = userMapper.selectListByStatus(status); + fillUserDeptInfo(users); return users; } diff --git a/zt-module-system/zt-module-system-server/src/main/resources/application.yaml b/zt-module-system/zt-module-system-server/src/main/resources/application.yaml index e1c3ff83..deb6c709 100644 --- a/zt-module-system/zt-module-system-server/src/main/resources/application.yaml +++ b/zt-module-system/zt-module-system-server/src/main/resources/application.yaml @@ -103,6 +103,28 @@ spring: easy-trans: is-enable-global: true # 启用全局翻译(拦截所有 SpringMVC ResponseBody 进行自动翻译 )。如果对于性能要求很高可关闭此配置,或通过 @IgnoreTrans 忽略某个接口 +--- #################### iWork 集成配置 #################### + +iwork: + enabled: true + base-url: http://172.16.36.233:8080 + app-id: + client-public-key: + user-id: + workflow-id: + paths: + register: /api/ec/dev/auth/regist + apply-token: /api/ec/dev/auth/applytoken + user-info: /api/workflow/paService/getUserInfo + create-workflow: /api/workflow/paService/doCreateRequest + void-workflow: /api/workflow/paService/doCancelRequest + token: + ttl-seconds: 3600 + refresh-ahead-seconds: 60 + client: + connect-timeout: 5s + response-timeout: 30s + --- #################### RPC 远程调用相关配置 #################### --- #################### 消息队列相关 #################### @@ -236,7 +258,7 @@ sync: eplat: share: - url-prefix: https://10.1.7.110 + url-prefix: http://10.1.7.110 client-id: ztjgj5gsJ2uU20900h9j client-secret: DC82AD38EA764719B6DC7D71AAB4856C scope: read diff --git a/zt-module-system/zt-module-system-server/src/test/java/com/zt/plat/module/system/service/auth/AdminAuthServiceImplTest.java b/zt-module-system/zt-module-system-server/src/test/java/com/zt/plat/module/system/service/auth/AdminAuthServiceImplTest.java index 35b521b5..c9fd33bc 100644 --- a/zt-module-system/zt-module-system-server/src/test/java/com/zt/plat/module/system/service/auth/AdminAuthServiceImplTest.java +++ b/zt-module-system/zt-module-system-server/src/test/java/com/zt/plat/module/system/service/auth/AdminAuthServiceImplTest.java @@ -17,8 +17,6 @@ import com.zt.plat.module.system.enums.logger.LoginResultEnum; import com.zt.plat.module.system.enums.sms.SmsSceneEnum; import com.zt.plat.module.system.enums.social.SocialTypeEnum; import com.zt.plat.module.system.service.logger.LoginLogService; -import com.zt.plat.module.system.service.member.MemberService; -import com.zt.plat.module.system.service.oauth2.EbanOAuth2Service; import com.zt.plat.module.system.service.oauth2.OAuth2TokenService; import com.zt.plat.module.system.service.social.SocialUserService; import com.zt.plat.module.system.service.user.AdminUserService; @@ -60,10 +58,6 @@ public class AdminAuthServiceImplTest extends BaseDbUnitTest { @MockBean private OAuth2TokenService oauth2TokenService; @MockBean - private MemberService memberService; - @MockBean - private EbanOAuth2Service ebanOAuth2Service; - @MockBean private Validator validator; @BeforeEach diff --git a/zt-module-system/zt-module-system-server/src/test/java/com/zt/plat/module/system/service/integration/iwork/impl/IWorkIntegrationServiceImplTest.java b/zt-module-system/zt-module-system-server/src/test/java/com/zt/plat/module/system/service/integration/iwork/impl/IWorkIntegrationServiceImplTest.java new file mode 100644 index 00000000..55273280 --- /dev/null +++ b/zt-module-system/zt-module-system-server/src/test/java/com/zt/plat/module/system/service/integration/iwork/impl/IWorkIntegrationServiceImplTest.java @@ -0,0 +1,228 @@ +package com.zt.plat.module.system.service.integration.iwork.impl; + +import com.zt.plat.module.system.controller.admin.integration.iwork.vo.IWorkDetailRecordVO; +import com.zt.plat.module.system.controller.admin.integration.iwork.vo.IWorkDetailTableVO; +import com.zt.plat.module.system.controller.admin.integration.iwork.vo.IWorkFormFieldVO; +import com.zt.plat.module.system.controller.admin.integration.iwork.vo.IWorkOperationRespVO; +import com.zt.plat.module.system.controller.admin.integration.iwork.vo.IWorkUserInfoReqVO; +import com.zt.plat.module.system.controller.admin.integration.iwork.vo.IWorkUserInfoRespVO; +import com.zt.plat.module.system.controller.admin.integration.iwork.vo.IWorkWorkflowCreateReqVO; +import com.zt.plat.module.system.controller.admin.integration.iwork.vo.IWorkWorkflowVoidReqVO; +import com.zt.plat.module.system.framework.integration.iwork.config.IWorkProperties; +import com.zt.plat.module.system.service.integration.iwork.IWorkIntegrationService; +import com.fasterxml.jackson.databind.ObjectMapper; +import okhttp3.mockwebserver.MockResponse; +import okhttp3.mockwebserver.MockWebServer; +import okhttp3.mockwebserver.RecordedRequest; +import org.junit.jupiter.api.AfterEach; +import org.junit.jupiter.api.BeforeAll; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; +import org.springframework.web.reactive.function.client.WebClient; + +import javax.crypto.Cipher; +import java.nio.charset.StandardCharsets; +import java.security.KeyFactory; +import java.security.KeyPair; +import java.security.KeyPairGenerator; +import java.security.PrivateKey; +import java.security.PublicKey; +import java.security.spec.X509EncodedKeySpec; +import java.time.Duration; +import java.util.Base64; +import java.util.List; +import java.util.Map; + +import static org.assertj.core.api.Assertions.assertThat; + +class IWorkIntegrationServiceImplTest { + + private static KeyPair serverKeyPair; + private static String serverPublicKeyBase64; + private static String clientPublicKeyBase64; + + private MockWebServer mockWebServer; + private IWorkIntegrationService integrationService; + private IWorkProperties properties; + + @BeforeAll + static void initKeys() throws Exception { + KeyPairGenerator generator = KeyPairGenerator.getInstance("RSA"); + generator.initialize(1024); + serverKeyPair = generator.generateKeyPair(); + serverPublicKeyBase64 = Base64.getEncoder().encodeToString(serverKeyPair.getPublic().getEncoded()); + + KeyPair clientKeyPair = generator.generateKeyPair(); + clientPublicKeyBase64 = Base64.getEncoder().encodeToString(clientKeyPair.getPublic().getEncoded()); + } + + @BeforeEach + void setUp() throws Exception { + mockWebServer = new MockWebServer(); + mockWebServer.start(); + + properties = buildProperties(); + WebClient.Builder builder = WebClient.builder(); + ObjectMapper objectMapper = new ObjectMapper(); + integrationService = new IWorkIntegrationServiceImpl(properties, objectMapper, builder); + } + + @AfterEach + void tearDown() throws Exception { + mockWebServer.shutdown(); + } + + @Test + void testWorkflowLifecycle() throws Exception { + enqueueRegisterResponse(); + enqueueApplyTokenResponse(); + enqueueJsonResponse("{\"code\":1,\"userid\":\"1001\",\"msg\":\"OK\"}"); + enqueueJsonResponse("{\"code\":\"1\",\"requestid\":\"REQ-001\",\"msg\":\"created\"}"); + enqueueJsonResponse("{\"code\":\"1\",\"msg\":\"voided\"}"); + + IWorkUserInfoReqVO userReq = new IWorkUserInfoReqVO(); + userReq.setIdentifierKey("loginid"); + userReq.setIdentifierValue("zhangsan"); + + IWorkUserInfoRespVO userResp = integrationService.resolveUserId(userReq); + assertThat(userResp.isSuccess()).isTrue(); + assertThat(userResp.getUserId()).isEqualTo("1001"); + + IWorkWorkflowCreateReqVO createReq = buildCreateRequest(); + IWorkOperationRespVO createResp = integrationService.createWorkflow(createReq); + assertThat(createResp.isSuccess()).isTrue(); + assertThat(createResp.getPayload().get("requestid")).isEqualTo("REQ-001"); + + IWorkWorkflowVoidReqVO voidReq = new IWorkWorkflowVoidReqVO(); + voidReq.setRequestId("REQ-001"); + voidReq.setReason("testing void"); + IWorkOperationRespVO voidResp = integrationService.voidWorkflow(voidReq); + assertThat(voidResp.isSuccess()).isTrue(); + + verifyRegisterRequest(mockWebServer.takeRequest()); + verifyApplyTokenRequest(mockWebServer.takeRequest()); + verifyUserInfoRequest(mockWebServer.takeRequest()); + verifyCreateRequest(mockWebServer.takeRequest()); + verifyVoidRequest(mockWebServer.takeRequest()); + + assertThat(mockWebServer.getRequestCount()).isEqualTo(5); + } + + private IWorkProperties buildProperties() { + IWorkProperties properties = new IWorkProperties(); + properties.setEnabled(true); + properties.setBaseUrl(mockWebServer.url("/").toString()); + properties.setAppId("test-app"); + properties.setClientPublicKey(clientPublicKeyBase64); + properties.setUserId("1"); + properties.setWorkflowId(54L); + properties.getToken().setTtlSeconds(3600L); + properties.getToken().setRefreshAheadSeconds(30L); + properties.getClient().setResponseTimeout(Duration.ofSeconds(5)); + + properties.getPaths().setRegister("/api/ec/dev/auth/regist"); + properties.getPaths().setApplyToken("/api/ec/dev/auth/applytoken"); + properties.getPaths().setUserInfo("/api/workflow/paService/getUserInfo"); + properties.getPaths().setCreateWorkflow("/api/workflow/paService/doCreateRequest"); + properties.getPaths().setVoidWorkflow("/api/workflow/paService/doCancelRequest"); + + properties.getClient().setConnectTimeout(Duration.ofSeconds(5)); + return properties; + } + + private void verifyRegisterRequest(RecordedRequest request) { + assertThat(request.getPath()).isEqualTo("/api/ec/dev/auth/regist"); + assertThat(request.getHeader(properties.getHeaders().getAppId())).isEqualTo("test-app"); + assertThat(request.getHeader(properties.getHeaders().getClientPublicKey())).isEqualTo(clientPublicKeyBase64); + } + + private void verifyApplyTokenRequest(RecordedRequest request) throws Exception { + assertThat(request.getPath()).isEqualTo("/api/ec/dev/auth/applytoken"); + assertThat(request.getHeader(properties.getHeaders().getAppId())).isEqualTo("test-app"); + assertThat(request.getHeader(properties.getHeaders().getTime())).isEqualTo("3600"); + String decryptedSecret = decryptHeader(request.getHeader(properties.getHeaders().getSecret())); + assertThat(decryptedSecret).isEqualTo("plain-secret"); + } + + private void verifyUserInfoRequest(RecordedRequest request) throws Exception { + assertThat(request.getPath()).isEqualTo("/api/workflow/paService/getUserInfo"); + assertThat(request.getHeader(properties.getHeaders().getToken())).isEqualTo("token-123"); + String decryptedUserId = decryptHeader(request.getHeader(properties.getHeaders().getUserId())); + assertThat(decryptedUserId).isEqualTo("1"); + String body = request.getBody().readUtf8(); + assertThat(body).contains("loginid"); + assertThat(body).contains("zhangsan"); + } + + private void verifyCreateRequest(RecordedRequest request) throws Exception { + assertThat(request.getPath()).isEqualTo("/api/workflow/paService/doCreateRequest"); + assertThat(request.getHeader(properties.getHeaders().getToken())).isEqualTo("token-123"); + String decryptedUserId = decryptHeader(request.getHeader(properties.getHeaders().getUserId())); + assertThat(decryptedUserId).isEqualTo("1"); + String body = request.getBody().readUtf8(); + assertThat(body).contains("requestName=测试流程"); + assertThat(body).contains("workflowId=54"); + assertThat(body).contains("mainData=%5B"); + } + + private void verifyVoidRequest(RecordedRequest request) throws Exception { + assertThat(request.getPath()).isEqualTo("/api/workflow/paService/doCancelRequest"); + assertThat(request.getHeader(properties.getHeaders().getToken())).isEqualTo("token-123"); + String decryptedUserId = decryptHeader(request.getHeader(properties.getHeaders().getUserId())); + assertThat(decryptedUserId).isEqualTo("1"); + String body = request.getBody().readUtf8(); + assertThat(body).contains("requestId=REQ-001"); + assertThat(body).contains("remark=testing+void"); + } + + private void enqueueRegisterResponse() { + enqueueJsonResponse("{" + + "\"secret\":\"plain-secret\"," + + "\"spk\":\"" + serverPublicKeyBase64 + "\"}"); + } + + private void enqueueApplyTokenResponse() { + enqueueJsonResponse("{\"token\":\"token-123\",\"expire\":3600}"); + } + + private void enqueueJsonResponse(String body) { + mockWebServer.enqueue(new MockResponse() + .setHeader("Content-Type", "application/json") + .setBody(body)); + } + + private IWorkWorkflowCreateReqVO buildCreateRequest() { + IWorkFormFieldVO field1 = new IWorkFormFieldVO(); + field1.setFieldName("sqr"); + field1.setFieldValue("张三"); + + IWorkFormFieldVO field2 = new IWorkFormFieldVO(); + field2.setFieldName("sqrq"); + field2.setFieldValue("2023-11-02"); + + IWorkDetailRecordVO detailRecord = new IWorkDetailRecordVO(); + detailRecord.setRecordOrder(0); + IWorkFormFieldVO detailField = new IWorkFormFieldVO(); + detailField.setFieldName("ddh"); + detailField.setFieldValue("100010"); + detailRecord.setFields(List.of(detailField)); + + IWorkDetailTableVO detailTable = new IWorkDetailTableVO(); + detailTable.setTableDBName("formtable_main_26_dt1"); + detailTable.setRecords(List.of(detailRecord)); + + IWorkWorkflowCreateReqVO req = new IWorkWorkflowCreateReqVO(); + req.setRequestName("测试流程"); + req.setMainFields(List.of(field1, field2)); + req.setDetailTables(List.of(detailTable)); + req.setOtherParams(Map.of("isnextflow", "0")); + return req; + } + + private String decryptHeader(String headerValue) throws Exception { + Cipher cipher = Cipher.getInstance("RSA/ECB/PKCS1Padding"); + cipher.init(Cipher.DECRYPT_MODE, serverKeyPair.getPrivate()); + byte[] decrypted = cipher.doFinal(Base64.getDecoder().decode(headerValue)); + return new String(decrypted, StandardCharsets.UTF_8); + } +} diff --git a/zt-module-system/zt-module-system-server/src/test/java/com/zt/plat/module/system/service/sso/client/ExternalSsoClientConfigurationLoadTest.java b/zt-module-system/zt-module-system-server/src/test/java/com/zt/plat/module/system/service/sso/client/ExternalSsoClientConfigurationLoadTest.java new file mode 100644 index 00000000..956299cd --- /dev/null +++ b/zt-module-system/zt-module-system-server/src/test/java/com/zt/plat/module/system/service/sso/client/ExternalSsoClientConfigurationLoadTest.java @@ -0,0 +1,44 @@ +package com.zt.plat.module.system.service.sso.client; + +import com.zt.plat.module.system.framework.sso.config.ExternalSsoProperties; +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.boot.test.context.TestConfiguration; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Import; +import org.springframework.data.redis.core.StringRedisTemplate; + +import static org.assertj.core.api.Assertions.assertThat; +import static org.mockito.Mockito.mock; + +/** + * 仅加载 ExternalSsoClientConfiguration,校验上下文能成功创建 ExternalSsoClient Bean。 + * 使用 Mock 的 RedisTemplate,避免外部依赖。 + */ +@SpringBootTest(classes = { ExternalSsoClientConfiguration.class, ExternalSsoClientConfigurationLoadTest.TestBeans.class }) +@Import(ExternalSsoProperties.class) +class ExternalSsoClientConfigurationLoadTest { + + @TestConfiguration + static class TestBeans { + @Bean + public StringRedisTemplate stringRedisTemplate() { + return mock(StringRedisTemplate.class); + } + + @Bean + public ExternalSsoProperties externalSsoProperties() { + ExternalSsoProperties props = new ExternalSsoProperties(); + // 提供必要的基础配置,避免初始化过程出现 NPE + props.getRemote().setBaseUrl("http://localhost"); + return props; + } + } + + @Test + void contextLoads(org.springframework.context.ApplicationContext context) { + Object bean = context.getBean(ExternalSsoClient.class); + assertThat(bean).isNotNull(); + assertThat(bean).isInstanceOf(DefaultExternalSsoClient.class); + } +} diff --git a/zt-module-system/zt-module-system-server/src/test/java/com/zt/plat/module/system/service/sync/UserSyncServiceImplTest.java b/zt-module-system/zt-module-system-server/src/test/java/com/zt/plat/module/system/service/sync/UserSyncServiceImplTest.java index c8e7e168..4f97ef23 100644 --- a/zt-module-system/zt-module-system-server/src/test/java/com/zt/plat/module/system/service/sync/UserSyncServiceImplTest.java +++ b/zt-module-system/zt-module-system-server/src/test/java/com/zt/plat/module/system/service/sync/UserSyncServiceImplTest.java @@ -13,10 +13,7 @@ import com.zt.plat.module.system.service.userdept.UserDeptService; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import org.mockito.InjectMocks; -import org.mockito.Mock; -import org.mockito.MockedStatic; -import org.mockito.Mockito; +import org.mockito.*; import java.util.List; import java.util.Set; @@ -57,25 +54,60 @@ public class UserSyncServiceImplTest extends BaseMockitoUnitTest { securityFrameworkUtilsMock.close(); } -// @Test -// void testCreateUser() { -// // Arrange -// UserCreateRequestVO requestVO = randomPojo(UserCreateRequestVO.class); -// Long newUserId = randomLongId(); -// when(adminUserService.createUser(any(UserSaveReqVO.class))).thenReturn(newUserId); -// -// // Act -// UserCreateResponseVO response = userSyncService.createUser(requestVO); -// -// // Assert -// assertNotNull(response); -// assertEquals("0", response.getResultCode()); -// assertEquals("success", response.getMessage()); -// assertEquals(String.valueOf(newUserId), response.getUid()); -// assertEquals(requestVO.getBimRequestId(), response.getBimRequestId()); -// -// verify(adminUserService).createUser(any(UserSaveReqVO.class)); -// } + @Test + void testCreateUser_WithPostName() { + // Arrange + UserCreateRequestVO requestVO = randomPojo(UserCreateRequestVO.class, vo -> { + vo.setPostName("岗位A"); + vo.setDeptIds(null); + }); + Long newUserId = randomLongId(); + Long postId = randomLongId(); + when(postService.getOrCreatePostByName(requestVO.getPostName())).thenReturn(postId); + when(adminUserService.createUser(any(UserSaveReqVO.class))).thenReturn(newUserId); + + // Act + UserCreateResponseVO response = userSyncService.createUser(requestVO); + + // Assert + assertNotNull(response); + assertEquals("0", response.getResultCode()); + assertEquals("success", response.getMessage()); + assertEquals(String.valueOf(newUserId), response.getUid()); + assertEquals(requestVO.getBimRequestId(), response.getBimRequestId()); + + ArgumentCaptor captor = ArgumentCaptor.forClass(UserSaveReqVO.class); + verify(adminUserService).createUser(captor.capture()); + assertNotNull(captor.getValue().getPostIds()); + assertTrue(captor.getValue().getPostIds().contains(postId)); + verify(postService).getOrCreatePostByName(requestVO.getPostName()); + } + + @Test + void testCreateUser_WithoutPostName() { + // Arrange + UserCreateRequestVO requestVO = randomPojo(UserCreateRequestVO.class, vo -> { + vo.setPostName(null); + vo.setDeptIds(null); + }); + Long newUserId = randomLongId(); + when(adminUserService.createUser(any(UserSaveReqVO.class))).thenReturn(newUserId); + + // Act + UserCreateResponseVO response = userSyncService.createUser(requestVO); + + // Assert + assertNotNull(response); + assertEquals("0", response.getResultCode()); + assertEquals("success", response.getMessage()); + assertEquals(String.valueOf(newUserId), response.getUid()); + assertEquals(requestVO.getBimRequestId(), response.getBimRequestId()); + + ArgumentCaptor captor = ArgumentCaptor.forClass(UserSaveReqVO.class); + verify(adminUserService).createUser(captor.capture()); + assertTrue(captor.getValue().getPostIds() == null || captor.getValue().getPostIds().isEmpty()); + verify(postService, never()).getOrCreatePostByName(any()); + } @Test void testDeleteUser_Success() { diff --git a/zt-module-system/zt-module-system-server/src/test/java/com/zt/plat/module/system/service/user/AdminUserServiceImplTest.java b/zt-module-system/zt-module-system-server/src/test/java/com/zt/plat/module/system/service/user/AdminUserServiceImplTest.java index e45cc0e2..ba830d9b 100644 --- a/zt-module-system/zt-module-system-server/src/test/java/com/zt/plat/module/system/service/user/AdminUserServiceImplTest.java +++ b/zt-module-system/zt-module-system-server/src/test/java/com/zt/plat/module/system/service/user/AdminUserServiceImplTest.java @@ -649,6 +649,7 @@ public class AdminUserServiceImplTest extends BaseDbUnitTest { o.setStatus(randomEle(CommonStatusEnum.values()).getStatus()); // 保证 status 的范围 o.setSex(randomEle(SexEnum.values()).getSex()); o.setDeptIds(new HashSet<>(asSet(1L, 2L))); + o.setDeptNames("-"); o.setCompanyDeptInfos(null);// 保证 deptIds 的范围 o.setUserSource(null); }; diff --git a/zt-module-system/zt-module-system-server/src/test/resources/application-unit-test.yaml b/zt-module-system/zt-module-system-server/src/test/resources/application-unit-test.yaml index 7a2bc12c..2fa6d308 100644 --- a/zt-module-system/zt-module-system-server/src/test/resources/application-unit-test.yaml +++ b/zt-module-system/zt-module-system-server/src/test/resources/application-unit-test.yaml @@ -2,6 +2,16 @@ spring: main: lazy-initialization: true # 开启懒加载,加快速度 banner-mode: off # 单元测试,禁用 Banner + config: + import: optional:classpath:application-unit-test-config.yaml # 覆盖主配置中的 Nacos 导入,避免单测加载远程配置 + cloud: + nacos: + config: + enabled: false + import-check: + enabled: false + discovery: + enabled: false --- #################### 数据库相关配置 #################### @@ -37,6 +47,16 @@ mybatis-plus: configuration: log-impl: org.apache.ibatis.logging.stdout.StdOutImpl +config: + server-addr: 127.0.0.1:8848 + namespace: unit-test + group: DEFAULT_GROUP + username: + password: + +env: + name: unit-test + --- #################### 定时任务相关配置 #################### --- #################### 配置中心相关配置 #################### diff --git a/zt-module-system/zt-module-system-server/src/test/resources/application.yaml b/zt-module-system/zt-module-system-server/src/test/resources/application.yaml new file mode 100644 index 00000000..5ef9feb1 --- /dev/null +++ b/zt-module-system/zt-module-system-server/src/test/resources/application.yaml @@ -0,0 +1,25 @@ +spring: + config: + import: optional:classpath:application-unit-test-config.yaml + application: + name: system-server + profiles: + active: unit-test + cloud: + nacos: + config: + enabled: false + import-check: + enabled: false + discovery: + enabled: false + +config: + server-addr: 127.0.0.1:8848 + namespace: unit-test + group: DEFAULT_GROUP + username: + password: + +env: + name: unit-test diff --git a/zt-module-template/zt-module-template-server/src/main/java/com/zt/plat/module/template/dal/dataobject/contract/DemoContractDO.java b/zt-module-template/zt-module-template-server/src/main/java/com/zt/plat/module/template/dal/dataobject/contract/DemoContractDO.java index 2be5bfdd..4d64a7ab 100644 --- a/zt-module-template/zt-module-template-server/src/main/java/com/zt/plat/module/template/dal/dataobject/contract/DemoContractDO.java +++ b/zt-module-template/zt-module-template-server/src/main/java/com/zt/plat/module/template/dal/dataobject/contract/DemoContractDO.java @@ -1,15 +1,12 @@ package com.zt.plat.module.template.dal.dataobject.contract; -import lombok.*; -import java.util.*; - import java.time.LocalDateTime; - import java.time.LocalDateTime; - import java.time.LocalDateTime; - import java.math.BigDecimal; - import java.time.LocalDateTime; - import java.time.LocalDateTime; import com.baomidou.mybatisplus.annotation.*; +import com.zt.plat.framework.common.annotation.PageSum; import com.zt.plat.framework.mybatis.core.dataobject.BusinessBaseDO; +import lombok.*; + +import java.math.BigDecimal; +import java.time.LocalDateTime; /** * 合同 DO * @@ -75,6 +72,10 @@ public class DemoContractDO extends BusinessBaseDO { */ @TableField("AMOUNT") private BigDecimal amount; + + @PageSum(column = "AMOUNT") + private BigDecimal amountTotal; + /** * 备注 */ diff --git a/zt-module-template/zt-module-template-server/src/main/resources/application.yaml b/zt-module-template/zt-module-template-server/src/main/resources/application.yaml index 7487e84b..6b5282ac 100644 --- a/zt-module-template/zt-module-template-server/src/main/resources/application.yaml +++ b/zt-module-template/zt-module-template-server/src/main/resources/application.yaml @@ -50,7 +50,7 @@ spring: time-to-live: 1h # 设置过期时间为 1 小时 server: - port: 48100 + port: 49100 logging: file: