|
|
|
@@ -7,6 +7,7 @@ ADD COLUMN `refund_status` smallint(2) NOT NULL DEFAULT 0 COMMENT '退款状态' |
|
|
|
ADD COLUMN `refund_remark` varchar(255) AFTER `refund_status`; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '789') parent_id, |
|
|
|
@@ -54,5 +55,261 @@ select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1007') parent_id, |
|
|
|
'1007' tenant_id,null parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1009') parent_id, |
|
|
|
'1009' tenant_id,null parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1010') parent_id, |
|
|
|
'1010' tenant_id,null parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1011') parent_id, |
|
|
|
'1011' tenant_id,null parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1012') parent_id, |
|
|
|
'1012' tenant_id,null parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1013') parent_id, |
|
|
|
'1013' tenant_id,null parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1014') parent_id, |
|
|
|
'1014' tenant_id,null parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1015') parent_id, |
|
|
|
'1015' tenant_id,null parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1016') parent_id, |
|
|
|
'1016' tenant_id,null parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1017') parent_id, |
|
|
|
'1017' tenant_id,null parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1018') parent_id, |
|
|
|
'1018' tenant_id,null parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1019') parent_id, |
|
|
|
'1019' tenant_id,null parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1020') parent_id, |
|
|
|
'1020' tenant_id,'1028' parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1021') parent_id, |
|
|
|
'1021' tenant_id,null parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1022') parent_id, |
|
|
|
'1022' tenant_id,null parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1023') parent_id, |
|
|
|
'1023' tenant_id,null parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1024') parent_id, |
|
|
|
'1024' tenant_id,null parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1025') parent_id, |
|
|
|
'1025' tenant_id,null parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1026') parent_id, |
|
|
|
'1026' tenant_id,'1025' parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1027') parent_id, |
|
|
|
'1027' tenant_id,'1025' parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1028') parent_id, |
|
|
|
'1028' tenant_id,null parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1029') parent_id, |
|
|
|
'1029' tenant_id,null parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1030') parent_id, |
|
|
|
'1030' tenant_id,null parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1031') parent_id, |
|
|
|
'1031' tenant_id,null parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1035') parent_id, |
|
|
|
'1035' tenant_id,'1037' parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1036') parent_id, |
|
|
|
'1036' tenant_id,'1037' parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1037') parent_id, |
|
|
|
'1037' tenant_id,null parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1038') parent_id, |
|
|
|
'1038' tenant_id,null parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1039') parent_id, |
|
|
|
'1039' tenant_id,null parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1040') parent_id, |
|
|
|
'1040' tenant_id,null parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1041') parent_id, |
|
|
|
'1041' tenant_id,null parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1042') parent_id, |
|
|
|
'1042' tenant_id,null parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1043') parent_id, |
|
|
|
'1043' tenant_id,null parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1044') parent_id, |
|
|
|
'1044' tenant_id,null parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1045') parent_id, |
|
|
|
'1045' tenant_id,null parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1046') parent_id, |
|
|
|
'1046' tenant_id,null parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1047') parent_id, |
|
|
|
'1047' tenant_id,'1048' parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1048') parent_id, |
|
|
|
'1048' tenant_id,null parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1049') parent_id, |
|
|
|
'1049' tenant_id,'1052' parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1050') parent_id, |
|
|
|
'1050' tenant_id,null parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1051') parent_id, |
|
|
|
'1051' tenant_id,'1037' parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1052') parent_id, |
|
|
|
'1052' tenant_id,null parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1053') parent_id, |
|
|
|
'1053' tenant_id,'1052' parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1054') parent_id, |
|
|
|
'1054' tenant_id,'1052' parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1055') parent_id, |
|
|
|
'1055' tenant_id,'1052' parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1056') parent_id, |
|
|
|
'1056' tenant_id,'1052' parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1057') parent_id, |
|
|
|
'1057' tenant_id,'1052' parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1058') parent_id, |
|
|
|
'1058' tenant_id,'1052' parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1059') parent_id, |
|
|
|
'1059' tenant_id,'1052' parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1060') parent_id, |
|
|
|
'1060' tenant_id,null parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1061') parent_id, |
|
|
|
'1061' tenant_id,null parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1062') parent_id, |
|
|
|
'1062' tenant_id,null parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|
|
|
|
INSERT INTO `wx_flow_config` (`id`, `parent_id`, `tenant_id`,`parent_tenant_id`, `name`, `type`, `model_id`, `sort`) |
|
|
|
select (select unix_timestamp(now()) + CEILING(RAND()*90000+10000)) id, |
|
|
|
(select id from wx_flow_config where name = '营销审批' and tenant_id = '1063') parent_id, |
|
|
|
'1063' tenant_id,null parent_tenant_id, '消费卡退款审批' name, 31 type, 0 model_id, 10 sort from dual; |
|
|
|
|