FundInfoPerformanceMapper.xml 36.4 KB
Newer Older
张亚辉's avatar
张亚辉 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<?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.FundInfoPerformanceMapper">
  <resultMap id="BaseResultMap" type="com.tanpu.fund.entity.generator.FundInfoPerformance">
    <!--@mbg.generated-->
    <!--@Table fund_info_performance-->
    <result column="id" jdbcType="VARCHAR" property="id" />
    <result column="fund_name" jdbcType="VARCHAR" property="fundName" />
    <result column="fund_short_name" jdbcType="VARCHAR" property="fundShortName" />
    <result column="risk_level" jdbcType="INTEGER" property="riskLevel" />
    <result column="trust_id" jdbcType="VARCHAR" property="trustId" />
    <result column="net_nav" jdbcType="DECIMAL" property="netNav" />
    <result column="cumulative_nav" jdbcType="DECIMAL" property="cumulativeNav" />
    <result column="end_date" jdbcType="DATE" property="endDate" />
    <result column="price_date" jdbcType="DATE" property="priceDate" />
    <result column="strategy" jdbcType="INTEGER" property="strategy" />
    <result column="substrategy" jdbcType="INTEGER" property="substrategy" />
    <result column="ret_1w" jdbcType="DECIMAL" property="ret1w" />
    <result column="ret_1m" jdbcType="DECIMAL" property="ret1m" />
zp's avatar
zp committed
20
    <result column="ret_3m" jdbcType="DECIMAL" property="ret3m" />
张亚辉's avatar
张亚辉 committed
21 22
    <result column="ret_6m" jdbcType="DECIMAL" property="ret6m" />
    <result column="ret_1y" jdbcType="DECIMAL" property="ret1y" />
zp's avatar
zp committed
23
    <result column="ret_ytd" jdbcType="DECIMAL" property="retYtd" />
张亚辉's avatar
张亚辉 committed
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106
    <result column="ret_incep" jdbcType="DECIMAL" property="retIncep" />
    <result column="sharperatio_incep" jdbcType="DECIMAL" property="sharperatioIncep" />
    <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="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_incep" jdbcType="DECIMAL" property="stddevIncep" />
    <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_incep" jdbcType="DECIMAL" property="maxdrawdownIncep" />
  </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, fund_name, fund_short_name, risk_level, trust_id, net_nav, cumulative_nav, end_date, 
zp's avatar
zp committed
107 108 109 110
    price_date, strategy, substrategy, ret_1w, ret_1m, ret_3m, ret_6m, ret_1y, ret_ytd, 
    ret_incep, sharperatio_incep, sharperatio_1y, sharperatio_2y, sharperatio_3y, sharperatio_4y, 
    sharperatio_5y, stddev_1y, stddev_2y, stddev_3y, stddev_4y, stddev_5y, stddev_incep, 
    maxdrawdown_1y, maxdrawdown_2y, maxdrawdown_3y, maxdrawdown_4y, maxdrawdown_5y, maxdrawdown_incep
张亚辉's avatar
张亚辉 committed
111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139
  </sql>
  <select id="selectByExample" parameterType="com.tanpu.fund.entity.generator.FundInfoPerformanceExample" resultMap="BaseResultMap">
    <!--@mbg.generated-->
    select
    <if test="distinct">
      distinct
    </if>
    <include refid="Base_Column_List" />
    from fund_info_performance
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
    <if test="orderByClause != null">
      order by ${orderByClause}
    </if>
  </select>
  <delete id="deleteByExample" parameterType="com.tanpu.fund.entity.generator.FundInfoPerformanceExample">
    <!--@mbg.generated-->
    delete from fund_info_performance
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
  </delete>
  <insert id="insert" parameterType="com.tanpu.fund.entity.generator.FundInfoPerformance">
    <!--@mbg.generated-->
    insert into fund_info_performance (id, fund_name, fund_short_name, 
      risk_level, trust_id, net_nav, 
      cumulative_nav, end_date, price_date, 
      strategy, substrategy, ret_1w, 
zp's avatar
zp committed
140 141 142 143 144 145 146 147 148
      ret_1m, ret_3m, ret_6m, 
      ret_1y, ret_ytd, ret_incep, 
      sharperatio_incep, sharperatio_1y, sharperatio_2y, 
      sharperatio_3y, sharperatio_4y, sharperatio_5y, 
      stddev_1y, stddev_2y, stddev_3y, 
      stddev_4y, stddev_5y, stddev_incep, 
      maxdrawdown_1y, maxdrawdown_2y, maxdrawdown_3y, 
      maxdrawdown_4y, maxdrawdown_5y, maxdrawdown_incep
      )
