
delete from `config`  where `key`='APPROVAL_VERSION_SWITCH';
INSERT INTO  `config` (`key`, `value`, `name`, `active`, `create_time`, `update_time`, `update_by`)
VALUES ('APPROVAL_VERSION_SWITCH', '1', '新旧审批切换1、新、0 旧', '', now(), now(), 'system');


ALTER TABLE `sys_approval`
ADD COLUMN `oldRev`  bit NULL DEFAULT false COMMENT '是否旧版本审批' AFTER `registerPath`;

update sys_approval set oldRev = true;

delete from `config` where `key` ='kzzhid';
INSERT INTO `config` (`key`, `value`, `name`, `create_time`, `update_time`, `update_by`)
VALUES ('kzzhid', '1044685', '科长账号id', now(), now(), 'system');

