INSERT INTO
  #{dynamic_securityFlow}.TLK_EPIDEMICXX (
    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,
    ID,
    ITEM_NAME,
    ITEM_PHONE,
    ITEM_TIME,
    ITEM_ATTENDANCETYPE,
    ITEM_OFFICEPOLICEADDRESS,
    ITEM_CONDITIONTYPE,
    ITEM_ATTENDANCENUMBER,
    ITEM_NUCLEASETHENUMBER,
    ITEM_PENDINGRESULTS,
    ITEM_NONUCLEASETHENUMBER,
    ITEM_POSITIVENUMBER,
    ITEM_DEFINITENUMBER,
    ITEM_ZFCONCENTRATENUMBER,
    ITEM_GSCONCENTRATENUMBER,
    ITEM_ATTENDANCEISOLATENUMBER,
    ITEM_ISOLATESUMNUMBER,
    ITEM_QKATTENDANCETYPE,
    ITEM_REGISTERADDRESS,
    ITEM_MONITORING,
    ITEM_DESCRIPTIO,
    ITEM_ATTENDANCEURL,
    ITEM_BELONGENTERPRISESS,
    ITEM_ATTENDANCENAME,
    AUTHORDEPTID,
    AUTHOR_USER_INDEX,
    SUBFORMIDS,
    INITIATOR
  )
VALUES
  (
    '#{PARENT}',
    '#{LASTMODIFIED}',
    '#{FORMNAME}',
    '#{STATE}',
    '#{AUDITUSER}',
    '#{AUDITDATE}',
    '#{AUTHOR}',
    '#{AUTHOR_DEPT_INDEX}',
    '#{CREATED}',
    '__wcwdOt6tvuUcU4gwKLb',
    0,
    1,
    '__wGomeHJBz6CpLFCCl4y',
    '#{STATEINT}',
    '#{STATELABEL}',
    '#{AUDITORNAMES}',
    '#{LASTFLOWOPERATION}',
    '#{LASTMODIFIER}',
    '#{dynamic_domain_id}',
    '#{AUDITORLIST}',
    '#{COAUDITORLIST}',
    '#{STATELABELINFO}',
    '#{PREVAUDITNODE}',
    '#{PREVAUDITUSER}',
    '#{OPTIONITEM}',
    '#{SIGN}',
    '#{KINGGRIDSIGNATURE}',
    REPLACE (
      '#{id}',
      '__eTQwfUCqn4UKIbeV9Gc',
      '__wcwdOt6tvuUcU4gwKLb'
    ),
    '#{ITEM_NAME}',
    '#{ITEM_PHONE}',
    '#{ITEM_TIME}',
    '#{ITEM_ATTENDANCETYPE}',
    '#{ITEM_OFFICEPOLICEADDRESS}',
    '#{ITEM_CONDITIONTYPE}',
    '#{ITEM_ATTENDANCENUMBER}',
    '#{ITEM_NUCLEASETHENUMBER}',
    '#{ITEM_PENDINGRESULTS}',
    '#{ITEM_NONUCLEASETHENUMBER}',
    '#{ITEM_POSITIVENUMBER}',
    '#{ITEM_DEFINITENUMBER}',
    '#{ITEM_ZFCONCENTRATENUMBER}',
    '#{ITEM_GSCONCENTRATENUMBER}',
    '#{ITEM_ATTENDANCEISOLATENUMBER}',
    '#{ITEM_ISOLATESUMNUMBER}',
    '#{ITEM_QKATTENDANCETYPE}',
    '#{ITEM_REGISTERADDRESS}',
    '#{ITEM_MONITORING}',
    '#{ITEM_DESCRIPTIO}',
    '#{ITEM_ATTENDANCEURL}',
    '#{ITEM_BELONGENTERPRISESS}',
    '#{ITEM_ATTENDANCENAME}',
    '#{AUTHORDEPTID}',
    '#{AUTHOR_USER_INDEX}',
    '#{SUBFORMIDS}',
    '#{INITIATOR}'
  ) ON DUPLICATE KEY
UPDATE
  LASTMODIFIED = '#{LASTMODIFIED}',
  ITEM_NAME = '#{ITEM_NAME}',
  ITEM_PHONE = '#{ITEM_PHONE}',
  ITEM_TIME = '#{ITEM_TIME}',
  ITEM_ATTENDANCETYPE = '#{ITEM_ATTENDANCETYPE}',
  ITEM_OFFICEPOLICEADDRESS = '#{ITEM_OFFICEPOLICEADDRESS}',
  ITEM_CONDITIONTYPE = '#{ITEM_CONDITIONTYPE}',
  ITEM_ATTENDANCENUMBER = '#{ITEM_ATTENDANCENUMBER}',
  ITEM_NUCLEASETHENUMBER = '#{ITEM_NUCLEASETHENUMBER}',
  ITEM_PENDINGRESULTS = '#{ITEM_PENDINGRESULTS}',
  ITEM_NONUCLEASETHENUMBER = '#{ITEM_NONUCLEASETHENUMBER}',
  ITEM_POSITIVENUMBER = '#{ITEM_POSITIVENUMBER}',
  ITEM_DEFINITENUMBER = '#{ITEM_DEFINITENUMBER}',
  ITEM_ZFCONCENTRATENUMBER = '#{ITEM_ZFCONCENTRATENUMBER}',
  ITEM_GSCONCENTRATENUMBER = '#{ITEM_GSCONCENTRATENUMBER}',
  ITEM_ATTENDANCEISOLATENUMBER = '#{ITEM_ATTENDANCEISOLATENUMBER}',
  ITEM_ISOLATESUMNUMBER = '#{ITEM_ISOLATESUMNUMBER}',
  ITEM_QKATTENDANCETYPE = '#{ITEM_QKATTENDANCETYPE}',
  ITEM_REGISTERADDRESS = '#{ITEM_REGISTERADDRESS}',
  ITEM_MONITORING = '#{ITEM_MONITORING}',
  ITEM_DESCRIPTIO = '#{ITEM_DESCRIPTIO}',
  ITEM_ATTENDANCEURL = '#{ITEM_ATTENDANCEURL}',
  ITEM_BELONGENTERPRISESS = '#{ITEM_BELONGENTERPRISESS}',
  ITEM_ATTENDANCENAME = '#{ITEM_ATTENDANCENAME}';