update - 更新版本迭代的脚本
This commit is contained in:
parent
3517291fb3
commit
8cd3db85ae
@ -9,4 +9,11 @@ where END_TIME_ is null
|
||||
and ID_ not in (select distinct task_id from ext_ax_hi_taskinst);
|
||||
|
||||
|
||||
-- 清洗发起人数据
|
||||
insert into ext_ax_hi_taskinst (proc_inst_id, task_id, task_definition_key, status, assignee)
|
||||
select PROC_INST_ID_, ID_, TASK_DEF_KEY_, 'APPROVED', ifnull(ASSIGNEE_, '') as ASSIGNEE_
|
||||
from act_hi_taskinst
|
||||
where PROC_INST_ID_ in (select PROC_INST_ID_ from act_hi_taskinst)
|
||||
and TASK_DEF_KEY_ = 'NODE_STARTER'
|
||||
and ID_ not in (select task_id from ext_ax_hi_taskinst where task_definition_key = 'NODE_STARTER');
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user