张亚辉's avatar
张亚辉 committed
149 150 151 152
    values (#{id,jdbcType=VARCHAR}, #{fundName,jdbcType=VARCHAR}, #{fundShortName,jdbcType=VARCHAR}, 
      #{riskLevel,jdbcType=INTEGER}, #{trustId,jdbcType=VARCHAR}, #{netNav,jdbcType=DECIMAL}, 
      #{cumulativeNav,jdbcType=DECIMAL}, #{endDate,jdbcType=DATE}, #{priceDate,jdbcType=DATE}, 
      #{strategy,jdbcType=INTEGER}, #{substrategy,jdbcType=INTEGER}, #{ret1w,jdbcType=DECIMAL}, 
zp's avatar
zp committed
153 154 155 156 157 158 159 160 161
      #{ret1m,jdbcType=DECIMAL}, #{ret3m,jdbcType=DECIMAL}, #{ret6m,jdbcType=DECIMAL}, 
      #{ret1y,jdbcType=DECIMAL}, #{retYtd,jdbcType=DECIMAL}, #{retIncep,jdbcType=DECIMAL}, 
      #{sharperatioIncep,jdbcType=DECIMAL}, #{sharperatio1y,jdbcType=DECIMAL}, #{sharperatio2y,jdbcType=DECIMAL}, 
      #{sharperatio3y,jdbcType=DECIMAL}, #{sharperatio4y,jdbcType=DECIMAL}, #{sharperatio5y,jdbcType=DECIMAL}, 
      #{stddev1y,jdbcType=DECIMAL}, #{stddev2y,jdbcType=DECIMAL}, #{stddev3y,jdbcType=DECIMAL}, 
      #{stddev4y,jdbcType=DECIMAL}, #{stddev5y,jdbcType=DECIMAL}, #{stddevIncep,jdbcType=DECIMAL}, 
      #{maxdrawdown1y,jdbcType=DECIMAL}, #{maxdrawdown2y,jdbcType=DECIMAL}, #{maxdrawdown3y,jdbcType=DECIMAL}, 
      #{maxdrawdown4y,jdbcType=DECIMAL}, #{maxdrawdown5y,jdbcType=DECIMAL}, #{maxdrawdownIncep,jdbcType=DECIMAL}
      )
张亚辉's avatar
张亚辉 committed
162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205
  </insert>
  <insert id="insertSelective" parameterType="com.tanpu.fund.entity.generator.FundInfoPerformance">
    <!--@mbg.generated-->
    insert into fund_info_performance
    <trim prefix="(" suffix=")" suffixOverrides=",">
      <if test="id != null">
        id,
      </if>
      <if test="fundName != null">
        fund_name,
      </if>
      <if test="fundShortName != null">
        fund_short_name,
      </if>
      <if test="riskLevel != null">
        risk_level,
      </if>
      <if test="trustId != null">
        trust_id,
      </if>
      <if test="netNav != null">
        net_nav,
      </if>
      <if test="cumulativeNav != null">
        cumulative_nav,
      </if>
      <if test="endDate != null">
        end_date,
      </if>
      <if test="priceDate != null">
        price_date,
      </if>
      <if test="strategy != null">
        strategy,
      </if>
      <if test="substrategy != null">
        substrategy,
      </if>
      <if test="ret1w != null">
        ret_1w,
      </if>
      <if test="ret1m != null">
        ret_1m,
      </if>
