delete from t_bas_cardconfig_l where fid in (select fid from t_bas_cardconfig where fmainpageid in(select fid from t_bas_mainpagelayout where FID = '567234924348735488' ));
delete from t_bas_cardconfig  where fmainpageid in(select fid from t_bas_mainpagelayout where FID = '567234924348735488'  );
delete from t_bas_mainpagelayout_l where FID = '567234924348735488';
delete from t_bas_mainpagelayout where FID = '567234924348735488';

DELETE FROM t_bas_mainpagelayout WHERE FID = 988914875361298432;
INSERT INTO t_bas_mainpagelayout(FID,FCUSTOMABLE,FTYPE,FFORMNUM,FLAYOUT_TAG,FMASTERID,FNUMBER,FDISABLETIME,FLAYOUT,FCREATETIME,FISMULTIORG,FENABLE,FMODIFIERID,FISPRESET,FBIZAPPID,FMODIFYTIME,FSCHEMETYPE,FCREATORID,FUSERID,FDISABLERID) VALUES (988914875361298432,'1','custom','srm_portal',' ',0,'HP-000142',NULL,'[{"w":4,"h":1,"x":8,"y":0,"i":"988990224648663040","moved":false,"static":false},{"w":4,"h":1,"x":0,"y":0,"i":"989013936215066624","moved":false,"static":false},{"w":4,"h":1,"x":4,"y":0,"i":"989014251350028288","moved":false,"static":false},{"w":4,"h":1,"x":0,"y":1,"i":"989014644138084352","moved":false,"static":false},{"w":4,"h":1,"x":4,"y":1,"i":"989014951832350720","moved":false,"static":false},{"w":4,"h":1,"x":8,"y":1,"i":"989015262588209152","moved":false,"static":false}]',{ts'2020-09-26  10:37:19'},'1','1',1,'0',' ',{ts'2020-09-26  13:57:10'},'1',1,1,0); 


DELETE FROM t_bas_cardconfig WHERE FID = 989015458084843520;
INSERT INTO t_bas_cardconfig(FID,FTYPE,FCARDID,FMAINPAGEID,FUSERID,FCONFIG) VALUES (989015458084843520,'bos_card_custom',988990224648663040,988914875361298432,0,'{"cardformnum":"srm_notice_system_tpl","cardType":"bos_card_custom","cardformname":"系统公告"}'); 
DELETE FROM t_bas_cardconfig WHERE FID = 989015458084843521;
INSERT INTO t_bas_cardconfig(FID,FTYPE,FCARDID,FMAINPAGEID,FUSERID,FCONFIG) VALUES (989015458084843521,'bos_card_custom',989013936215066624,988914875361298432,0,'{"cardformnum":"srm_notice_bid","cardType":"bos_card_custom","cardformname":"招标公告卡片"}'); 
DELETE FROM t_bas_cardconfig WHERE FID = 989015458084843522;
INSERT INTO t_bas_cardconfig(FID,FTYPE,FCARDID,FMAINPAGEID,FUSERID,FCONFIG) VALUES (989015458084843522,'bos_card_custom',989014251350028288,988914875361298432,0,'{"cardformnum":"srm_notice_win","cardType":"bos_card_custom","cardformname":"中标公告卡片"}'); 
DELETE FROM t_bas_cardconfig WHERE FID = 989015458084843523;
INSERT INTO t_bas_cardconfig(FID,FTYPE,FCARDID,FMAINPAGEID,FUSERID,FCONFIG) VALUES (989015458084843523,'bos_card_custom',989014644138084352,988914875361298432,0,'{"cardformnum":"srm_notice_query","cardType":"bos_card_custom","cardformname":"询价公告卡片"}'); 
DELETE FROM t_bas_cardconfig WHERE FID = 989015458084843524;
INSERT INTO t_bas_cardconfig(FID,FTYPE,FCARDID,FMAINPAGEID,FUSERID,FCONFIG) VALUES (989015458084843524,'bos_card_custom',989014951832350720,988914875361298432,0,'{"cardformnum":"srm_notice_compete","cardType":"bos_card_custom","cardformname":"竞价公告卡片"}'); 
DELETE FROM t_bas_cardconfig WHERE FID = 989015458084843525;
INSERT INTO t_bas_cardconfig(FID,FTYPE,FCARDID,FMAINPAGEID,FUSERID,FCONFIG) VALUES (989015458084843525,'bos_card_custom',989015262588209152,988914875361298432,0,'{"cardformnum":"srm_notice_help","cardType":"bos_card_custom","cardformname":"帮助文档卡片"}'); 

