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 ftype = 'app' and fbizappid = '181/2AWNX/C6' and FSCHEMETYPE = '1' and fenable = '1')); 

DELETE from t_bas_cardconfig where fmainpageid in(select fid from t_bas_mainpagelayout where ftype = 'app' and fbizappid = '181/2AWNX/C6' and FSCHEMETYPE = '1' and fenable = '1'); 

DELETE from t_bas_mainpagelayout_l where fid in(select fid from t_bas_mainpagelayout where ftype = 'app' and fbizappid = '181/2AWNX/C6' and FSCHEMETYPE = '1' and fenable = '1'); 

DELETE from t_bas_mainpagelayout where ftype = 'app' and fbizappid = '181/2AWNX/C6' and FSCHEMETYPE = '1' and fenable = '1';

INSERT INTO t_bas_cardconfig_l(fid,fpkid,flocaleid,fcustomname,fcardtitle) VALUES (1181115255049310208,'1P1L=N=I06WD','zh_CN',' ','基础数据');
INSERT INTO t_bas_cardconfig_l(fid,fpkid,flocaleid,fcustomname,fcardtitle) VALUES (1181115255049310209,'1P1L=N=I06WE','zh_CN',' ','采购政策');
INSERT INTO t_bas_cardconfig(fid,ftype,fcardid,fmainpageid,fuserid,fconfig) VALUES (1181115255049310208,'bos_card_quicklaunch',417906515706436608,420812337058998272,0,'{"cardType":"bos_card_quicklaunch","config":{"/9ZNND5F9YV0":{"cache_sel_appId":"181/2AWNX/C6","cache_sel_menuId":"/9ZNND5F9YV0","launchType":"launchType_menu"},"0SFZLLM5V7UO":{"cache_sel_appId":"181/2AWNX/C6","cache_sel_menuId":"0SFZLLM5V7UO","launchType":"launchType_menu"}}}');
INSERT INTO t_bas_cardconfig(fid,ftype,fcardid,fmainpageid,fuserid,fconfig) VALUES (1181115255049310209,'bos_card_quicklaunch',419383641555131392,420812337058998272,0,'{"cardType":"bos_card_quicklaunch","config":{"19IZ37K100GM":{"cache_sel_appId":"181/2AWNX/C6","cache_sel_menuId":"19IZ37K100GM","launchType":"launchType_menu"},"/9ZNIBO1AV+A":{"cache_sel_appId":"181/2AWNX/C6","cache_sel_menuId":"/9ZNIBO1AV+A","launchType":"launchType_menu"},"/=O0L3I2VNTV":{"cache_sel_appId":"181/2AWNX/C6","cache_sel_menuId":"/=O0L3I2VNTV","launchType":"launchType_menu"}}}');
INSERT INTO t_bas_mainpagelayout_l(fid,fpkid,flocaleid,fname) VALUES (420812337058998272,'420812337058998272','zh_CN','基础管理应用首页默认方案'); 
INSERT INTO t_bas_mainpagelayout(fid,fcustomable,ftype,fformnum,fnumber,fdisabletime,flayout,fcreatetime,fismultiorg,fenable,fmodifierid,fispreset,fbizappid,fmodifytime,fschemetype,fcreatorid,fuserid,fdisablerid) VALUES (420812337058998272,'1','app',' ','420812337058998272',NULL,'[{"w":12,"h":1,"x":0,"y":1,"i":"417906515706436608","moved":false,"static":false},{"w":12,"h":1,"x":0,"y":0,"i":"419383641555131392","moved":false,"static":false}]',NULL,'1','1',1162846886281992192,'1','181/2AWNX/C6',{ts'2021-06-18  00:00:00'},'1',1,1,0); 
