-- 合同-按提款计划-自动提款-调度任务
--1、自动提款调度任务 CFM_AutoDrawTask
DELETE FROM t_fcs_scheduleprop WHERE FID = 1879801878984888320;
INSERT INTO t_fcs_scheduleprop(FID,FENABLERID,FSCHEPLANID,FENABLEDATE,FDISABLEDATE,FEXECUTORID,FBUSSINESS,FMASTERID,FSTATUS,FINFORECEIVERID,FNUMBER,FNAME,FCREATETIME,FMODIFIERID,FENABLE,FBIZAPP,FBIZFILTERCONFIG,FMODIFYTIME,FBIZFILTERCONFIG_TAG,FCREATORID,FTASKTYPE,FBIZFILTER,FDISABLERID) VALUES (1879801878984888320,0,'3WX25CT5KZ+P',NULL,NULL,1,' ',1879801878984888320,'C',1,'CFM_AutoDrawTask','自动提款调度任务',{ts'2024-02-07  00:00:00'},1,'1',' ',' ',{ts'2024-02-08  00:00:00'},' ',1,'job',' ',0);

DELETE FROM t_fcs_scheduleprop_l WHERE FPKID = '3WX25D75EL5G';
INSERT INTO t_fcs_scheduleprop_l(FID,FPKID,FLOCALEID,FNAME) VALUES (1879801878984888320,'3WX25D75EL5G','zh_CN','自动提款调度任务');

DELETE FROM t_fcs_schetaskentry WHERE FENTRYID = 1879830046378659840;
INSERT INTO t_fcs_schetaskentry(FID,FOPERATEKEY,FOPERATENAME,FTASKNAME,FENTRYID,FSEQ,FPARAMCONTENT_TAG,FPARAMSETTING,FPARAMCONTENT,FSCHEJOBID,FSCHEAPPNAME) VALUES (1879801878984888320,' ',' ','合同自动提款',1879830046378659840,1,' ','生成提款单状态=暂存','{"---billstatus":"save"}','3WX1NFW3Z3YK','贷款管理');

DELETE FROM t_fcs_schetaskentry_l WHERE FPKID = '3WX25D75EL5I';
INSERT INTO t_fcs_schetaskentry_l(FPKID,FLOCALEID,FTASKNAME,FENTRYID) VALUES ('3WX25D75EL5I','zh_CN','合同自动提款',1879830046378659840);

--2、自动提款调度操作 CFM_AutoDrawSchedule
DELETE FROM t_fcs_scheduleprop WHERE FID = 1879801652031468544;
INSERT INTO t_fcs_scheduleprop(FID,FENABLERID,FSCHEPLANID,FENABLEDATE,FDISABLEDATE,FEXECUTORID,FBUSSINESS,FMASTERID,FSTATUS,FINFORECEIVERID,FNUMBER,FNAME,FCREATETIME,FMODIFIERID,FENABLE,FBIZAPP,FBIZFILTERCONFIG,FMODIFYTIME,FBIZFILTERCONFIG_TAG,FCREATORID,FTASKTYPE,FBIZFILTER,FDISABLERID) VALUES (1879801652031468544,0,'3WWZJBD7K4T5',NULL,NULL,1,'cfm_loancontractbill',1879801652031468544,'C',1,'CFM_AutoDrawSchedule','自动提款调度操作',{ts'2024-02-07  00:00:00'},1,'1','03BPAMUHBB22',' ',{ts'2024-02-08  00:00:00'},' ',1,'operation',' ',0);

DELETE FROM t_fcs_scheduleprop_l WHERE FPKID = '3WWZJCH2/AK/';
INSERT INTO t_fcs_scheduleprop_l(FID,FPKID,FLOCALEID,FNAME) VALUES (1879801652031468544,'3WWZJCH2/AK/','zh_CN','自动提款调度操作');

DELETE FROM t_fcs_schetaskentry WHERE FENTRYID = 1879853197007360000;
INSERT INTO t_fcs_schetaskentry(FID,FOPERATEKEY,FOPERATENAME,FTASKNAME,FENTRYID,FSEQ,FPARAMCONTENT_TAG,FPARAMSETTING,FPARAMCONTENT,FSCHEJOBID,FSCHEAPPNAME) VALUES (1879801652031468544,'autodraw','自动提款','自动提款',1879853197007360000,1,' ','生成提款单状态=暂存;','{"03BPAMUHBB22-cfm_loancontractbill-autodraw-billstatus":"save"}',' ',' ');

DELETE FROM t_fcs_schetaskentry_l WHERE FPKID = '3WX6H2F61ID4';
INSERT INTO t_fcs_schetaskentry_l(FPKID,FLOCALEID,FTASKNAME,FENTRYID) VALUES ('3WX6H2F61ID4','zh_CN','自动提款',1879853197007360000);
