<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.boco.nbd.wios.manage.mapper.def.OrderDeleteMapper" >
  <resultMap id="BaseResultMap" type="com.boco.nbd.wios.manage.entity.bo.OrderDelete" >
    <id column="id" property="id" jdbcType="VARCHAR" />
    <result column="oem_id" property="oemId" jdbcType="INTEGER" />
    <result column="oem_agent_id" property="oemAgentId" jdbcType="INTEGER" />
    <result column="oem_agent_info" property="oemAgentInfo" jdbcType="VARCHAR" />
    <result column="oem_agent_contact_name" property="oemAgentContactName" jdbcType="VARCHAR" />
    <result column="oem_agent_contact_phone" property="oemAgentContactPhone" jdbcType="VARCHAR" />
    <result column="out_order_id" property="outOrderId" jdbcType="VARCHAR" />
    <result column="contract_id" property="contractId" jdbcType="INTEGER" />
    <result column="supplier_contract_id" property="supplierContractId" jdbcType="INTEGER" />
    <result column="user_name" property="userName" jdbcType="VARCHAR" />
    <result column="user_phone" property="userPhone" jdbcType="VARCHAR" />
    <result column="user_sex" property="userSex" jdbcType="INTEGER" />
    <result column="contact_name" property="contactName" jdbcType="VARCHAR" />
    <result column="contact_phone" property="contactPhone" jdbcType="VARCHAR" />
    <result column="region_id" property="regionId" jdbcType="VARCHAR" />
    <result column="warehouse_id" property="warehouseId" jdbcType="VARCHAR" />
    <result column="address" property="address" jdbcType="VARCHAR" />
    <result column="vehicle_model" property="vehicleModel" jdbcType="VARCHAR" />
    <result column="vehicle_chassis_no" property="vehicleChassisNo" jdbcType="VARCHAR" />
    <result column="vehicle_vin" property="vehicleVin" jdbcType="VARCHAR" />
    <result column="vehicle_parking_no" property="vehicleParkingNo" jdbcType="VARCHAR" />
    <result column="vehicle_parking_status" property="vehicleParkingStatus" jdbcType="VARCHAR" />
    <result column="survey_before_sale_enable" property="surveyBeforeSaleEnable" jdbcType="BIT" />
    <result column="manu_dispatch_enable" property="manuDispatchEnable" jdbcType="BIT" />
    <result column="wallbox_model" property="wallboxModel" jdbcType="VARCHAR" />
    <result column="status" property="status" jdbcType="INTEGER" />
    <result column="type" property="type" jdbcType="BIT" />
    <result column="expand_status" property="expandStatus" jdbcType="BIT" />
    <result column="expand_fail_reason" property="expandFailReason" jdbcType="VARCHAR" />
    <result column="expand_fail_operate" property="expandFailOperate" jdbcType="INTEGER" />
    <result column="expand_remark" property="expandRemark" jdbcType="VARCHAR" />
    <result column="survey_staff_id" property="surveyStaffId" jdbcType="INTEGER" />
    <result column="survey_finish_time" property="surveyFinishTime" jdbcType="TIMESTAMP" />
    <result column="survey_reserve_time" property="surveyReserveTime" jdbcType="TIMESTAMP" />
    <result column="survey_client_name" property="surveyClientName" jdbcType="VARCHAR" />
    <result column="survey_client_phone" property="surveyClientPhone" jdbcType="VARCHAR" />
    <result column="survey_cams_phone" property="surveyCamsPhone" jdbcType="VARCHAR" />
    <result column="survey_reserve_remark" property="surveyReserveRemark" jdbcType="VARCHAR" />
    <result column="install_supplier_id" property="installSupplierId" jdbcType="INTEGER" />
    <result column="install_staff_id" property="installStaffId" jdbcType="INTEGER" />
    <result column="install_finish_time" property="installFinishTime" jdbcType="TIMESTAMP" />
    <result column="install_reserve_time" property="installReserveTime" jdbcType="TIMESTAMP" />
    <result column="install_client_name" property="installClientName" jdbcType="VARCHAR" />
    <result column="install_client_phone" property="installClientPhone" jdbcType="VARCHAR" />
    <result column="install_cams_phone" property="installCamsPhone" jdbcType="VARCHAR" />
    <result column="install_reserve_remark" property="installReserveRemark" jdbcType="VARCHAR" />
    <result column="survey_finish_fail_reason" property="surveyFinishFailReason" jdbcType="VARCHAR" />
    <result column="survey_rectify_fail_reason" property="surveyRectifyFailReason" jdbcType="VARCHAR" />
    <result column="install_change_fail_reason" property="installChangeFailReason" jdbcType="VARCHAR" />
    <result column="install_finish_fail_reason" property="installFinishFailReason" jdbcType="VARCHAR" />
    <result column="install_rectify_fail_reason" property="installRectifyFailReason" jdbcType="VARCHAR" />
    <result column="close_order_reason" property="closeOrderReason" jdbcType="VARCHAR" />
    <result column="install_change_attachment_files" property="installChangeAttachmentFiles" jdbcType="VARCHAR" />
    <result column="survey_reserve_fail_info" property="surveyReserveFailInfo" jdbcType="VARCHAR" />
    <result column="install_reserve_fail_info" property="installReserveFailInfo" jdbcType="VARCHAR" />
    <result column="files" property="files" jdbcType="VARCHAR" />
    <result column="description" property="description" jdbcType="VARCHAR" />
    <result column="score" property="score" jdbcType="DECIMAL" />
    <result column="visit_content" property="visitContent" jdbcType="VARCHAR" />
    <result column="invoice_time" property="invoiceTime" jdbcType="TIMESTAMP" />
    <result column="estate_type" property="estateType" jdbcType="BIT" />
    <result column="has_independent_parking" property="hasIndependentParking" jdbcType="BIT" />
    <result column="install_position" property="installPosition" jdbcType="BIT" />
    <result column="property_agree" property="propertyAgree" jdbcType="BIT" />
    <result column="electric_expand" property="electricExpand" jdbcType="BIT" />
    <result column="need_erect_pile" property="needErectPile" jdbcType="BIT" />
    <result column="dispatch_time" property="dispatchTime" jdbcType="TIMESTAMP" />
    <result column="survey_submit_examine_time" property="surveySubmitExamineTime" jdbcType="TIMESTAMP" />
    <result column="survey_approve_time" property="surveyApproveTime" jdbcType="TIMESTAMP" />
    <result column="install_submit_examine_time" property="installSubmitExamineTime" jdbcType="TIMESTAMP" />
    <result column="install_approve_time" property="installApproveTime" jdbcType="TIMESTAMP" />
    <result column="return_visit_time" property="returnVisitTime" jdbcType="TIMESTAMP" />
    <result column="close_time" property="closeTime" jdbcType="TIMESTAMP" />
    <result column="create_account" property="createAccount" jdbcType="VARCHAR" />
    <result column="create_time" property="createTime" jdbcType="TIMESTAMP" />
    <result column="modify_account" property="modifyAccount" jdbcType="VARCHAR" />
    <result column="modify_time" property="modifyTime" jdbcType="TIMESTAMP" />
    <result column="item_model" jdbcType="VARCHAR" property="itemModel" />
    <result column="survey_wallbox_model" jdbcType="VARCHAR" property="surveyWallboxModel" />
    <result column="survey_item_model" jdbcType="VARCHAR" property="surveyItemModel" />
    <result column="install_wallbox_model" jdbcType="VARCHAR" property="installWallboxModel" />
    <result column="install_item_model" jdbcType="VARCHAR" property="installItemModel" />
    <result column="survey_follow_time" jdbcType="TIMESTAMP" property="surveyFollowTime" />
    <result column="install_follow_time" jdbcType="TIMESTAMP" property="installFollowTime" />
    <result column="address_lat" jdbcType="VARCHAR" property="addressLat" />
    <result column="address_lng" jdbcType="VARCHAR" property="addressLng" />
    <result column="connect_person" property="connectPerson" jdbcType="VARCHAR" />
    <result column="want_home_time" property="wantHomeTime" jdbcType="TIMESTAMP" />
    <result column="install_emergency_level" property="installEmergencyLevel" jdbcType="INTEGER" />
    <result column="remark" property="remark" jdbcType="VARCHAR" />
    <result column="is_connect" property="isConnect" jdbcType="INTEGER" />
    <result column="is_need_survey" property="isNeedSurvey" jdbcType="INTEGER" />
  </resultMap>

  <sql id="Base_Column_List">
    id, oem_id, oem_agent_id, oem_agent_contact_name,oem_agent_info, oem_agent_contact_phone, out_order_id,
  contract_id, supplier_contract_id, user_name, user_phone, user_sex, contact_name,
  contact_phone, region_id, warehouse_id, address, vehicle_model, vehicle_chassis_no,
  vehicle_vin, vehicle_parking_no, vehicle_parking_status, survey_before_sale_enable,
  manu_dispatch_enable, wallbox_model, status, type, expand_status, expand_fail_reason,
  expand_fail_operate, expand_remark, survey_staff_id, survey_finish_time, survey_reserve_time,
  survey_client_name, survey_client_phone, survey_cams_phone, survey_reserve_remark,
  install_supplier_id, install_staff_id, install_finish_time, install_reserve_time,
  install_client_name, install_client_phone, install_cams_phone, install_reserve_remark,
  survey_finish_fail_reason, survey_rectify_fail_reason, install_change_fail_reason,
  install_finish_fail_reason, install_rectify_fail_reason, close_order_reason, install_change_attachment_files,
  survey_reserve_fail_info, install_reserve_fail_info, files, description, score, visit_content,
  invoice_time, estate_type, has_independent_parking, install_position, property_agree,
  electric_expand, need_erect_pile, dispatch_time, survey_submit_examine_time, survey_approve_time,
  install_submit_examine_time, install_approve_time, return_visit_time, close_time,
  create_account, create_time, modify_account, modify_time,
  item_model,survey_wallbox_model,survey_item_model,install_wallbox_model,install_item_model,
  survey_follow_time,install_follow_time,address_lat,address_lng,
  connect_person, want_home_time, install_emergency_level, remark, is_connect,is_need_survey
  </sql>

  <insert id="insert" parameterType="com.boco.nbd.wios.manage.entity.bo.OrderDelete" >
    insert into t_order_delete (id, oem_id, oem_agent_id, oem_agent_info,
                         oem_agent_contact_name, oem_agent_contact_phone,
                         out_order_id, contract_id, supplier_contract_id,
                         user_name, user_phone, user_sex,
                         contact_name, contact_phone, region_id,
                         warehouse_id, address, vehicle_model,
                         vehicle_chassis_no, vehicle_vin, vehicle_parking_no,
                         vehicle_parking_status, survey_before_sale_enable,
                         manu_dispatch_enable, wallbox_model, status,
                         type, expand_status, expand_fail_reason,
                         expand_fail_operate, expand_remark, survey_staff_id,
                         survey_finish_time, survey_reserve_time,
                         survey_client_name, survey_client_phone, survey_cams_phone,
                         survey_reserve_remark, install_supplier_id,
                         install_staff_id, install_finish_time, install_reserve_time,
                         install_client_name, install_client_phone,
                         install_cams_phone, install_reserve_remark,
                         survey_finish_fail_reason, survey_rectify_fail_reason,
                         install_change_fail_reason, install_finish_fail_reason,
                         install_rectify_fail_reason, close_order_reason,
                         install_change_attachment_files, survey_reserve_fail_info,
                         install_reserve_fail_info, files, description,
                         score, visit_content, invoice_time,
                         estate_type, has_independent_parking, install_position,
                         property_agree, electric_expand, need_erect_pile,
                         dispatch_time, survey_submit_examine_time,
                         survey_approve_time, install_submit_examine_time,
                         install_approve_time, return_visit_time,
                         close_time, create_account, create_time,
                         modify_account, modify_time,item_model,
                         survey_wallbox_model,survey_item_model,install_wallbox_model,install_item_model,
                         survey_follow_time,install_follow_time,address_lat,address_lng,
                         connect_person, want_home_time, install_emergency_level, remark, is_connect,is_need_survey)
    values (#{id,jdbcType=VARCHAR}, #{oemId,jdbcType=INTEGER}, #{oemAgentId,jdbcType=INTEGER}, #{oemAgentInfo,jdbcType=VARCHAR},
            #{oemAgentContactName,jdbcType=VARCHAR}, #{oemAgentContactPhone,jdbcType=VARCHAR},
            #{outOrderId,jdbcType=VARCHAR}, #{contractId,jdbcType=INTEGER}, #{supplierContractId,jdbcType=INTEGER},
            #{userName,jdbcType=VARCHAR}, #{userPhone,jdbcType=VARCHAR}, #{userSex,jdbcType=INTEGER},
            #{contactName,jdbcType=VARCHAR}, #{contactPhone,jdbcType=VARCHAR}, #{regionId,jdbcType=VARCHAR},
            #{warehouseId,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, #{vehicleModel,jdbcType=VARCHAR},
            #{vehicleChassisNo,jdbcType=VARCHAR}, #{vehicleVin,jdbcType=VARCHAR}, #{vehicleParkingNo,jdbcType=VARCHAR},
            #{vehicleParkingStatus,jdbcType=VARCHAR}, #{surveyBeforeSaleEnable,jdbcType=INTEGER},
            #{manuDispatchEnable,jdbcType=INTEGER}, #{wallboxModel,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER},
            #{type,jdbcType=INTEGER}, #{expandStatus,jdbcType=INTEGER}, #{expandFailReason,jdbcType=VARCHAR},
            #{expandFailOperate,jdbcType=INTEGER}, #{expandRemark,jdbcType=VARCHAR}, #{surveyStaffId,jdbcType=INTEGER},
            #{surveyFinishTime,jdbcType=TIMESTAMP}, #{surveyReserveTime,jdbcType=TIMESTAMP},
            #{surveyClientName,jdbcType=VARCHAR}, #{surveyClientPhone,jdbcType=VARCHAR}, #{surveyCamsPhone,jdbcType=VARCHAR},
            #{surveyReserveRemark,jdbcType=VARCHAR}, #{installSupplierId,jdbcType=INTEGER},
            #{installStaffId,jdbcType=INTEGER}, #{installFinishTime,jdbcType=TIMESTAMP}, #{installReserveTime,jdbcType=TIMESTAMP},
            #{installClientName,jdbcType=VARCHAR}, #{installClientPhone,jdbcType=VARCHAR},
            #{installCamsPhone,jdbcType=VARCHAR}, #{installReserveRemark,jdbcType=VARCHAR},
            #{surveyFinishFailReason,jdbcType=VARCHAR}, #{surveyRectifyFailReason,jdbcType=VARCHAR},
            #{installChangeFailReason,jdbcType=VARCHAR}, #{installFinishFailReason,jdbcType=VARCHAR},
            #{installRectifyFailReason,jdbcType=VARCHAR}, #{closeOrderReason,jdbcType=VARCHAR},
            #{installChangeAttachmentFiles,jdbcType=VARCHAR}, #{surveyReserveFailInfo,jdbcType=VARCHAR},
            #{installReserveFailInfo,jdbcType=VARCHAR}, #{files,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR},
            #{score,jdbcType=DECIMAL}, #{visitContent,jdbcType=VARCHAR}, #{invoiceTime,jdbcType=TIMESTAMP},
            #{estateType,jdbcType=INTEGER}, #{hasIndependentParking,jdbcType=INTEGER}, #{installPosition,jdbcType=INTEGER},
            #{propertyAgree,jdbcType=INTEGER}, #{electricExpand,jdbcType=INTEGER}, #{needErectPile,jdbcType=INTEGER},
            #{dispatchTime,jdbcType=TIMESTAMP}, #{surveySubmitExamineTime,jdbcType=TIMESTAMP},
            #{surveyApproveTime,jdbcType=TIMESTAMP}, #{installSubmitExamineTime,jdbcType=TIMESTAMP},
            #{installApproveTime,jdbcType=TIMESTAMP}, #{returnVisitTime,jdbcType=TIMESTAMP},
            #{closeTime,jdbcType=TIMESTAMP}, #{createAccount,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
            #{modifyAccount,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP}, #{itemModel,jdbcType=VARCHAR}, #{surveyWallboxModel,jdbcType=VARCHAR},
            #{surveyItemModel,jdbcType=VARCHAR}, #{installWallboxModel,jdbcType=VARCHAR}, #{installItemModel,jdbcType=VARCHAR},
            #{surveyFollowTime,jdbcType=TIMESTAMP},#{installFollowTime,jdbcType=TIMESTAMP}, #{addressLat,jdbcType=VARCHAR},#{addressLng,jdbcType=VARCHAR},
            #{connectPerson,jdbcType=VARCHAR}, #{wantHomeTime,jdbcType=TIMESTAMP}, #{installEmergencyLevel,jdbcType=VARCHAR},
            #{remark,jdbcType=VARCHAR}, #{isConnect,jdbcType=INTEGER}, #{isNeedSurvey,jdbcType=INTEGER})
  </insert>
  <insert id="insertSelective" parameterType="com.boco.nbd.wios.manage.entity.bo.OrderDelete" >
    insert into t_order_delete
    <trim prefix="(" suffix=")" suffixOverrides="," >
      <if test="id != null" >
        id,
      </if>
      <if test="oemId != null" >
        oem_id,
      </if>
      <if test="oemAgentId != null" >
        oem_agent_id,
      </if>
      <if test="oemAgentInfo != null" >
        oem_agent_info,
      </if>
      <if test="oemAgentContactName != null" >
        oem_agent_contact_name,
      </if>
      <if test="oemAgentContactPhone != null" >
        oem_agent_contact_phone,
      </if>
      <if test="outOrderId != null" >
        out_order_id,
      </if>
      <if test="contractId != null" >
        contract_id,
      </if>
      <if test="supplierContractId != null" >
        supplier_contract_id,
      </if>
      <if test="userName != null" >
        user_name,
      </if>
      <if test="userPhone != null" >
        user_phone,
      </if>
      <if test="userSex != null" >
        user_sex,
      </if>
      <if test="contactName != null" >
        contact_name,
      </if>
      <if test="contactPhone != null" >
        contact_phone,
      </if>
      <if test="regionId != null" >
        region_id,
      </if>
      <if test="warehouseId != null" >
        warehouse_id,
      </if>
      <if test="address != null" >
        address,
      </if>
      <if test="vehicleModel != null" >
        vehicle_model,
      </if>
      <if test="vehicleChassisNo != null" >
        vehicle_chassis_no,
      </if>
      <if test="vehicleVin != null" >
        vehicle_vin,
      </if>
      <if test="vehicleParkingNo != null" >
        vehicle_parking_no,
      </if>
      <if test="vehicleParkingStatus != null" >
        vehicle_parking_status,
      </if>
      <if test="surveyBeforeSaleEnable != null" >
        survey_before_sale_enable,
      </if>
      <if test="manuDispatchEnable != null" >
        manu_dispatch_enable,
      </if>
      <if test="wallboxModel != null" >
        wallbox_model,
      </if>
      <if test="status != null" >
        status,
      </if>
      <if test="type != null" >
        type,
      </if>
      <if test="expandStatus != null" >
        expand_status,
      </if>
      <if test="expandFailReason != null" >
        expand_fail_reason,
      </if>
      <if test="expandFailOperate != null" >
        expand_fail_operate,
      </if>
      <if test="expandRemark != null" >
        expand_remark,
      </if>
      <if test="surveyStaffId != null" >
        survey_staff_id,
      </if>
      <if test="surveyFinishTime != null" >
        survey_finish_time,
      </if>
      <if test="surveyReserveTime != null" >
        survey_reserve_time,
      </if>
      <if test="surveyClientName != null" >
        survey_client_name,
      </if>
      <if test="surveyClientPhone != null" >
        survey_client_phone,
      </if>
      <if test="surveyCamsPhone != null" >
        survey_cams_phone,
      </if>
      <if test="surveyReserveRemark != null" >
        survey_reserve_remark,
      </if>
      <if test="installSupplierId != null" >
        install_supplier_id,
      </if>
      <if test="installStaffId != null" >
        install_staff_id,
      </if>
      <if test="installFinishTime != null" >
        install_finish_time,
      </if>
      <if test="installReserveTime != null" >
        install_reserve_time,
      </if>
      <if test="installClientName != null" >
        install_client_name,
      </if>
      <if test="installClientPhone != null" >
        install_client_phone,
      </if>
      <if test="installCamsPhone != null" >
        install_cams_phone,
      </if>
      <if test="installReserveRemark != null" >
        install_reserve_remark,
      </if>
      <if test="surveyFinishFailReason != null" >
        survey_finish_fail_reason,
      </if>
      <if test="surveyRectifyFailReason != null" >
        survey_rectify_fail_reason,
      </if>
      <if test="installChangeFailReason != null" >
        install_change_fail_reason,
      </if>
      <if test="installFinishFailReason != null" >
        install_finish_fail_reason,
      </if>
      <if test="installRectifyFailReason != null" >
        install_rectify_fail_reason,
      </if>
      <if test="closeOrderReason != null" >
        close_order_reason,
      </if>
      <if test="installChangeAttachmentFiles != null" >
        install_change_attachment_files,
      </if>
      <if test="surveyReserveFailInfo != null" >
        survey_reserve_fail_info,
      </if>
      <if test="installReserveFailInfo != null" >
        install_reserve_fail_info,
      </if>
      <if test="files != null" >
        files,
      </if>
      <if test="description != null" >
        description,
      </if>
      <if test="score != null" >
        score,
      </if>
      <if test="visitContent != null" >
        visit_content,
      </if>
      <if test="invoiceTime != null" >
        invoice_time,
      </if>
      <if test="estateType != null" >
        estate_type,
      </if>
      <if test="hasIndependentParking != null" >
        has_independent_parking,
      </if>
      <if test="installPosition != null" >
        install_position,
      </if>
      <if test="propertyAgree != null" >
        property_agree,
      </if>
      <if test="electricExpand != null" >
        electric_expand,
      </if>
      <if test="needErectPile != null" >
        need_erect_pile,
      </if>
      <if test="dispatchTime != null" >
        dispatch_time,
      </if>
      <if test="surveySubmitExamineTime != null" >
        survey_submit_examine_time,
      </if>
      <if test="surveyApproveTime != null" >
        survey_approve_time,
      </if>
      <if test="installSubmitExamineTime != null" >
        install_submit_examine_time,
      </if>
      <if test="installApproveTime != null" >
        install_approve_time,
      </if>
      <if test="returnVisitTime != null" >
        return_visit_time,
      </if>
      <if test="closeTime != null" >
        close_time,
      </if>
      <if test="createAccount != null" >
        create_account,
      </if>
      <if test="createTime != null" >
        create_time,
      </if>
      <if test="modifyAccount != null" >
        modify_account,
      </if>
      <if test="modifyTime != null" >
        modify_time,
      </if>
      <if test="itemModel != null" >
        item_model,
      </if>
      <if test="surveyWallboxModel != null" >
        survey_wallbox_model,
      </if>
      <if test="surveyItemModel != null" >
        survey_item_model,
      </if>
      <if test="installWallboxModel != null" >
        install_wallbox_model,
      </if>
      <if test="installItemModel != null" >
        install_item_model,
      </if>
      <if test="surveyFollowTime != null" >
        survey_follow_time,
      </if>
      <if test="installFollowTime != null" >
        install_follow_time,
      </if>
      <if test="addressLat != null" >
        address_lat,
      </if>
      <if test="addressLng != null" >
        address_lng,
      </if>
      <if test="connectPerson != null" >
        connect_person,
      </if>
      <if test="wantHomeTime != null" >
        want_home_time,
      </if>
      <if test="installEmergencyLevel != null" >
        install_emergency_level,
      </if>
      <if test="remark != null" >
        remark,
      </if>
      <if test="isConnect != null" >
        is_connect,
      </if>
      <if test="isNeedSurvey != null" >
        is_need_survey,
      </if>
    </trim>
    <trim prefix="values (" suffix=")" suffixOverrides="," >
      <if test="id != null" >
        #{id},
      </if>
      <if test="oemId != null" >
        #{oemId},
      </if>
      <if test="oemAgentId != null" >
        #{oemAgentId},
      </if>
      <if test="oemAgentInfo != null" >
        #{oemAgentInfo},
      </if>
      <if test="oemAgentContactName != null" >
        #{oemAgentContactName},
      </if>
      <if test="oemAgentContactPhone != null" >
        #{oemAgentContactPhone},
      </if>
      <if test="outOrderId != null" >
        #{outOrderId},
      </if>
      <if test="contractId != null" >
        #{contractId},
      </if>
      <if test="supplierContractId != null" >
        #{supplierContractId},
      </if>
      <if test="userName != null" >
        #{userName},
      </if>
      <if test="userPhone != null" >
        #{userPhone},
      </if>
      <if test="userSex != null" >
        #{userSex},
      </if>
      <if test="contactName != null" >
        #{contactName},
      </if>
      <if test="contactPhone != null" >
        #{contactPhone},
      </if>
      <if test="regionId != null" >
        #{regionId},
      </if>
      <if test="warehouseId != null" >
        #{warehouseId},
      </if>
      <if test="address != null" >
        #{address},
      </if>
      <if test="vehicleModel != null" >
        #{vehicleModel},
      </if>
      <if test="vehicleChassisNo != null" >
        #{vehicleChassisNo},
      </if>
      <if test="vehicleVin != null" >
        #{vehicleVin},
      </if>
      <if test="vehicleParkingNo != null" >
        #{vehicleParkingNo},
      </if>
      <if test="vehicleParkingStatus != null" >
        #{vehicleParkingStatus},
      </if>
      <if test="surveyBeforeSaleEnable != null" >
        #{surveyBeforeSaleEnable},
      </if>
      <if test="manuDispatchEnable != null" >
        #{manuDispatchEnable},
      </if>
      <if test="wallboxModel != null" >
        #{wallboxModel},
      </if>
      <if test="status != null" >
        #{status},
      </if>
      <if test="type != null" >
        #{type},
      </if>
      <if test="expandStatus != null" >
        #{expandStatus},
      </if>
      <if test="expandFailReason != null" >
        #{expandFailReason},
      </if>
      <if test="expandFailOperate != null" >
        #{expandFailOperate},
      </if>
      <if test="expandRemark != null" >
        #{expandRemark},
      </if>
      <if test="surveyStaffId != null" >
        #{surveyStaffId},
      </if>
      <if test="surveyFinishTime != null" >
        #{surveyFinishTime},
      </if>
      <if test="surveyReserveTime != null" >
        #{surveyReserveTime},
      </if>
      <if test="surveyClientName != null" >
        #{surveyClientName},
      </if>
      <if test="surveyClientPhone != null" >
        #{surveyClientPhone},
      </if>
      <if test="surveyCamsPhone != null" >
        #{surveyCamsPhone},
      </if>
      <if test="surveyReserveRemark != null" >
        #{surveyReserveRemark},
      </if>
      <if test="installSupplierId != null" >
        #{installSupplierId},
      </if>
      <if test="installStaffId != null" >
        #{installStaffId},
      </if>
      <if test="installFinishTime != null" >
        #{installFinishTime},
      </if>
      <if test="installReserveTime != null" >
        #{installReserveTime},
      </if>
      <if test="installClientName != null" >
        #{installClientName},
      </if>
      <if test="installClientPhone != null" >
        #{installClientPhone},
      </if>
      <if test="installCamsPhone != null" >
        #{installCamsPhone},
      </if>
      <if test="installReserveRemark != null" >
        #{installReserveRemark},
      </if>
      <if test="surveyFinishFailReason != null" >
        #{surveyFinishFailReason},
      </if>
      <if test="surveyRectifyFailReason != null" >
        #{surveyRectifyFailReason},
      </if>
      <if test="installChangeFailReason != null" >
        #{installChangeFailReason},
      </if>
      <if test="installFinishFailReason != null" >
        #{installFinishFailReason},
      </if>
      <if test="installRectifyFailReason != null" >
        #{installRectifyFailReason},
      </if>
      <if test="closeOrderReason != null" >
        #{closeOrderReason},
      </if>
      <if test="installChangeAttachmentFiles != null" >
        #{installChangeAttachmentFiles},
      </if>
      <if test="surveyReserveFailInfo != null" >
        #{surveyReserveFailInfo},
      </if>
      <if test="installReserveFailInfo != null" >
        #{installReserveFailInfo},
      </if>
      <if test="files != null" >
        #{files},
      </if>
      <if test="description != null" >
        #{description},
      </if>
      <if test="score != null" >
        #{score},
      </if>
      <if test="visitContent != null" >
        #{visitContent},
      </if>
      <if test="invoiceTime != null" >
        #{invoiceTime},
      </if>
      <if test="estateType != null" >
        #{estateType},
      </if>
      <if test="hasIndependentParking != null" >
        #{hasIndependentParking},
      </if>
      <if test="installPosition != null" >
        #{installPosition},
      </if>
      <if test="propertyAgree != null" >
        #{propertyAgree},
      </if>
      <if test="electricExpand != null" >
        #{electricExpand},
      </if>
      <if test="needErectPile != null" >
        #{needErectPile},
      </if>
      <if test="dispatchTime != null" >
        #{dispatchTime},
      </if>
      <if test="surveySubmitExamineTime != null" >
        #{surveySubmitExamineTime},
      </if>
      <if test="surveyApproveTime != null" >
        #{surveyApproveTime},
      </if>
      <if test="installSubmitExamineTime != null" >
        #{installSubmitExamineTime},
      </if>
      <if test="installApproveTime != null" >
        #{installApproveTime},
      </if>
      <if test="returnVisitTime != null" >
        #{returnVisitTime},
      </if>
      <if test="closeTime != null" >
        #{closeTime},
      </if>
      <if test="createAccount != null" >
        #{createAccount},
      </if>
      <if test="createTime != null" >
        #{createTime},
      </if>
      <if test="modifyAccount != null" >
        #{modifyAccount},
      </if>
      <if test="modifyTime != null" >
        #{modifyTime},
      </if>
      <if test="itemModel != null" >
        #{itemModel},
      </if>
      <if test="surveyWallboxModel != null" >
        #{surveyWallboxModel},
      </if>
      <if test="surveyItemModel != null" >
        #{surveyItemModel},
      </if>
      <if test="installWallboxModel != null" >
        #{installWallboxModel},
      </if>
      <if test="installItemModel != null" >
        #{installItemModel},
      </if>
      <if test="surveyFollowTime != null" >
        #{surveyFollowTime},
      </if>
      <if test="installFollowTime != null" >
        #{installFollowTime},
      </if>
      <if test="addressLat != null" >
        #{addressLat},
      </if>
      <if test="addressLng != null" >
        #{addressLng},
      </if>
      <if test="connectPerson != null" >
        #{connectPerson},
      </if>
      <if test="wantHomeTime != null" >
        #{wantHomeTime},
      </if>
      <if test="installEmergencyLevel != null" >
        #{installEmergencyLevel},
      </if>
      <if test="remark != null" >
        #{remark},
      </if>
      <if test="isConnect != null" >
        #{isConnect},
      </if>
      <if test="isNeedSurvey != null" >
        #{isNeedSurvey},
      </if>
    </trim>
  </insert>
</mapper>