INSERT INTO #{dynamic_kaopei}.tlk_grade_internship(LASTMODIFIED, CREATED, FORMID, APPLICATIONID, DOMAINID, ITEM_NAME, ITEM_IDCARDNO, ITEM_PHONE, ITEM_INTERNSHIPCOMPANY, ITEM_INTERNSHIPTIME, ITEM_SIGNINTIME, ITEM_SIGNINPLACE, ITEM_SIGNBACKTIME, ITEM_SIGNBACKPLACE, ITEM_INTERNSHIPDURATION, ITEM_SECURITYCOMPANYAUDITSTATUS, ITEM_SECURITYCOMPANYAUDIT, ITEM_TRAININGINSTITUTIONAUDITSTATUS, ITEM_TRAININGINSTITUTIONAUDITORS, ITEM_ISPASS, ITEM_INTERNSHIPRECORDSTATUS, ITEM_NEEDDAY, ITEM_NEEDTIME, ITEM_UNPASSREASON, ITEM_PRACTICECONTENT, ITEM_INTERNID, ITEM_SECURITYCOMPANYNAME, ITEM_TRAININGINSTITUTIONNAME, ITEM_INSERTID, ID) VALUES ('#{LASTMODIFIED}', '#{CREATED}', '__64JhD1OKwA9p76iqZrR', '__ebVTJ4Qkg61oQ2jlCCL', '#{dynamic_domain_id}', '#{ITEM_NAME}', '#{ITEM_IDCARDNO}', '#{ITEM_PHONE}', '#{ITEM_INTERNSHIPCOMPANY}', '#{ITEM_INTERNSHIPTIME}', '#{ITEM_SIGNINTIME}', '#{ITEM_SIGNINPLACE}', '#{ITEM_SIGNBACKTIME}', '#{ITEM_SIGNBACKPLACE}', '#{ITEM_INTERNSHIPDURATION}', '#{ITEM_SECURITYCOMPANYAUDITSTATUS}', '#{ITEM_SECURITYCOMPANYAUDIT}', '#{ITEM_TRAININGINSTITUTIONAUDITSTATUS}', '#{ITEM_TRAININGINSTITUTIONAUDITORS}', '#{ITEM_ISPASS}', '#{ITEM_INTERNSHIPRECORDSTATUS}',  '#{ITEM_NEEDDAY}', '#{ITEM_NEEDTIME}', '#{ITEM_UNPASSREASON}', '#{ITEM_PRACTICECONTENT}',  REPLACE ( '#{ITEM_INTERNID}', '__4xps3fR1UmijuSMS7as', '__c5LTCeEmS52OWaNZpdZ' ), '#{ITEM_SECURITYCOMPANYNAME}', '#{ITEM_TRAININGINSTITUTIONNAME}', '#{ITEM_INSERTID}', REPLACE ( '#{ID}', '__GWX8yEePun0kURbKeue', '__64JhD1OKwA9p76iqZrR' ))ON DUPLICATE KEY UPDATE LASTMODIFIED = '#{LASTMODIFIED}',
	ITEM_NAME = '#{ITEM_NAME}',
	ITEM_IDCARDNO = '#{ITEM_IDCARDNO}',
	ITEM_PHONE = '#{ITEM_PHONE}',
	ITEM_INTERNSHIPCOMPANY = '#{ITEM_INTERNSHIPCOMPANY}',
	ITEM_INTERNSHIPTIME = '#{ITEM_INTERNSHIPTIME}',
	ITEM_SIGNINTIME = '#{ITEM_SIGNINTIME}',
	ITEM_SIGNINPLACE = '#{ITEM_SIGNINPLACE}',
	ITEM_SIGNBACKTIME = '#{ITEM_SIGNBACKTIME}',
	ITEM_SIGNBACKPLACE = '#{ITEM_SIGNBACKPLACE}',
	ITEM_INTERNSHIPDURATION = '#{ITEM_INTERNSHIPDURATION}',
	ITEM_SECURITYCOMPANYAUDITSTATUS = '#{ITEM_SECURITYCOMPANYAUDITSTATUS}',
	ITEM_SECURITYCOMPANYAUDIT = '#{ITEM_SECURITYCOMPANYAUDIT}',
	ITEM_TRAININGINSTITUTIONAUDITSTATUS = '#{ITEM_TRAININGINSTITUTIONAUDITSTATUS}',
	ITEM_TRAININGINSTITUTIONAUDITORS = '#{ITEM_TRAININGINSTITUTIONAUDITORS}',
	ITEM_ISPASS = '#{ITEM_ISPASS}',
	ITEM_INTERNSHIPRECORDSTATUS = '#{ITEM_INTERNSHIPRECORDSTATUS}',
	ITEM_NEEDDAY = '#{ITEM_NEEDDAY}',
	ITEM_NEEDTIME = '#{ITEM_NEEDTIME}',
	ITEM_UNPASSREASON = '#{ITEM_UNPASSREASON}',
	ITEM_PRACTICECONTENT = '#{ITEM_PRACTICECONTENT}',
	ITEM_INTERNID = REPLACE ( '#{ITEM_INTERNID}', '__4xps3fR1UmijuSMS7as', '__c5LTCeEmS52OWaNZpdZ' ),
	ITEM_SECURITYCOMPANYNAME = '#{ITEM_SECURITYCOMPANYNAME}',
	ITEM_TRAININGINSTITUTIONNAME = '#{ITEM_TRAININGINSTITUTIONNAME}',
	ITEM_INSERTID = REPLACE ( '#{ITEM_INTERNID}', '__4xps3fR1UmijuSMS7as', '__c5LTCeEmS52OWaNZpdZ' )
	
