INSERT INTO
  #{dynamic_securityFlow}.TLK_ANNUAL_EMPLOYMENT_SURVEY (
    PARENT,
    LASTMODIFIED,
    FORMNAME,
    STATE,
    AUDITUSER,
    AUDITDATE,
    AUTHOR,
    AUTHOR_DEPT_INDEX,
    CREATED,
    FORMID,
    ISTMP,
    VERSIONS,
    APPLICATIONID,
    STATEINT,
    STATELABEL,
    AUDITORNAMES,
    LASTFLOWOPERATION,
    LASTMODIFIER,
    DOMAINID,
    AUDITORLIST,
    COAUDITORLIST,
    STATELABELINFO,
    PREVAUDITNODE,
    PREVAUDITUSER,
    OPTIONITEM,
    SIGN,
    KINGGRIDSIGNATURE,
    ITEM_NAME_OF_COMPANY,
    ITEM_COMPLETED_BY,
    ITEM_CONTACT_NUMBER,
    ITEM_NUMBER_OF_CUSTOMERS,
    ITEM_FIXED_ASSETS,
    ITEM_ANNUAL_TURNOVER,
    ITEM_ANNUAL_PROFITS_AND_AXES,
    ITEM_RUBBER_STICK,
    ITEM_BULLETPROOF_VEST,
    ITEM_WARM,
    ITEM_FINE,
    ITEM_CONFISCATION_OF_ILLEGAL_GAINS,
    ITEM_REVOCATION_OF_LICENSE,
    ITEM_THE_FORM_RESPONSIBILITY,
    ITEM_OTHER,
    ITEM_STAFF,
    ITEM_WOMEN_STAFF,
    ITEM_LICENCE,
    ITEM_MANEGER,
    ITEM_XIANSUO,
    ITEM_XIANYIREN,
    ITEM_ZAIHAI,
    ITEM_JINGJI,
    ITEM_HUODONG,
    ITEM_HUODONGTWO,
    ITEM_QUNTI,
    ITEM_QUNTITWO,
    ITEM_JIANYI,
    ITEM_YINGON,
    ITEM_XISHENGA,
    ITEM_GUOJIA,
    ITEM_SHENJITITI,
    ITEM_GUOJIGEREN,
    ITEM_SHENGJIGEREN,
    ITEM_DIAOXIAO,
    ITEM_CHUFA,
    ITEM_ZEREN,
    ITEM_ZHOZHUAN,
    ITEM_DAZHUANTWO,
    ITEM_MINBAN,
    ITEM_MINBANTWO,
    ITEM_ZHIYE,
    ITEM_ZHIYETWO,
    ITEM_WUSHU,
    ITEM_WUSHUTWO,
    ITEM_PEIXUN,
    ITEM_PEIXUNTWO,
    ITEM_ZIBAN,
    ITEM_ZIBANTWO,
    ITEM_OTHERONE,
    ITEM_OTHERTWO,
    ITEM_CHU,
    ITEM_ZJJ,
    ITEM_MANAGER,
    ID,
    AUTHORDEPTID,
    AUTHOR_USER_INDEX,
    SUBFORMIDS,
    INITIATOR
  )