zp's avatar
zp committed
206 207 208
      <if test="ret3m != null">
        ret_3m,
      </if>
张亚辉's avatar
张亚辉 committed
209 210 211 212 213 214
      <if test="ret6m != null">
        ret_6m,
      </if>
      <if test="ret1y != null">
        ret_1y,
      </if>
zp's avatar
zp committed
215 216 217
      <if test="retYtd != null">
        ret_ytd,
      </if>
张亚辉's avatar
张亚辉 committed
218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315
      <if test="retIncep != null">
        ret_incep,
      </if>
      <if test="sharperatioIncep != null">
        sharperatio_incep,
      </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="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="stddevIncep != null">
        stddev_incep,
      </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="maxdrawdownIncep != null">
        maxdrawdown_incep,
      </if>
    </trim>
    <trim prefix="values (" suffix=")" suffixOverrides=",">
      <if test="id != null">
        #{id,jdbcType=VARCHAR},
      </if>
      <if test="fundName != null">
        #{fundName,jdbcType=VARCHAR},
      </if>
      <if test="fundShortName != null">
        #{fundShortName,jdbcType=VARCHAR},
      </if>
      <if test="riskLevel != null">
        #{riskLevel,jdbcType=INTEGER},
      </if>
      <if test="trustId != null">
        #{trustId,jdbcType=VARCHAR},
      </if>
      <if test="netNav != null">
        #{netNav,jdbcType=DECIMAL},
      </if>
      <if test="cumulativeNav != null">
        #{cumulativeNav,jdbcType=DECIMAL},
      </if>
      <if test="endDate != null">
        #{endDate,jdbcType=DATE},
      </if>
      <if test="priceDate != null">
        #{priceDate,jdbcType=DATE},
      </if>
      <if test="strategy != null">
        #{strategy,jdbcType=INTEGER},
      </if>
      <if test="substrategy != null">
        #{substrategy,jdbcType=INTEGER},
      </if>
      <if test="ret1w != null">
        #{ret1w,jdbcType=DECIMAL},
      </if>
      <if test="ret1m != null">
        #{ret1m,jdbcType=DECIMAL},
      </if>
zp's avatar
zp committed
316 317 318
      <if test="ret3m != null">
        #{ret3m,jdbcType=DECIMAL},
      </if>
张亚辉's avatar
张亚辉 committed
319 320 321 322 323 324
      <if test="ret6m != null">
        #{ret6m,jdbcType=DECIMAL},
      </if>
      <if test="ret1y != null">
        #{ret1y,jdbcType=DECIMAL},
      </if>
zp's avatar
zp committed
325 326 327
      <if test="retYtd != null">
        #{retYtd,jdbcType=DECIMAL},
      </if>
