INSERT INTO #{dynamic_securityFlow}.`tlk_SecurityTrainingS`(`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_region`, `ITEM_auditStatus`, `ITEM_officePoliceAddress`, `ITEM_officePoliceAddressID`, `ITEM_officePoliceIDIndex`, `ITEM_companyName`, `ITEM_companyType`, `ITEM_address`, `ITEM_zipcode`, `ITEM_propertyRights`, `ITEM_housingArea`, `ITEM_serviceLicenseNO`, `ITEM_businessLicenseNO`, `ITEM_approvalPaper`, `ITEM_carNums`, `ITEM_gunNums`, `ITEM_legalName`, `ITEM_legalCardnumber`, `ITEM_legalPhone`, `ITEM_domain_id`, `ITEM_organizationName`, `ITEM_organizationAddress`, `ITEM_organizationZipcode`, `ITEM_trainingScale`, `ITEM_trainingContent`, `ITEM_organizationLegalName`, `ITEM_organizationLegalCardnumber`, `ITEM_organizationLegalPhone`, `ITEM_templateRarFile`, `ITEM_rejectReason`, `ID`) VALUES (NULL, if('#{LASTMODIFIED}'='0000-00-00 00:00:00','#{CREATED}','#{LASTMODIFIED}'), '备案申报/保安培训单位备案/CompanyPermit', '', NULL, NULL, NULL, NULL, NULL, '$$$test', '#{CREATED}', '__RCOcXGrkJRC4HyyXmrG', NULL, NULL, 0, 1, '__wGomeHJBz6CpLFCCl4y', 0, '', '', NULL, NULL, '#{dynamic_domain_id}', '{}', '{}', '[{\"nodes\":[{\"nodeId\":\"\",\"stateLabel\":\"\",\"state\":\"\",\"auditors\":[],\"coAuditors\":[]}]}]', NULL, NULL, NULL, NULL, NULL, '#{ITEM_region}', '#{ITEM_auditStatus}', '#{ITEM_officePoliceAddress}', '#{ITEM_officePoliceAddressID}', '#{ITEM_officePoliceIDIndex}', '#{ITEM_companyName}', '#{ITEM_companyType}', '#{ITEM_address}', '#{ITEM_zipcode}', '#{ITEM_propertyRights}', #{ITEM_housingArea}, '#{ITEM_serviceLicenseNO}', '#{ITEM_businessLicenseNO}', '#{ITEM_approvalPaper}', #{ITEM_carNums}, #{ITEM_gunNums}, '#{ITEM_legalName}', '#{ITEM_legalCardnumber}', '#{ITEM_legalPhone}', '#{ITEM_domain_id}', '#{ITEM_organizationName}', '#{ITEM_organizationAddress}', '#{ITEM_organizationZipcode}', '#{ITEM_trainingScale}', '#{ITEM_trainingContent}', '#{ITEM_organizationLegalName}', '#{ITEM_organizationLegalCardnumber}', '#{ITEM_organizationLegalPhone}', '#{ITEM_templateRarFile}', '#{ITEM_rejectReason}', replace('#{ID}','__zagjldcIQyPSATrE9me','__RCOcXGrkJRC4HyyXmrG')) ON DUPLICATE KEY UPDATE domainid='#{dynamic_domain_id}';
