-- 插入系统云 基础资料 首页卡片预置脚本

DELETE FROM t_bas_mainpagelayout WHERE FID = 936188666643161088;
INSERT INTO t_bas_mainpagelayout(FID,FCUSTOMABLE,FTYPE,FFORMNUM,FMASTERID,FNUMBER,FDISABLETIME,FLAYOUT,FCREATETIME,FISMULTIORG,FENABLE,FMODIFIERID,FISPRESET,FBIZAPPID,FMODIFYTIME,FSCHEMETYPE,FCREATORID,FUSERID,FDISABLERID) VALUES (936188666643161088,'1','app',' ',0,'HP-000036',NULL,'[{"w":12,"h":1,"x":0,"y":0,"i":"926057172406777856","moved":false,"static":false}]',{ts'2020-07-15  16:39:45'},'1','1',1695097,'0','0UOG6XUFTL7Y',{ts'2020-07-17  15:28:57'},'1',905692992566748160,0,0); 

DELETE FROM t_bas_mainpagelayout_l WHERE FPKID = '0Y+5TSMJMU9Y';
INSERT INTO t_bas_mainpagelayout_l(FID,FPKID,FLOCALEID,FNAME) VALUES (936188666643161088,'0Y+5TSMJMU9Y','zh_CN','基础资料应用首页默认方案'); 

DELETE FROM t_bas_cardconfig WHERE FID = 937602581998423040;
INSERT INTO t_bas_cardconfig(FID,FTYPE,FCARDID,FMAINPAGEID,FUSERID,FCONFIG) VALUES (937602581998423040,'bos_card_quicklaunch',926057172406777856,936188666643161088,0,'{"cardType":"bos_card_quicklaunch","config":{"0VL3MXP/642U":{"cache_sel_appId":"0UOG6XUFTL7Y","cache_sel_menuId":"0VL3MXP/642U","launchType":"launchType_menu"},"0WQN2093LPKY":{"cache_sel_appId":"0UOG6XUFTL7Y","cache_sel_menuId":"0WQN2093LPKY","launchType":"launchType_menu"},"0WXAB2VZ0RNN":{"cache_sel_appId":"0UOG6XUFTL7Y","cache_sel_menuId":"0WXAB2VZ0RNN","launchType":"launchType_menu"},"0WQNZCMSLGV8":{"cache_sel_appId":"0UOG6XUFTL7Y","cache_sel_menuId":"0WQNZCMSLGV8","launchType":"launchType_menu"},"0WQNU2QPKXY+":{"cache_sel_appId":"0UOG6XUFTL7Y","cache_sel_menuId":"0WQNU2QPKXY+","launchType":"launchType_menu"},"0WU5ANURNZC0":{"cache_sel_appId":"0UOG6XUFTL7Y","cache_sel_menuId":"0WU5ANURNZC0","launchType":"launchType_menu"}}}'); 

DELETE FROM t_bas_cardconfig_l WHERE FPKID = '0Y4Z+ZITMV1S';
INSERT INTO t_bas_cardconfig_l(FID,FPKID,FLOCALEID,FCUSTOMNAME,FCARDTITLE) VALUES (937602581998423040,'0Y4Z+ZITMV1S','zh_CN',' ','快速发起'); 
DELETE FROM t_bas_cardconfig_l WHERE FPKID = '0Y4Z+ZITMV1R';
INSERT INTO t_bas_cardconfig_l(FID,FPKID,FLOCALEID,FCUSTOMNAME,FCARDTITLE) VALUES (937602581998423040,'0Y4Z+ZITMV1R','zh_TW',' ','快速發起'); 