张亚辉's avatar
张亚辉 committed
328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436
      <if test="retIncep != null">
        #{retIncep,jdbcType=DECIMAL},
      </if>
      <if test="sharperatioIncep != null">
        #{sharperatioIncep,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="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="stddevIncep != null">
        #{stddevIncep,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="maxdrawdownIncep != null">
        #{maxdrawdownIncep,jdbcType=DECIMAL},
      </if>
    </trim>
  </insert>
  <select id="countByExample" parameterType="com.tanpu.fund.entity.generator.FundInfoPerformanceExample" resultType="java.lang.Long">
    <!--@mbg.generated-->
    select count(*) from fund_info_performance
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
  </select>
  <update id="updateByExampleSelective" parameterType="map">
    <!--@mbg.generated-->
    update fund_info_performance
    <set>
      <if test="record.id != null">
        id = #{record.id,jdbcType=VARCHAR},
      </if>
      <if test="record.fundName != null">
        fund_name = #{record.fundName,jdbcType=VARCHAR},
      </if>
      <if test="record.fundShortName != null">
        fund_short_name = #{record.fundShortName,jdbcType=VARCHAR},
      </if>
      <if test="record.riskLevel != null">
        risk_level = #{record.riskLevel,jdbcType=INTEGER},
      </if>
      <if test="record.trustId != null">
        trust_id = #{record.trustId,jdbcType=VARCHAR},
      </if>
      <if test="record.netNav != null">
        net_nav = #{record.netNav,jdbcType=DECIMAL},
      </if>
      <if test="record.cumulativeNav != null">
        cumulative_nav = #{record.cumulativeNav,jdbcType=DECIMAL},
      </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.strategy != null">
        strategy = #{record.strategy,jdbcType=INTEGER},
      </if>
      <if test="record.substrategy != null">
        substrategy = #{record.substrategy,jdbcType=INTEGER},
      </if>
      <if test="record.ret1w != null">
        ret_1w = #{record.ret1w,jdbcType=DECIMAL},
      </if>
      <if test="record.ret1m != null">
        ret_1m = #{record.ret1m,jdbcType=DECIMAL},
      </if>
zp's avatar
zp committed
437 438 439
      <if test="record.ret3m != null">
        ret_3m = #{record.ret3m,jdbcType=DECIMAL},
      </if>
张亚辉's avatar
张亚辉 committed
440 441 442 443 444 445
      <if test="record.ret6m != null">
        ret_6m = #{record.ret6m,jdbcType=DECIMAL},
      </if>
      <if test="record.ret1y != null">
        ret_1y = #{record.ret1y,jdbcType=DECIMAL},
      </if>
zp's avatar
zp committed
446 447 448
      <if test="record.retYtd != null">
        ret_ytd = #{record.retYtd,jdbcType=DECIMAL},
      </if>
张亚辉's avatar
张亚辉 committed
449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526
      <if test="record.retIncep != null">
        ret_incep = #{record.retIncep,jdbcType=DECIMAL},
      </if>
      <if test="record.sharperatioIncep != null">
        sharperatio_incep = #{record.sharperatioIncep,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.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.stddevIncep != null">
        stddev_incep = #{record.stddevIncep,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.maxdrawdownIncep != null">
        maxdrawdown_incep = #{record.maxdrawdownIncep,jdbcType=DECIMAL},
      </if>
    </set>
    <if test="_parameter != null">
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByExample" parameterType="map">
    <!--@mbg.generated-->
    update fund_info_performance
    set id = #{record.id,jdbcType=VARCHAR},
      fund_name = #{record.fundName,jdbcType=VARCHAR},
      fund_short_name = #{record.fundShortName,jdbcType=VARCHAR},
      risk_level = #{record.riskLevel,jdbcType=INTEGER},
      trust_id = #{record.trustId,jdbcType=VARCHAR},
      net_nav = #{record.netNav,jdbcType=DECIMAL},
      cumulative_nav = #{record.cumulativeNav,jdbcType=DECIMAL},
      end_date = #{record.endDate,jdbcType=DATE},
      price_date = #{record.priceDate,jdbcType=DATE},
      strategy = #{record.strategy,jdbcType=INTEGER},
      substrategy = #{record.substrategy,jdbcType=INTEGER},
      ret_1w = #{record.ret1w,jdbcType=DECIMAL},
      ret_1m = #{record.ret1m,jdbcType=DECIMAL},
zp's avatar
zp committed
527
      ret_3m = #{record.ret3m,jdbcType=DECIMAL},
张亚辉's avatar
张亚辉 committed
528 529
      ret_6m = #{record.ret6m,jdbcType=DECIMAL},
      ret_1y = #{record.ret1y,jdbcType=DECIMAL},
zp's avatar
zp committed
530
      ret_ytd = #{record.retYtd,jdbcType=DECIMAL},
