select id, company_reviewed_id, status, examine_date, reject_reason, create_by, create_time, update_by, update_time, remark from company_examine insert into company_examine examine_date, create_time, company_reviewed_id, status, reject_reason, create_by, update_by, update_time, remark, now(), now(), #{companyReviewedId}, #{status}, #{rejectReason}, #{createBy}, #{updateBy}, #{updateTime}, #{remark}, update company_examine status = #{status}, reject_reason = #{rejectReason}, update_by = #{updateBy}, update_time = NOW(), where id = #{id} delete from company_examine where id = #{id} delete from company_examine where id in #{id}