--  自定义数据源更改表名-迁移数据
insert into t_tctb_datasource (fid, fnumber, fstatus, fcreatorid, fmodifierid, fenable, fcreatetime, fmodifytime, fmasterid, fgroupid, forgid, fcreateorgid, fuserorg, fctrlstrategy, ftaxtype, fentityname, fsubentityname, ftype, fischild, fcondition, fissystem, fbizname, forgtakerelation) select fid, fnumber, fstatus, fcreatorid, fmodifierid, fenable, fcreatetime, fmodifytime, fmasterid, fgroupid, forgid, fcreateorgid, fuserorg, fctrlstrategy, ftaxtype, fentityname, fsubentityname, ftype, fischild, fcondition, fissystem, fbizname, forgtakerelation from t_tctb_datasource_configs
where fid not in (select fid from t_tctb_datasource);

insert into t_tctb_datasource_l (fpkid, fid, flocaleid, fname) select fpkid, fid, flocaleid, fname from t_tctb_datasource_configs_l
where fpkid not in (select fpkid from t_tctb_datasource_l);
