<?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.tanpu.fund.mapper.generator.FundPersonnelInfoMapper">
  <resultMap id="BaseResultMap" type="com.tanpu.fund.entity.generator.FundPersonnelInfo">
    <!--@mbg.generated-->
    <!--@Table fund_personnel_info-->
    <id column="personnel_id" jdbcType="VARCHAR" property="personnelId" />
    <result column="personnel_name" jdbcType="VARCHAR" property="personnelName" />
    <result column="personnel_t" jdbcType="INTEGER" property="personnelT" />
    <result column="profession_" jdbcType="INTEGER" property="profession" />
    <result column="key_figure" jdbcType="INTEGER" property="keyFigure" />
    <result column="company_id" jdbcType="VARCHAR" property="companyId" />
    <result column="position" jdbcType="VARCHAR" property="position" />
    <result column="career_star" jdbcType="VARCHAR" property="careerStar" />
    <result column="investment_" jdbcType="INTEGER" property="investment" />
    <result column="sex" jdbcType="INTEGER" property="sex" />
    <result column="graduatesch" jdbcType="VARCHAR" property="graduatesch" />
    <result column="education" jdbcType="INTEGER" property="education" />
    <result column="major" jdbcType="VARCHAR" property="major" />
    <result column="order" jdbcType="INTEGER" property="order" />
    <result column="ifinclude" jdbcType="INTEGER" property="ifinclude" />
    <result column="isvisible" jdbcType="INTEGER" property="isvisible" />
    <result column="isvalid" jdbcType="BIGINT" property="isvalid" />
    <result column="updatetime" jdbcType="VARCHAR" property="updatetime" />
    <result column="is_qualify" jdbcType="INTEGER" property="isQualify" />
    <result column="topic" jdbcType="VARCHAR" property="topic" />
    <result column="createtime" jdbcType="DATE" property="createtime" />
    <result column="get_qualify" jdbcType="VARCHAR" property="getQualify" />
    <result column="org_id" jdbcType="VARCHAR" property="orgId" />
  </resultMap>
  <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.tanpu.fund.entity.generator.FundPersonnelInfo">
    <!--@mbg.generated-->
    <!--@Table fund_personnel_info-->
    <result column="avatar" jdbcType="LONGVARCHAR" property="avatar" />
    <result column="profile" jdbcType="LONGVARCHAR" property="profile" />
  </resultMap>
  <sql id="Example_Where_Clause">
    <!--@mbg.generated-->
    <where>
      <foreach collection="oredCriteria" item="criteria" separator="or">
        <if test="criteria.valid">
          <trim prefix="(" prefixOverrides="and" suffix=")">
            <foreach collection="criteria.criteria" item="criterion">
              <choose>
                <when test="criterion.noValue">
                  and ${criterion.condition}
                </when>
                <when test="criterion.singleValue">
                  and ${criterion.condition} #{criterion.value}
                </when>
                <when test="criterion.betweenValue">
                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
                </when>
                <when test="criterion.listValue">
                  and ${criterion.condition}
                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
                    #{listItem}
                  </foreach>
                </when>
              </choose>
            </foreach>
          </trim>
        </if>
      </foreach>
    </where>
  </sql>
  <sql id="Update_By_Example_Where_Clause">
    <!--@mbg.generated-->
    <where>
      <foreach collection="example.oredCriteria" item="criteria" separator="or">
        <if test="criteria.valid">
          <trim prefix="(" prefixOverrides="and" suffix=")">
            <foreach collection="criteria.criteria" item="criterion">
              <choose>
                <when test="criterion.noValue">
                  and ${criterion.condition}
                </when>
                <when test="criterion.singleValue">
                  and ${criterion.condition} #{criterion.value}
                </when>
                <when test="criterion.betweenValue">
                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
                </when>
                <when test="criterion.listValue">
                  and ${criterion.condition}
                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
                    #{listItem}
                  </foreach>
                </when>
              </choose>
            </foreach>
          </trim>
        </if>
      </foreach>
    </where>
  </sql>
  <sql id="Base_Column_List">
    <!--@mbg.generated-->
    personnel_id, personnel_name, personnel_t, profession_, key_figure, company_id, `position`, 
    career_star, investment_, sex, graduatesch, education, major, `order`, ifinclude, 
    isvisible, isvalid, updatetime, is_qualify, topic, createtime, get_qualify, org_id
  </sql>
  <sql id="Blob_Column_List">
    <!--@mbg.generated-->
    avatar, profile
  </sql>
  <select id="selectByExampleWithBLOBs" parameterType="com.tanpu.fund.entity.generator.FundPersonnelInfoExample" resultMap="ResultMapWithBLOBs">
    <!--@mbg.generated-->
    select
    <if test="distinct">
      distinct
    </if>
    <include refid="Base_Column_List" />
    ,
    <include refid="Blob_Column_List" />
    from fund_personnel_info
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
    <if test="orderByClause != null">
      order by ${orderByClause}
    </if>
  </select>
  <select id="selectByExample" parameterType="com.tanpu.fund.entity.generator.FundPersonnelInfoExample" resultMap="BaseResultMap">
    <!--@mbg.generated-->
    select
    <if test="distinct">
      distinct
    </if>
    <include refid="Base_Column_List" />
    from fund_personnel_info
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
    <if test="orderByClause != null">
      order by ${orderByClause}
    </if>
  </select>
  <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="ResultMapWithBLOBs">
    <!--@mbg.generated-->
    select 
    <include refid="Base_Column_List" />
    ,
    <include refid="Blob_Column_List" />
    from fund_personnel_info
    where personnel_id = #{personnelId,jdbcType=VARCHAR}
  </select>
  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
    <!--@mbg.generated-->
    delete from fund_personnel_info
    where personnel_id = #{personnelId,jdbcType=VARCHAR}
  </delete>
  <delete id="deleteByExample" parameterType="com.tanpu.fund.entity.generator.FundPersonnelInfoExample">
    <!--@mbg.generated-->
    delete from fund_personnel_info
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
  </delete>
  <insert id="insert" parameterType="com.tanpu.fund.entity.generator.FundPersonnelInfo">
    <!--@mbg.generated-->
    insert into fund_personnel_info (personnel_id, personnel_name, personnel_t, 
      profession_, key_figure, company_id, 
      `position`, career_star, investment_, 
      sex, graduatesch, education, 
      major, `order`, ifinclude, 
      isvisible, isvalid, updatetime, 
      is_qualify, topic, createtime, 
      get_qualify, org_id, avatar, 
      profile)
    values (#{personnelId,jdbcType=VARCHAR}, #{personnelName,jdbcType=VARCHAR}, #{personnelT,jdbcType=INTEGER}, 
      #{profession,jdbcType=INTEGER}, #{keyFigure,jdbcType=INTEGER}, #{companyId,jdbcType=VARCHAR}, 
      #{position,jdbcType=VARCHAR}, #{careerStar,jdbcType=VARCHAR}, #{investment,jdbcType=INTEGER}, 
      #{sex,jdbcType=INTEGER}, #{graduatesch,jdbcType=VARCHAR}, #{education,jdbcType=INTEGER}, 
      #{major,jdbcType=VARCHAR}, #{order,jdbcType=INTEGER}, #{ifinclude,jdbcType=INTEGER}, 
      #{isvisible,jdbcType=INTEGER}, #{isvalid,jdbcType=BIGINT}, #{updatetime,jdbcType=VARCHAR}, 
      #{isQualify,jdbcType=INTEGER}, #{topic,jdbcType=VARCHAR}, #{createtime,jdbcType=DATE}, 
      #{getQualify,jdbcType=VARCHAR}, #{orgId,jdbcType=VARCHAR}, #{avatar,jdbcType=LONGVARCHAR}, 
      #{profile,jdbcType=LONGVARCHAR})
  </insert>
  <insert id="insertSelective" parameterType="com.tanpu.fund.entity.generator.FundPersonnelInfo">
    <!--@mbg.generated-->
    insert into fund_personnel_info
    <trim prefix="(" suffix=")" suffixOverrides=",">
      <if test="personnelId != null">
        personnel_id,
      </if>
      <if test="personnelName != null">
        personnel_name,
      </if>
      <if test="personnelT != null">
        personnel_t,
      </if>
      <if test="profession != null">
        profession_,
      </if>
      <if test="keyFigure != null">
        key_figure,
      </if>
      <if test="companyId != null">
        company_id,
      </if>
      <if test="position != null">
        `position`,
      </if>
      <if test="careerStar != null">
        career_star,
      </if>
      <if test="investment != null">
        investment_,
      </if>
      <if test="sex != null">
        sex,
      </if>
      <if test="graduatesch != null">
        graduatesch,
      </if>
      <if test="education != null">
        education,
      </if>
      <if test="major != null">
        major,
      </if>
      <if test="order != null">
        `order`,
      </if>
      <if test="ifinclude != null">
        ifinclude,
      </if>
      <if test="isvisible != null">
        isvisible,
      </if>
      <if test="isvalid != null">
        isvalid,
      </if>
      <if test="updatetime != null">
        updatetime,
      </if>
      <if test="isQualify != null">
        is_qualify,
      </if>
      <if test="topic != null">
        topic,
      </if>
      <if test="createtime != null">
        createtime,
      </if>
      <if test="getQualify != null">
        get_qualify,
      </if>
      <if test="orgId != null">
        org_id,
      </if>
      <if test="avatar != null">
        avatar,
      </if>
      <if test="profile != null">
        profile,
      </if>
    </trim>
    <trim prefix="values (" suffix=")" suffixOverrides=",">
      <if test="personnelId != null">
        #{personnelId,jdbcType=VARCHAR},
      </if>
      <if test="personnelName != null">
        #{personnelName,jdbcType=VARCHAR},
      </if>
      <if test="personnelT != null">
        #{personnelT,jdbcType=INTEGER},
      </if>
      <if test="profession != null">
        #{profession,jdbcType=INTEGER},
      </if>
      <if test="keyFigure != null">
        #{keyFigure,jdbcType=INTEGER},
      </if>
      <if test="companyId != null">
        #{companyId,jdbcType=VARCHAR},
      </if>
      <if test="position != null">
        #{position,jdbcType=VARCHAR},
      </if>
      <if test="careerStar != null">
        #{careerStar,jdbcType=VARCHAR},
      </if>
      <if test="investment != null">
        #{investment,jdbcType=INTEGER},
      </if>
      <if test="sex != null">
        #{sex,jdbcType=INTEGER},
      </if>
      <if test="graduatesch != null">
        #{graduatesch,jdbcType=VARCHAR},
      </if>
      <if test="education != null">
        #{education,jdbcType=INTEGER},
      </if>
      <if test="major != null">
        #{major,jdbcType=VARCHAR},
      </if>
      <if test="order != null">
        #{order,jdbcType=INTEGER},
      </if>
      <if test="ifinclude != null">
        #{ifinclude,jdbcType=INTEGER},
      </if>
      <if test="isvisible != null">
        #{isvisible,jdbcType=INTEGER},
      </if>
      <if test="isvalid != null">
        #{isvalid,jdbcType=BIGINT},
      </if>
      <if test="updatetime != null">
        #{updatetime,jdbcType=VARCHAR},
      </if>
      <if test="isQualify != null">
        #{isQualify,jdbcType=INTEGER},
      </if>
      <if test="topic != null">
        #{topic,jdbcType=VARCHAR},
      </if>
      <if test="createtime != null">
        #{createtime,jdbcType=DATE},
      </if>
      <if test="getQualify != null">
        #{getQualify,jdbcType=VARCHAR},
      </if>
      <if test="orgId != null">
        #{orgId,jdbcType=VARCHAR},
      </if>
      <if test="avatar != null">
        #{avatar,jdbcType=LONGVARCHAR},
      </if>
      <if test="profile != null">
        #{profile,jdbcType=LONGVARCHAR},
      </if>
    </trim>
  </insert>
  <select id="countByExample" parameterType="com.tanpu.fund.entity.generator.FundPersonnelInfoExample" resultType="java.lang.Long">
    <!--@mbg.generated-->
    select count(*) from fund_personnel_info
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
  </select>
  <update id="updateByExampleSelective" parameterType="map">
    <!--@mbg.generated-->
    update fund_personnel_info
    <set>
      <if test="record.personnelId != null">
        personnel_id = #{record.personnelId,jdbcType=VARCHAR},
      </if>
      <if test="record.personnelName != null">
        personnel_name = #{record.personnelName,jdbcType=VARCHAR},
      </if>
      <if test="record.personnelT != null">
        personnel_t = #{record.personnelT,jdbcType=INTEGER},
      </if>
      <if test="record.profession != null">
        profession_ = #{record.profession,jdbcType=INTEGER},
      </if>
      <if test="record.keyFigure != null">
        key_figure = #{record.keyFigure,jdbcType=INTEGER},
      </if>
      <if test="record.companyId != null">
        company_id = #{record.companyId,jdbcType=VARCHAR},
      </if>
      <if test="record.position != null">
        `position` = #{record.position,jdbcType=VARCHAR},
      </if>
      <if test="record.careerStar != null">
        career_star = #{record.careerStar,jdbcType=VARCHAR},
      </if>
      <if test="record.investment != null">
        investment_ = #{record.investment,jdbcType=INTEGER},
      </if>
      <if test="record.sex != null">
        sex = #{record.sex,jdbcType=INTEGER},
      </if>
      <if test="record.graduatesch != null">
        graduatesch = #{record.graduatesch,jdbcType=VARCHAR},
      </if>
      <if test="record.education != null">
        education = #{record.education,jdbcType=INTEGER},
      </if>
      <if test="record.major != null">
        major = #{record.major,jdbcType=VARCHAR},
      </if>
      <if test="record.order != null">
        `order` = #{record.order,jdbcType=INTEGER},
      </if>
      <if test="record.ifinclude != null">
        ifinclude = #{record.ifinclude,jdbcType=INTEGER},
      </if>
      <if test="record.isvisible != null">
        isvisible = #{record.isvisible,jdbcType=INTEGER},
      </if>
      <if test="record.isvalid != null">
        isvalid = #{record.isvalid,jdbcType=BIGINT},
      </if>
      <if test="record.updatetime != null">
        updatetime = #{record.updatetime,jdbcType=VARCHAR},
      </if>
      <if test="record.isQualify != null">
        is_qualify = #{record.isQualify,jdbcType=INTEGER},
      </if>
      <if test="record.topic != null">
        topic = #{record.topic,jdbcType=VARCHAR},
      </if>
      <if test="record.createtime != null">
        createtime = #{record.createtime,jdbcType=DATE},
      </if>
      <if test="record.getQualify != null">
        get_qualify = #{record.getQualify,jdbcType=VARCHAR},
      </if>
      <if test="record.orgId != null">
        org_id = #{record.orgId,jdbcType=VARCHAR},
      </if>
      <if test="record.avatar != null">
        avatar = #{record.avatar,jdbcType=LONGVARCHAR},
      </if>
      <if test="record.profile != null">
        profile = #{record.profile,jdbcType=LONGVARCHAR},
      </if>
    </set>
    <if test="_parameter != null">
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByExampleWithBLOBs" parameterType="map">
    <!--@mbg.generated-->
    update fund_personnel_info
    set personnel_id = #{record.personnelId,jdbcType=VARCHAR},
      personnel_name = #{record.personnelName,jdbcType=VARCHAR},
      personnel_t = #{record.personnelT,jdbcType=INTEGER},
      profession_ = #{record.profession,jdbcType=INTEGER},
      key_figure = #{record.keyFigure,jdbcType=INTEGER},
      company_id = #{record.companyId,jdbcType=VARCHAR},
      `position` = #{record.position,jdbcType=VARCHAR},
      career_star = #{record.careerStar,jdbcType=VARCHAR},
      investment_ = #{record.investment,jdbcType=INTEGER},
      sex = #{record.sex,jdbcType=INTEGER},
      graduatesch = #{record.graduatesch,jdbcType=VARCHAR},
      education = #{record.education,jdbcType=INTEGER},
      major = #{record.major,jdbcType=VARCHAR},
      `order` = #{record.order,jdbcType=INTEGER},
      ifinclude = #{record.ifinclude,jdbcType=INTEGER},
      isvisible = #{record.isvisible,jdbcType=INTEGER},
      isvalid = #{record.isvalid,jdbcType=BIGINT},
      updatetime = #{record.updatetime,jdbcType=VARCHAR},
      is_qualify = #{record.isQualify,jdbcType=INTEGER},
      topic = #{record.topic,jdbcType=VARCHAR},
      createtime = #{record.createtime,jdbcType=DATE},
      get_qualify = #{record.getQualify,jdbcType=VARCHAR},
      org_id = #{record.orgId,jdbcType=VARCHAR},
      avatar = #{record.avatar,jdbcType=LONGVARCHAR},
      profile = #{record.profile,jdbcType=LONGVARCHAR}
    <if test="_parameter != null">
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByExample" parameterType="map">
    <!--@mbg.generated-->
    update fund_personnel_info
    set personnel_id = #{record.personnelId,jdbcType=VARCHAR},
      personnel_name = #{record.personnelName,jdbcType=VARCHAR},
      personnel_t = #{record.personnelT,jdbcType=INTEGER},
      profession_ = #{record.profession,jdbcType=INTEGER},
      key_figure = #{record.keyFigure,jdbcType=INTEGER},
      company_id = #{record.companyId,jdbcType=VARCHAR},
      `position` = #{record.position,jdbcType=VARCHAR},
      career_star = #{record.careerStar,jdbcType=VARCHAR},
      investment_ = #{record.investment,jdbcType=INTEGER},
      sex = #{record.sex,jdbcType=INTEGER},
      graduatesch = #{record.graduatesch,jdbcType=VARCHAR},
      education = #{record.education,jdbcType=INTEGER},
      major = #{record.major,jdbcType=VARCHAR},
      `order` = #{record.order,jdbcType=INTEGER},
      ifinclude = #{record.ifinclude,jdbcType=INTEGER},
      isvisible = #{record.isvisible,jdbcType=INTEGER},
      isvalid = #{record.isvalid,jdbcType=BIGINT},
      updatetime = #{record.updatetime,jdbcType=VARCHAR},
      is_qualify = #{record.isQualify,jdbcType=INTEGER},
      topic = #{record.topic,jdbcType=VARCHAR},
      createtime = #{record.createtime,jdbcType=DATE},
      get_qualify = #{record.getQualify,jdbcType=VARCHAR},
      org_id = #{record.orgId,jdbcType=VARCHAR}
    <if test="_parameter != null">
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByPrimaryKeySelective" parameterType="com.tanpu.fund.entity.generator.FundPersonnelInfo">
    <!--@mbg.generated-->
    update fund_personnel_info
    <set>
      <if test="personnelName != null">
        personnel_name = #{personnelName,jdbcType=VARCHAR},
      </if>
      <if test="personnelT != null">
        personnel_t = #{personnelT,jdbcType=INTEGER},
      </if>
      <if test="profession != null">
        profession_ = #{profession,jdbcType=INTEGER},
      </if>
      <if test="keyFigure != null">
        key_figure = #{keyFigure,jdbcType=INTEGER},
      </if>
      <if test="companyId != null">
        company_id = #{companyId,jdbcType=VARCHAR},
      </if>
      <if test="position != null">
        `position` = #{position,jdbcType=VARCHAR},
      </if>
      <if test="careerStar != null">
        career_star = #{careerStar,jdbcType=VARCHAR},
      </if>
      <if test="investment != null">
        investment_ = #{investment,jdbcType=INTEGER},
      </if>
      <if test="sex != null">
        sex = #{sex,jdbcType=INTEGER},
      </if>
      <if test="graduatesch != null">
        graduatesch = #{graduatesch,jdbcType=VARCHAR},
      </if>
      <if test="education != null">
        education = #{education,jdbcType=INTEGER},
      </if>
      <if test="major != null">
        major = #{major,jdbcType=VARCHAR},
      </if>
      <if test="order != null">
        `order` = #{order,jdbcType=INTEGER},
      </if>
      <if test="ifinclude != null">
        ifinclude = #{ifinclude,jdbcType=INTEGER},
      </if>
      <if test="isvisible != null">
        isvisible = #{isvisible,jdbcType=INTEGER},
      </if>
      <if test="isvalid != null">
        isvalid = #{isvalid,jdbcType=BIGINT},
      </if>
      <if test="updatetime != null">
        updatetime = #{updatetime,jdbcType=VARCHAR},
      </if>
      <if test="isQualify != null">
        is_qualify = #{isQualify,jdbcType=INTEGER},
      </if>
      <if test="topic != null">
        topic = #{topic,jdbcType=VARCHAR},
      </if>
      <if test="createtime != null">
        createtime = #{createtime,jdbcType=DATE},
      </if>
      <if test="getQualify != null">
        get_qualify = #{getQualify,jdbcType=VARCHAR},
      </if>
      <if test="orgId != null">
        org_id = #{orgId,jdbcType=VARCHAR},
      </if>
      <if test="avatar != null">
        avatar = #{avatar,jdbcType=LONGVARCHAR},
      </if>
      <if test="profile != null">
        profile = #{profile,jdbcType=LONGVARCHAR},
      </if>
    </set>
    where personnel_id = #{personnelId,jdbcType=VARCHAR}
  </update>
  <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.tanpu.fund.entity.generator.FundPersonnelInfo">
    <!--@mbg.generated-->
    update fund_personnel_info
    set personnel_name = #{personnelName,jdbcType=VARCHAR},
      personnel_t = #{personnelT,jdbcType=INTEGER},
      profession_ = #{profession,jdbcType=INTEGER},
      key_figure = #{keyFigure,jdbcType=INTEGER},
      company_id = #{companyId,jdbcType=VARCHAR},
      `position` = #{position,jdbcType=VARCHAR},
      career_star = #{careerStar,jdbcType=VARCHAR},
      investment_ = #{investment,jdbcType=INTEGER},
      sex = #{sex,jdbcType=INTEGER},
      graduatesch = #{graduatesch,jdbcType=VARCHAR},
      education = #{education,jdbcType=INTEGER},
      major = #{major,jdbcType=VARCHAR},
      `order` = #{order,jdbcType=INTEGER},
      ifinclude = #{ifinclude,jdbcType=INTEGER},
      isvisible = #{isvisible,jdbcType=INTEGER},
      isvalid = #{isvalid,jdbcType=BIGINT},
      updatetime = #{updatetime,jdbcType=VARCHAR},
      is_qualify = #{isQualify,jdbcType=INTEGER},
      topic = #{topic,jdbcType=VARCHAR},
      createtime = #{createtime,jdbcType=DATE},
      get_qualify = #{getQualify,jdbcType=VARCHAR},
      org_id = #{orgId,jdbcType=VARCHAR},
      avatar = #{avatar,jdbcType=LONGVARCHAR},
      profile = #{profile,jdbcType=LONGVARCHAR}
    where personnel_id = #{personnelId,jdbcType=VARCHAR}
  </update>
  <update id="updateByPrimaryKey" parameterType="com.tanpu.fund.entity.generator.FundPersonnelInfo">
    <!--@mbg.generated-->
    update fund_personnel_info
    set personnel_name = #{personnelName,jdbcType=VARCHAR},
      personnel_t = #{personnelT,jdbcType=INTEGER},
      profession_ = #{profession,jdbcType=INTEGER},
      key_figure = #{keyFigure,jdbcType=INTEGER},
      company_id = #{companyId,jdbcType=VARCHAR},
      `position` = #{position,jdbcType=VARCHAR},
      career_star = #{careerStar,jdbcType=VARCHAR},
      investment_ = #{investment,jdbcType=INTEGER},
      sex = #{sex,jdbcType=INTEGER},
      graduatesch = #{graduatesch,jdbcType=VARCHAR},
      education = #{education,jdbcType=INTEGER},
      major = #{major,jdbcType=VARCHAR},
      `order` = #{order,jdbcType=INTEGER},
      ifinclude = #{ifinclude,jdbcType=INTEGER},
      isvisible = #{isvisible,jdbcType=INTEGER},
      isvalid = #{isvalid,jdbcType=BIGINT},
      updatetime = #{updatetime,jdbcType=VARCHAR},
      is_qualify = #{isQualify,jdbcType=INTEGER},
      topic = #{topic,jdbcType=VARCHAR},
      createtime = #{createtime,jdbcType=DATE},
      get_qualify = #{getQualify,jdbcType=VARCHAR},
      org_id = #{orgId,jdbcType=VARCHAR}
    where personnel_id = #{personnelId,jdbcType=VARCHAR}
  </update>
  <update id="updateBatch" parameterType="java.util.List">
    <!--@mbg.generated-->
    update fund_personnel_info
    <trim prefix="set" suffixOverrides=",">
      <trim prefix="personnel_name = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.personnelName,jdbcType=VARCHAR}
        </foreach>
      </trim>
      <trim prefix="personnel_t = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.personnelT,jdbcType=INTEGER}
        </foreach>
      </trim>
      <trim prefix="profession_ = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.profession,jdbcType=INTEGER}
        </foreach>
      </trim>
      <trim prefix="key_figure = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.keyFigure,jdbcType=INTEGER}
        </foreach>
      </trim>
      <trim prefix="company_id = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.companyId,jdbcType=VARCHAR}
        </foreach>
      </trim>
      <trim prefix="`position` = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.position,jdbcType=VARCHAR}
        </foreach>
      </trim>
      <trim prefix="career_star = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.careerStar,jdbcType=VARCHAR}
        </foreach>
      </trim>
      <trim prefix="investment_ = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.investment,jdbcType=INTEGER}
        </foreach>
      </trim>
      <trim prefix="sex = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.sex,jdbcType=INTEGER}
        </foreach>
      </trim>
      <trim prefix="graduatesch = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.graduatesch,jdbcType=VARCHAR}
        </foreach>
      </trim>
      <trim prefix="education = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.education,jdbcType=INTEGER}
        </foreach>
      </trim>
      <trim prefix="major = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.major,jdbcType=VARCHAR}
        </foreach>
      </trim>
      <trim prefix="`order` = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.order,jdbcType=INTEGER}
        </foreach>
      </trim>
      <trim prefix="ifinclude = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.ifinclude,jdbcType=INTEGER}
        </foreach>
      </trim>
      <trim prefix="isvisible = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.isvisible,jdbcType=INTEGER}
        </foreach>
      </trim>
      <trim prefix="isvalid = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.isvalid,jdbcType=BIGINT}
        </foreach>
      </trim>
      <trim prefix="updatetime = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.updatetime,jdbcType=VARCHAR}
        </foreach>
      </trim>
      <trim prefix="is_qualify = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.isQualify,jdbcType=INTEGER}
        </foreach>
      </trim>
      <trim prefix="topic = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.topic,jdbcType=VARCHAR}
        </foreach>
      </trim>
      <trim prefix="createtime = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.createtime,jdbcType=DATE}
        </foreach>
      </trim>
      <trim prefix="get_qualify = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.getQualify,jdbcType=VARCHAR}
        </foreach>
      </trim>
      <trim prefix="org_id = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.orgId,jdbcType=VARCHAR}
        </foreach>
      </trim>
      <trim prefix="avatar = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.avatar,jdbcType=LONGVARCHAR}
        </foreach>
      </trim>
      <trim prefix="profile = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.profile,jdbcType=LONGVARCHAR}
        </foreach>
      </trim>
    </trim>
    where personnel_id in
    <foreach close=")" collection="list" item="item" open="(" separator=", ">
      #{item.personnelId,jdbcType=VARCHAR}
    </foreach>
  </update>
  <update id="updateBatchSelective" parameterType="java.util.List">
    <!--@mbg.generated-->
    update fund_personnel_info
    <trim prefix="set" suffixOverrides=",">
      <trim prefix="personnel_name = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.personnelName != null">
            when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.personnelName,jdbcType=VARCHAR}
          </if>
        </foreach>
      </trim>
      <trim prefix="personnel_t = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.personnelT != null">
            when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.personnelT,jdbcType=INTEGER}
          </if>
        </foreach>
      </trim>
      <trim prefix="profession_ = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.profession != null">
            when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.profession,jdbcType=INTEGER}
          </if>
        </foreach>
      </trim>
      <trim prefix="key_figure = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.keyFigure != null">
            when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.keyFigure,jdbcType=INTEGER}
          </if>
        </foreach>
      </trim>
      <trim prefix="company_id = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.companyId != null">
            when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.companyId,jdbcType=VARCHAR}
          </if>
        </foreach>
      </trim>
      <trim prefix="`position` = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.position != null">
            when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.position,jdbcType=VARCHAR}
          </if>
        </foreach>
      </trim>
      <trim prefix="career_star = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.careerStar != null">
            when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.careerStar,jdbcType=VARCHAR}
          </if>
        </foreach>
      </trim>
      <trim prefix="investment_ = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.investment != null">
            when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.investment,jdbcType=INTEGER}
          </if>
        </foreach>
      </trim>
      <trim prefix="sex = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.sex != null">
            when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.sex,jdbcType=INTEGER}
          </if>
        </foreach>
      </trim>
      <trim prefix="graduatesch = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.graduatesch != null">
            when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.graduatesch,jdbcType=VARCHAR}
          </if>
        </foreach>
      </trim>
      <trim prefix="education = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.education != null">
            when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.education,jdbcType=INTEGER}
          </if>
        </foreach>
      </trim>
      <trim prefix="major = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.major != null">
            when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.major,jdbcType=VARCHAR}
          </if>
        </foreach>
      </trim>
      <trim prefix="`order` = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.order != null">
            when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.order,jdbcType=INTEGER}
          </if>
        </foreach>
      </trim>
      <trim prefix="ifinclude = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.ifinclude != null">
            when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.ifinclude,jdbcType=INTEGER}
          </if>
        </foreach>
      </trim>
      <trim prefix="isvisible = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.isvisible != null">
            when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.isvisible,jdbcType=INTEGER}
          </if>
        </foreach>
      </trim>
      <trim prefix="isvalid = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.isvalid != null">
            when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.isvalid,jdbcType=BIGINT}
          </if>
        </foreach>
      </trim>
      <trim prefix="updatetime = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.updatetime != null">
            when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.updatetime,jdbcType=VARCHAR}
          </if>
        </foreach>
      </trim>
      <trim prefix="is_qualify = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.isQualify != null">
            when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.isQualify,jdbcType=INTEGER}
          </if>
        </foreach>
      </trim>
      <trim prefix="topic = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.topic != null">
            when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.topic,jdbcType=VARCHAR}
          </if>
        </foreach>
      </trim>
      <trim prefix="createtime = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.createtime != null">
            when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.createtime,jdbcType=DATE}
          </if>
        </foreach>
      </trim>
      <trim prefix="get_qualify = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.getQualify != null">
            when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.getQualify,jdbcType=VARCHAR}
          </if>
        </foreach>
      </trim>
      <trim prefix="org_id = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.orgId != null">
            when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.orgId,jdbcType=VARCHAR}
          </if>
        </foreach>
      </trim>
      <trim prefix="avatar = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.avatar != null">
            when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.avatar,jdbcType=LONGVARCHAR}
          </if>
        </foreach>
      </trim>
      <trim prefix="profile = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.profile != null">
            when personnel_id = #{item.personnelId,jdbcType=VARCHAR} then #{item.profile,jdbcType=LONGVARCHAR}
          </if>
        </foreach>
      </trim>
    </trim>
    where personnel_id in
    <foreach close=")" collection="list" item="item" open="(" separator=", ">
      #{item.personnelId,jdbcType=VARCHAR}
    </foreach>
  </update>
  <insert id="batchInsert" parameterType="map">
    <!--@mbg.generated-->
    insert into fund_personnel_info
    (personnel_id, personnel_name, personnel_t, profession_, key_figure, company_id, 
      `position`, career_star, investment_, sex, graduatesch, education, major, `order`, 
      ifinclude, isvisible, isvalid, updatetime, is_qualify, topic, createtime, get_qualify, 
      org_id, avatar, profile)
    values
    <foreach collection="list" item="item" separator=",">
      (#{item.personnelId,jdbcType=VARCHAR}, #{item.personnelName,jdbcType=VARCHAR}, #{item.personnelT,jdbcType=INTEGER}, 
        #{item.profession,jdbcType=INTEGER}, #{item.keyFigure,jdbcType=INTEGER}, #{item.companyId,jdbcType=VARCHAR}, 
        #{item.position,jdbcType=VARCHAR}, #{item.careerStar,jdbcType=VARCHAR}, #{item.investment,jdbcType=INTEGER}, 
        #{item.sex,jdbcType=INTEGER}, #{item.graduatesch,jdbcType=VARCHAR}, #{item.education,jdbcType=INTEGER}, 
        #{item.major,jdbcType=VARCHAR}, #{item.order,jdbcType=INTEGER}, #{item.ifinclude,jdbcType=INTEGER}, 
        #{item.isvisible,jdbcType=INTEGER}, #{item.isvalid,jdbcType=BIGINT}, #{item.updatetime,jdbcType=VARCHAR}, 
        #{item.isQualify,jdbcType=INTEGER}, #{item.topic,jdbcType=VARCHAR}, #{item.createtime,jdbcType=DATE}, 
        #{item.getQualify,jdbcType=VARCHAR}, #{item.orgId,jdbcType=VARCHAR}, #{item.avatar,jdbcType=LONGVARCHAR}, 
        #{item.profile,jdbcType=LONGVARCHAR})
    </foreach>
  </insert>
  <insert id="insertOrUpdate" parameterType="com.tanpu.fund.entity.generator.FundPersonnelInfo">
    <!--@mbg.generated-->
    insert into fund_personnel_info
    (personnel_id, personnel_name, personnel_t, profession_, key_figure, company_id, 
      `position`, career_star, investment_, sex, graduatesch, education, major, `order`, 
      ifinclude, isvisible, isvalid, updatetime, is_qualify, topic, createtime, get_qualify, 
      org_id)
    values
    (#{personnelId,jdbcType=VARCHAR}, #{personnelName,jdbcType=VARCHAR}, #{personnelT,jdbcType=INTEGER}, 
      #{profession,jdbcType=INTEGER}, #{keyFigure,jdbcType=INTEGER}, #{companyId,jdbcType=VARCHAR}, 
      #{position,jdbcType=VARCHAR}, #{careerStar,jdbcType=VARCHAR}, #{investment,jdbcType=INTEGER}, 
      #{sex,jdbcType=INTEGER}, #{graduatesch,jdbcType=VARCHAR}, #{education,jdbcType=INTEGER}, 
      #{major,jdbcType=VARCHAR}, #{order,jdbcType=INTEGER}, #{ifinclude,jdbcType=INTEGER}, 
      #{isvisible,jdbcType=INTEGER}, #{isvalid,jdbcType=BIGINT}, #{updatetime,jdbcType=VARCHAR}, 
      #{isQualify,jdbcType=INTEGER}, #{topic,jdbcType=VARCHAR}, #{createtime,jdbcType=DATE}, 
      #{getQualify,jdbcType=VARCHAR}, #{orgId,jdbcType=VARCHAR})
    on duplicate key update 
    personnel_id = #{personnelId,jdbcType=VARCHAR}, 
    personnel_name = #{personnelName,jdbcType=VARCHAR}, 
    personnel_t = #{personnelT,jdbcType=INTEGER}, 
    profession_ = #{profession,jdbcType=INTEGER}, 
    key_figure = #{keyFigure,jdbcType=INTEGER}, 
    company_id = #{companyId,jdbcType=VARCHAR}, 
    `position` = #{position,jdbcType=VARCHAR}, 
    career_star = #{careerStar,jdbcType=VARCHAR}, 
    investment_ = #{investment,jdbcType=INTEGER}, 
    sex = #{sex,jdbcType=INTEGER}, 
    graduatesch = #{graduatesch,jdbcType=VARCHAR}, 
    education = #{education,jdbcType=INTEGER}, 
    major = #{major,jdbcType=VARCHAR}, 
    `order` = #{order,jdbcType=INTEGER}, 
    ifinclude = #{ifinclude,jdbcType=INTEGER}, 
    isvisible = #{isvisible,jdbcType=INTEGER}, 
    isvalid = #{isvalid,jdbcType=BIGINT}, 
    updatetime = #{updatetime,jdbcType=VARCHAR}, 
    is_qualify = #{isQualify,jdbcType=INTEGER}, 
    topic = #{topic,jdbcType=VARCHAR}, 
    createtime = #{createtime,jdbcType=DATE}, 
    get_qualify = #{getQualify,jdbcType=VARCHAR}, 
    org_id = #{orgId,jdbcType=VARCHAR}
  </insert>
  <insert id="insertOrUpdateWithBLOBs" parameterType="com.tanpu.fund.entity.generator.FundPersonnelInfo">
    <!--@mbg.generated-->
    insert into fund_personnel_info
    (personnel_id, personnel_name, personnel_t, profession_, key_figure, company_id, 
      `position`, career_star, investment_, sex, graduatesch, education, major, `order`, 
      ifinclude, isvisible, isvalid, updatetime, is_qualify, topic, createtime, get_qualify, 
      org_id, avatar, profile)
    values
    (#{personnelId,jdbcType=VARCHAR}, #{personnelName,jdbcType=VARCHAR}, #{personnelT,jdbcType=INTEGER}, 
      #{profession,jdbcType=INTEGER}, #{keyFigure,jdbcType=INTEGER}, #{companyId,jdbcType=VARCHAR}, 
      #{position,jdbcType=VARCHAR}, #{careerStar,jdbcType=VARCHAR}, #{investment,jdbcType=INTEGER}, 
      #{sex,jdbcType=INTEGER}, #{graduatesch,jdbcType=VARCHAR}, #{education,jdbcType=INTEGER}, 
      #{major,jdbcType=VARCHAR}, #{order,jdbcType=INTEGER}, #{ifinclude,jdbcType=INTEGER}, 
      #{isvisible,jdbcType=INTEGER}, #{isvalid,jdbcType=BIGINT}, #{updatetime,jdbcType=VARCHAR}, 
      #{isQualify,jdbcType=INTEGER}, #{topic,jdbcType=VARCHAR}, #{createtime,jdbcType=DATE}, 
      #{getQualify,jdbcType=VARCHAR}, #{orgId,jdbcType=VARCHAR}, #{avatar,jdbcType=LONGVARCHAR}, 
      #{profile,jdbcType=LONGVARCHAR})
    on duplicate key update 
    personnel_id = #{personnelId,jdbcType=VARCHAR}, 
    personnel_name = #{personnelName,jdbcType=VARCHAR}, 
    personnel_t = #{personnelT,jdbcType=INTEGER}, 
    profession_ = #{profession,jdbcType=INTEGER}, 
    key_figure = #{keyFigure,jdbcType=INTEGER}, 
    company_id = #{companyId,jdbcType=VARCHAR}, 
    `position` = #{position,jdbcType=VARCHAR}, 
    career_star = #{careerStar,jdbcType=VARCHAR}, 
    investment_ = #{investment,jdbcType=INTEGER}, 
    sex = #{sex,jdbcType=INTEGER}, 
    graduatesch = #{graduatesch,jdbcType=VARCHAR}, 
    education = #{education,jdbcType=INTEGER}, 
    major = #{major,jdbcType=VARCHAR}, 
    `order` = #{order,jdbcType=INTEGER}, 
    ifinclude = #{ifinclude,jdbcType=INTEGER}, 
    isvisible = #{isvisible,jdbcType=INTEGER}, 
    isvalid = #{isvalid,jdbcType=BIGINT}, 
    updatetime = #{updatetime,jdbcType=VARCHAR}, 
    is_qualify = #{isQualify,jdbcType=INTEGER}, 
    topic = #{topic,jdbcType=VARCHAR}, 
    createtime = #{createtime,jdbcType=DATE}, 
    get_qualify = #{getQualify,jdbcType=VARCHAR}, 
    org_id = #{orgId,jdbcType=VARCHAR}, 
    avatar = #{avatar,jdbcType=LONGVARCHAR}, 
    profile = #{profile,jdbcType=LONGVARCHAR}
  </insert>
  <insert id="insertOrUpdateSelective" parameterType="com.tanpu.fund.entity.generator.FundPersonnelInfo">
    <!--@mbg.generated-->
    insert into fund_personnel_info
    <trim prefix="(" suffix=")" suffixOverrides=",">
      <if test="personnelId != null">
        personnel_id,
      </if>
      <if test="personnelName != null">
        personnel_name,
      </if>
      <if test="personnelT != null">
        personnel_t,
      </if>
      <if test="profession != null">
        profession_,
      </if>
      <if test="keyFigure != null">
        key_figure,
      </if>
      <if test="companyId != null">
        company_id,
      </if>
      <if test="position != null">
        `position`,
      </if>
      <if test="careerStar != null">
        career_star,
      </if>
      <if test="investment != null">
        investment_,
      </if>
      <if test="sex != null">
        sex,
      </if>
      <if test="graduatesch != null">
        graduatesch,
      </if>
      <if test="education != null">
        education,
      </if>
      <if test="major != null">
        major,
      </if>
      <if test="order != null">
        `order`,
      </if>
      <if test="ifinclude != null">
        ifinclude,
      </if>
      <if test="isvisible != null">
        isvisible,
      </if>
      <if test="isvalid != null">
        isvalid,
      </if>
      <if test="updatetime != null">
        updatetime,
      </if>
      <if test="isQualify != null">
        is_qualify,
      </if>
      <if test="topic != null">
        topic,
      </if>
      <if test="createtime != null">
        createtime,
      </if>
      <if test="getQualify != null">
        get_qualify,
      </if>
      <if test="orgId != null">
        org_id,
      </if>
      <if test="avatar != null">
        avatar,
      </if>
      <if test="profile != null">
        profile,
      </if>
    </trim>
    values
    <trim prefix="(" suffix=")" suffixOverrides=",">
      <if test="personnelId != null">
        #{personnelId,jdbcType=VARCHAR},
      </if>
      <if test="personnelName != null">
        #{personnelName,jdbcType=VARCHAR},
      </if>
      <if test="personnelT != null">
        #{personnelT,jdbcType=INTEGER},
      </if>
      <if test="profession != null">
        #{profession,jdbcType=INTEGER},
      </if>
      <if test="keyFigure != null">
        #{keyFigure,jdbcType=INTEGER},
      </if>
      <if test="companyId != null">
        #{companyId,jdbcType=VARCHAR},
      </if>
      <if test="position != null">
        #{position,jdbcType=VARCHAR},
      </if>
      <if test="careerStar != null">
        #{careerStar,jdbcType=VARCHAR},
      </if>
      <if test="investment != null">
        #{investment,jdbcType=INTEGER},
      </if>
      <if test="sex != null">
        #{sex,jdbcType=INTEGER},
      </if>
      <if test="graduatesch != null">
        #{graduatesch,jdbcType=VARCHAR},
      </if>
      <if test="education != null">
        #{education,jdbcType=INTEGER},
      </if>
      <if test="major != null">
        #{major,jdbcType=VARCHAR},
      </if>
      <if test="order != null">
        #{order,jdbcType=INTEGER},
      </if>
      <if test="ifinclude != null">
        #{ifinclude,jdbcType=INTEGER},
      </if>
      <if test="isvisible != null">
        #{isvisible,jdbcType=INTEGER},
      </if>
      <if test="isvalid != null">
        #{isvalid,jdbcType=BIGINT},
      </if>
      <if test="updatetime != null">
        #{updatetime,jdbcType=VARCHAR},
      </if>
      <if test="isQualify != null">
        #{isQualify,jdbcType=INTEGER},
      </if>
      <if test="topic != null">
        #{topic,jdbcType=VARCHAR},
      </if>
      <if test="createtime != null">
        #{createtime,jdbcType=DATE},
      </if>
      <if test="getQualify != null">
        #{getQualify,jdbcType=VARCHAR},
      </if>
      <if test="orgId != null">
        #{orgId,jdbcType=VARCHAR},
      </if>
      <if test="avatar != null">
        #{avatar,jdbcType=LONGVARCHAR},
      </if>
      <if test="profile != null">
        #{profile,jdbcType=LONGVARCHAR},
      </if>
    </trim>
    on duplicate key update 
    <trim suffixOverrides=",">
      <if test="personnelId != null">
        personnel_id = #{personnelId,jdbcType=VARCHAR},
      </if>
      <if test="personnelName != null">
        personnel_name = #{personnelName,jdbcType=VARCHAR},
      </if>
      <if test="personnelT != null">
        personnel_t = #{personnelT,jdbcType=INTEGER},
      </if>
      <if test="profession != null">
        profession_ = #{profession,jdbcType=INTEGER},
      </if>
      <if test="keyFigure != null">
        key_figure = #{keyFigure,jdbcType=INTEGER},
      </if>
      <if test="companyId != null">
        company_id = #{companyId,jdbcType=VARCHAR},
      </if>
      <if test="position != null">
        `position` = #{position,jdbcType=VARCHAR},
      </if>
      <if test="careerStar != null">
        career_star = #{careerStar,jdbcType=VARCHAR},
      </if>
      <if test="investment != null">
        investment_ = #{investment,jdbcType=INTEGER},
      </if>
      <if test="sex != null">
        sex = #{sex,jdbcType=INTEGER},
      </if>
      <if test="graduatesch != null">
        graduatesch = #{graduatesch,jdbcType=VARCHAR},
      </if>
      <if test="education != null">
        education = #{education,jdbcType=INTEGER},
      </if>
      <if test="major != null">
        major = #{major,jdbcType=VARCHAR},
      </if>
      <if test="order != null">
        `order` = #{order,jdbcType=INTEGER},
      </if>
      <if test="ifinclude != null">
        ifinclude = #{ifinclude,jdbcType=INTEGER},
      </if>
      <if test="isvisible != null">
        isvisible = #{isvisible,jdbcType=INTEGER},
      </if>
      <if test="isvalid != null">
        isvalid = #{isvalid,jdbcType=BIGINT},
      </if>
      <if test="updatetime != null">
        updatetime = #{updatetime,jdbcType=VARCHAR},
      </if>
      <if test="isQualify != null">
        is_qualify = #{isQualify,jdbcType=INTEGER},
      </if>
      <if test="topic != null">
        topic = #{topic,jdbcType=VARCHAR},
      </if>
      <if test="createtime != null">
        createtime = #{createtime,jdbcType=DATE},
      </if>
      <if test="getQualify != null">
        get_qualify = #{getQualify,jdbcType=VARCHAR},
      </if>
      <if test="orgId != null">
        org_id = #{orgId,jdbcType=VARCHAR},
      </if>
      <if test="avatar != null">
        avatar = #{avatar,jdbcType=LONGVARCHAR},
      </if>
      <if test="profile != null">
        profile = #{profile,jdbcType=LONGVARCHAR},
      </if>
    </trim>
  </insert>
</mapper>