insert into business_declare(business_id, bank_id, business_name, business_approval_id, responsible_investigation_id, product_approval_id, basic_data_id, declare_time, status_id, hash) values(#{businessId}, #{bank}, #{businessName}, #{busineeApprovalId}, #{responsibleInvestigationId}, #{productApprovalId}, #{basicDataId}, #{declareTime}, #{statusId}, #{hash}) insert into attachment(attachment_id, attachment_name, url, upload_person_id, create_time) values(#{attachmentId}, #{attachmentName}, #{url}, #{userId}, #{createTime}) insert into operation_history(operator_type_id, operator_account, operator_role, operator_person, operator_time, hash) values(#{operatorTypeId}, #{operatorAccount}, #{operatorRole}, #{operatorPerson}, #{operatorTime}, #{hash}) insert into business_check(check_department, check_person, check_business_id, check_opinion, check_time, check_result, task) values(#{organizationName}, #{checkPerson}, #{businessId}, #{checkOpinion}, #{checkTime}, #{checkResult}, #{task}) update business_declare set status_id=#{statusId} where business_id=#{businessId} insert into contract_record(business_id, contract_id, contract_name, version, contract_party, upload_department, upload_person, modify_opinion, unconfirm_department, status_id, commit_time, hash) values(#{businessId}, #{contractId}, #{contractName}, #{version}, #{contractParty}, #{uploadDepartment}, #{uploadPerson}, #{modifyOpinion}, #{uncomfirmDepartment}, #{statusId} #{commitTime}, #{hash}) insert into contract_status_tracking(business_id, contract_id, contract_party, update_time, status_id) values(#{businessId}, #{contractId}, #{contractParty}, #{updateTime}, #{statusId}) insert into attachment(attachment_id, attachment_name, url, upload_person_id, create_time) values(#{attachmentId}, #{attachmentName}, #{url}, #{userId}, #{createTime})