/**商旅集成设置 确保ttrip_issyncorg_num参数FID一致**/
IF EXISTS (select 1 from t_er_tripsyncsetting where fnumber='ttrip_issyncorg_num')
  UPDATE t_er_tripsyncsetting SET FDESC='为true时，与差旅壹号集成，出差申请单同步至差旅壹号时，成本中心和核算主体的值传num，值为否时，成本中心和核算主体的值传id（该参数不能随意修改，只能为false或者为空）',FID=1474490776208812032 WHERE FNUMBER='ttrip_issyncorg_num';
IF NOT EXISTS (select 1 from t_er_tripsyncsetting where fnumber='ttrip_issyncorg_num')
  INSERT INTO t_er_tripsyncsetting(fid, fnumber, fvalue, fdesc,fstatus, fenable, fmasterid, fcreatorid, fcreatetime, fmodifierid, fmodifytime) VALUES (1474490776208812032, 'ttrip_issyncorg_num', ' ', '为true时，与差旅壹号集成，出差申请单同步至差旅壹号时，成本中心和核算主体的值传num，值为否时，成本中心和核算主体的值传id（该参数不能随意修改，只能为false或者为空）', 'C', '1', 1474490776208812032, 1448586489507464192, {ts'2022-07-28 09:49:41'}, 1448586489507464192, {ts'2022-07-28 09:49:57'});