|
@@ -1117,7 +1117,8 @@ comment='补录任务按照频率的补录任务状态,在同一起次完成时,
|
|
|
|
|
|
|
|
|
-- 视图
|
|
|
-drop view if exists v_wfs_todotask;
|
|
|
+delimiter //
|
|
|
+drop view if exists v_wfs_todotask //
|
|
|
CREATE VIEW v_wfs_todotask AS
|
|
|
select
|
|
|
tmp.account AS account,
|
|
@@ -1243,4 +1244,26 @@ from
|
|
|
) tmp on (task.ACTORID_ = tmp.taskPerson)
|
|
|
)
|
|
|
join wfs_businessins bus on (bus.BUSINESSINSID = task.PROCINST_)
|
|
|
- );
|
|
|
+ )//
|
|
|
+
|
|
|
+delimiter ;
|
|
|
+
|
|
|
+
|
|
|
+-- 2025-4-2 处理
|
|
|
+
|
|
|
+-- --------------------------
|
|
|
+-- TABLE structure for sys_imput_suptaskconf_flowapproval_his
|
|
|
+-- --------------------------
|
|
|
+drop TABLE if exists sys_imput_suptaskconf_flowapproval_his;
|
|
|
+create table if not exists sys_imput_suptaskconf_flowapproval_his (
|
|
|
+ bussinessid varchar(100) not null comment '流程实例号',
|
|
|
+ soleorderid decimal(10,0) not null comment '岗位顺序号',
|
|
|
+ account varchar(60) not null comment '审批人',
|
|
|
+ orgcode varchar(60) not null comment '审批机构',
|
|
|
+ approvalType varchar(60) not null comment '审批意见类型',
|
|
|
+ approvalRemark varchar(500) comment '审批意见',
|
|
|
+ primary key (bussinessid, soleorderid)
|
|
|
+)
|
|
|
+default charset=gb18030
|
|
|
+default collate=gb18030_chinese_ci
|
|
|
+comment='审批意见历史表';
|