张亚辉's avatar
张亚辉 committed
531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557
      ret_incep = #{record.retIncep,jdbcType=DECIMAL},
      sharperatio_incep = #{record.sharperatioIncep,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},
      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_incep = #{record.stddevIncep,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_incep = #{record.maxdrawdownIncep,jdbcType=DECIMAL}
    <if test="_parameter != null">
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <insert id="batchInsert" parameterType="map">
    <!--@mbg.generated-->
    insert into fund_info_performance
    (id, fund_name, fund_short_name, risk_level, trust_id, net_nav, cumulative_nav, end_date, 
zp's avatar
zp committed
558 559 560 561 562
      price_date, strategy, substrategy, ret_1w, ret_1m, ret_3m, ret_6m, ret_1y, ret_ytd, 
      ret_incep, sharperatio_incep, sharperatio_1y, sharperatio_2y, sharperatio_3y, sharperatio_4y, 
      sharperatio_5y, stddev_1y, stddev_2y, stddev_3y, stddev_4y, stddev_5y, stddev_incep, 
      maxdrawdown_1y, maxdrawdown_2y, maxdrawdown_3y, maxdrawdown_4y, maxdrawdown_5y, 
      maxdrawdown_incep)
张亚辉's avatar
张亚辉 committed
563 564 565 566 567 568
    values
    <foreach collection="list" item="item" separator=",">
      (#{item.id,jdbcType=VARCHAR}, #{item.fundName,jdbcType=VARCHAR}, #{item.fundShortName,jdbcType=VARCHAR}, 
        #{item.riskLevel,jdbcType=INTEGER}, #{item.trustId,jdbcType=VARCHAR}, #{item.netNav,jdbcType=DECIMAL}, 
        #{item.cumulativeNav,jdbcType=DECIMAL}, #{item.endDate,jdbcType=DATE}, #{item.priceDate,jdbcType=DATE}, 
        #{item.strategy,jdbcType=INTEGER}, #{item.substrategy,jdbcType=INTEGER}, #{item.ret1w,jdbcType=DECIMAL}, 
zp's avatar
zp committed
569 570 571
        #{item.ret1m,jdbcType=DECIMAL}, #{item.ret3m,jdbcType=DECIMAL}, #{item.ret6m,jdbcType=DECIMAL}, 
        #{item.ret1y,jdbcType=DECIMAL}, #{item.retYtd,jdbcType=DECIMAL}, #{item.retIncep,jdbcType=DECIMAL}, 
        #{item.sharperatioIncep,jdbcType=DECIMAL}, #{item.sharperatio1y,jdbcType=DECIMAL}, 
张亚辉's avatar
张亚辉 committed
572 573 574 575 576 577 578 579 580 581 582 583 584 585
        #{item.sharperatio2y,jdbcType=DECIMAL}, #{item.sharperatio3y,jdbcType=DECIMAL}, 
        #{item.sharperatio4y,jdbcType=DECIMAL}, #{item.sharperatio5y,jdbcType=DECIMAL}, 
        #{item.stddev1y,jdbcType=DECIMAL}, #{item.stddev2y,jdbcType=DECIMAL}, #{item.stddev3y,jdbcType=DECIMAL}, 
        #{item.stddev4y,jdbcType=DECIMAL}, #{item.stddev5y,jdbcType=DECIMAL}, #{item.stddevIncep,jdbcType=DECIMAL}, 
        #{item.maxdrawdown1y,jdbcType=DECIMAL}, #{item.maxdrawdown2y,jdbcType=DECIMAL}, 
        #{item.maxdrawdown3y,jdbcType=DECIMAL}, #{item.maxdrawdown4y,jdbcType=DECIMAL}, 
        #{item.maxdrawdown5y,jdbcType=DECIMAL}, #{item.maxdrawdownIncep,jdbcType=DECIMAL}
        )
    </foreach>
  </insert>
  <insert id="insertOrUpdate" parameterType="com.tanpu.fund.entity.generator.FundInfoPerformance">
    <!--@mbg.generated-->
    insert into fund_info_performance
    (id, fund_name, fund_short_name, risk_level, trust_id, net_nav, cumulative_nav, end_date, 
zp's avatar
zp committed
586 587 588 589 590
      price_date, strategy, substrategy, ret_1w, ret_1m, ret_3m, ret_6m, ret_1y, ret_ytd, 
      ret_incep, sharperatio_incep, sharperatio_1y, sharperatio_2y, sharperatio_3y, sharperatio_4y, 
      sharperatio_5y, stddev_1y, stddev_2y, stddev_3y, stddev_4y, stddev_5y, stddev_incep, 
      maxdrawdown_1y, maxdrawdown_2y, maxdrawdown_3y, maxdrawdown_4y, maxdrawdown_5y, 
      maxdrawdown_incep)
