INSERT INTO #{dynamic_securityFlow}.tlk_attendance_siteba_person_info (
	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_SECURITYNAME,
	ITEM_SECURITYID,
	ITEM_ATTENDANCESITEID,
	ITEM_DOCUMENTTYPE,
	ITEM_DOCUMENTID,
	ITEM_PHONE,
	ITEM_DEPTNAME,
	ITEM_JOBTYPE,
	ITEM_ISCERTIFIED,
	ITEM_INSURANCESTATUS,
	ITEM_CREATEDUSER,
	ITEM_DOMAIN_ID,
	ID,
	AUTHORDEPTID,
	AUTHOR_USER_INDEX,
	SUBFORMIDS,
	INITIATOR 
)
VALUES
	(
		'#{PARENT}',
		'#{LASTMODIFIED}',
		'#{FORMNAME}',
		'#{STATE}',
		'#{AUDITUSER}',
		'#{AUDITDATE}',
		'#{AUTHOR}',
		'#{AUTHOR_DEPT_INDEX}',
		'#{CREATED}',
		'__oTswu5ltbafsn5HhhLS',
		0,
		1,
		'__wGomeHJBz6CpLFCCl4y',
		'#{STATEINT}',
		'#{STATELABEL}',
		'#{AUDITORNAMES}',
		'#{LASTFLOWOPERATION}',
		'#{LASTMODIFIER}',
		'#{dynamic_domain_id}',
		'#{AUDITORLIST}',
		'#{COAUDITORLIST}',
		'#{STATELABELINFO}',
		'#{PREVAUDITNODE}',
		'#{PREVAUDITUSER}',
		'#{OPTIONITEM}',
		'#{SIGN}',
		'#{KINGGRIDSIGNATURE}',
		'#{ITEM_SECURITYNAME}',
		'#{ITEM_SECURITYID}',
		'#{ITEM_ATTENDANCESITEID}',
		'#{ITEM_DOCUMENTTYPE}',
		'#{ITEM_DOCUMENTID}',
		'#{ITEM_PHONE}',
		'#{ITEM_DEPTNAME}',
		'#{ITEM_JOBTYPE}',
		'#{ITEM_ISCERTIFIED}',
		'#{ITEM_INSURANCESTATUS}',
		'#{ITEM_CREATEDUSER}',
		'#{domainid}',
		REPLACE ( '#{id}', '__gexX8ZTQjDE1MlzhH1U', '__oTswu5ltbafsn5HhhLS'), 
		'#{AUTHORDEPTID}',
		'#{AUTHOR_USER_INDEX}',
		'#{SUBFORMIDS}',
		'#{INITIATOR}' 
	) 
	ON DUPLICATE KEY UPDATE LASTMODIFIED = '#{LASTMODIFIED}',
	ITEM_SECURITYNAME = '#{ITEM_SECURITYNAME}',
	ITEM_SECURITYID = '#{ITEM_SECURITYID}',
	ITEM_ATTENDANCESITEID = '#{ITEM_ATTENDANCESITEID}',
	ITEM_DOCUMENTTYPE = '#{ITEM_DOCUMENTTYPE}',
	ITEM_DOCUMENTID = '#{ITEM_DOCUMENTID}',
	ITEM_PHONE = '#{ITEM_PHONE}',
	ITEM_DEPTNAME = '#{ITEM_DEPTNAME}',
	ITEM_JOBTYPE = '#{ITEM_JOBTYPE}',
	ITEM_ISCERTIFIED = '#{ITEM_ISCERTIFIED}',
	ITEM_INSURANCESTATUS = '#{ITEM_INSURANCESTATUS}',
	ITEM_CREATEDUSER = '#{ITEM_CREATEDUSER}',
	ITEM_DOMAIN_ID = '#{ITEM_DOMAIN_ID}';