DELETE FROM t_bas_cardconfig_l WHERE FPKID = '12G99PRE9S4J';
INSERT INTO t_bas_cardconfig_l(FID,FPKID,FLOCALEID,FCUSTOMNAME,FCARDTITLE) VALUES (989015458084843520,'12G99PRE9S4J','zh_CN',' ','系统公告'); 
DELETE FROM t_bas_cardconfig_l WHERE FPKID = '12G99PRE9S4I';
INSERT INTO t_bas_cardconfig_l(FID,FPKID,FLOCALEID,FCUSTOMNAME,FCARDTITLE) VALUES (989015458084843520,'12G99PRE9S4I','zh_TW',' ','係統公告'); 

DELETE FROM t_bas_cardconfig_l WHERE FPKID = '12G99PRE9S4L';
INSERT INTO t_bas_cardconfig_l(FID,FPKID,FLOCALEID,FCUSTOMNAME,FCARDTITLE) VALUES (989015458084843521,'12G99PRE9S4L','zh_CN',' ','招标公告'); 
DELETE FROM t_bas_cardconfig_l WHERE FPKID = '12G99PRE9S4K';
INSERT INTO t_bas_cardconfig_l(FID,FPKID,FLOCALEID,FCUSTOMNAME,FCARDTITLE) VALUES (989015458084843521,'12G99PRE9S4K','zh_TW',' ','招標公告'); 

DELETE FROM t_bas_cardconfig_l WHERE FPKID = '12G99PRE9S4N';
INSERT INTO t_bas_cardconfig_l(FID,FPKID,FLOCALEID,FCUSTOMNAME,FCARDTITLE) VALUES (989015458084843522,'12G99PRE9S4N','zh_CN',' ','中标公告'); 
DELETE FROM t_bas_cardconfig_l WHERE FPKID = '12G99PRE9S4M';
INSERT INTO t_bas_cardconfig_l(FID,FPKID,FLOCALEID,FCUSTOMNAME,FCARDTITLE) VALUES (989015458084843522,'12G99PRE9S4M','zh_TW',' ','中標公告'); 

DELETE FROM t_bas_cardconfig_l WHERE FPKID = '12G99PRE9S4P';
INSERT INTO t_bas_cardconfig_l(FID,FPKID,FLOCALEID,FCUSTOMNAME,FCARDTITLE) VALUES (989015458084843523,'12G99PRE9S4P','zh_CN',' ','询价公告'); 
DELETE FROM t_bas_cardconfig_l WHERE FPKID = '12G99PRE9S4O';
INSERT INTO t_bas_cardconfig_l(FID,FPKID,FLOCALEID,FCUSTOMNAME,FCARDTITLE) VALUES (989015458084843523,'12G99PRE9S4O','zh_TW',' ','詢價公告'); 

DELETE FROM t_bas_cardconfig_l WHERE FPKID = '12G99PRE9S4R';
INSERT INTO t_bas_cardconfig_l(FID,FPKID,FLOCALEID,FCUSTOMNAME,FCARDTITLE) VALUES (989015458084843524,'12G99PRE9S4R','zh_CN',' ','竞价公告'); 
DELETE FROM t_bas_cardconfig_l WHERE FPKID = '12G99PRE9S4Q';
INSERT INTO t_bas_cardconfig_l(FID,FPKID,FLOCALEID,FCUSTOMNAME,FCARDTITLE) VALUES (989015458084843524,'12G99PRE9S4Q','zh_TW',' ','競價公告'); 

DELETE FROM t_bas_cardconfig_l WHERE FPKID = '12G99PRE9S4T';
INSERT INTO t_bas_cardconfig_l(FID,FPKID,FLOCALEID,FCUSTOMNAME,FCARDTITLE) VALUES (989015458084843525,'12G99PRE9S4T','zh_CN',' ','帮助文档'); 
DELETE FROM t_bas_cardconfig_l WHERE FPKID = '12G99PRE9S4S';
INSERT INTO t_bas_cardconfig_l(FID,FPKID,FLOCALEID,FCUSTOMNAME,FCARDTITLE) VALUES (989015458084843525,'12G99PRE9S4S','zh_TW',' ','幫助文檔'); 

