delete from t_lic_group_version_l where fentryid = (select fentryid from t_lic_group_version where fid = 2239349556380863488 and fversion = '7.0'); 
delete from t_lic_group_version where fid = 2239349556380863488 and fversion = '7.0' ; 
delete from t_lic_group where fid = 2239349556380863488 or fnumber = 'ESC_AIEXP'; 
delete from t_lic_group_l where fid = 2239349556380863488 ; 
insert into t_lic_group (fid,fnumber,ftype,fgroupdes) values (2239349556380863488,'ESC_AIEXP','2',' '); 
insert into t_lic_group_version (fid,fentryid,fnameversion,fgroupdesversion,fversion) values (2239349556380863488,2243731250357585921,'差旅智能体',' ','7.0'); 
insert into t_lic_group_l (fpkid,fid,flocaleid,fname) values ('50LHJ8H/8CFC',2239349556380863488,'zh_CN','差旅智能体'); 
insert into t_lic_group_version_l (fpkid,fentryid,flocaleid,fnameversion) values ('50LHJ8H/6=NL',2243731250357585921,'zh_CN','差旅智能体'); 
update t_lic_group_version_l set fgroupdesversion = ' ' where flocaleid = 'zh_CN' and fentryid = 2243731250357585921; 
UPDATE t_lic_module SET fname = '差旅智能体', fgroupid = 2239349556380863488 WHERE fnumber = 'AIEXP'; 
INSERT INTO t_lic_module (fid, fnumber, fname, fgroupid) SELECT 2239349735091891200, 'AIEXP', '差旅智能体', 2239349556380863488 WHERE NOT EXISTS ( SELECT 1 FROM t_lic_module WHERE fnumber = 'AIEXP' ); 
UPDATE t_lic_module_version SET fnameversion = '差旅智能体' WHERE fid IN ( SELECT fid FROM t_lic_module WHERE fnumber = 'AIEXP' ) AND fversion = '7.0'; 
INSERT INTO t_lic_module_version (fid, fentryid, fnameversion, fversion) SELECT lm.fid, 2243731250357708803, '差旅智能体', '7.0' FROM t_lic_module lm WHERE lm.fnumber = 'AIEXP' AND NOT EXISTS ( SELECT 1 FROM t_lic_module_version lmv WHERE lm.fid = lmv.fid ); 
UPDATE t_lic_module_l SET fname = '差旅智能体' WHERE flocaleid = 'zh_CN' AND fid IN (SELECT fid FROM t_lic_module WHERE fnumber = 'AIEXP'); 
INSERT INTO t_lic_module_l (fid, fpkid, flocaleid, fname) SELECT m.fid, '50LHJ8H/6=NM', 'zh_CN', '差旅智能体' FROM t_lic_module m WHERE m.fnumber = 'AIEXP' AND NOT EXISTS (SELECT 1 FROM t_lic_module_l ml WHERE ml.fid = m.fid AND ml.flocaleid = 'zh_CN'); 
UPDATE t_lic_module_version_l SET fnameversion = '差旅智能体' WHERE flocaleid = 'zh_CN' AND fentryid IN ( SELECT fentryid FROM t_lic_module_version WHERE fid IN ( SELECT fid FROM t_lic_module WHERE fnumber = 'AIEXP')); 
INSERT INTO t_lic_module_version_l (fpkid, fentryid, flocaleid, fnameversion) SELECT '50LHJ8H/8CFE', v.fentryid, 'zh_CN', '差旅智能体' FROM t_lic_module_version v JOIN t_lic_module m ON v.fid = m.fid LEFT JOIN t_lic_module_version_l lmvl ON v.fentryid = lmvl.fentryid AND lmvl.flocaleid = 'zh_CN' WHERE m.fnumber = 'AIEXP' AND lmvl.fentryid IS NULL; 
