INSERT INTO #{dynamic_securityFlow}.tlk_attendance_site_bases_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_COMPANYNAME,
	ITEM_DOMAIN_ID,
	ITEM_ATTENDANCESITENAME,
	ITEM_ATTENDANCESITETYPE,
	ITEM_ATTENDANCESITECONTENT,
	ITEM_ATTENDANCESITEADDRESS,
	ITEM_ATTENDANCESITEFULLADDRESS,
	ITEM_ATTENDANCESITELONGITUDE,
	ITEM_ATTENDANCESITELATITUDE,
	ITEM_PERFORMRANGE,
	ITEM_OFFICEPOLICEADDRESS,
	ITEM_OFFICEPOLICEADDRESSID,
	ITEM_OFFICEPOLICEIDINDEX,
	ITEM_ATTENDANCESTARTDATE,
	ITEM_ATTENDANCEENDDATE,
	ITEM_ATTENDANCESITESTATE,
	ITEM_PRINCIPAL,
	ITEM_PRINCIPALNAME,
	ITEM_PRINCIPALCARDTYPE,
	ITEM_PRINCIPALIDCARDNO,
	ITEM_PRINCIPALPHONENO,
	ITEM_PRINCIPALISCERTIFIED,
	ITEM_SERVEOBJECTNAME,
	ITEM_SERVEOBJECTTYPE,
	ITEM_ISSIGNIFICANCEUNIT,
	ITEM_CONTRACTNAME,
	ITEM_CONTRACTID,
	ITEM_CONTRACTSTATE,
	ITEM_CONTRACTSTARTDATE,
	ITEM_CONTRACTENDDATE,
	ITEM_CONTRACTFILE,
	ID,
	AUTHORDEPTID,
	AUTHOR_USER_INDEX,
	SUBFORMIDS,
	INITIATOR 
)
VALUES
	(
		'#{PARENT}',
		'#{LASTMODIFIED}',
		'#{FORMNAME}',
		'#{STATE}',
		'#{AUDITUSER}',
		'#{AUDITDATE}',
		'#{AUTHOR}',
		'#{AUTHOR_DEPT_INDEX}',
		'#{CREATED}',
		'__zIsfIsXRDTut7dRXlAq',
		0,
		1,
		'__wGomeHJBz6CpLFCCl4y',
		'#{STATEINT}',
		'#{STATELABEL}',
		'#{AUDITORNAMES}',
		'#{LASTFLOWOPERATION}',
		'#{LASTMODIFIER}',
		'#{dynamic_domain_id}',
		'#{AUDITORLIST}',
		'#{COAUDITORLIST}',
		'#{STATELABELINFO}',
		'#{PREVAUDITNODE}',
		'#{PREVAUDITUSER}',
		'#{OPTIONITEM}',
		'#{SIGN}',
		'#{KINGGRIDSIGNATURE}',
		'#{ITEM_COMPANYNAME}',
		'#{domainid}',
		'#{ITEM_ATTENDANCESITENAME}',
		'#{ITEM_ATTENDANCESITETYPE}',
		'#{ITEM_ATTENDANCESITECONTENT}',
		'#{ITEM_ATTENDANCESITEADDRESS}',
		'#{ITEM_ATTENDANCESITEFULLADDRESS}',
		'#{ITEM_ATTENDANCESITELONGITUDE}',
		'#{ITEM_ATTENDANCESITELATITUDE}',
		'#{ITEM_PERFORMRANGE}',
		'#{ITEM_OFFICEPOLICEADDRESS}',
		'#{ITEM_OFFICEPOLICEADDRESSID}',
		'#{ITEM_OFFICEPOLICEIDINDEX}',
		'#{ITEM_ATTENDANCESTARTDATE}',
		'#{ITEM_ATTENDANCEENDDATE}',
		'#{ITEM_ATTENDANCESITESTATE}',
		'#{ITEM_PRINCIPAL}',
		'#{ITEM_PRINCIPALNAME}',
		'#{ITEM_PRINCIPALCARDTYPE}',
		'#{ITEM_PRINCIPALIDCARDNO}',
		'#{ITEM_PRINCIPALPHONENO}',
		'#{ITEM_PRINCIPALISCERTIFIED}',
		'#{ITEM_SERVEOBJECTNAME}',
		'#{ITEM_SERVEOBJECTTYPE}',
		'#{ITEM_ISSIGNIFICANCEUNIT}',
		'#{ITEM_CONTRACTNAME}',
		'#{ITEM_CONTRACTID}',
		'#{ITEM_CONTRACTSTATE}',
		'#{ITEM_CONTRACTSTARTDATE}',
		'#{ITEM_CONTRACTENDDATE}',
		'#{ITEM_CONTRACTFILE}',
		REPLACE ( '#{id}', '__ShLfr68gFG7oupVTHTR', '__zIsfIsXRDTut7dRXlAq'),
		'#{AUTHORDEPTID}',
		'#{AUTHOR_USER_INDEX}',
		'#{SUBFORMIDS}',
		'#{INITIATOR}' 
	) 
	ON DUPLICATE KEY UPDATE LASTMODIFIED = '#{LASTMODIFIED}',
	ITEM_COMPANYNAME = '#{ITEM_COMPANYNAME}',
	ITEM_DOMAIN_ID = '#{ITEM_DOMAIN_ID}',
	ITEM_ATTENDANCESITENAME = '#{ITEM_ATTENDANCESITENAME}',
	ITEM_ATTENDANCESITETYPE = '#{ITEM_ATTENDANCESITETYPE}',
	ITEM_ATTENDANCESITECONTENT = '#{ITEM_ATTENDANCESITECONTENT}',
	ITEM_ATTENDANCESITEADDRESS = '#{ITEM_ATTENDANCESITEADDRESS}',
	ITEM_ATTENDANCESITEFULLADDRESS = '#{ITEM_ATTENDANCESITEFULLADDRESS}',
	ITEM_ATTENDANCESITELONGITUDE = '#{ITEM_ATTENDANCESITELONGITUDE}',
	ITEM_ATTENDANCESITELATITUDE = '#{ITEM_ATTENDANCESITELATITUDE}',
	ITEM_PERFORMRANGE = '#{ITEM_PERFORMRANGE}',
	ITEM_OFFICEPOLICEADDRESS = '#{ITEM_OFFICEPOLICEADDRESS}',
	ITEM_OFFICEPOLICEADDRESSID = '#{ITEM_OFFICEPOLICEADDRESSID}',
	ITEM_OFFICEPOLICEIDINDEX = '#{ITEM_OFFICEPOLICEIDINDEX}',
	ITEM_ATTENDANCESTARTDATE = '#{ITEM_ATTENDANCESTARTDATE}',
	ITEM_ATTENDANCEENDDATE = '#{ITEM_ATTENDANCEENDDATE}',
	ITEM_ATTENDANCESITESTATE = '#{ITEM_ATTENDANCESITESTATE}',
	ITEM_PRINCIPAL = '#{ITEM_PRINCIPAL}',
	ITEM_PRINCIPALNAME = '#{ITEM_PRINCIPALNAME}',
	ITEM_PRINCIPALCARDTYPE = '#{ITEM_PRINCIPALCARDTYPE}',
	ITEM_PRINCIPALIDCARDNO = '#{ITEM_PRINCIPALIDCARDNO}',
	ITEM_PRINCIPALPHONENO = '#{ITEM_PRINCIPALPHONENO}',
	ITEM_PRINCIPALISCERTIFIED = '#{ITEM_PRINCIPALISCERTIFIED}',
	ITEM_SERVEOBJECTNAME = '#{ITEM_SERVEOBJECTNAME}',
	ITEM_SERVEOBJECTTYPE = '#{ITEM_SERVEOBJECTTYPE}',
	ITEM_ISSIGNIFICANCEUNIT = '#{ITEM_ISSIGNIFICANCEUNIT}',
	ITEM_CONTRACTNAME = '#{ITEM_CONTRACTNAME}',
	ITEM_CONTRACTID = '#{ITEM_CONTRACTID}',
	ITEM_CONTRACTSTATE = '#{ITEM_CONTRACTSTATE}',
	ITEM_CONTRACTSTARTDATE = '#{ITEM_CONTRACTSTARTDATE}',
	ITEM_CONTRACTENDDATE = '#{ITEM_CONTRACTENDDATE}',
	ITEM_CONTRACTFILE = '#{ITEM_CONTRACTFILE}';