update 流程图导入

This commit is contained in:
lijiarao
2024-01-23 16:20:17 +08:00
parent 099a64809c
commit c5af015076
4 changed files with 170 additions and 26 deletions
+141
View File
@@ -0,0 +1,141 @@
#
#
# id使sql的idstandard-assessment-1 使idstandard-assessment
# key更新流程图
update process_model_node
set is_approval_node = 0
where process_key = 'standard-assessment';
# 使
# '%standard-assessment%''%standard-assessment-1%'sql后再换回来
SELECT *
FROM process_node
WHERE (process_definition_id LIKE '%standard-assessment%'
OR process_definition_id LIKE '%standard-assessment:9%')
and is_view = 1
ORDER BY process_definition_id, sort;
#
update process_node
set is_view = 0
where process_definition_id like 'standard-assessment:%'
and substr(xml_node_id, -2) in ('_2', '_3', '_4', '_5');
#
update process_node
set is_skip = 1
where process_definition_id like 'standard-assessment:%'
and xml_node_id = 'sjgcsbcgzlbh';
#
update process_node
set can_choose = 0
where process_definition_id like 'standard-assessment:%';
#
update process_node
set transfer_flag = 0
where process_definition_id like 'standard-assessment:%'
and xml_node_id in ('sjgcsbcgzlbh','fggcsfq');
#
update process_node
set sort = case
when xml_node_id = 'fggcsfq' then '1'
when xml_node_id = 'bszgjldxf' then '2'
when xml_node_id = 'mkzrrff_1' then '3'
when xml_node_id = 'sjgcspg_1' then '4'
when xml_node_id = 'mkzrrsp_1' then '5'
when xml_node_id = 'bszgjldsp_1' then '6'
when xml_node_id = 'fggcssp' then '10'
when xml_node_id = 'sjgcsbcgzlbh' then '15'
end
where process_definition_id like 'standard-assessment:%';
#
# /
# /
#
#
#
#
#
#
#
#
#
#
# /-
# /-
# /-
# /-
# -
# -
# -
# -
# //
# //
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#