-- 业务数据提报单算发薪管理组织字段升级调度任务
-- 调度任务类名
-- T_SCH_TASKDEFINE
DELETE FROM T_SCH_TASKDEFINE WHERE FID = '38215EPZWVD/';
INSERT INTO T_SCH_TASKDEFINE(FID,FCLASSNAME,FAPPID,FNUMBER) VALUES ('38215EPZWVD/','kd.swc.hpdi.business.task.BizDataBillOrgUpdateTask','hpdi','hpdi_bizdatabillorgupdatetask'); 

-- T_SCH_TASKDEFINE_L
DELETE FROM T_SCH_TASKDEFINE_L WHERE FPKID = '38215EPZWO+6';
INSERT INTO T_SCH_TASKDEFINE_L(FID,FPKID,FLOCALEID,FNAME) VALUES ('38215EPZWVD/','38215EPZWO+6','zh_CN','业务数据提报旧数据的算发薪管理组织升级任务');
DELETE FROM T_SCH_TASKDEFINE_L WHERE FPKID = '38215EPZWO+7';
--INSERT INTO T_SCH_TASKDEFINE_L(FID,FPKID,FLOCALEID,FNAME) VALUES ('38215EPZWVD/','38215EPZWO+7','zh_TW','業務數據提報舊數據的算發薪組織升級任務'); 


-- 调度作业：hpdi_bizdatabillorgupdatetask_SKDJ_S
-- T_SCH_JOB
DELETE FROM T_SCH_JOB WHERE FID = '3821B+FSPK9A';
INSERT INTO T_SCH_JOB(FID,FTASKCLASSNAME,FTASKDEFINEID,FRUNMODE,FRUNBYUSERID,FJOBTYPE,FSTATUS,FNUMBER,FCONCURRENT,FSTRATEGY,FTIMEOUT,FRETRYTIME,FRUNBYLANG,FPARAMS,FRUNBYORGID) VALUES ('3821B+FSPK9A','kd.swc.hpdi.business.task.BizDataBillOrgUpdateTask','38215EPZWVD/','0',1632490550739337216,'BIZ','1','hpdi_bizdatabillorgupdatetask_SKDJ_S','0','1',0,0,' ','{}',0); 

-- T_SCH_JOB_L
DELETE FROM T_SCH_JOB_L WHERE FPKID = '3821B+FSPCVH';
INSERT INTO T_SCH_JOB_L(FID,FPKID,FLOCALEID,FNAME) VALUES ('3821B+FSPK9A','3821B+FSPCVH','zh_CN','业务数据提报旧数据算发薪管理组织升级任务');
DELETE FROM T_SCH_JOB_L WHERE FPKID = '3821B+FSPCVI';
--INSERT INTO T_SCH_JOB_L(FID,FPKID,FLOCALEID,FNAME) VALUES ('3821B+FSPK9A','3821B+FSPCVI','zh_TW','業務數據提報舊數據算發薪組織升級任務'); 


-- 调度计划：hpdi_bizdatabillorgupdatetask_SKDP_S       （区块链服务云库）
-- T_SCH_SCHEDULE
DELETE FROM T_SCH_SCHEDULE WHERE FID = '3822+MSBECH/';
INSERT INTO T_SCH_SCHEDULE(FTWENTY,FFIVE,FELEVEN,FNINE,FNO,FSUN,FTWO,FEIGHT,FNOV,FPLAN,FWED,FHOST,FTWENTYTWO,FFOUR,FMAR,FSEP,FENDTIME,FSIX,FMAY,FREPEATMODE,FTHIRTYONE,FBYDAYORWEEK,FTWENTYSEVEN,FTWENTYSIX,FTHIRTEEN,FAUG,FDESC,FFIFTEEN,FTWENTYONE,FBYWEEK,FTUES,FSEVENTEEN,FSEVEN,FTWENTYFOUR,FMON,FTHIRTY,FTHREE,FFOURTEEN,FJAN,FNINETEEN,FTHUR,FTEN,FFRI,FJOBID,FSTARTTIME,FOCT,FAPR,FSIXTEEN,FID,FSAT,FONE,FTWENTYEIGHT,FTWENTYTHREE,FTWELVE,FNOWEEK,FSTATUS,FNUMBER,FTWENTYFIVE,FEIGHTEEN,FCYCLENUM,FTWENTYNINE,FJUL,FDEC,FFEB,FJUN) VALUES ('0','0','0','0',' ','0','0','0','0','0 0 2 * * ?','0','172.19.108.69','0','0','0','0',{ts'2099-12-31  00:00:00'},'0','0','d','0','d','0','0','0','0','事件将于2023-04-23 15:00:00起，每1天2时重复。
预计最近十次执行时间：
2023-04-24 02:00:00,
2023-04-25 02:00:00,
2023-04-26 02:00:00,
2023-04-27 02:00:00,
2023-04-28 02:00:00,
2023-04-29 02:00:00,
2023-04-30 02:00:00,
2023-05-01 02:00:00,
2023-05-02 02:00:00,
2023-05-03 02:00:00','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','3821B+FSPK9A',{ts'2023-04-23  00:00:00'},'0','0','0','3822+MSBECH/','0','0','0','0','0',' ','1','hpdi_bizdatabillorgupdatetask_SKDP_S','0','0',1,'0','0','0','0','0'); 

-- T_SCH_SCHEDULE_L
DELETE FROM T_SCH_SCHEDULE_L WHERE FPKID = '3822+MSBEJWU';
INSERT INTO T_SCH_SCHEDULE_L(FID,FPKID,FLOCALEID,FNAME) VALUES ('3822+MSBECH/','3822+MSBEJWU','zh_CN','业务数据提报旧数据算发薪管理组织升级');
DELETE FROM T_SCH_SCHEDULE_L WHERE FPKID = '3822+MSBEJWV';
--INSERT INTO T_SCH_SCHEDULE_L(FID,FPKID,FLOCALEID,FNAME) VALUES ('3822+MSBECH/','3822+MSBEJWV','zh_TW','業務數據提報舊數據算發薪組織升級'); 

-- T_SCH_SCHEDULE_ENTRY
DELETE FROM T_SCH_SCHEDULE_ENTRY WHERE FENTRYID = '3822+MSBECH0';
INSERT INTO T_SCH_SCHEDULE_ENTRY(FID,FJOBNUMBER,FENTRYID,FSEQ) VALUES ('3822+MSBECH/','3821B+FSPK9A','3822+MSBECH0',1); 
