id, company_code, company_name, status, created_at, updated_at update sys_company set status = #{status}, updated_at = current_timestamp where id = #{id} delete from sys_company