VALUES
  (
    '#{PARENT}',
    '#{LASTMODIFIED}',
    '#{FORMNAME}',
    '#{STATE}',
    '#{AUDITUSER}',
    '#{AUDITDATE}',
    '#{AUTHOR}',
    '#{AUTHOR_DEPT_INDEX}',
    '#{CREATED}',
    '__i8Tojx5kmGatw96VnSx',
    0,
    1,
    '__wGomeHJBz6CpLFCCl4y',
    '#{STATEINT}',
    '#{STATELABEL}',
    '#{AUDITORNAMES}',
    '#{LASTFLOWOPERATION}',
    '#{LASTMODIFIER}',
    '#{dynamic_domain_id}',
    '#{AUDITORLIST}',
    '#{COAUDITORLIST}',
    '#{STATELABELINFO}',
    '#{PREVAUDITNODE}',
    '#{PREVAUDITUSER}',
    '#{OPTIONITEM}',
    '#{SIGN}',
    '#{KINGGRIDSIGNATURE}',
    '#{ITEM_NAME_OF_COMPANY}',
    '#{ITEM_COMPLETED_BY}',
    '#{ITEM_CONTACT_NUMBER}',
    '#{ITEM_NUMBER_OF_CUSTOMERS}',
    '#{ITEM_FIXED_ASSETS}',
    '#{ITEM_ANNUAL_TURNOVER}',
    '#{ITEM_ANNUAL_PROFITS_AND_AXES}',
    '#{ITEM_RUBBER_STICK}',
    '#{ITEM_BULLETPROOF_VEST}',
    '#{ITEM_WARM}',
    '#{ITEM_FINE}',
    '#{ITEM_CONFISCATION_OF_ILLEGAL_GAINS}',
    '#{ITEM_REVOCATION_OF_LICENSE}',
    '#{ITEM_THE_FORM_RESPONSIBILITY}',
    '#{ITEM_OTHER}',
    '#{ITEM_STAFF}',
    '#{ITEM_WOMEN_STAFF}',
    '#{ITEM_LICENCE}',
    '#{ITEM_MANEGER}',
    '#{ITEM_XIANSUO}',
    '#{ITEM_XIANYIREN}',
    '#{ITEM_ZAIHAI}',
    '#{ITEM_JINGJI}',
    '#{ITEM_HUODONG}',
    '#{ITEM_HUODONGTWO}',
    '#{ITEM_QUNTI}',
    '#{ITEM_QUNTITWO}',
    '#{ITEM_JIANYI}',
    '#{ITEM_YINGON}',
    '#{ITEM_XISHENGA}',
    '#{ITEM_GUOJIA}',
    '#{ITEM_SHENJITITI}',
    '#{ITEM_GUOJIGEREN}',
    '#{ITEM_SHENGJIGEREN}',
    '#{ITEM_DIAOXIAO}',
    '#{ITEM_CHUFA}',
    '#{ITEM_ZEREN}',
    '#{ITEM_ZHOZHUAN}',
    '#{ITEM_DAZHUANTWO}',
    '#{ITEM_MINBAN}',
    '#{ITEM_MINBANTWO}',
    '#{ITEM_ZHIYE}',
    '#{ITEM_ZHIYETWO}',
    '#{ITEM_WUSHU}',
    '#{ITEM_WUSHUTWO}',
    '#{ITEM_PEIXUN}',
    '#{ITEM_PEIXUNTWO}',
    '#{ITEM_ZIBAN}',
    '#{ITEM_ZIBANTWO}',
    '#{ITEM_OTHERONE}',
    '#{ITEM_OTHERTWO}',
    '#{ITEM_CHU}',
    '#{ITEM_ZJJ}',
    '#{ITEM_MANAGER}',
    REPLACE (
      '#{id}',
      '__TB2WF7lRx5q9TIMUQF7',
      '__i8Tojx5kmGatw96VnSx'
    ),
    '#{AUTHORDEPTID}',
    '#{AUTHOR_USER_INDEX}',
    '#{SUBFORMIDS}',
    '#{INITIATOR}'
  ) ON DUPLICATE KEY
