INSERT INTO #{dynamic_securityFlow}.`tlk_Establish`(`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_address`, `ITEM_zipcode`, `ITEM_licenceNum`, `ITEM_creditCode`, `ITEM_personNum`, `ITEM_legalName`, `ITEM_legalSex`, `ITEM_legalBirth`, `ITEM_legalNationality`, `ITEM_legalNation`, `ITEM_legalPolitics`, `ITEM_legalCulture`, `ITEM_legalTel`, `ITEM_legalPhone`, `ITEM_legalType`, `ITEM_legalCardnumber`, `ITEM_legalAddress`, `ITEM_legalAbroadaddress`, `ITEM_sonCompanyname`, `ITEM_sonAddrss`, `ITEM_sonProject`, `ITEM_sonPersonNum`, `ITEM_sonZipcode`, `ITEM_chargeName`, `ITEM_chargePost`, `ITEM_chargeCardnumber`, `ITEM_chargePhone`, `ITEM_templateRarFile`, `ITEM_rejectReason`, `ITEM_domain_id`, `ID`) VALUES (NULL, '#{LASTMODIFIED}', '备案申报/本市保安服务公司设立分公司备案/Branchoffice', NULL, NULL, NULL, NULL, NULL, 'HiZY00RqTnxxiKrvGmb_o6ioxwWOCE2IowZzHMu', '$$$test', '#{CREATED}', '__Cf9cHA3xWKgzDNL80xE', 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_auditStatus5}', '#{ITEM_officePoliceAddress}', '#{ITEM_officePoliceAddressID}', '#{ITEM_officePoliceIDIndex}', '#{ITEM_companyName}', '#{ITEM_address}', '#{ITEM_zipcode}', '#{ITEM_licenceNum}', '#{ITEM_creditCode}', #{ITEM_personNum}, '#{ITEM_legalName}', '#{ITEM_legalSex}', '#{ITEM_legalBirth}', '#{ITEM_legalNationality}', '#{ITEM_legalNation}', '#{ITEM_legalPolitics}', '#{ITEM_legalCulture}', '#{ITEM_legalTel}', '#{ITEM_legalPhone}', '#{ITEM_legalType}', '#{ITEM_legalCardnumber}', '#{ITEM_legalAddress}', '#{ITEM_legalAbroadaddress}', '#{ITEM_sonCompanyname}', '#{ITEM_sonAddrss}', '#{ITEM_sonProject}', #{ITEM_sonPersonNum}, '#{ITEM_sonZipcode}', '#{ITEM_chargeName}', '#{ITEM_chargePost}', '#{ITEM_chargeCardnumber}', '#{ITEM_chargePhone}', '#{ITEM_templateRarFile}', '', '#{ITEM_domain_id}', replace('#{ID}','__1jYgutkCLwptfT3zbLW','__Cf9cHA3xWKgzDNL80xE')) ON DUPLICATE KEY UPDATE domainid='#{dynamic_domain_id}';