张亚辉's avatar
张亚辉 committed
591 592 593 594 595
    values
    (#{id,jdbcType=VARCHAR}, #{fundName,jdbcType=VARCHAR}, #{fundShortName,jdbcType=VARCHAR}, 
      #{riskLevel,jdbcType=INTEGER}, #{trustId,jdbcType=VARCHAR}, #{netNav,jdbcType=DECIMAL}, 
      #{cumulativeNav,jdbcType=DECIMAL}, #{endDate,jdbcType=DATE}, #{priceDate,jdbcType=DATE}, 
      #{strategy,jdbcType=INTEGER}, #{substrategy,jdbcType=INTEGER}, #{ret1w,jdbcType=DECIMAL}, 
zp's avatar
zp committed
596 597 598 599 600 601 602 603 604
      #{ret1m,jdbcType=DECIMAL}, #{ret3m,jdbcType=DECIMAL}, #{ret6m,jdbcType=DECIMAL}, 
      #{ret1y,jdbcType=DECIMAL}, #{retYtd,jdbcType=DECIMAL}, #{retIncep,jdbcType=DECIMAL}, 
      #{sharperatioIncep,jdbcType=DECIMAL}, #{sharperatio1y,jdbcType=DECIMAL}, #{sharperatio2y,jdbcType=DECIMAL}, 
      #{sharperatio3y,jdbcType=DECIMAL}, #{sharperatio4y,jdbcType=DECIMAL}, #{sharperatio5y,jdbcType=DECIMAL}, 
      #{stddev1y,jdbcType=DECIMAL}, #{stddev2y,jdbcType=DECIMAL}, #{stddev3y,jdbcType=DECIMAL}, 
      #{stddev4y,jdbcType=DECIMAL}, #{stddev5y,jdbcType=DECIMAL}, #{stddevIncep,jdbcType=DECIMAL}, 
      #{maxdrawdown1y,jdbcType=DECIMAL}, #{maxdrawdown2y,jdbcType=DECIMAL}, #{maxdrawdown3y,jdbcType=DECIMAL}, 
      #{maxdrawdown4y,jdbcType=DECIMAL}, #{maxdrawdown5y,jdbcType=DECIMAL}, #{maxdrawdownIncep,jdbcType=DECIMAL}
      )
张亚辉's avatar
张亚辉 committed
605 606 607 608 609 610 611 612 613 614 615 616 617 618
    on duplicate key update 
    id = #{id,jdbcType=VARCHAR}, 
    fund_name = #{fundName,jdbcType=VARCHAR}, 
    fund_short_name = #{fundShortName,jdbcType=VARCHAR}, 
    risk_level = #{riskLevel,jdbcType=INTEGER}, 
    trust_id = #{trustId,jdbcType=VARCHAR}, 
    net_nav = #{netNav,jdbcType=DECIMAL}, 
    cumulative_nav = #{cumulativeNav,jdbcType=DECIMAL}, 
    end_date = #{endDate,jdbcType=DATE}, 
    price_date = #{priceDate,jdbcType=DATE}, 
    strategy = #{strategy,jdbcType=INTEGER}, 
    substrategy = #{substrategy,jdbcType=INTEGER}, 
    ret_1w = #{ret1w,jdbcType=DECIMAL}, 
    ret_1m = #{ret1m,jdbcType=DECIMAL}, 
