-- 将 HR云与应用的 排序码 同步到 应用与业务类型关系配置
update t_hbss_appbusinesstype  set findex = (select b.findex from t_hbss_cloudapp b where b.fappid = t_hbss_appbusinesstype.fappid and b.fissyspreset = '1' and b.fcreatorid = 1)
where t_hbss_appbusinesstype.fappid in (select c.fappid from t_hbss_cloudapp c where c.fissyspreset = '1' and c.fcreatorid = 1);
