select t.p_id, t.process_id, t.process_sts_cd, t.premium_amt, t.policy_no, t.loan_amt, t.policy_sign_url, t.policy_dl_url, t.e_invoice_url, t.project_id, t.company_id, t.expire_time, t.approved_time, t.postscript, t.reject_reason, t.apply_time, t.create_by, t.update_by, t.update_time, p.project_nm, p.tender_no, p.bid_open_time, c.company_nm, c.apply_nm, c.apply_tel from t_process_info t INNER JOIN t_project_info p ON p.project_id = t.project_id INNER JOIN t_company_info c ON c.company_id = t.company_id insert into t_process_info p_id, process_id, process_sts_cd, premium_amt, loan_amt, policy_sign_url, policy_dl_url, e_invoice_url, project_id, company_id, expire_time, approved_time, postscript, reject_reason, apply_time, create_by, update_by, update_time, #{pId}, #{processId}, #{processStsCd}, #{premiumAmt}, #{loanAmt}, #{policySignUrl}, #{policyDlUrl}, #{eInvoiceUrl}, #{projectId}, #{companyId}, #{expireTime}, #{approvedTime}, #{postscript}, #{rejectReason}, #{applyTime}, #{createBy}, #{updateBy}, #{updateTime}, update t_process_info process_id = #{processId}, process_sts_cd = #{processStsCd}, premium_amt = #{premiumAmt}, loan_amt = #{loanAmt}, policy_sign_url = #{policySignUrl}, policy_dl_url = #{policyDlUrl}, e_invoice_url = #{eInvoiceUrl}, project_id = #{projectId}, company_id = #{companyId}, expire_time = #{expireTime}, approved_time = #{approvedTime}, postscript = #{postscript}, reject_reason = #{rejectReason}, apply_time = #{applyTime}, create_by = #{createBy}, update_by = #{updateBy}, update_time = #{updateTime}, where p_id = #{pId} delete from t_process_info where p_id = #{pId} delete from t_process_info where p_id in #{pId}