UPDATE
  LASTMODIFIED = '#{LASTMODIFIED}',
  ITEM_NAME_OF_COMPANY = '#{ITEM_NAME_OF_COMPANY}',
  ITEM_COMPLETED_BY = '#{ITEM_COMPLETED_BY}',
  ITEM_CONTACT_NUMBER = '#{ITEM_CONTACT_NUMBER}',
  ITEM_NUMBER_OF_CUSTOMERS = '#{ITEM_NUMBER_OF_CUSTOMERS}',
  ITEM_FIXED_ASSETS = '#{ITEM_FIXED_ASSETS}',
  ITEM_ANNUAL_TURNOVER = '#{ITEM_ANNUAL_TURNOVER}',
  ITEM_ANNUAL_PROFITS_AND_AXES = '#{ITEM_ANNUAL_PROFITS_AND_AXES}',
  ITEM_RUBBER_STICK = '#{ITEM_RUBBER_STICK}',
  ITEM_BULLETPROOF_VEST = '#{ITEM_BULLETPROOF_VEST}',
  ITEM_WARM = '#{ITEM_WARM}',
  ITEM_FINE = '#{ITEM_FINE}',
  ITEM_CONFISCATION_OF_ILLEGAL_GAINS = '#{ITEM_CONFISCATION_OF_ILLEGAL_GAINS}',
  ITEM_REVOCATION_OF_LICENSE = '#{ITEM_REVOCATION_OF_LICENSE}',
  ITEM_THE_FORM_RESPONSIBILITY = '#{ITEM_THE_FORM_RESPONSIBILITY}',
  ITEM_OTHER = '#{ITEM_OTHER}',
  ITEM_STAFF = '#{ITEM_STAFF}',
  ITEM_WOMEN_STAFF = '#{ITEM_WOMEN_STAFF}',
  ITEM_LICENCE = '#{ITEM_LICENCE}',
  ITEM_MANEGER = '#{ITEM_MANEGER}',
  ITEM_XIANSUO = '#{ITEM_XIANSUO}',
  ITEM_XIANYIREN = '#{ITEM_XIANYIREN}',
  ITEM_ZAIHAI = '#{ITEM_ZAIHAI}',
  ITEM_JINGJI = '#{ITEM_JINGJI}',
  ITEM_HUODONG = '#{ITEM_HUODONG}',
  ITEM_HUODONGTWO = '#{ITEM_HUODONGTWO}',
  ITEM_QUNTI = '#{ITEM_QUNTI}',
  ITEM_QUNTITWO = '#{ITEM_QUNTITWO}',
  ITEM_JIANYI = '#{ITEM_JIANYI}',
  ITEM_YINGON = '#{ITEM_YINGON}',
  ITEM_XISHENGA = '#{ITEM_XISHENGA}',
  ITEM_GUOJIA = '#{ITEM_GUOJIA}',
  ITEM_SHENJITITI = '#{ITEM_SHENJITITI}',
  ITEM_GUOJIGEREN = '#{ITEM_GUOJIGEREN}',
  ITEM_SHENGJIGEREN = '#{ITEM_SHENGJIGEREN}',
  ITEM_DIAOXIAO = '#{ITEM_DIAOXIAO}',
  ITEM_CHUFA = '#{ITEM_CHUFA}',
  ITEM_ZEREN = '#{ITEM_ZEREN}',
  ITEM_ZHOZHUAN = '#{ITEM_ZHOZHUAN}',
  ITEM_DAZHUANTWO = '#{ITEM_DAZHUANTWO}',
  ITEM_MINBAN = '#{ITEM_MINBAN}',
  ITEM_MINBANTWO = '#{ITEM_MINBANTWO}',
  ITEM_ZHIYE = '#{ITEM_ZHIYE}',
  ITEM_ZHIYETWO = '#{ITEM_ZHIYETWO}',
  ITEM_WUSHU = '#{ITEM_WUSHU}',
  ITEM_WUSHUTWO = '#{ITEM_WUSHUTWO}',
  ITEM_PEIXUN = '#{ITEM_PEIXUN}',
  ITEM_PEIXUNTWO = '#{ITEM_PEIXUNTWO}',
  ITEM_ZIBAN = '#{ITEM_ZIBAN}',
  ITEM_ZIBANTWO = '#{ITEM_ZIBANTWO}',
  ITEM_OTHERONE = '#{ITEM_OTHERONE}',
  ITEM_OTHERTWO = '#{ITEM_OTHERTWO}',
  ITEM_CHU = '#{ITEM_CHU}',
  ITEM_ZJJ = '#{ITEM_ZJJ}',
  ITEM_MANAGER = '#{ITEM_MANAGER}';