zp's avatar
zp committed
619
    ret_3m = #{ret3m,jdbcType=DECIMAL}, 
张亚辉's avatar
张亚辉 committed
620 621
    ret_6m = #{ret6m,jdbcType=DECIMAL}, 
    ret_1y = #{ret1y,jdbcType=DECIMAL}, 
zp's avatar
zp committed
622
    ret_ytd = #{retYtd,jdbcType=DECIMAL}, 
张亚辉's avatar
张亚辉 committed
623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685
    ret_incep = #{retIncep,jdbcType=DECIMAL}, 
    sharperatio_incep = #{sharperatioIncep,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}, 
    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_incep = #{stddevIncep,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_incep = #{maxdrawdownIncep,jdbcType=DECIMAL}
  </insert>
  <insert id="insertOrUpdateSelective" parameterType="com.tanpu.fund.entity.generator.FundInfoPerformance">
    <!--@mbg.generated-->
    insert into fund_info_performance
    <trim prefix="(" suffix=")" suffixOverrides=",">
      <if test="id != null">
        id,
      </if>
      <if test="fundName != null">
        fund_name,
      </if>
      <if test="fundShortName != null">
        fund_short_name,
      </if>
      <if test="riskLevel != null">
        risk_level,
      </if>
      <if test="trustId != null">
        trust_id,
      </if>
      <if test="netNav != null">
        net_nav,
      </if>
      <if test="cumulativeNav != null">
        cumulative_nav,
      </if>
      <if test="endDate != null">
        end_date,
      </if>
      <if test="priceDate != null">
        price_date,
      </if>
      <if test="strategy != null">
        strategy,
      </if>
      <if test="substrategy != null">
        substrategy,
      </if>
      <if test="ret1w != null">
        ret_1w,
      </if>
      <if test="ret1m != null">
        ret_1m,
      </if>
zp's avatar
zp committed
686 687 688
      <if test="ret3m != null">
        ret_3m,
      </if>
张亚辉's avatar
张亚辉 committed
689 690 691 692 693 694
      <if test="ret6m != null">
        ret_6m,
      </if>
      <if test="ret1y != null">
        ret_1y,
      </if>
zp's avatar
zp committed
695 696 697
      <if test="retYtd != null">
        ret_ytd,
      </if>
张亚辉's avatar
张亚辉 committed
698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796
      <if test="retIncep != null">
        ret_incep,
      </if>
      <if test="sharperatioIncep != null">
        sharperatio_incep,
      </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="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="stddevIncep != null">
        stddev_incep,
      </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="maxdrawdownIncep != null">
        maxdrawdown_incep,
      </if>
    </trim>
    values
    <trim prefix="(" suffix=")" suffixOverrides=",">
      <if test="id != null">
        #{id,jdbcType=VARCHAR},
      </if>
      <if test="fundName != null">
        #{fundName,jdbcType=VARCHAR},
      </if>
      <if test="fundShortName != null">
        #{fundShortName,jdbcType=VARCHAR},
      </if>
      <if test="riskLevel != null">
        #{riskLevel,jdbcType=INTEGER},
      </if>
      <if test="trustId != null">
        #{trustId,jdbcType=VARCHAR},
      </if>
      <if test="netNav != null">
        #{netNav,jdbcType=DECIMAL},
      </if>
      <if test="cumulativeNav != null">
        #{cumulativeNav,jdbcType=DECIMAL},
      </if>
      <if test="endDate != null">
        #{endDate,jdbcType=DATE},
      </if>
      <if test="priceDate != null">
        #{priceDate,jdbcType=DATE},
      </if>
      <if test="strategy != null">
        #{strategy,jdbcType=INTEGER},
      </if>
      <if test="substrategy != null">
        #{substrategy,jdbcType=INTEGER},
      </if>
      <if test="ret1w != null">
        #{ret1w,jdbcType=DECIMAL},
      </if>
      <if test="ret1m != null">
        #{ret1m,jdbcType=DECIMAL},
      </if>
