INSERT INTO #{dynamic_securityFlow}.TLK_SECURITYCHECK (
	PARENT,
	LASTMODIFIED,
	FORMNAME,
	STATE,
	AUDITUSER,
	AUDITDATE,
	AUTHOR,
	AUTHORDEPTID,
	AUTHOR_DEPT_INDEX,
	AUTHOR_USER_INDEX,
	CREATED,
	FORMID,
	SUBFORMIDS,
	INITIATOR,
	ISTMP,
	VERSIONS,
	APPLICATIONID,
	STATEINT,
	STATELABEL,
	AUDITORNAMES,
	LASTFLOWOPERATION,
	LASTMODIFIER,
	DOMAINID,
	AUDITORLIST,
	COAUDITORLIST,
	STATELABELINFO,
	PREVAUDITNODE,
	PREVAUDITUSER,
	OPTIONITEM,
	SIGN,
	KINGGRIDSIGNATURE,
	ITEM_COMPANYNAME,
	ITEM_DUTYSTATION,
	ITEM_OFFICEPOLICEADDRESS,
	ITEM_INSPECTER,
	ITEM_INSPECTTIME,
	ITEM_DATASOURE,
	ITEM_Q1,
	ITEM_Q1REMARK,
	ITEM_Q2,
	ITEM_Q2REMARK,
	ITEM_Q3,
	ITEM_Q3REMARK,
	ITEM_Q4,
	ITEM_Q4REMARK,
	ITEM_Q5,
	ITEM_Q5REMARK,
	ITEM_Q6,
	ITEM_Q6REMARK,
	ITEM_Q7,
	ITEM_Q7REMARK,
	ITEM_Q8,
	ITEM_Q8REMARK,
	ITEM_Q9,
	ITEM_Q9REMARK,
	ITEM_Q10,
	ITEM_Q10REMARK,
	ITEM_Q11,
	ITEM_Q11REMARK,
	ITEM_Q12,
	ITEM_Q12REMARK,
	ITEM_Q13,
	ITEM_Q13REMARK,
	ITEM_Q14,
	ITEM_Q14REMARK,
	ITEM_Q15,
	ITEM_Q15REMARK,
	ITEM_Q16,
	ITEM_Q16REMARK,
	ITEM_Q17,
	ITEM_Q17REMARK,
	ITEM_REGISTERPOLICEADDRESS,
	ITEM_CREATER,
	ITEM_SOURCESIGNATURE,
	ITEM_TARGETSIGNATURE,
	ITEM_CREATETIME,
	ID,
	ITEM_SECURITYNAME,
	ITEM_DOCUMENTID,
	ITEM_P1,
	ITEM_P1REMARK,
	ITEM_P2,
	ITEM_P2REMARK,
	ITEM_P3,
	ITEM_P3REMARK,
	ITEM_P4,
	ITEM_P4REMARK,
	ITEM_P5,
	ITEM_P5REMARK,
	ITEM_P6,
	ITEM_P6REMARK,
	ITEM_P7,
	ITEM_P7REMARK,
	ITEM_P8,
	ITEM_P8REMARK,
	ITEM_P9,
	ITEM_P9REMARK,
	ITEM_P10,
	ITEM_P10REMARK,
	ITEM_P11,
	ITEM_P11REMARK,
	ITEM_securityName,
	ITEM_documentID,
	ITEM_p1,
	ITEM_p1Remark,
	ITEM_p2,
	ITEM_p2Remark,
	ITEM_p3,
	ITEM_p3Remark,
	ITEM_p4,
	ITEM_p4Remark,
	ITEM_p5,
	ITEM_p5Remark,
	ITEM_p6,
	ITEM_p6Remark,
	ITEM_p7,
	ITEM_p7Remark,
	ITEM_p8,
	ITEM_p8Remark,
	ITEM_p9,
	ITEM_p9Remark,
	ITEM_p10,
	ITEM_p10Remark,
	ITEM_p11,
	ITEM_p11Remark 
)
VALUES
	(
		'#{PARENT}',
		'#{LASTMODIFIED}',
		'#{FORMNAME}',
		'#{STATE}',
		'#{AUDITUSER}',
		'#{AUDITDATE}',
		'#{AUTHOR}',
		'#{AUTHORDEPTID}',
		'#{AUTHOR_DEPT_INDEX}',
		'#{AUTHOR_USER_INDEX}',
		'#{CREATED}',
		'#{FORMID}',
		'#{SUBFORMIDS}',
		'#{INITIATOR}',
		0,
		1,
		'#{APPLICATIONID}',
		'#{STATEINT}',
		'#{STATELABEL}',
		'#{AUDITORNAMES}',
		'#{LASTFLOWOPERATION}',
		'#{LASTMODIFIER}',
		'#{dynamic_domain_id}',
		'#{AUDITORLIST}',
		'#{COAUDITORLIST}',
		'#{STATELABELINFO}',
		'#{PREVAUDITNODE}',
		'#{PREVAUDITUSER}',
		'#{OPTIONITEM}',
		'#{SIGN}',
		'#{KINGGRIDSIGNATURE}',
		'#{ITEM_COMPANYNAME}',
		'#{ITEM_DUTYSTATION}',
		'#{ITEM_OFFICEPOLICEADDRESS}',
		'#{ITEM_INSPECTER}',
		'#{ITEM_INSPECTTIME}',
		'#{ITEM_DATASOURE}',
		'#{ITEM_Q1}',
		'#{ITEM_Q1REMARK}',
		'#{ITEM_Q2}',
		'#{ITEM_Q2REMARK}',
		'#{ITEM_Q3}',
		'#{ITEM_Q3REMARK}',
		'#{ITEM_Q4}',
		'#{ITEM_Q4REMARK}',
		'#{ITEM_Q5}',
		'#{ITEM_Q5REMARK}',
		'#{ITEM_Q6}',
		'#{ITEM_Q6REMARK}',
		'#{ITEM_Q7}',
		'#{ITEM_Q7REMARK}',
		'#{ITEM_Q8}',
		'#{ITEM_Q8REMARK}',
		'#{ITEM_Q9}',
		'#{ITEM_Q9REMARK}',
		'#{ITEM_Q10}',
		'#{ITEM_Q10REMARK}',
		'#{ITEM_Q11}',
		'#{ITEM_Q11REMARK}',
		'#{ITEM_Q12}',
		'#{ITEM_Q12REMARK}',
		'#{ITEM_Q13}',
		'#{ITEM_Q13REMARK}',
		'#{ITEM_Q14}',
		'#{ITEM_Q14REMARK}',
		'#{ITEM_Q15}',
		'#{ITEM_Q15REMARK}',
		'#{ITEM_Q16}',
		'#{ITEM_Q16REMARK}',
		'#{ITEM_Q17}',
		'#{ITEM_Q17REMARK}',
		'#{ITEM_REGISTERPOLICEADDRESS}',
		'#{ITEM_CREATER}',
		'#{ITEM_SOURCESIGNATURE}',
		'#{ITEM_TARGETSIGNATURE}',
		'#{ITEM_CREATETIME}',
		'#{ID}',
		'#{ITEM_SECURITYNAME}',
		'#{ITEM_DOCUMENTID}',
		'#{ITEM_P1}',
		'#{ITEM_P1REMARK}',
		'#{ITEM_P2}',
		'#{ITEM_P2REMARK}',
		'#{ITEM_P3}',
		'#{ITEM_P3REMARK}',
		'#{ITEM_P4}',
		'#{ITEM_P4REMARK}',
		'#{ITEM_P5}',
		'#{ITEM_P5REMARK}',
		'#{ITEM_P6}',
		'#{ITEM_P6REMARK}',
		'#{ITEM_P7}',
		'#{ITEM_P7REMARK}',
		'#{ITEM_P8}',
		'#{ITEM_P8REMARK}',
		'#{ITEM_P9}',
		'#{ITEM_P9REMARK}',
		'#{ITEM_P10}',
		'#{ITEM_P10REMARK}',
		'#{ITEM_P11}',
		'#{ITEM_P11REMARK}',
		'#{ITEM_securityName}',
		'#{ITEM_documentID}',
		'#{ITEM_p1}',
		'#{ITEM_p1Remark}',
		'#{ITEM_p2}',
		'#{ITEM_p2Remark}',
		'#{ITEM_p3}',
		'#{ITEM_p3Remark}',
		'#{ITEM_p4}',
		'#{ITEM_p4Remark}',
		'#{ITEM_p5}',
		'#{ITEM_p5Remark}',
		'#{ITEM_p6}',
		'#{ITEM_p6Remark}',
		'#{ITEM_p7}',
		'#{ITEM_p7Remark}',
		'#{ITEM_p8}',
		'#{ITEM_p8Remark}',
		'#{ITEM_p9}',
		'#{ITEM_p9Remark}',
		'#{ITEM_p10}',
		'#{ITEM_p10Remark}',
		'#{ITEM_p11}',
		'#{ITEM_p11Remark}' 
	) 
	ON DUPLICATE KEY UPDATE LASTMODIFIED = '#{LASTMODIFIED}',
	ITEM_COMPANYNAME = '#{ITEM_COMPANYNAME}',
	ITEM_DUTYSTATION = '#{ITEM_DUTYSTATION}',
	ITEM_OFFICEPOLICEADDRESS = '#{ITEM_OFFICEPOLICEADDRESS}',
	ITEM_INSPECTER = '#{ITEM_INSPECTER}',
	ITEM_INSPECTTIME = '#{ITEM_INSPECTTIME}',
	ITEM_DATASOURE = '#{ITEM_DATASOURE}',
	ITEM_Q1 = '#{ITEM_Q1}',
	ITEM_Q1REMARK = '#{ITEM_Q1REMARK}',
	ITEM_Q2 = '#{ITEM_Q2}',
	ITEM_Q2REMARK = '#{ITEM_Q2REMARK}',
	ITEM_Q3 = '#{ITEM_Q3}',
	ITEM_Q3REMARK = '#{ITEM_Q3REMARK}',
	ITEM_Q4 = '#{ITEM_Q4}',
	ITEM_Q4REMARK = '#{ITEM_Q4REMARK}',
	ITEM_Q5 = '#{ITEM_Q5}',
	ITEM_Q5REMARK = '#{ITEM_Q5REMARK}',
	ITEM_Q6 = '#{ITEM_Q6}',
	ITEM_Q6REMARK = '#{ITEM_Q6REMARK}',
	ITEM_Q7 = '#{ITEM_Q7}',
	ITEM_Q7REMARK = '#{ITEM_Q7REMARK}',
	ITEM_Q8 = '#{ITEM_Q8}',
	ITEM_Q8REMARK = '#{ITEM_Q8REMARK}',
	ITEM_Q9 = '#{ITEM_Q9}',
	ITEM_Q9REMARK = '#{ITEM_Q9REMARK}',
	ITEM_Q10 = '#{ITEM_Q10}',
	ITEM_Q10REMARK = '#{ITEM_Q10REMARK}',
	ITEM_Q11 = '#{ITEM_Q11}',
	ITEM_Q11REMARK = '#{ITEM_Q11REMARK}',
	ITEM_Q12 = '#{ITEM_Q12}',
	ITEM_Q12REMARK = '#{ITEM_Q12REMARK}',
	ITEM_Q13 = '#{ITEM_Q13}',
	ITEM_Q13REMARK = '#{ITEM_Q13REMARK}',
	ITEM_Q14 = '#{ITEM_Q14}',
	ITEM_Q14REMARK = '#{ITEM_Q14REMARK}',
	ITEM_Q15 = '#{ITEM_Q15}',
	ITEM_Q15REMARK = '#{ITEM_Q15REMARK}',
	ITEM_Q16 = '#{ITEM_Q16}',
	ITEM_Q16REMARK = '#{ITEM_Q16REMARK}',
	ITEM_Q17 = '#{ITEM_Q17}',
	ITEM_Q17REMARK = '#{ITEM_Q17REMARK}',
	ITEM_REGISTERPOLICEADDRESS = '#{ITEM_REGISTERPOLICEADDRESS}',
	ITEM_CREATER = '#{ITEM_CREATER}',
	ITEM_SOURCESIGNATURE = '#{ITEM_SOURCESIGNATURE}',
	ITEM_TARGETSIGNATURE = '#{ITEM_TARGETSIGNATURE}',
	ITEM_CREATETIME = '#{ITEM_CREATETIME}',
	ITEM_SECURITYNAME = '#{ITEM_SECURITYNAME}',
	ITEM_DOCUMENTID = '#{ITEM_DOCUMENTID}',
	ITEM_P1 = '#{ITEM_P1}',
	ITEM_P1REMARK = '#{ITEM_P1REMARK}',
	ITEM_P2 = '#{ITEM_P2}',
	ITEM_P2REMARK = '#{ITEM_P2REMARK}',
	ITEM_P3 = '#{ITEM_P3}',
	ITEM_P3REMARK = '#{ITEM_P3REMARK}',
	ITEM_P4 = '#{ITEM_P4}',
	ITEM_P4REMARK = '#{ITEM_P4REMARK}',
	ITEM_P5 = '#{ITEM_P5}',
	ITEM_P5REMARK = '#{ITEM_P5REMARK}',
	ITEM_P6 = '#{ITEM_P6}',
	ITEM_P6REMARK = '#{ITEM_P6REMARK}',
	ITEM_P7 = '#{ITEM_P7}',
	ITEM_P7REMARK = '#{ITEM_P7REMARK}',
	ITEM_P8 = '#{ITEM_P8}',
	ITEM_P8REMARK = '#{ITEM_P8REMARK}',
	ITEM_P9 = '#{ITEM_P9}',
	ITEM_P9REMARK = '#{ITEM_P9REMARK}',
	ITEM_P10 = '#{ITEM_P10}',
	ITEM_P10REMARK = '#{ITEM_P10REMARK}',
	ITEM_P11 = '#{ITEM_P11}',
	ITEM_P11REMARK = '#{ITEM_P11REMARK}',
	ITEM_securityName = '#{ITEM_securityName}',
	ITEM_documentID = '#{ITEM_documentID}',
	ITEM_p1 = '#{ITEM_p1}',
	ITEM_p1Remark = '#{ITEM_p1Remark}',
	ITEM_p2 = '#{ITEM_p2}',
	ITEM_p2Remark = '#{ITEM_p2Remark}',
	ITEM_p3 = '#{ITEM_p3}',
	ITEM_p3Remark = '#{ITEM_p3Remark}',
	ITEM_p4 = '#{ITEM_p4}',
	ITEM_p4Remark = '#{ITEM_p4Remark}',
	ITEM_p5 = '#{ITEM_p5}',
	ITEM_p5Remark = '#{ITEM_p5Remark}',
	ITEM_p6 = '#{ITEM_p6}',
	ITEM_p6Remark = '#{ITEM_p6Remark}',
	ITEM_p7 = '#{ITEM_p7}',
	ITEM_p7Remark = '#{ITEM_p7Remark}',
	ITEM_p8 = '#{ITEM_p8}',
	ITEM_p8Remark = '#{ITEM_p8Remark}',
	ITEM_p9 = '#{ITEM_p9}',
	ITEM_p9Remark = '#{ITEM_p9Remark}',
	ITEM_p10 = '#{ITEM_p10}',
	ITEM_p10Remark = '#{ITEM_p10Remark}',
	ITEM_p11 = '#{ITEM_p11}',
	ITEM_p11Remark = '#{ITEM_p11Remark}';