<?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.IndexCountMapper">
  <resultMap id="BaseResultMap" type="com.tanpu.fund.entity.generator.IndexCount">
    <!--@mbg.generated-->
    <!--@Table index_count-->
    <id column="id" jdbcType="VARCHAR" property="id" />
    <result column="index_id" jdbcType="VARCHAR" property="indexId" />
    <result column="end_date" jdbcType="DATE" property="endDate" />
    <result column="price_date" jdbcType="DATE" property="priceDate" />
    <result column="close" jdbcType="DECIMAL" property="close" />
    <result column="cumulative_nav" jdbcType="DECIMAL" property="cumulativeNav" />
    <result column="ret_1day" jdbcType="DECIMAL" property="ret1day" />
    <result column="ret_1day_bm1" jdbcType="DECIMAL" property="ret1dayBm1" />
    <result column="ret_1w" jdbcType="DECIMAL" property="ret1w" />
    <result column="ret_1w_bm1" jdbcType="DECIMAL" property="ret1wBm1" />
    <result column="ret_1m" jdbcType="DECIMAL" property="ret1m" />
    <result column="ret_1m_bm1" jdbcType="DECIMAL" property="ret1mBm1" />
    <result column="ret_3m" jdbcType="DECIMAL" property="ret3m" />
    <result column="ret_3m_bm1" jdbcType="DECIMAL" property="ret3mBm1" />
    <result column="ret_6m" jdbcType="DECIMAL" property="ret6m" />
    <result column="ret_6m_bm1" jdbcType="DECIMAL" property="ret6mBm1" />
    <result column="ret_1y" jdbcType="DECIMAL" property="ret1y" />
    <result column="ret_1y_bm1" jdbcType="DECIMAL" property="ret1yBm1" />
    <result column="ret_2y" jdbcType="DECIMAL" property="ret2y" />
    <result column="ret_2y_bm1" jdbcType="DECIMAL" property="ret2yBm1" />
    <result column="ret_2y_a" jdbcType="DECIMAL" property="ret2yA" />
    <result column="ret_2y_bm1_a" jdbcType="DECIMAL" property="ret2yBm1A" />
    <result column="ret_3y" jdbcType="DECIMAL" property="ret3y" />
    <result column="ret_3y_bm1" jdbcType="DECIMAL" property="ret3yBm1" />
    <result column="ret_3y_a" jdbcType="DECIMAL" property="ret3yA" />
    <result column="ret_3y_bm1_a" jdbcType="DECIMAL" property="ret3yBm1A" />
    <result column="ret_4y" jdbcType="DECIMAL" property="ret4y" />
    <result column="ret_4y_bm1" jdbcType="DECIMAL" property="ret4yBm1" />
    <result column="ret_4y_a" jdbcType="DECIMAL" property="ret4yA" />
    <result column="ret_4y_bm1_a" jdbcType="DECIMAL" property="ret4yBm1A" />
    <result column="ret_5y" jdbcType="DECIMAL" property="ret5y" />
    <result column="ret_5y_bm1" jdbcType="DECIMAL" property="ret5yBm1" />
    <result column="ret_5y_a" jdbcType="DECIMAL" property="ret5yA" />
    <result column="ret_5y_bm1_a" jdbcType="DECIMAL" property="ret5yBm1A" />
    <result column="ret_ytd" jdbcType="DECIMAL" property="retYtd" />
    <result column="ret_ytd_bm1" jdbcType="DECIMAL" property="retYtdBm1" />
    <result column="ret_incep" jdbcType="DECIMAL" property="retIncep" />
    <result column="ret_incep_bm1" jdbcType="DECIMAL" property="retIncepBm1" />
    <result column="ret_incep_a" jdbcType="DECIMAL" property="retIncepA" />
    <result column="ret_incep_bm1_a" jdbcType="DECIMAL" property="retIncepBm1A" />
    <result column="sharperatio_1y" jdbcType="DECIMAL" property="sharperatio1y" />
    <result column="sharperatio_2y" jdbcType="DECIMAL" property="sharperatio2y" />
    <result column="sharperatio_3y" jdbcType="DECIMAL" property="sharperatio3y" />
    <result column="sharperatio_4y" jdbcType="DECIMAL" property="sharperatio4y" />
    <result column="sharperatio_5y" jdbcType="DECIMAL" property="sharperatio5y" />
    <result column="sharperatio_incep" jdbcType="DECIMAL" property="sharperatioIncep" />
    <result column="stddev_1y" jdbcType="DECIMAL" property="stddev1y" />
    <result column="stddev_2y" jdbcType="DECIMAL" property="stddev2y" />
    <result column="stddev_3y" jdbcType="DECIMAL" property="stddev3y" />
    <result column="stddev_4y" jdbcType="DECIMAL" property="stddev4y" />
    <result column="stddev_5y" jdbcType="DECIMAL" property="stddev5y" />
    <result column="stddev_10y" jdbcType="DECIMAL" property="stddev10y" />
    <result column="stddev_incep" jdbcType="DECIMAL" property="stddevIncep" />
    <result column="stddev_ytd" jdbcType="DECIMAL" property="stddevYtd" />
    <result column="maxdrawdown_1y" jdbcType="DECIMAL" property="maxdrawdown1y" />
    <result column="maxdrawdown_2y" jdbcType="DECIMAL" property="maxdrawdown2y" />
    <result column="maxdrawdown_3y" jdbcType="DECIMAL" property="maxdrawdown3y" />
    <result column="maxdrawdown_4y" jdbcType="DECIMAL" property="maxdrawdown4y" />
    <result column="maxdrawdown_5y" jdbcType="DECIMAL" property="maxdrawdown5y" />
    <result column="maxdrawdown_10y" jdbcType="DECIMAL" property="maxdrawdown10y" />
    <result column="maxdrawdown_incep" jdbcType="DECIMAL" property="maxdrawdownIncep" />
    <result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
    <result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
    <result column="delete_tag" jdbcType="INTEGER" property="deleteTag" />
    <result column="org_id" jdbcType="VARCHAR" property="orgId" />
  </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-->
    id, index_id, end_date, price_date, `close`, cumulative_nav, ret_1day, ret_1day_bm1, 
    ret_1w, ret_1w_bm1, ret_1m, ret_1m_bm1, ret_3m, ret_3m_bm1, ret_6m, ret_6m_bm1, ret_1y, 
    ret_1y_bm1, ret_2y, ret_2y_bm1, ret_2y_a, ret_2y_bm1_a, ret_3y, ret_3y_bm1, ret_3y_a, 
    ret_3y_bm1_a, ret_4y, ret_4y_bm1, ret_4y_a, ret_4y_bm1_a, ret_5y, ret_5y_bm1, ret_5y_a, 
    ret_5y_bm1_a, ret_ytd, ret_ytd_bm1, ret_incep, ret_incep_bm1, ret_incep_a, ret_incep_bm1_a, 
    sharperatio_1y, sharperatio_2y, sharperatio_3y, sharperatio_4y, sharperatio_5y, sharperatio_incep, 
    stddev_1y, stddev_2y, stddev_3y, stddev_4y, stddev_5y, stddev_10y, stddev_incep, 
    stddev_ytd, maxdrawdown_1y, maxdrawdown_2y, maxdrawdown_3y, maxdrawdown_4y, maxdrawdown_5y, 
    maxdrawdown_10y, maxdrawdown_incep, update_time, create_time, delete_tag, org_id
  </sql>
  <select id="selectByExample" parameterType="com.tanpu.fund.entity.generator.IndexCountExample" resultMap="BaseResultMap">
    <!--@mbg.generated-->
    select
    <if test="distinct">
      distinct
    </if>
    <include refid="Base_Column_List" />
    from index_count
    <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="BaseResultMap">
    <!--@mbg.generated-->
    select 
    <include refid="Base_Column_List" />
    from index_count
    where id = #{id,jdbcType=VARCHAR}
  </select>
  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
    <!--@mbg.generated-->
    delete from index_count
    where id = #{id,jdbcType=VARCHAR}
  </delete>
  <delete id="deleteByExample" parameterType="com.tanpu.fund.entity.generator.IndexCountExample">
    <!--@mbg.generated-->
    delete from index_count
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
  </delete>
  <insert id="insert" parameterType="com.tanpu.fund.entity.generator.IndexCount">
    <!--@mbg.generated-->
    insert into index_count (id, index_id, end_date, 
      price_date, `close`, cumulative_nav, 
      ret_1day, ret_1day_bm1, ret_1w, 
      ret_1w_bm1, ret_1m, ret_1m_bm1, 
      ret_3m, ret_3m_bm1, ret_6m, 
      ret_6m_bm1, ret_1y, ret_1y_bm1, 
      ret_2y, ret_2y_bm1, ret_2y_a, 
      ret_2y_bm1_a, ret_3y, ret_3y_bm1, 
      ret_3y_a, ret_3y_bm1_a, ret_4y, 
      ret_4y_bm1, ret_4y_a, ret_4y_bm1_a, 
      ret_5y, ret_5y_bm1, ret_5y_a, 
      ret_5y_bm1_a, ret_ytd, ret_ytd_bm1, 
      ret_incep, ret_incep_bm1, ret_incep_a, 
      ret_incep_bm1_a, sharperatio_1y, sharperatio_2y, 
      sharperatio_3y, sharperatio_4y, sharperatio_5y, 
      sharperatio_incep, stddev_1y, stddev_2y, 
      stddev_3y, stddev_4y, stddev_5y, 
      stddev_10y, stddev_incep, stddev_ytd, 
      maxdrawdown_1y, maxdrawdown_2y, maxdrawdown_3y, 
      maxdrawdown_4y, maxdrawdown_5y, maxdrawdown_10y, 
      maxdrawdown_incep, update_time, create_time, 
      delete_tag, org_id)
    values (#{id,jdbcType=VARCHAR}, #{indexId,jdbcType=VARCHAR}, #{endDate,jdbcType=DATE}, 
      #{priceDate,jdbcType=DATE}, #{close,jdbcType=DECIMAL}, #{cumulativeNav,jdbcType=DECIMAL}, 
      #{ret1day,jdbcType=DECIMAL}, #{ret1dayBm1,jdbcType=DECIMAL}, #{ret1w,jdbcType=DECIMAL}, 
      #{ret1wBm1,jdbcType=DECIMAL}, #{ret1m,jdbcType=DECIMAL}, #{ret1mBm1,jdbcType=DECIMAL}, 
      #{ret3m,jdbcType=DECIMAL}, #{ret3mBm1,jdbcType=DECIMAL}, #{ret6m,jdbcType=DECIMAL}, 
      #{ret6mBm1,jdbcType=DECIMAL}, #{ret1y,jdbcType=DECIMAL}, #{ret1yBm1,jdbcType=DECIMAL}, 
      #{ret2y,jdbcType=DECIMAL}, #{ret2yBm1,jdbcType=DECIMAL}, #{ret2yA,jdbcType=DECIMAL}, 
      #{ret2yBm1A,jdbcType=DECIMAL}, #{ret3y,jdbcType=DECIMAL}, #{ret3yBm1,jdbcType=DECIMAL}, 
      #{ret3yA,jdbcType=DECIMAL}, #{ret3yBm1A,jdbcType=DECIMAL}, #{ret4y,jdbcType=DECIMAL}, 
      #{ret4yBm1,jdbcType=DECIMAL}, #{ret4yA,jdbcType=DECIMAL}, #{ret4yBm1A,jdbcType=DECIMAL}, 
      #{ret5y,jdbcType=DECIMAL}, #{ret5yBm1,jdbcType=DECIMAL}, #{ret5yA,jdbcType=DECIMAL}, 
      #{ret5yBm1A,jdbcType=DECIMAL}, #{retYtd,jdbcType=DECIMAL}, #{retYtdBm1,jdbcType=DECIMAL}, 
      #{retIncep,jdbcType=DECIMAL}, #{retIncepBm1,jdbcType=DECIMAL}, #{retIncepA,jdbcType=DECIMAL}, 
      #{retIncepBm1A,jdbcType=DECIMAL}, #{sharperatio1y,jdbcType=DECIMAL}, #{sharperatio2y,jdbcType=DECIMAL}, 
      #{sharperatio3y,jdbcType=DECIMAL}, #{sharperatio4y,jdbcType=DECIMAL}, #{sharperatio5y,jdbcType=DECIMAL}, 
      #{sharperatioIncep,jdbcType=DECIMAL}, #{stddev1y,jdbcType=DECIMAL}, #{stddev2y,jdbcType=DECIMAL}, 
      #{stddev3y,jdbcType=DECIMAL}, #{stddev4y,jdbcType=DECIMAL}, #{stddev5y,jdbcType=DECIMAL}, 
      #{stddev10y,jdbcType=DECIMAL}, #{stddevIncep,jdbcType=DECIMAL}, #{stddevYtd,jdbcType=DECIMAL}, 
      #{maxdrawdown1y,jdbcType=DECIMAL}, #{maxdrawdown2y,jdbcType=DECIMAL}, #{maxdrawdown3y,jdbcType=DECIMAL}, 
      #{maxdrawdown4y,jdbcType=DECIMAL}, #{maxdrawdown5y,jdbcType=DECIMAL}, #{maxdrawdown10y,jdbcType=DECIMAL}, 
      #{maxdrawdownIncep,jdbcType=DECIMAL}, #{updateTime,jdbcType=TIMESTAMP}, #{createTime,jdbcType=TIMESTAMP}, 
      #{deleteTag,jdbcType=INTEGER}, #{orgId,jdbcType=VARCHAR})
  </insert>
  <insert id="insertSelective" parameterType="com.tanpu.fund.entity.generator.IndexCount">
    <!--@mbg.generated-->
    insert into index_count
    <trim prefix="(" suffix=")" suffixOverrides=",">
      <if test="id != null">
        id,
      </if>
      <if test="indexId != null">
        index_id,
      </if>
      <if test="endDate != null">
        end_date,
      </if>
      <if test="priceDate != null">
        price_date,
      </if>
      <if test="close != null">
        `close`,
      </if>
      <if test="cumulativeNav != null">
        cumulative_nav,
      </if>
      <if test="ret1day != null">
        ret_1day,
      </if>
      <if test="ret1dayBm1 != null">
        ret_1day_bm1,
      </if>
      <if test="ret1w != null">
        ret_1w,
      </if>
      <if test="ret1wBm1 != null">
        ret_1w_bm1,
      </if>
      <if test="ret1m != null">
        ret_1m,
      </if>
      <if test="ret1mBm1 != null">
        ret_1m_bm1,
      </if>
      <if test="ret3m != null">
        ret_3m,
      </if>
      <if test="ret3mBm1 != null">
        ret_3m_bm1,
      </if>
      <if test="ret6m != null">
        ret_6m,
      </if>
      <if test="ret6mBm1 != null">
        ret_6m_bm1,
      </if>
      <if test="ret1y != null">
        ret_1y,
      </if>
      <if test="ret1yBm1 != null">
        ret_1y_bm1,
      </if>
      <if test="ret2y != null">
        ret_2y,
      </if>
      <if test="ret2yBm1 != null">
        ret_2y_bm1,
      </if>
      <if test="ret2yA != null">
        ret_2y_a,
      </if>
      <if test="ret2yBm1A != null">
        ret_2y_bm1_a,
      </if>
      <if test="ret3y != null">
        ret_3y,
      </if>
      <if test="ret3yBm1 != null">
        ret_3y_bm1,
      </if>
      <if test="ret3yA != null">
        ret_3y_a,
      </if>
      <if test="ret3yBm1A != null">
        ret_3y_bm1_a,
      </if>
      <if test="ret4y != null">
        ret_4y,
      </if>
      <if test="ret4yBm1 != null">
        ret_4y_bm1,
      </if>
      <if test="ret4yA != null">
        ret_4y_a,
      </if>
      <if test="ret4yBm1A != null">
        ret_4y_bm1_a,
      </if>
      <if test="ret5y != null">
        ret_5y,
      </if>
      <if test="ret5yBm1 != null">
        ret_5y_bm1,
      </if>
      <if test="ret5yA != null">
        ret_5y_a,
      </if>
      <if test="ret5yBm1A != null">
        ret_5y_bm1_a,
      </if>
      <if test="retYtd != null">
        ret_ytd,
      </if>
      <if test="retYtdBm1 != null">
        ret_ytd_bm1,
      </if>
      <if test="retIncep != null">
        ret_incep,
      </if>
      <if test="retIncepBm1 != null">
        ret_incep_bm1,
      </if>
      <if test="retIncepA != null">
        ret_incep_a,
      </if>
      <if test="retIncepBm1A != null">
        ret_incep_bm1_a,
      </if>
      <if test="sharperatio1y != null">
        sharperatio_1y,
      </if>
      <if test="sharperatio2y != null">
        sharperatio_2y,
      </if>
      <if test="sharperatio3y != null">
        sharperatio_3y,
      </if>
      <if test="sharperatio4y != null">
        sharperatio_4y,
      </if>
      <if test="sharperatio5y != null">
        sharperatio_5y,
      </if>
      <if test="sharperatioIncep != null">
        sharperatio_incep,
      </if>
      <if test="stddev1y != null">
        stddev_1y,
      </if>
      <if test="stddev2y != null">
        stddev_2y,
      </if>
      <if test="stddev3y != null">
        stddev_3y,
      </if>
      <if test="stddev4y != null">
        stddev_4y,
      </if>
      <if test="stddev5y != null">
        stddev_5y,
      </if>
      <if test="stddev10y != null">
        stddev_10y,
      </if>
      <if test="stddevIncep != null">
        stddev_incep,
      </if>
      <if test="stddevYtd != null">
        stddev_ytd,
      </if>
      <if test="maxdrawdown1y != null">
        maxdrawdown_1y,
      </if>
      <if test="maxdrawdown2y != null">
        maxdrawdown_2y,
      </if>
      <if test="maxdrawdown3y != null">
        maxdrawdown_3y,
      </if>
      <if test="maxdrawdown4y != null">
        maxdrawdown_4y,
      </if>
      <if test="maxdrawdown5y != null">
        maxdrawdown_5y,
      </if>
      <if test="maxdrawdown10y != null">
        maxdrawdown_10y,
      </if>
      <if test="maxdrawdownIncep != null">
        maxdrawdown_incep,
      </if>
      <if test="updateTime != null">
        update_time,
      </if>
      <if test="createTime != null">
        create_time,
      </if>
      <if test="deleteTag != null">
        delete_tag,
      </if>
      <if test="orgId != null">
        org_id,
      </if>
    </trim>
    <trim prefix="values (" suffix=")" suffixOverrides=",">
      <if test="id != null">
        #{id,jdbcType=VARCHAR},
      </if>
      <if test="indexId != null">
        #{indexId,jdbcType=VARCHAR},
      </if>
      <if test="endDate != null">
        #{endDate,jdbcType=DATE},
      </if>
      <if test="priceDate != null">
        #{priceDate,jdbcType=DATE},
      </if>
      <if test="close != null">
        #{close,jdbcType=DECIMAL},
      </if>
      <if test="cumulativeNav != null">
        #{cumulativeNav,jdbcType=DECIMAL},
      </if>
      <if test="ret1day != null">
        #{ret1day,jdbcType=DECIMAL},
      </if>
      <if test="ret1dayBm1 != null">
        #{ret1dayBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret1w != null">
        #{ret1w,jdbcType=DECIMAL},
      </if>
      <if test="ret1wBm1 != null">
        #{ret1wBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret1m != null">
        #{ret1m,jdbcType=DECIMAL},
      </if>
      <if test="ret1mBm1 != null">
        #{ret1mBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret3m != null">
        #{ret3m,jdbcType=DECIMAL},
      </if>
      <if test="ret3mBm1 != null">
        #{ret3mBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret6m != null">
        #{ret6m,jdbcType=DECIMAL},
      </if>
      <if test="ret6mBm1 != null">
        #{ret6mBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret1y != null">
        #{ret1y,jdbcType=DECIMAL},
      </if>
      <if test="ret1yBm1 != null">
        #{ret1yBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret2y != null">
        #{ret2y,jdbcType=DECIMAL},
      </if>
      <if test="ret2yBm1 != null">
        #{ret2yBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret2yA != null">
        #{ret2yA,jdbcType=DECIMAL},
      </if>
      <if test="ret2yBm1A != null">
        #{ret2yBm1A,jdbcType=DECIMAL},
      </if>
      <if test="ret3y != null">
        #{ret3y,jdbcType=DECIMAL},
      </if>
      <if test="ret3yBm1 != null">
        #{ret3yBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret3yA != null">
        #{ret3yA,jdbcType=DECIMAL},
      </if>
      <if test="ret3yBm1A != null">
        #{ret3yBm1A,jdbcType=DECIMAL},
      </if>
      <if test="ret4y != null">
        #{ret4y,jdbcType=DECIMAL},
      </if>
      <if test="ret4yBm1 != null">
        #{ret4yBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret4yA != null">
        #{ret4yA,jdbcType=DECIMAL},
      </if>
      <if test="ret4yBm1A != null">
        #{ret4yBm1A,jdbcType=DECIMAL},
      </if>
      <if test="ret5y != null">
        #{ret5y,jdbcType=DECIMAL},
      </if>
      <if test="ret5yBm1 != null">
        #{ret5yBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret5yA != null">
        #{ret5yA,jdbcType=DECIMAL},
      </if>
      <if test="ret5yBm1A != null">
        #{ret5yBm1A,jdbcType=DECIMAL},
      </if>
      <if test="retYtd != null">
        #{retYtd,jdbcType=DECIMAL},
      </if>
      <if test="retYtdBm1 != null">
        #{retYtdBm1,jdbcType=DECIMAL},
      </if>
      <if test="retIncep != null">
        #{retIncep,jdbcType=DECIMAL},
      </if>
      <if test="retIncepBm1 != null">
        #{retIncepBm1,jdbcType=DECIMAL},
      </if>
      <if test="retIncepA != null">
        #{retIncepA,jdbcType=DECIMAL},
      </if>
      <if test="retIncepBm1A != null">
        #{retIncepBm1A,jdbcType=DECIMAL},
      </if>
      <if test="sharperatio1y != null">
        #{sharperatio1y,jdbcType=DECIMAL},
      </if>
      <if test="sharperatio2y != null">
        #{sharperatio2y,jdbcType=DECIMAL},
      </if>
      <if test="sharperatio3y != null">
        #{sharperatio3y,jdbcType=DECIMAL},
      </if>
      <if test="sharperatio4y != null">
        #{sharperatio4y,jdbcType=DECIMAL},
      </if>
      <if test="sharperatio5y != null">
        #{sharperatio5y,jdbcType=DECIMAL},
      </if>
      <if test="sharperatioIncep != null">
        #{sharperatioIncep,jdbcType=DECIMAL},
      </if>
      <if test="stddev1y != null">
        #{stddev1y,jdbcType=DECIMAL},
      </if>
      <if test="stddev2y != null">
        #{stddev2y,jdbcType=DECIMAL},
      </if>
      <if test="stddev3y != null">
        #{stddev3y,jdbcType=DECIMAL},
      </if>
      <if test="stddev4y != null">
        #{stddev4y,jdbcType=DECIMAL},
      </if>
      <if test="stddev5y != null">
        #{stddev5y,jdbcType=DECIMAL},
      </if>
      <if test="stddev10y != null">
        #{stddev10y,jdbcType=DECIMAL},
      </if>
      <if test="stddevIncep != null">
        #{stddevIncep,jdbcType=DECIMAL},
      </if>
      <if test="stddevYtd != null">
        #{stddevYtd,jdbcType=DECIMAL},
      </if>
      <if test="maxdrawdown1y != null">
        #{maxdrawdown1y,jdbcType=DECIMAL},
      </if>
      <if test="maxdrawdown2y != null">
        #{maxdrawdown2y,jdbcType=DECIMAL},
      </if>
      <if test="maxdrawdown3y != null">
        #{maxdrawdown3y,jdbcType=DECIMAL},
      </if>
      <if test="maxdrawdown4y != null">
        #{maxdrawdown4y,jdbcType=DECIMAL},
      </if>
      <if test="maxdrawdown5y != null">
        #{maxdrawdown5y,jdbcType=DECIMAL},
      </if>
      <if test="maxdrawdown10y != null">
        #{maxdrawdown10y,jdbcType=DECIMAL},
      </if>
      <if test="maxdrawdownIncep != null">
        #{maxdrawdownIncep,jdbcType=DECIMAL},
      </if>
      <if test="updateTime != null">
        #{updateTime,jdbcType=TIMESTAMP},
      </if>
      <if test="createTime != null">
        #{createTime,jdbcType=TIMESTAMP},
      </if>
      <if test="deleteTag != null">
        #{deleteTag,jdbcType=INTEGER},
      </if>
      <if test="orgId != null">
        #{orgId,jdbcType=VARCHAR},
      </if>
    </trim>
  </insert>
  <select id="countByExample" parameterType="com.tanpu.fund.entity.generator.IndexCountExample" resultType="java.lang.Long">
    <!--@mbg.generated-->
    select count(*) from index_count
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
  </select>
  <update id="updateByExampleSelective" parameterType="map">
    <!--@mbg.generated-->
    update index_count
    <set>
      <if test="record.id != null">
        id = #{record.id,jdbcType=VARCHAR},
      </if>
      <if test="record.indexId != null">
        index_id = #{record.indexId,jdbcType=VARCHAR},
      </if>
      <if test="record.endDate != null">
        end_date = #{record.endDate,jdbcType=DATE},
      </if>
      <if test="record.priceDate != null">
        price_date = #{record.priceDate,jdbcType=DATE},
      </if>
      <if test="record.close != null">
        `close` = #{record.close,jdbcType=DECIMAL},
      </if>
      <if test="record.cumulativeNav != null">
        cumulative_nav = #{record.cumulativeNav,jdbcType=DECIMAL},
      </if>
      <if test="record.ret1day != null">
        ret_1day = #{record.ret1day,jdbcType=DECIMAL},
      </if>
      <if test="record.ret1dayBm1 != null">
        ret_1day_bm1 = #{record.ret1dayBm1,jdbcType=DECIMAL},
      </if>
      <if test="record.ret1w != null">
        ret_1w = #{record.ret1w,jdbcType=DECIMAL},
      </if>
      <if test="record.ret1wBm1 != null">
        ret_1w_bm1 = #{record.ret1wBm1,jdbcType=DECIMAL},
      </if>
      <if test="record.ret1m != null">
        ret_1m = #{record.ret1m,jdbcType=DECIMAL},
      </if>
      <if test="record.ret1mBm1 != null">
        ret_1m_bm1 = #{record.ret1mBm1,jdbcType=DECIMAL},
      </if>
      <if test="record.ret3m != null">
        ret_3m = #{record.ret3m,jdbcType=DECIMAL},
      </if>
      <if test="record.ret3mBm1 != null">
        ret_3m_bm1 = #{record.ret3mBm1,jdbcType=DECIMAL},
      </if>
      <if test="record.ret6m != null">
        ret_6m = #{record.ret6m,jdbcType=DECIMAL},
      </if>
      <if test="record.ret6mBm1 != null">
        ret_6m_bm1 = #{record.ret6mBm1,jdbcType=DECIMAL},
      </if>
      <if test="record.ret1y != null">
        ret_1y = #{record.ret1y,jdbcType=DECIMAL},
      </if>
      <if test="record.ret1yBm1 != null">
        ret_1y_bm1 = #{record.ret1yBm1,jdbcType=DECIMAL},
      </if>
      <if test="record.ret2y != null">
        ret_2y = #{record.ret2y,jdbcType=DECIMAL},
      </if>
      <if test="record.ret2yBm1 != null">
        ret_2y_bm1 = #{record.ret2yBm1,jdbcType=DECIMAL},
      </if>
      <if test="record.ret2yA != null">
        ret_2y_a = #{record.ret2yA,jdbcType=DECIMAL},
      </if>
      <if test="record.ret2yBm1A != null">
        ret_2y_bm1_a = #{record.ret2yBm1A,jdbcType=DECIMAL},
      </if>
      <if test="record.ret3y != null">
        ret_3y = #{record.ret3y,jdbcType=DECIMAL},
      </if>
      <if test="record.ret3yBm1 != null">
        ret_3y_bm1 = #{record.ret3yBm1,jdbcType=DECIMAL},
      </if>
      <if test="record.ret3yA != null">
        ret_3y_a = #{record.ret3yA,jdbcType=DECIMAL},
      </if>
      <if test="record.ret3yBm1A != null">
        ret_3y_bm1_a = #{record.ret3yBm1A,jdbcType=DECIMAL},
      </if>
      <if test="record.ret4y != null">
        ret_4y = #{record.ret4y,jdbcType=DECIMAL},
      </if>
      <if test="record.ret4yBm1 != null">
        ret_4y_bm1 = #{record.ret4yBm1,jdbcType=DECIMAL},
      </if>
      <if test="record.ret4yA != null">
        ret_4y_a = #{record.ret4yA,jdbcType=DECIMAL},
      </if>
      <if test="record.ret4yBm1A != null">
        ret_4y_bm1_a = #{record.ret4yBm1A,jdbcType=DECIMAL},
      </if>
      <if test="record.ret5y != null">
        ret_5y = #{record.ret5y,jdbcType=DECIMAL},
      </if>
      <if test="record.ret5yBm1 != null">
        ret_5y_bm1 = #{record.ret5yBm1,jdbcType=DECIMAL},
      </if>
      <if test="record.ret5yA != null">
        ret_5y_a = #{record.ret5yA,jdbcType=DECIMAL},
      </if>
      <if test="record.ret5yBm1A != null">
        ret_5y_bm1_a = #{record.ret5yBm1A,jdbcType=DECIMAL},
      </if>
      <if test="record.retYtd != null">
        ret_ytd = #{record.retYtd,jdbcType=DECIMAL},
      </if>
      <if test="record.retYtdBm1 != null">
        ret_ytd_bm1 = #{record.retYtdBm1,jdbcType=DECIMAL},
      </if>
      <if test="record.retIncep != null">
        ret_incep = #{record.retIncep,jdbcType=DECIMAL},
      </if>
      <if test="record.retIncepBm1 != null">
        ret_incep_bm1 = #{record.retIncepBm1,jdbcType=DECIMAL},
      </if>
      <if test="record.retIncepA != null">
        ret_incep_a = #{record.retIncepA,jdbcType=DECIMAL},
      </if>
      <if test="record.retIncepBm1A != null">
        ret_incep_bm1_a = #{record.retIncepBm1A,jdbcType=DECIMAL},
      </if>
      <if test="record.sharperatio1y != null">
        sharperatio_1y = #{record.sharperatio1y,jdbcType=DECIMAL},
      </if>
      <if test="record.sharperatio2y != null">
        sharperatio_2y = #{record.sharperatio2y,jdbcType=DECIMAL},
      </if>
      <if test="record.sharperatio3y != null">
        sharperatio_3y = #{record.sharperatio3y,jdbcType=DECIMAL},
      </if>
      <if test="record.sharperatio4y != null">
        sharperatio_4y = #{record.sharperatio4y,jdbcType=DECIMAL},
      </if>
      <if test="record.sharperatio5y != null">
        sharperatio_5y = #{record.sharperatio5y,jdbcType=DECIMAL},
      </if>
      <if test="record.sharperatioIncep != null">
        sharperatio_incep = #{record.sharperatioIncep,jdbcType=DECIMAL},
      </if>
      <if test="record.stddev1y != null">
        stddev_1y = #{record.stddev1y,jdbcType=DECIMAL},
      </if>
      <if test="record.stddev2y != null">
        stddev_2y = #{record.stddev2y,jdbcType=DECIMAL},
      </if>
      <if test="record.stddev3y != null">
        stddev_3y = #{record.stddev3y,jdbcType=DECIMAL},
      </if>
      <if test="record.stddev4y != null">
        stddev_4y = #{record.stddev4y,jdbcType=DECIMAL},
      </if>
      <if test="record.stddev5y != null">
        stddev_5y = #{record.stddev5y,jdbcType=DECIMAL},
      </if>
      <if test="record.stddev10y != null">
        stddev_10y = #{record.stddev10y,jdbcType=DECIMAL},
      </if>
      <if test="record.stddevIncep != null">
        stddev_incep = #{record.stddevIncep,jdbcType=DECIMAL},
      </if>
      <if test="record.stddevYtd != null">
        stddev_ytd = #{record.stddevYtd,jdbcType=DECIMAL},
      </if>
      <if test="record.maxdrawdown1y != null">
        maxdrawdown_1y = #{record.maxdrawdown1y,jdbcType=DECIMAL},
      </if>
      <if test="record.maxdrawdown2y != null">
        maxdrawdown_2y = #{record.maxdrawdown2y,jdbcType=DECIMAL},
      </if>
      <if test="record.maxdrawdown3y != null">
        maxdrawdown_3y = #{record.maxdrawdown3y,jdbcType=DECIMAL},
      </if>
      <if test="record.maxdrawdown4y != null">
        maxdrawdown_4y = #{record.maxdrawdown4y,jdbcType=DECIMAL},
      </if>
      <if test="record.maxdrawdown5y != null">
        maxdrawdown_5y = #{record.maxdrawdown5y,jdbcType=DECIMAL},
      </if>
      <if test="record.maxdrawdown10y != null">
        maxdrawdown_10y = #{record.maxdrawdown10y,jdbcType=DECIMAL},
      </if>
      <if test="record.maxdrawdownIncep != null">
        maxdrawdown_incep = #{record.maxdrawdownIncep,jdbcType=DECIMAL},
      </if>
      <if test="record.updateTime != null">
        update_time = #{record.updateTime,jdbcType=TIMESTAMP},
      </if>
      <if test="record.createTime != null">
        create_time = #{record.createTime,jdbcType=TIMESTAMP},
      </if>
      <if test="record.deleteTag != null">
        delete_tag = #{record.deleteTag,jdbcType=INTEGER},
      </if>
      <if test="record.orgId != null">
        org_id = #{record.orgId,jdbcType=VARCHAR},
      </if>
    </set>
    <if test="_parameter != null">
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByExample" parameterType="map">
    <!--@mbg.generated-->
    update index_count
    set id = #{record.id,jdbcType=VARCHAR},
      index_id = #{record.indexId,jdbcType=VARCHAR},
      end_date = #{record.endDate,jdbcType=DATE},
      price_date = #{record.priceDate,jdbcType=DATE},
      `close` = #{record.close,jdbcType=DECIMAL},
      cumulative_nav = #{record.cumulativeNav,jdbcType=DECIMAL},
      ret_1day = #{record.ret1day,jdbcType=DECIMAL},
      ret_1day_bm1 = #{record.ret1dayBm1,jdbcType=DECIMAL},
      ret_1w = #{record.ret1w,jdbcType=DECIMAL},
      ret_1w_bm1 = #{record.ret1wBm1,jdbcType=DECIMAL},
      ret_1m = #{record.ret1m,jdbcType=DECIMAL},
      ret_1m_bm1 = #{record.ret1mBm1,jdbcType=DECIMAL},
      ret_3m = #{record.ret3m,jdbcType=DECIMAL},
      ret_3m_bm1 = #{record.ret3mBm1,jdbcType=DECIMAL},
      ret_6m = #{record.ret6m,jdbcType=DECIMAL},
      ret_6m_bm1 = #{record.ret6mBm1,jdbcType=DECIMAL},
      ret_1y = #{record.ret1y,jdbcType=DECIMAL},
      ret_1y_bm1 = #{record.ret1yBm1,jdbcType=DECIMAL},
      ret_2y = #{record.ret2y,jdbcType=DECIMAL},
      ret_2y_bm1 = #{record.ret2yBm1,jdbcType=DECIMAL},
      ret_2y_a = #{record.ret2yA,jdbcType=DECIMAL},
      ret_2y_bm1_a = #{record.ret2yBm1A,jdbcType=DECIMAL},
      ret_3y = #{record.ret3y,jdbcType=DECIMAL},
      ret_3y_bm1 = #{record.ret3yBm1,jdbcType=DECIMAL},
      ret_3y_a = #{record.ret3yA,jdbcType=DECIMAL},
      ret_3y_bm1_a = #{record.ret3yBm1A,jdbcType=DECIMAL},
      ret_4y = #{record.ret4y,jdbcType=DECIMAL},
      ret_4y_bm1 = #{record.ret4yBm1,jdbcType=DECIMAL},
      ret_4y_a = #{record.ret4yA,jdbcType=DECIMAL},
      ret_4y_bm1_a = #{record.ret4yBm1A,jdbcType=DECIMAL},
      ret_5y = #{record.ret5y,jdbcType=DECIMAL},
      ret_5y_bm1 = #{record.ret5yBm1,jdbcType=DECIMAL},
      ret_5y_a = #{record.ret5yA,jdbcType=DECIMAL},
      ret_5y_bm1_a = #{record.ret5yBm1A,jdbcType=DECIMAL},
      ret_ytd = #{record.retYtd,jdbcType=DECIMAL},
      ret_ytd_bm1 = #{record.retYtdBm1,jdbcType=DECIMAL},
      ret_incep = #{record.retIncep,jdbcType=DECIMAL},
      ret_incep_bm1 = #{record.retIncepBm1,jdbcType=DECIMAL},
      ret_incep_a = #{record.retIncepA,jdbcType=DECIMAL},
      ret_incep_bm1_a = #{record.retIncepBm1A,jdbcType=DECIMAL},
      sharperatio_1y = #{record.sharperatio1y,jdbcType=DECIMAL},
      sharperatio_2y = #{record.sharperatio2y,jdbcType=DECIMAL},
      sharperatio_3y = #{record.sharperatio3y,jdbcType=DECIMAL},
      sharperatio_4y = #{record.sharperatio4y,jdbcType=DECIMAL},
      sharperatio_5y = #{record.sharperatio5y,jdbcType=DECIMAL},
      sharperatio_incep = #{record.sharperatioIncep,jdbcType=DECIMAL},
      stddev_1y = #{record.stddev1y,jdbcType=DECIMAL},
      stddev_2y = #{record.stddev2y,jdbcType=DECIMAL},
      stddev_3y = #{record.stddev3y,jdbcType=DECIMAL},
      stddev_4y = #{record.stddev4y,jdbcType=DECIMAL},
      stddev_5y = #{record.stddev5y,jdbcType=DECIMAL},
      stddev_10y = #{record.stddev10y,jdbcType=DECIMAL},
      stddev_incep = #{record.stddevIncep,jdbcType=DECIMAL},
      stddev_ytd = #{record.stddevYtd,jdbcType=DECIMAL},
      maxdrawdown_1y = #{record.maxdrawdown1y,jdbcType=DECIMAL},
      maxdrawdown_2y = #{record.maxdrawdown2y,jdbcType=DECIMAL},
      maxdrawdown_3y = #{record.maxdrawdown3y,jdbcType=DECIMAL},
      maxdrawdown_4y = #{record.maxdrawdown4y,jdbcType=DECIMAL},
      maxdrawdown_5y = #{record.maxdrawdown5y,jdbcType=DECIMAL},
      maxdrawdown_10y = #{record.maxdrawdown10y,jdbcType=DECIMAL},
      maxdrawdown_incep = #{record.maxdrawdownIncep,jdbcType=DECIMAL},
      update_time = #{record.updateTime,jdbcType=TIMESTAMP},
      create_time = #{record.createTime,jdbcType=TIMESTAMP},
      delete_tag = #{record.deleteTag,jdbcType=INTEGER},
      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.IndexCount">
    <!--@mbg.generated-->
    update index_count
    <set>
      <if test="indexId != null">
        index_id = #{indexId,jdbcType=VARCHAR},
      </if>
      <if test="endDate != null">
        end_date = #{endDate,jdbcType=DATE},
      </if>
      <if test="priceDate != null">
        price_date = #{priceDate,jdbcType=DATE},
      </if>
      <if test="close != null">
        `close` = #{close,jdbcType=DECIMAL},
      </if>
      <if test="cumulativeNav != null">
        cumulative_nav = #{cumulativeNav,jdbcType=DECIMAL},
      </if>
      <if test="ret1day != null">
        ret_1day = #{ret1day,jdbcType=DECIMAL},
      </if>
      <if test="ret1dayBm1 != null">
        ret_1day_bm1 = #{ret1dayBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret1w != null">
        ret_1w = #{ret1w,jdbcType=DECIMAL},
      </if>
      <if test="ret1wBm1 != null">
        ret_1w_bm1 = #{ret1wBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret1m != null">
        ret_1m = #{ret1m,jdbcType=DECIMAL},
      </if>
      <if test="ret1mBm1 != null">
        ret_1m_bm1 = #{ret1mBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret3m != null">
        ret_3m = #{ret3m,jdbcType=DECIMAL},
      </if>
      <if test="ret3mBm1 != null">
        ret_3m_bm1 = #{ret3mBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret6m != null">
        ret_6m = #{ret6m,jdbcType=DECIMAL},
      </if>
      <if test="ret6mBm1 != null">
        ret_6m_bm1 = #{ret6mBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret1y != null">
        ret_1y = #{ret1y,jdbcType=DECIMAL},
      </if>
      <if test="ret1yBm1 != null">
        ret_1y_bm1 = #{ret1yBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret2y != null">
        ret_2y = #{ret2y,jdbcType=DECIMAL},
      </if>
      <if test="ret2yBm1 != null">
        ret_2y_bm1 = #{ret2yBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret2yA != null">
        ret_2y_a = #{ret2yA,jdbcType=DECIMAL},
      </if>
      <if test="ret2yBm1A != null">
        ret_2y_bm1_a = #{ret2yBm1A,jdbcType=DECIMAL},
      </if>
      <if test="ret3y != null">
        ret_3y = #{ret3y,jdbcType=DECIMAL},
      </if>
      <if test="ret3yBm1 != null">
        ret_3y_bm1 = #{ret3yBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret3yA != null">
        ret_3y_a = #{ret3yA,jdbcType=DECIMAL},
      </if>
      <if test="ret3yBm1A != null">
        ret_3y_bm1_a = #{ret3yBm1A,jdbcType=DECIMAL},
      </if>
      <if test="ret4y != null">
        ret_4y = #{ret4y,jdbcType=DECIMAL},
      </if>
      <if test="ret4yBm1 != null">
        ret_4y_bm1 = #{ret4yBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret4yA != null">
        ret_4y_a = #{ret4yA,jdbcType=DECIMAL},
      </if>
      <if test="ret4yBm1A != null">
        ret_4y_bm1_a = #{ret4yBm1A,jdbcType=DECIMAL},
      </if>
      <if test="ret5y != null">
        ret_5y = #{ret5y,jdbcType=DECIMAL},
      </if>
      <if test="ret5yBm1 != null">
        ret_5y_bm1 = #{ret5yBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret5yA != null">
        ret_5y_a = #{ret5yA,jdbcType=DECIMAL},
      </if>
      <if test="ret5yBm1A != null">
        ret_5y_bm1_a = #{ret5yBm1A,jdbcType=DECIMAL},
      </if>
      <if test="retYtd != null">
        ret_ytd = #{retYtd,jdbcType=DECIMAL},
      </if>
      <if test="retYtdBm1 != null">
        ret_ytd_bm1 = #{retYtdBm1,jdbcType=DECIMAL},
      </if>
      <if test="retIncep != null">
        ret_incep = #{retIncep,jdbcType=DECIMAL},
      </if>
      <if test="retIncepBm1 != null">
        ret_incep_bm1 = #{retIncepBm1,jdbcType=DECIMAL},
      </if>
      <if test="retIncepA != null">
        ret_incep_a = #{retIncepA,jdbcType=DECIMAL},
      </if>
      <if test="retIncepBm1A != null">
        ret_incep_bm1_a = #{retIncepBm1A,jdbcType=DECIMAL},
      </if>
      <if test="sharperatio1y != null">
        sharperatio_1y = #{sharperatio1y,jdbcType=DECIMAL},
      </if>
      <if test="sharperatio2y != null">
        sharperatio_2y = #{sharperatio2y,jdbcType=DECIMAL},
      </if>
      <if test="sharperatio3y != null">
        sharperatio_3y = #{sharperatio3y,jdbcType=DECIMAL},
      </if>
      <if test="sharperatio4y != null">
        sharperatio_4y = #{sharperatio4y,jdbcType=DECIMAL},
      </if>
      <if test="sharperatio5y != null">
        sharperatio_5y = #{sharperatio5y,jdbcType=DECIMAL},
      </if>
      <if test="sharperatioIncep != null">
        sharperatio_incep = #{sharperatioIncep,jdbcType=DECIMAL},
      </if>
      <if test="stddev1y != null">
        stddev_1y = #{stddev1y,jdbcType=DECIMAL},
      </if>
      <if test="stddev2y != null">
        stddev_2y = #{stddev2y,jdbcType=DECIMAL},
      </if>
      <if test="stddev3y != null">
        stddev_3y = #{stddev3y,jdbcType=DECIMAL},
      </if>
      <if test="stddev4y != null">
        stddev_4y = #{stddev4y,jdbcType=DECIMAL},
      </if>
      <if test="stddev5y != null">
        stddev_5y = #{stddev5y,jdbcType=DECIMAL},
      </if>
      <if test="stddev10y != null">
        stddev_10y = #{stddev10y,jdbcType=DECIMAL},
      </if>
      <if test="stddevIncep != null">
        stddev_incep = #{stddevIncep,jdbcType=DECIMAL},
      </if>
      <if test="stddevYtd != null">
        stddev_ytd = #{stddevYtd,jdbcType=DECIMAL},
      </if>
      <if test="maxdrawdown1y != null">
        maxdrawdown_1y = #{maxdrawdown1y,jdbcType=DECIMAL},
      </if>
      <if test="maxdrawdown2y != null">
        maxdrawdown_2y = #{maxdrawdown2y,jdbcType=DECIMAL},
      </if>
      <if test="maxdrawdown3y != null">
        maxdrawdown_3y = #{maxdrawdown3y,jdbcType=DECIMAL},
      </if>
      <if test="maxdrawdown4y != null">
        maxdrawdown_4y = #{maxdrawdown4y,jdbcType=DECIMAL},
      </if>
      <if test="maxdrawdown5y != null">
        maxdrawdown_5y = #{maxdrawdown5y,jdbcType=DECIMAL},
      </if>
      <if test="maxdrawdown10y != null">
        maxdrawdown_10y = #{maxdrawdown10y,jdbcType=DECIMAL},
      </if>
      <if test="maxdrawdownIncep != null">
        maxdrawdown_incep = #{maxdrawdownIncep,jdbcType=DECIMAL},
      </if>
      <if test="updateTime != null">
        update_time = #{updateTime,jdbcType=TIMESTAMP},
      </if>
      <if test="createTime != null">
        create_time = #{createTime,jdbcType=TIMESTAMP},
      </if>
      <if test="deleteTag != null">
        delete_tag = #{deleteTag,jdbcType=INTEGER},
      </if>
      <if test="orgId != null">
        org_id = #{orgId,jdbcType=VARCHAR},
      </if>
    </set>
    where id = #{id,jdbcType=VARCHAR}
  </update>
  <update id="updateByPrimaryKey" parameterType="com.tanpu.fund.entity.generator.IndexCount">
    <!--@mbg.generated-->
    update index_count
    set index_id = #{indexId,jdbcType=VARCHAR},
      end_date = #{endDate,jdbcType=DATE},
      price_date = #{priceDate,jdbcType=DATE},
      `close` = #{close,jdbcType=DECIMAL},
      cumulative_nav = #{cumulativeNav,jdbcType=DECIMAL},
      ret_1day = #{ret1day,jdbcType=DECIMAL},
      ret_1day_bm1 = #{ret1dayBm1,jdbcType=DECIMAL},
      ret_1w = #{ret1w,jdbcType=DECIMAL},
      ret_1w_bm1 = #{ret1wBm1,jdbcType=DECIMAL},
      ret_1m = #{ret1m,jdbcType=DECIMAL},
      ret_1m_bm1 = #{ret1mBm1,jdbcType=DECIMAL},
      ret_3m = #{ret3m,jdbcType=DECIMAL},
      ret_3m_bm1 = #{ret3mBm1,jdbcType=DECIMAL},
      ret_6m = #{ret6m,jdbcType=DECIMAL},
      ret_6m_bm1 = #{ret6mBm1,jdbcType=DECIMAL},
      ret_1y = #{ret1y,jdbcType=DECIMAL},
      ret_1y_bm1 = #{ret1yBm1,jdbcType=DECIMAL},
      ret_2y = #{ret2y,jdbcType=DECIMAL},
      ret_2y_bm1 = #{ret2yBm1,jdbcType=DECIMAL},
      ret_2y_a = #{ret2yA,jdbcType=DECIMAL},
      ret_2y_bm1_a = #{ret2yBm1A,jdbcType=DECIMAL},
      ret_3y = #{ret3y,jdbcType=DECIMAL},
      ret_3y_bm1 = #{ret3yBm1,jdbcType=DECIMAL},
      ret_3y_a = #{ret3yA,jdbcType=DECIMAL},
      ret_3y_bm1_a = #{ret3yBm1A,jdbcType=DECIMAL},
      ret_4y = #{ret4y,jdbcType=DECIMAL},
      ret_4y_bm1 = #{ret4yBm1,jdbcType=DECIMAL},
      ret_4y_a = #{ret4yA,jdbcType=DECIMAL},
      ret_4y_bm1_a = #{ret4yBm1A,jdbcType=DECIMAL},
      ret_5y = #{ret5y,jdbcType=DECIMAL},
      ret_5y_bm1 = #{ret5yBm1,jdbcType=DECIMAL},
      ret_5y_a = #{ret5yA,jdbcType=DECIMAL},
      ret_5y_bm1_a = #{ret5yBm1A,jdbcType=DECIMAL},
      ret_ytd = #{retYtd,jdbcType=DECIMAL},
      ret_ytd_bm1 = #{retYtdBm1,jdbcType=DECIMAL},
      ret_incep = #{retIncep,jdbcType=DECIMAL},
      ret_incep_bm1 = #{retIncepBm1,jdbcType=DECIMAL},
      ret_incep_a = #{retIncepA,jdbcType=DECIMAL},
      ret_incep_bm1_a = #{retIncepBm1A,jdbcType=DECIMAL},
      sharperatio_1y = #{sharperatio1y,jdbcType=DECIMAL},
      sharperatio_2y = #{sharperatio2y,jdbcType=DECIMAL},
      sharperatio_3y = #{sharperatio3y,jdbcType=DECIMAL},
      sharperatio_4y = #{sharperatio4y,jdbcType=DECIMAL},
      sharperatio_5y = #{sharperatio5y,jdbcType=DECIMAL},
      sharperatio_incep = #{sharperatioIncep,jdbcType=DECIMAL},
      stddev_1y = #{stddev1y,jdbcType=DECIMAL},
      stddev_2y = #{stddev2y,jdbcType=DECIMAL},
      stddev_3y = #{stddev3y,jdbcType=DECIMAL},
      stddev_4y = #{stddev4y,jdbcType=DECIMAL},
      stddev_5y = #{stddev5y,jdbcType=DECIMAL},
      stddev_10y = #{stddev10y,jdbcType=DECIMAL},
      stddev_incep = #{stddevIncep,jdbcType=DECIMAL},
      stddev_ytd = #{stddevYtd,jdbcType=DECIMAL},
      maxdrawdown_1y = #{maxdrawdown1y,jdbcType=DECIMAL},
      maxdrawdown_2y = #{maxdrawdown2y,jdbcType=DECIMAL},
      maxdrawdown_3y = #{maxdrawdown3y,jdbcType=DECIMAL},
      maxdrawdown_4y = #{maxdrawdown4y,jdbcType=DECIMAL},
      maxdrawdown_5y = #{maxdrawdown5y,jdbcType=DECIMAL},
      maxdrawdown_10y = #{maxdrawdown10y,jdbcType=DECIMAL},
      maxdrawdown_incep = #{maxdrawdownIncep,jdbcType=DECIMAL},
      update_time = #{updateTime,jdbcType=TIMESTAMP},
      create_time = #{createTime,jdbcType=TIMESTAMP},
      delete_tag = #{deleteTag,jdbcType=INTEGER},
      org_id = #{orgId,jdbcType=VARCHAR}
    where id = #{id,jdbcType=VARCHAR}
  </update>
  <update id="updateBatch" parameterType="java.util.List">
    <!--@mbg.generated-->
    update index_count
    <trim prefix="set" suffixOverrides=",">
      <trim prefix="index_id = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.indexId,jdbcType=VARCHAR}
        </foreach>
      </trim>
      <trim prefix="end_date = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.endDate,jdbcType=DATE}
        </foreach>
      </trim>
      <trim prefix="price_date = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.priceDate,jdbcType=DATE}
        </foreach>
      </trim>
      <trim prefix="`close` = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.close,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="cumulative_nav = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.cumulativeNav,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="ret_1day = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.ret1day,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="ret_1day_bm1 = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.ret1dayBm1,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="ret_1w = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.ret1w,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="ret_1w_bm1 = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.ret1wBm1,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="ret_1m = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.ret1m,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="ret_1m_bm1 = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.ret1mBm1,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="ret_3m = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.ret3m,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="ret_3m_bm1 = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.ret3mBm1,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="ret_6m = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.ret6m,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="ret_6m_bm1 = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.ret6mBm1,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="ret_1y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.ret1y,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="ret_1y_bm1 = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.ret1yBm1,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="ret_2y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.ret2y,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="ret_2y_bm1 = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.ret2yBm1,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="ret_2y_a = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.ret2yA,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="ret_2y_bm1_a = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.ret2yBm1A,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="ret_3y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.ret3y,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="ret_3y_bm1 = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.ret3yBm1,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="ret_3y_a = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.ret3yA,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="ret_3y_bm1_a = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.ret3yBm1A,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="ret_4y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.ret4y,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="ret_4y_bm1 = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.ret4yBm1,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="ret_4y_a = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.ret4yA,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="ret_4y_bm1_a = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.ret4yBm1A,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="ret_5y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.ret5y,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="ret_5y_bm1 = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.ret5yBm1,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="ret_5y_a = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.ret5yA,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="ret_5y_bm1_a = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.ret5yBm1A,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="ret_ytd = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.retYtd,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="ret_ytd_bm1 = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.retYtdBm1,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="ret_incep = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.retIncep,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="ret_incep_bm1 = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.retIncepBm1,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="ret_incep_a = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.retIncepA,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="ret_incep_bm1_a = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.retIncepBm1A,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="sharperatio_1y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.sharperatio1y,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="sharperatio_2y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.sharperatio2y,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="sharperatio_3y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.sharperatio3y,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="sharperatio_4y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.sharperatio4y,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="sharperatio_5y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.sharperatio5y,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="sharperatio_incep = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.sharperatioIncep,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="stddev_1y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.stddev1y,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="stddev_2y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.stddev2y,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="stddev_3y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.stddev3y,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="stddev_4y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.stddev4y,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="stddev_5y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.stddev5y,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="stddev_10y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.stddev10y,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="stddev_incep = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.stddevIncep,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="stddev_ytd = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.stddevYtd,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="maxdrawdown_1y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.maxdrawdown1y,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="maxdrawdown_2y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.maxdrawdown2y,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="maxdrawdown_3y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.maxdrawdown3y,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="maxdrawdown_4y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.maxdrawdown4y,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="maxdrawdown_5y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.maxdrawdown5y,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="maxdrawdown_10y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.maxdrawdown10y,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="maxdrawdown_incep = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.maxdrawdownIncep,jdbcType=DECIMAL}
        </foreach>
      </trim>
      <trim prefix="update_time = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.updateTime,jdbcType=TIMESTAMP}
        </foreach>
      </trim>
      <trim prefix="create_time = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.createTime,jdbcType=TIMESTAMP}
        </foreach>
      </trim>
      <trim prefix="delete_tag = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.deleteTag,jdbcType=INTEGER}
        </foreach>
      </trim>
      <trim prefix="org_id = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          when id = #{item.id,jdbcType=VARCHAR} then #{item.orgId,jdbcType=VARCHAR}
        </foreach>
      </trim>
    </trim>
    where id in
    <foreach close=")" collection="list" item="item" open="(" separator=", ">
      #{item.id,jdbcType=VARCHAR}
    </foreach>
  </update>
  <update id="updateBatchSelective" parameterType="java.util.List">
    <!--@mbg.generated-->
    update index_count
    <trim prefix="set" suffixOverrides=",">
      <trim prefix="index_id = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.indexId != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.indexId,jdbcType=VARCHAR}
          </if>
        </foreach>
      </trim>
      <trim prefix="end_date = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.endDate != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.endDate,jdbcType=DATE}
          </if>
        </foreach>
      </trim>
      <trim prefix="price_date = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.priceDate != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.priceDate,jdbcType=DATE}
          </if>
        </foreach>
      </trim>
      <trim prefix="`close` = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.close != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.close,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="cumulative_nav = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.cumulativeNav != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.cumulativeNav,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="ret_1day = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.ret1day != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.ret1day,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="ret_1day_bm1 = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.ret1dayBm1 != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.ret1dayBm1,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="ret_1w = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.ret1w != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.ret1w,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="ret_1w_bm1 = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.ret1wBm1 != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.ret1wBm1,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="ret_1m = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.ret1m != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.ret1m,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="ret_1m_bm1 = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.ret1mBm1 != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.ret1mBm1,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="ret_3m = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.ret3m != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.ret3m,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="ret_3m_bm1 = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.ret3mBm1 != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.ret3mBm1,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="ret_6m = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.ret6m != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.ret6m,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="ret_6m_bm1 = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.ret6mBm1 != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.ret6mBm1,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="ret_1y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.ret1y != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.ret1y,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="ret_1y_bm1 = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.ret1yBm1 != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.ret1yBm1,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="ret_2y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.ret2y != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.ret2y,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="ret_2y_bm1 = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.ret2yBm1 != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.ret2yBm1,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="ret_2y_a = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.ret2yA != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.ret2yA,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="ret_2y_bm1_a = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.ret2yBm1A != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.ret2yBm1A,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="ret_3y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.ret3y != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.ret3y,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="ret_3y_bm1 = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.ret3yBm1 != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.ret3yBm1,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="ret_3y_a = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.ret3yA != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.ret3yA,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="ret_3y_bm1_a = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.ret3yBm1A != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.ret3yBm1A,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="ret_4y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.ret4y != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.ret4y,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="ret_4y_bm1 = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.ret4yBm1 != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.ret4yBm1,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="ret_4y_a = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.ret4yA != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.ret4yA,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="ret_4y_bm1_a = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.ret4yBm1A != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.ret4yBm1A,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="ret_5y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.ret5y != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.ret5y,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="ret_5y_bm1 = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.ret5yBm1 != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.ret5yBm1,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="ret_5y_a = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.ret5yA != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.ret5yA,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="ret_5y_bm1_a = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.ret5yBm1A != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.ret5yBm1A,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="ret_ytd = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.retYtd != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.retYtd,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="ret_ytd_bm1 = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.retYtdBm1 != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.retYtdBm1,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="ret_incep = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.retIncep != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.retIncep,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="ret_incep_bm1 = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.retIncepBm1 != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.retIncepBm1,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="ret_incep_a = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.retIncepA != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.retIncepA,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="ret_incep_bm1_a = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.retIncepBm1A != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.retIncepBm1A,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="sharperatio_1y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.sharperatio1y != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.sharperatio1y,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="sharperatio_2y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.sharperatio2y != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.sharperatio2y,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="sharperatio_3y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.sharperatio3y != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.sharperatio3y,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="sharperatio_4y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.sharperatio4y != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.sharperatio4y,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="sharperatio_5y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.sharperatio5y != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.sharperatio5y,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="sharperatio_incep = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.sharperatioIncep != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.sharperatioIncep,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="stddev_1y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.stddev1y != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.stddev1y,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="stddev_2y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.stddev2y != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.stddev2y,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="stddev_3y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.stddev3y != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.stddev3y,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="stddev_4y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.stddev4y != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.stddev4y,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="stddev_5y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.stddev5y != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.stddev5y,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="stddev_10y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.stddev10y != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.stddev10y,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="stddev_incep = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.stddevIncep != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.stddevIncep,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="stddev_ytd = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.stddevYtd != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.stddevYtd,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="maxdrawdown_1y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.maxdrawdown1y != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.maxdrawdown1y,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="maxdrawdown_2y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.maxdrawdown2y != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.maxdrawdown2y,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="maxdrawdown_3y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.maxdrawdown3y != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.maxdrawdown3y,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="maxdrawdown_4y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.maxdrawdown4y != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.maxdrawdown4y,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="maxdrawdown_5y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.maxdrawdown5y != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.maxdrawdown5y,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="maxdrawdown_10y = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.maxdrawdown10y != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.maxdrawdown10y,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="maxdrawdown_incep = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.maxdrawdownIncep != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.maxdrawdownIncep,jdbcType=DECIMAL}
          </if>
        </foreach>
      </trim>
      <trim prefix="update_time = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.updateTime != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.updateTime,jdbcType=TIMESTAMP}
          </if>
        </foreach>
      </trim>
      <trim prefix="create_time = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.createTime != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.createTime,jdbcType=TIMESTAMP}
          </if>
        </foreach>
      </trim>
      <trim prefix="delete_tag = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.deleteTag != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.deleteTag,jdbcType=INTEGER}
          </if>
        </foreach>
      </trim>
      <trim prefix="org_id = case" suffix="end,">
        <foreach collection="list" index="index" item="item">
          <if test="item.orgId != null">
            when id = #{item.id,jdbcType=VARCHAR} then #{item.orgId,jdbcType=VARCHAR}
          </if>
        </foreach>
      </trim>
    </trim>
    where id in
    <foreach close=")" collection="list" item="item" open="(" separator=", ">
      #{item.id,jdbcType=VARCHAR}
    </foreach>
  </update>
  <insert id="batchInsert" parameterType="map">
    <!--@mbg.generated-->
    insert into index_count
    (id, index_id, end_date, price_date, `close`, cumulative_nav, ret_1day, ret_1day_bm1, 
      ret_1w, ret_1w_bm1, ret_1m, ret_1m_bm1, ret_3m, ret_3m_bm1, ret_6m, ret_6m_bm1, 
      ret_1y, ret_1y_bm1, ret_2y, ret_2y_bm1, ret_2y_a, ret_2y_bm1_a, ret_3y, ret_3y_bm1, 
      ret_3y_a, ret_3y_bm1_a, ret_4y, ret_4y_bm1, ret_4y_a, ret_4y_bm1_a, ret_5y, ret_5y_bm1, 
      ret_5y_a, ret_5y_bm1_a, ret_ytd, ret_ytd_bm1, ret_incep, ret_incep_bm1, ret_incep_a, 
      ret_incep_bm1_a, sharperatio_1y, sharperatio_2y, sharperatio_3y, sharperatio_4y, 
      sharperatio_5y, sharperatio_incep, stddev_1y, stddev_2y, stddev_3y, stddev_4y, 
      stddev_5y, stddev_10y, stddev_incep, stddev_ytd, maxdrawdown_1y, maxdrawdown_2y, 
      maxdrawdown_3y, maxdrawdown_4y, maxdrawdown_5y, maxdrawdown_10y, maxdrawdown_incep, 
      update_time, create_time, delete_tag, org_id)
    values
    <foreach collection="list" item="item" separator=",">
      (#{item.id,jdbcType=VARCHAR}, #{item.indexId,jdbcType=VARCHAR}, #{item.endDate,jdbcType=DATE}, 
        #{item.priceDate,jdbcType=DATE}, #{item.close,jdbcType=DECIMAL}, #{item.cumulativeNav,jdbcType=DECIMAL}, 
        #{item.ret1day,jdbcType=DECIMAL}, #{item.ret1dayBm1,jdbcType=DECIMAL}, #{item.ret1w,jdbcType=DECIMAL}, 
        #{item.ret1wBm1,jdbcType=DECIMAL}, #{item.ret1m,jdbcType=DECIMAL}, #{item.ret1mBm1,jdbcType=DECIMAL}, 
        #{item.ret3m,jdbcType=DECIMAL}, #{item.ret3mBm1,jdbcType=DECIMAL}, #{item.ret6m,jdbcType=DECIMAL}, 
        #{item.ret6mBm1,jdbcType=DECIMAL}, #{item.ret1y,jdbcType=DECIMAL}, #{item.ret1yBm1,jdbcType=DECIMAL}, 
        #{item.ret2y,jdbcType=DECIMAL}, #{item.ret2yBm1,jdbcType=DECIMAL}, #{item.ret2yA,jdbcType=DECIMAL}, 
        #{item.ret2yBm1A,jdbcType=DECIMAL}, #{item.ret3y,jdbcType=DECIMAL}, #{item.ret3yBm1,jdbcType=DECIMAL}, 
        #{item.ret3yA,jdbcType=DECIMAL}, #{item.ret3yBm1A,jdbcType=DECIMAL}, #{item.ret4y,jdbcType=DECIMAL}, 
        #{item.ret4yBm1,jdbcType=DECIMAL}, #{item.ret4yA,jdbcType=DECIMAL}, #{item.ret4yBm1A,jdbcType=DECIMAL}, 
        #{item.ret5y,jdbcType=DECIMAL}, #{item.ret5yBm1,jdbcType=DECIMAL}, #{item.ret5yA,jdbcType=DECIMAL}, 
        #{item.ret5yBm1A,jdbcType=DECIMAL}, #{item.retYtd,jdbcType=DECIMAL}, #{item.retYtdBm1,jdbcType=DECIMAL}, 
        #{item.retIncep,jdbcType=DECIMAL}, #{item.retIncepBm1,jdbcType=DECIMAL}, #{item.retIncepA,jdbcType=DECIMAL}, 
        #{item.retIncepBm1A,jdbcType=DECIMAL}, #{item.sharperatio1y,jdbcType=DECIMAL}, 
        #{item.sharperatio2y,jdbcType=DECIMAL}, #{item.sharperatio3y,jdbcType=DECIMAL}, 
        #{item.sharperatio4y,jdbcType=DECIMAL}, #{item.sharperatio5y,jdbcType=DECIMAL}, 
        #{item.sharperatioIncep,jdbcType=DECIMAL}, #{item.stddev1y,jdbcType=DECIMAL}, #{item.stddev2y,jdbcType=DECIMAL}, 
        #{item.stddev3y,jdbcType=DECIMAL}, #{item.stddev4y,jdbcType=DECIMAL}, #{item.stddev5y,jdbcType=DECIMAL}, 
        #{item.stddev10y,jdbcType=DECIMAL}, #{item.stddevIncep,jdbcType=DECIMAL}, #{item.stddevYtd,jdbcType=DECIMAL}, 
        #{item.maxdrawdown1y,jdbcType=DECIMAL}, #{item.maxdrawdown2y,jdbcType=DECIMAL}, 
        #{item.maxdrawdown3y,jdbcType=DECIMAL}, #{item.maxdrawdown4y,jdbcType=DECIMAL}, 
        #{item.maxdrawdown5y,jdbcType=DECIMAL}, #{item.maxdrawdown10y,jdbcType=DECIMAL}, 
        #{item.maxdrawdownIncep,jdbcType=DECIMAL}, #{item.updateTime,jdbcType=TIMESTAMP}, 
        #{item.createTime,jdbcType=TIMESTAMP}, #{item.deleteTag,jdbcType=INTEGER}, #{item.orgId,jdbcType=VARCHAR}
        )
    </foreach>
  </insert>
  <insert id="insertOrUpdate" parameterType="com.tanpu.fund.entity.generator.IndexCount">
    <!--@mbg.generated-->
    insert into index_count
    (id, index_id, end_date, price_date, `close`, cumulative_nav, ret_1day, ret_1day_bm1, 
      ret_1w, ret_1w_bm1, ret_1m, ret_1m_bm1, ret_3m, ret_3m_bm1, ret_6m, ret_6m_bm1, 
      ret_1y, ret_1y_bm1, ret_2y, ret_2y_bm1, ret_2y_a, ret_2y_bm1_a, ret_3y, ret_3y_bm1, 
      ret_3y_a, ret_3y_bm1_a, ret_4y, ret_4y_bm1, ret_4y_a, ret_4y_bm1_a, ret_5y, ret_5y_bm1, 
      ret_5y_a, ret_5y_bm1_a, ret_ytd, ret_ytd_bm1, ret_incep, ret_incep_bm1, ret_incep_a, 
      ret_incep_bm1_a, sharperatio_1y, sharperatio_2y, sharperatio_3y, sharperatio_4y, 
      sharperatio_5y, sharperatio_incep, stddev_1y, stddev_2y, stddev_3y, stddev_4y, 
      stddev_5y, stddev_10y, stddev_incep, stddev_ytd, maxdrawdown_1y, maxdrawdown_2y, 
      maxdrawdown_3y, maxdrawdown_4y, maxdrawdown_5y, maxdrawdown_10y, maxdrawdown_incep, 
      update_time, create_time, delete_tag, org_id)
    values
    (#{id,jdbcType=VARCHAR}, #{indexId,jdbcType=VARCHAR}, #{endDate,jdbcType=DATE}, #{priceDate,jdbcType=DATE}, 
      #{close,jdbcType=DECIMAL}, #{cumulativeNav,jdbcType=DECIMAL}, #{ret1day,jdbcType=DECIMAL}, 
      #{ret1dayBm1,jdbcType=DECIMAL}, #{ret1w,jdbcType=DECIMAL}, #{ret1wBm1,jdbcType=DECIMAL}, 
      #{ret1m,jdbcType=DECIMAL}, #{ret1mBm1,jdbcType=DECIMAL}, #{ret3m,jdbcType=DECIMAL}, 
      #{ret3mBm1,jdbcType=DECIMAL}, #{ret6m,jdbcType=DECIMAL}, #{ret6mBm1,jdbcType=DECIMAL}, 
      #{ret1y,jdbcType=DECIMAL}, #{ret1yBm1,jdbcType=DECIMAL}, #{ret2y,jdbcType=DECIMAL}, 
      #{ret2yBm1,jdbcType=DECIMAL}, #{ret2yA,jdbcType=DECIMAL}, #{ret2yBm1A,jdbcType=DECIMAL}, 
      #{ret3y,jdbcType=DECIMAL}, #{ret3yBm1,jdbcType=DECIMAL}, #{ret3yA,jdbcType=DECIMAL}, 
      #{ret3yBm1A,jdbcType=DECIMAL}, #{ret4y,jdbcType=DECIMAL}, #{ret4yBm1,jdbcType=DECIMAL}, 
      #{ret4yA,jdbcType=DECIMAL}, #{ret4yBm1A,jdbcType=DECIMAL}, #{ret5y,jdbcType=DECIMAL}, 
      #{ret5yBm1,jdbcType=DECIMAL}, #{ret5yA,jdbcType=DECIMAL}, #{ret5yBm1A,jdbcType=DECIMAL}, 
      #{retYtd,jdbcType=DECIMAL}, #{retYtdBm1,jdbcType=DECIMAL}, #{retIncep,jdbcType=DECIMAL}, 
      #{retIncepBm1,jdbcType=DECIMAL}, #{retIncepA,jdbcType=DECIMAL}, #{retIncepBm1A,jdbcType=DECIMAL}, 
      #{sharperatio1y,jdbcType=DECIMAL}, #{sharperatio2y,jdbcType=DECIMAL}, #{sharperatio3y,jdbcType=DECIMAL}, 
      #{sharperatio4y,jdbcType=DECIMAL}, #{sharperatio5y,jdbcType=DECIMAL}, #{sharperatioIncep,jdbcType=DECIMAL}, 
      #{stddev1y,jdbcType=DECIMAL}, #{stddev2y,jdbcType=DECIMAL}, #{stddev3y,jdbcType=DECIMAL}, 
      #{stddev4y,jdbcType=DECIMAL}, #{stddev5y,jdbcType=DECIMAL}, #{stddev10y,jdbcType=DECIMAL}, 
      #{stddevIncep,jdbcType=DECIMAL}, #{stddevYtd,jdbcType=DECIMAL}, #{maxdrawdown1y,jdbcType=DECIMAL}, 
      #{maxdrawdown2y,jdbcType=DECIMAL}, #{maxdrawdown3y,jdbcType=DECIMAL}, #{maxdrawdown4y,jdbcType=DECIMAL}, 
      #{maxdrawdown5y,jdbcType=DECIMAL}, #{maxdrawdown10y,jdbcType=DECIMAL}, #{maxdrawdownIncep,jdbcType=DECIMAL}, 
      #{updateTime,jdbcType=TIMESTAMP}, #{createTime,jdbcType=TIMESTAMP}, #{deleteTag,jdbcType=INTEGER}, 
      #{orgId,jdbcType=VARCHAR})
    on duplicate key update 
    id = #{id,jdbcType=VARCHAR}, 
    index_id = #{indexId,jdbcType=VARCHAR}, 
    end_date = #{endDate,jdbcType=DATE}, 
    price_date = #{priceDate,jdbcType=DATE}, 
    `close` = #{close,jdbcType=DECIMAL}, 
    cumulative_nav = #{cumulativeNav,jdbcType=DECIMAL}, 
    ret_1day = #{ret1day,jdbcType=DECIMAL}, 
    ret_1day_bm1 = #{ret1dayBm1,jdbcType=DECIMAL}, 
    ret_1w = #{ret1w,jdbcType=DECIMAL}, 
    ret_1w_bm1 = #{ret1wBm1,jdbcType=DECIMAL}, 
    ret_1m = #{ret1m,jdbcType=DECIMAL}, 
    ret_1m_bm1 = #{ret1mBm1,jdbcType=DECIMAL}, 
    ret_3m = #{ret3m,jdbcType=DECIMAL}, 
    ret_3m_bm1 = #{ret3mBm1,jdbcType=DECIMAL}, 
    ret_6m = #{ret6m,jdbcType=DECIMAL}, 
    ret_6m_bm1 = #{ret6mBm1,jdbcType=DECIMAL}, 
    ret_1y = #{ret1y,jdbcType=DECIMAL}, 
    ret_1y_bm1 = #{ret1yBm1,jdbcType=DECIMAL}, 
    ret_2y = #{ret2y,jdbcType=DECIMAL}, 
    ret_2y_bm1 = #{ret2yBm1,jdbcType=DECIMAL}, 
    ret_2y_a = #{ret2yA,jdbcType=DECIMAL}, 
    ret_2y_bm1_a = #{ret2yBm1A,jdbcType=DECIMAL}, 
    ret_3y = #{ret3y,jdbcType=DECIMAL}, 
    ret_3y_bm1 = #{ret3yBm1,jdbcType=DECIMAL}, 
    ret_3y_a = #{ret3yA,jdbcType=DECIMAL}, 
    ret_3y_bm1_a = #{ret3yBm1A,jdbcType=DECIMAL}, 
    ret_4y = #{ret4y,jdbcType=DECIMAL}, 
    ret_4y_bm1 = #{ret4yBm1,jdbcType=DECIMAL}, 
    ret_4y_a = #{ret4yA,jdbcType=DECIMAL}, 
    ret_4y_bm1_a = #{ret4yBm1A,jdbcType=DECIMAL}, 
    ret_5y = #{ret5y,jdbcType=DECIMAL}, 
    ret_5y_bm1 = #{ret5yBm1,jdbcType=DECIMAL}, 
    ret_5y_a = #{ret5yA,jdbcType=DECIMAL}, 
    ret_5y_bm1_a = #{ret5yBm1A,jdbcType=DECIMAL}, 
    ret_ytd = #{retYtd,jdbcType=DECIMAL}, 
    ret_ytd_bm1 = #{retYtdBm1,jdbcType=DECIMAL}, 
    ret_incep = #{retIncep,jdbcType=DECIMAL}, 
    ret_incep_bm1 = #{retIncepBm1,jdbcType=DECIMAL}, 
    ret_incep_a = #{retIncepA,jdbcType=DECIMAL}, 
    ret_incep_bm1_a = #{retIncepBm1A,jdbcType=DECIMAL}, 
    sharperatio_1y = #{sharperatio1y,jdbcType=DECIMAL}, 
    sharperatio_2y = #{sharperatio2y,jdbcType=DECIMAL}, 
    sharperatio_3y = #{sharperatio3y,jdbcType=DECIMAL}, 
    sharperatio_4y = #{sharperatio4y,jdbcType=DECIMAL}, 
    sharperatio_5y = #{sharperatio5y,jdbcType=DECIMAL}, 
    sharperatio_incep = #{sharperatioIncep,jdbcType=DECIMAL}, 
    stddev_1y = #{stddev1y,jdbcType=DECIMAL}, 
    stddev_2y = #{stddev2y,jdbcType=DECIMAL}, 
    stddev_3y = #{stddev3y,jdbcType=DECIMAL}, 
    stddev_4y = #{stddev4y,jdbcType=DECIMAL}, 
    stddev_5y = #{stddev5y,jdbcType=DECIMAL}, 
    stddev_10y = #{stddev10y,jdbcType=DECIMAL}, 
    stddev_incep = #{stddevIncep,jdbcType=DECIMAL}, 
    stddev_ytd = #{stddevYtd,jdbcType=DECIMAL}, 
    maxdrawdown_1y = #{maxdrawdown1y,jdbcType=DECIMAL}, 
    maxdrawdown_2y = #{maxdrawdown2y,jdbcType=DECIMAL}, 
    maxdrawdown_3y = #{maxdrawdown3y,jdbcType=DECIMAL}, 
    maxdrawdown_4y = #{maxdrawdown4y,jdbcType=DECIMAL}, 
    maxdrawdown_5y = #{maxdrawdown5y,jdbcType=DECIMAL}, 
    maxdrawdown_10y = #{maxdrawdown10y,jdbcType=DECIMAL}, 
    maxdrawdown_incep = #{maxdrawdownIncep,jdbcType=DECIMAL}, 
    update_time = #{updateTime,jdbcType=TIMESTAMP}, 
    create_time = #{createTime,jdbcType=TIMESTAMP}, 
    delete_tag = #{deleteTag,jdbcType=INTEGER}, 
    org_id = #{orgId,jdbcType=VARCHAR}
  </insert>
  <insert id="insertOrUpdateSelective" parameterType="com.tanpu.fund.entity.generator.IndexCount">
    <!--@mbg.generated-->
    insert into index_count
    <trim prefix="(" suffix=")" suffixOverrides=",">
      <if test="id != null">
        id,
      </if>
      <if test="indexId != null">
        index_id,
      </if>
      <if test="endDate != null">
        end_date,
      </if>
      <if test="priceDate != null">
        price_date,
      </if>
      <if test="close != null">
        `close`,
      </if>
      <if test="cumulativeNav != null">
        cumulative_nav,
      </if>
      <if test="ret1day != null">
        ret_1day,
      </if>
      <if test="ret1dayBm1 != null">
        ret_1day_bm1,
      </if>
      <if test="ret1w != null">
        ret_1w,
      </if>
      <if test="ret1wBm1 != null">
        ret_1w_bm1,
      </if>
      <if test="ret1m != null">
        ret_1m,
      </if>
      <if test="ret1mBm1 != null">
        ret_1m_bm1,
      </if>
      <if test="ret3m != null">
        ret_3m,
      </if>
      <if test="ret3mBm1 != null">
        ret_3m_bm1,
      </if>
      <if test="ret6m != null">
        ret_6m,
      </if>
      <if test="ret6mBm1 != null">
        ret_6m_bm1,
      </if>
      <if test="ret1y != null">
        ret_1y,
      </if>
      <if test="ret1yBm1 != null">
        ret_1y_bm1,
      </if>
      <if test="ret2y != null">
        ret_2y,
      </if>
      <if test="ret2yBm1 != null">
        ret_2y_bm1,
      </if>
      <if test="ret2yA != null">
        ret_2y_a,
      </if>
      <if test="ret2yBm1A != null">
        ret_2y_bm1_a,
      </if>
      <if test="ret3y != null">
        ret_3y,
      </if>
      <if test="ret3yBm1 != null">
        ret_3y_bm1,
      </if>
      <if test="ret3yA != null">
        ret_3y_a,
      </if>
      <if test="ret3yBm1A != null">
        ret_3y_bm1_a,
      </if>
      <if test="ret4y != null">
        ret_4y,
      </if>
      <if test="ret4yBm1 != null">
        ret_4y_bm1,
      </if>
      <if test="ret4yA != null">
        ret_4y_a,
      </if>
      <if test="ret4yBm1A != null">
        ret_4y_bm1_a,
      </if>
      <if test="ret5y != null">
        ret_5y,
      </if>
      <if test="ret5yBm1 != null">
        ret_5y_bm1,
      </if>
      <if test="ret5yA != null">
        ret_5y_a,
      </if>
      <if test="ret5yBm1A != null">
        ret_5y_bm1_a,
      </if>
      <if test="retYtd != null">
        ret_ytd,
      </if>
      <if test="retYtdBm1 != null">
        ret_ytd_bm1,
      </if>
      <if test="retIncep != null">
        ret_incep,
      </if>
      <if test="retIncepBm1 != null">
        ret_incep_bm1,
      </if>
      <if test="retIncepA != null">
        ret_incep_a,
      </if>
      <if test="retIncepBm1A != null">
        ret_incep_bm1_a,
      </if>
      <if test="sharperatio1y != null">
        sharperatio_1y,
      </if>
      <if test="sharperatio2y != null">
        sharperatio_2y,
      </if>
      <if test="sharperatio3y != null">
        sharperatio_3y,
      </if>
      <if test="sharperatio4y != null">
        sharperatio_4y,
      </if>
      <if test="sharperatio5y != null">
        sharperatio_5y,
      </if>
      <if test="sharperatioIncep != null">
        sharperatio_incep,
      </if>
      <if test="stddev1y != null">
        stddev_1y,
      </if>
      <if test="stddev2y != null">
        stddev_2y,
      </if>
      <if test="stddev3y != null">
        stddev_3y,
      </if>
      <if test="stddev4y != null">
        stddev_4y,
      </if>
      <if test="stddev5y != null">
        stddev_5y,
      </if>
      <if test="stddev10y != null">
        stddev_10y,
      </if>
      <if test="stddevIncep != null">
        stddev_incep,
      </if>
      <if test="stddevYtd != null">
        stddev_ytd,
      </if>
      <if test="maxdrawdown1y != null">
        maxdrawdown_1y,
      </if>
      <if test="maxdrawdown2y != null">
        maxdrawdown_2y,
      </if>
      <if test="maxdrawdown3y != null">
        maxdrawdown_3y,
      </if>
      <if test="maxdrawdown4y != null">
        maxdrawdown_4y,
      </if>
      <if test="maxdrawdown5y != null">
        maxdrawdown_5y,
      </if>
      <if test="maxdrawdown10y != null">
        maxdrawdown_10y,
      </if>
      <if test="maxdrawdownIncep != null">
        maxdrawdown_incep,
      </if>
      <if test="updateTime != null">
        update_time,
      </if>
      <if test="createTime != null">
        create_time,
      </if>
      <if test="deleteTag != null">
        delete_tag,
      </if>
      <if test="orgId != null">
        org_id,
      </if>
    </trim>
    values
    <trim prefix="(" suffix=")" suffixOverrides=",">
      <if test="id != null">
        #{id,jdbcType=VARCHAR},
      </if>
      <if test="indexId != null">
        #{indexId,jdbcType=VARCHAR},
      </if>
      <if test="endDate != null">
        #{endDate,jdbcType=DATE},
      </if>
      <if test="priceDate != null">
        #{priceDate,jdbcType=DATE},
      </if>
      <if test="close != null">
        #{close,jdbcType=DECIMAL},
      </if>
      <if test="cumulativeNav != null">
        #{cumulativeNav,jdbcType=DECIMAL},
      </if>
      <if test="ret1day != null">
        #{ret1day,jdbcType=DECIMAL},
      </if>
      <if test="ret1dayBm1 != null">
        #{ret1dayBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret1w != null">
        #{ret1w,jdbcType=DECIMAL},
      </if>
      <if test="ret1wBm1 != null">
        #{ret1wBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret1m != null">
        #{ret1m,jdbcType=DECIMAL},
      </if>
      <if test="ret1mBm1 != null">
        #{ret1mBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret3m != null">
        #{ret3m,jdbcType=DECIMAL},
      </if>
      <if test="ret3mBm1 != null">
        #{ret3mBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret6m != null">
        #{ret6m,jdbcType=DECIMAL},
      </if>
      <if test="ret6mBm1 != null">
        #{ret6mBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret1y != null">
        #{ret1y,jdbcType=DECIMAL},
      </if>
      <if test="ret1yBm1 != null">
        #{ret1yBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret2y != null">
        #{ret2y,jdbcType=DECIMAL},
      </if>
      <if test="ret2yBm1 != null">
        #{ret2yBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret2yA != null">
        #{ret2yA,jdbcType=DECIMAL},
      </if>
      <if test="ret2yBm1A != null">
        #{ret2yBm1A,jdbcType=DECIMAL},
      </if>
      <if test="ret3y != null">
        #{ret3y,jdbcType=DECIMAL},
      </if>
      <if test="ret3yBm1 != null">
        #{ret3yBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret3yA != null">
        #{ret3yA,jdbcType=DECIMAL},
      </if>
      <if test="ret3yBm1A != null">
        #{ret3yBm1A,jdbcType=DECIMAL},
      </if>
      <if test="ret4y != null">
        #{ret4y,jdbcType=DECIMAL},
      </if>
      <if test="ret4yBm1 != null">
        #{ret4yBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret4yA != null">
        #{ret4yA,jdbcType=DECIMAL},
      </if>
      <if test="ret4yBm1A != null">
        #{ret4yBm1A,jdbcType=DECIMAL},
      </if>
      <if test="ret5y != null">
        #{ret5y,jdbcType=DECIMAL},
      </if>
      <if test="ret5yBm1 != null">
        #{ret5yBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret5yA != null">
        #{ret5yA,jdbcType=DECIMAL},
      </if>
      <if test="ret5yBm1A != null">
        #{ret5yBm1A,jdbcType=DECIMAL},
      </if>
      <if test="retYtd != null">
        #{retYtd,jdbcType=DECIMAL},
      </if>
      <if test="retYtdBm1 != null">
        #{retYtdBm1,jdbcType=DECIMAL},
      </if>
      <if test="retIncep != null">
        #{retIncep,jdbcType=DECIMAL},
      </if>
      <if test="retIncepBm1 != null">
        #{retIncepBm1,jdbcType=DECIMAL},
      </if>
      <if test="retIncepA != null">
        #{retIncepA,jdbcType=DECIMAL},
      </if>
      <if test="retIncepBm1A != null">
        #{retIncepBm1A,jdbcType=DECIMAL},
      </if>
      <if test="sharperatio1y != null">
        #{sharperatio1y,jdbcType=DECIMAL},
      </if>
      <if test="sharperatio2y != null">
        #{sharperatio2y,jdbcType=DECIMAL},
      </if>
      <if test="sharperatio3y != null">
        #{sharperatio3y,jdbcType=DECIMAL},
      </if>
      <if test="sharperatio4y != null">
        #{sharperatio4y,jdbcType=DECIMAL},
      </if>
      <if test="sharperatio5y != null">
        #{sharperatio5y,jdbcType=DECIMAL},
      </if>
      <if test="sharperatioIncep != null">
        #{sharperatioIncep,jdbcType=DECIMAL},
      </if>
      <if test="stddev1y != null">
        #{stddev1y,jdbcType=DECIMAL},
      </if>
      <if test="stddev2y != null">
        #{stddev2y,jdbcType=DECIMAL},
      </if>
      <if test="stddev3y != null">
        #{stddev3y,jdbcType=DECIMAL},
      </if>
      <if test="stddev4y != null">
        #{stddev4y,jdbcType=DECIMAL},
      </if>
      <if test="stddev5y != null">
        #{stddev5y,jdbcType=DECIMAL},
      </if>
      <if test="stddev10y != null">
        #{stddev10y,jdbcType=DECIMAL},
      </if>
      <if test="stddevIncep != null">
        #{stddevIncep,jdbcType=DECIMAL},
      </if>
      <if test="stddevYtd != null">
        #{stddevYtd,jdbcType=DECIMAL},
      </if>
      <if test="maxdrawdown1y != null">
        #{maxdrawdown1y,jdbcType=DECIMAL},
      </if>
      <if test="maxdrawdown2y != null">
        #{maxdrawdown2y,jdbcType=DECIMAL},
      </if>
      <if test="maxdrawdown3y != null">
        #{maxdrawdown3y,jdbcType=DECIMAL},
      </if>
      <if test="maxdrawdown4y != null">
        #{maxdrawdown4y,jdbcType=DECIMAL},
      </if>
      <if test="maxdrawdown5y != null">
        #{maxdrawdown5y,jdbcType=DECIMAL},
      </if>
      <if test="maxdrawdown10y != null">
        #{maxdrawdown10y,jdbcType=DECIMAL},
      </if>
      <if test="maxdrawdownIncep != null">
        #{maxdrawdownIncep,jdbcType=DECIMAL},
      </if>
      <if test="updateTime != null">
        #{updateTime,jdbcType=TIMESTAMP},
      </if>
      <if test="createTime != null">
        #{createTime,jdbcType=TIMESTAMP},
      </if>
      <if test="deleteTag != null">
        #{deleteTag,jdbcType=INTEGER},
      </if>
      <if test="orgId != null">
        #{orgId,jdbcType=VARCHAR},
      </if>
    </trim>
    on duplicate key update 
    <trim suffixOverrides=",">
      <if test="id != null">
        id = #{id,jdbcType=VARCHAR},
      </if>
      <if test="indexId != null">
        index_id = #{indexId,jdbcType=VARCHAR},
      </if>
      <if test="endDate != null">
        end_date = #{endDate,jdbcType=DATE},
      </if>
      <if test="priceDate != null">
        price_date = #{priceDate,jdbcType=DATE},
      </if>
      <if test="close != null">
        `close` = #{close,jdbcType=DECIMAL},
      </if>
      <if test="cumulativeNav != null">
        cumulative_nav = #{cumulativeNav,jdbcType=DECIMAL},
      </if>
      <if test="ret1day != null">
        ret_1day = #{ret1day,jdbcType=DECIMAL},
      </if>
      <if test="ret1dayBm1 != null">
        ret_1day_bm1 = #{ret1dayBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret1w != null">
        ret_1w = #{ret1w,jdbcType=DECIMAL},
      </if>
      <if test="ret1wBm1 != null">
        ret_1w_bm1 = #{ret1wBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret1m != null">
        ret_1m = #{ret1m,jdbcType=DECIMAL},
      </if>
      <if test="ret1mBm1 != null">
        ret_1m_bm1 = #{ret1mBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret3m != null">
        ret_3m = #{ret3m,jdbcType=DECIMAL},
      </if>
      <if test="ret3mBm1 != null">
        ret_3m_bm1 = #{ret3mBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret6m != null">
        ret_6m = #{ret6m,jdbcType=DECIMAL},
      </if>
      <if test="ret6mBm1 != null">
        ret_6m_bm1 = #{ret6mBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret1y != null">
        ret_1y = #{ret1y,jdbcType=DECIMAL},
      </if>
      <if test="ret1yBm1 != null">
        ret_1y_bm1 = #{ret1yBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret2y != null">
        ret_2y = #{ret2y,jdbcType=DECIMAL},
      </if>
      <if test="ret2yBm1 != null">
        ret_2y_bm1 = #{ret2yBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret2yA != null">
        ret_2y_a = #{ret2yA,jdbcType=DECIMAL},
      </if>
      <if test="ret2yBm1A != null">
        ret_2y_bm1_a = #{ret2yBm1A,jdbcType=DECIMAL},
      </if>
      <if test="ret3y != null">
        ret_3y = #{ret3y,jdbcType=DECIMAL},
      </if>
      <if test="ret3yBm1 != null">
        ret_3y_bm1 = #{ret3yBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret3yA != null">
        ret_3y_a = #{ret3yA,jdbcType=DECIMAL},
      </if>
      <if test="ret3yBm1A != null">
        ret_3y_bm1_a = #{ret3yBm1A,jdbcType=DECIMAL},
      </if>
      <if test="ret4y != null">
        ret_4y = #{ret4y,jdbcType=DECIMAL},
      </if>
      <if test="ret4yBm1 != null">
        ret_4y_bm1 = #{ret4yBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret4yA != null">
        ret_4y_a = #{ret4yA,jdbcType=DECIMAL},
      </if>
      <if test="ret4yBm1A != null">
        ret_4y_bm1_a = #{ret4yBm1A,jdbcType=DECIMAL},
      </if>
      <if test="ret5y != null">
        ret_5y = #{ret5y,jdbcType=DECIMAL},
      </if>
      <if test="ret5yBm1 != null">
        ret_5y_bm1 = #{ret5yBm1,jdbcType=DECIMAL},
      </if>
      <if test="ret5yA != null">
        ret_5y_a = #{ret5yA,jdbcType=DECIMAL},
      </if>
      <if test="ret5yBm1A != null">
        ret_5y_bm1_a = #{ret5yBm1A,jdbcType=DECIMAL},
      </if>
      <if test="retYtd != null">
        ret_ytd = #{retYtd,jdbcType=DECIMAL},
      </if>
      <if test="retYtdBm1 != null">
        ret_ytd_bm1 = #{retYtdBm1,jdbcType=DECIMAL},
      </if>
      <if test="retIncep != null">
        ret_incep = #{retIncep,jdbcType=DECIMAL},
      </if>
      <if test="retIncepBm1 != null">
        ret_incep_bm1 = #{retIncepBm1,jdbcType=DECIMAL},
      </if>
      <if test="retIncepA != null">
        ret_incep_a = #{retIncepA,jdbcType=DECIMAL},
      </if>
      <if test="retIncepBm1A != null">
        ret_incep_bm1_a = #{retIncepBm1A,jdbcType=DECIMAL},
      </if>
      <if test="sharperatio1y != null">
        sharperatio_1y = #{sharperatio1y,jdbcType=DECIMAL},
      </if>
      <if test="sharperatio2y != null">
        sharperatio_2y = #{sharperatio2y,jdbcType=DECIMAL},
      </if>
      <if test="sharperatio3y != null">
        sharperatio_3y = #{sharperatio3y,jdbcType=DECIMAL},
      </if>
      <if test="sharperatio4y != null">
        sharperatio_4y = #{sharperatio4y,jdbcType=DECIMAL},
      </if>
      <if test="sharperatio5y != null">
        sharperatio_5y = #{sharperatio5y,jdbcType=DECIMAL},
      </if>
      <if test="sharperatioIncep != null">
        sharperatio_incep = #{sharperatioIncep,jdbcType=DECIMAL},
      </if>
      <if test="stddev1y != null">
        stddev_1y = #{stddev1y,jdbcType=DECIMAL},
      </if>
      <if test="stddev2y != null">
        stddev_2y = #{stddev2y,jdbcType=DECIMAL},
      </if>
      <if test="stddev3y != null">
        stddev_3y = #{stddev3y,jdbcType=DECIMAL},
      </if>
      <if test="stddev4y != null">
        stddev_4y = #{stddev4y,jdbcType=DECIMAL},
      </if>
      <if test="stddev5y != null">
        stddev_5y = #{stddev5y,jdbcType=DECIMAL},
      </if>
      <if test="stddev10y != null">
        stddev_10y = #{stddev10y,jdbcType=DECIMAL},
      </if>
      <if test="stddevIncep != null">
        stddev_incep = #{stddevIncep,jdbcType=DECIMAL},
      </if>
      <if test="stddevYtd != null">
        stddev_ytd = #{stddevYtd,jdbcType=DECIMAL},
      </if>
      <if test="maxdrawdown1y != null">
        maxdrawdown_1y = #{maxdrawdown1y,jdbcType=DECIMAL},
      </if>
      <if test="maxdrawdown2y != null">
        maxdrawdown_2y = #{maxdrawdown2y,jdbcType=DECIMAL},
      </if>
      <if test="maxdrawdown3y != null">
        maxdrawdown_3y = #{maxdrawdown3y,jdbcType=DECIMAL},
      </if>
      <if test="maxdrawdown4y != null">
        maxdrawdown_4y = #{maxdrawdown4y,jdbcType=DECIMAL},
      </if>
      <if test="maxdrawdown5y != null">
        maxdrawdown_5y = #{maxdrawdown5y,jdbcType=DECIMAL},
      </if>
      <if test="maxdrawdown10y != null">
        maxdrawdown_10y = #{maxdrawdown10y,jdbcType=DECIMAL},
      </if>
      <if test="maxdrawdownIncep != null">
        maxdrawdown_incep = #{maxdrawdownIncep,jdbcType=DECIMAL},
      </if>
      <if test="updateTime != null">
        update_time = #{updateTime,jdbcType=TIMESTAMP},
      </if>
      <if test="createTime != null">
        create_time = #{createTime,jdbcType=TIMESTAMP},
      </if>
      <if test="deleteTag != null">
        delete_tag = #{deleteTag,jdbcType=INTEGER},
      </if>
      <if test="orgId != null">
        org_id = #{orgId,jdbcType=VARCHAR},
      </if>
    </trim>
  </insert>
</mapper>