zp's avatar
zp committed
797 798 799
      <if test="ret3m != null">
        #{ret3m,jdbcType=DECIMAL},
      </if>
张亚辉's avatar
张亚辉 committed
800 801 802 803 804 805
      <if test="ret6m != null">
        #{ret6m,jdbcType=DECIMAL},
      </if>
      <if test="ret1y != null">
        #{ret1y,jdbcType=DECIMAL},
      </if>
zp's avatar
zp committed
806 807 808
      <if test="retYtd != null">
        #{retYtd,jdbcType=DECIMAL},
      </if>
张亚辉's avatar
张亚辉 committed
809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907
      <if test="retIncep != null">
        #{retIncep,jdbcType=DECIMAL},
      </if>
      <if test="sharperatioIncep != null">
        #{sharperatioIncep,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="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="stddevIncep != null">
        #{stddevIncep,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="maxdrawdownIncep != null">
        #{maxdrawdownIncep,jdbcType=DECIMAL},
      </if>
    </trim>
    on duplicate key update 
    <trim suffixOverrides=",">
      <if test="id != null">
        id = #{id,jdbcType=VARCHAR},
      </if>
      <if test="fundName != null">
        fund_name = #{fundName,jdbcType=VARCHAR},
      </if>
      <if test="fundShortName != null">
        fund_short_name = #{fundShortName,jdbcType=VARCHAR},
      </if>
      <if test="riskLevel != null">
        risk_level = #{riskLevel,jdbcType=INTEGER},
      </if>
      <if test="trustId != null">
        trust_id = #{trustId,jdbcType=VARCHAR},
      </if>
      <if test="netNav != null">
        net_nav = #{netNav,jdbcType=DECIMAL},
      </if>
      <if test="cumulativeNav != null">
        cumulative_nav = #{cumulativeNav,jdbcType=DECIMAL},
      </if>
      <if test="endDate != null">
        end_date = #{endDate,jdbcType=DATE},
      </if>
      <if test="priceDate != null">
        price_date = #{priceDate,jdbcType=DATE},
      </if>
      <if test="strategy != null">
        strategy = #{strategy,jdbcType=INTEGER},
      </if>
      <if test="substrategy != null">
        substrategy = #{substrategy,jdbcType=INTEGER},
      </if>
      <if test="ret1w != null">
        ret_1w = #{ret1w,jdbcType=DECIMAL},
      </if>
      <if test="ret1m != null">
        ret_1m = #{ret1m,jdbcType=DECIMAL},
      </if>
zp's avatar
zp committed
908 909 910
      <if test="ret3m != null">
        ret_3m = #{ret3m,jdbcType=DECIMAL},
      </if>
张亚辉's avatar
张亚辉 committed
911 912 913 914 915 916
      <if test="ret6m != null">
        ret_6m = #{ret6m,jdbcType=DECIMAL},
      </if>
      <if test="ret1y != null">
        ret_1y = #{ret1y,jdbcType=DECIMAL},
      </if>
zp's avatar
zp committed
917 918 919
      <if test="retYtd != null">
        ret_ytd = #{retYtd,jdbcType=DECIMAL},
      </if>
张亚辉's avatar
张亚辉 committed
920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979
      <if test="retIncep != null">
        ret_incep = #{retIncep,jdbcType=DECIMAL},
      </if>
      <if test="sharperatioIncep != null">
        sharperatio_incep = #{sharperatioIncep,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="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="stddevIncep != null">
        stddev_incep = #{stddevIncep,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="maxdrawdownIncep != null">
        maxdrawdown_incep = #{maxdrawdownIncep,jdbcType=DECIMAL},
      </if>
    </trim>
  </insert>
</mapper>