<?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.FundCountMapper"> <resultMap id="BaseResultMap" type="com.tanpu.fund.entity.generator.FundCount"> <!--@mbg.generated--> <!--@Table tamp_fund.fund_count--> <id column="id" jdbcType="VARCHAR" property="id" /> <result column="fund_id" jdbcType="VARCHAR" property="fundId" /> <result column="strategy" jdbcType="INTEGER" property="strategy" /> <result column="substrategy" jdbcType="INTEGER" property="substrategy" /> <result column="inception_date" jdbcType="DATE" property="inceptionDate" /> <result column="type" jdbcType="INTEGER" property="type" /> <result column="end_date" jdbcType="DATE" property="endDate" /> <result column="price_date" jdbcType="DATE" property="priceDate" /> <result column="net_nav" jdbcType="DECIMAL" property="netNav" /> <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_1m" jdbcType="DECIMAL" property="sharperatio1m" /> <result column="sharperatio_3m" jdbcType="DECIMAL" property="sharperatio3m" /> <result column="sharperatio_6m" jdbcType="DECIMAL" property="sharperatio6m" /> <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_ytd" jdbcType="DECIMAL" property="sharperatioYtd" /> <result column="sharperatio_incep" jdbcType="DECIMAL" property="sharperatioIncep" /> <result column="stddev_1m" jdbcType="DECIMAL" property="stddev1m" /> <result column="stddev_3m" jdbcType="DECIMAL" property="stddev3m" /> <result column="stddev_6m" jdbcType="DECIMAL" property="stddev6m" /> <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="maxdrawdown_1m" jdbcType="DECIMAL" property="maxdrawdown1m" /> <result column="maxdrawdown_3m" jdbcType="DECIMAL" property="maxdrawdown3m" /> <result column="maxdrawdown_6m" jdbcType="DECIMAL" property="maxdrawdown6m" /> <result column="maxdrawdown_ytd" jdbcType="DECIMAL" property="maxdrawdownYtd" /> <result column="data_sources" jdbcType="INTEGER" property="dataSources" /> <result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> <result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> <result column="status" jdbcType="INTEGER" property="status" /> <result column="sort" jdbcType="INTEGER" property="sort" /> <result column="delete_tag" jdbcType="INTEGER" property="deleteTag" /> <result column="calmar_ratio" jdbcType="DECIMAL" property="calmarRatio" /> <result column="alpha" jdbcType="DECIMAL" property="alpha" /> <result column="beta" jdbcType="DECIMAL" property="beta" /> <result column="win_rate" jdbcType="DECIMAL" property="winRate" /> <result column="calmar_ratio_1m" jdbcType="DECIMAL" property="calmarRatio1m" /> <result column="calmar_ratio_3m" jdbcType="DECIMAL" property="calmarRatio3m" /> <result column="calmar_ratio_6m" jdbcType="DECIMAL" property="calmarRatio6m" /> <result column="calmar_ratio_1y" jdbcType="DECIMAL" property="calmarRatio1y" /> <result column="calmar_ratio_2y" jdbcType="DECIMAL" property="calmarRatio2y" /> <result column="calmar_ratio_3y" jdbcType="DECIMAL" property="calmarRatio3y" /> <result column="calmar_ratio_5y" jdbcType="DECIMAL" property="calmarRatio5y" /> <result column="calmar_ratio_incep" jdbcType="DECIMAL" property="calmarRatioIncep" /> <result column="calmar_ratio_ytd" jdbcType="DECIMAL" property="calmarRatioYtd" /> <result column="sortino_ratio_1m" jdbcType="DECIMAL" property="sortinoRatio1m" /> <result column="sortino_ratio_3m" jdbcType="DECIMAL" property="sortinoRatio3m" /> <result column="sortino_ratio_6m" jdbcType="DECIMAL" property="sortinoRatio6m" /> <result column="sortino_ratio_1y" jdbcType="DECIMAL" property="sortinoRatio1y" /> <result column="sortino_ratio_2y" jdbcType="DECIMAL" property="sortinoRatio2y" /> <result column="sortino_ratio_3y" jdbcType="DECIMAL" property="sortinoRatio3y" /> <result column="sortino_ratio_5y" jdbcType="DECIMAL" property="sortinoRatio5y" /> <result column="sortino_ratio_incep" jdbcType="DECIMAL" property="sortinoRatioIncep" /> <result column="sortino_ratio_ytd" jdbcType="DECIMAL" property="sortinoRatioYtd" /> <result column="alpha_1m" jdbcType="DECIMAL" property="alpha1m" /> <result column="alpha_3m" jdbcType="DECIMAL" property="alpha3m" /> <result column="alpha_6m" jdbcType="DECIMAL" property="alpha6m" /> <result column="alpha_1y" jdbcType="DECIMAL" property="alpha1y" /> <result column="alpha_2y" jdbcType="DECIMAL" property="alpha2y" /> <result column="alpha_3y" jdbcType="DECIMAL" property="alpha3y" /> <result column="alpha_5y" jdbcType="DECIMAL" property="alpha5y" /> <result column="alpha_incep" jdbcType="DECIMAL" property="alphaIncep" /> <result column="alpha_ytd" jdbcType="DECIMAL" property="alphaYtd" /> <result column="beta_1m" jdbcType="DECIMAL" property="beta1m" /> <result column="beta_3m" jdbcType="DECIMAL" property="beta3m" /> <result column="beta_6m" jdbcType="DECIMAL" property="beta6m" /> <result column="beta_1y" jdbcType="DECIMAL" property="beta1y" /> <result column="beta_2y" jdbcType="DECIMAL" property="beta2y" /> <result column="beta_3y" jdbcType="DECIMAL" property="beta3y" /> <result column="beta_5y" jdbcType="DECIMAL" property="beta5y" /> <result column="beta_incep" jdbcType="DECIMAL" property="betaIncep" /> <result column="beta_ytd" jdbcType="DECIMAL" property="betaYtd" /> <result column="win_rate_1m" jdbcType="DECIMAL" property="winRate1m" /> <result column="win_rate_3m" jdbcType="DECIMAL" property="winRate3m" /> <result column="win_rate_6m" jdbcType="DECIMAL" property="winRate6m" /> <result column="win_rate_1y" jdbcType="DECIMAL" property="winRate1y" /> <result column="win_rate_2y" jdbcType="DECIMAL" property="winRate2y" /> <result column="win_rate_3y" jdbcType="DECIMAL" property="winRate3y" /> <result column="win_rate_5y" jdbcType="DECIMAL" property="winRate5y" /> <result column="win_rate_incep" jdbcType="DECIMAL" property="winRateIncep" /> <result column="win_rate_ytd" jdbcType="DECIMAL" property="winRateYtd" /> <result column="downside_risk_1m" jdbcType="DECIMAL" property="downsideRisk1m" /> <result column="downside_risk_3m" jdbcType="DECIMAL" property="downsideRisk3m" /> <result column="downside_risk_6m" jdbcType="DECIMAL" property="downsideRisk6m" /> <result column="downside_risk_1y" jdbcType="DECIMAL" property="downsideRisk1y" /> <result column="downside_risk_2y" jdbcType="DECIMAL" property="downsideRisk2y" /> <result column="downside_risk_3y" jdbcType="DECIMAL" property="downsideRisk3y" /> <result column="downside_risk_5y" jdbcType="DECIMAL" property="downsideRisk5y" /> <result column="downside_risk_incep" jdbcType="DECIMAL" property="downsideRiskIncep" /> <result column="downside_risk_ytd" jdbcType="DECIMAL" property="downsideRiskYtd" /> <result column="informational_ratio_1m" jdbcType="DECIMAL" property="informationalRatio1m" /> <result column="informational_ratio_3m" jdbcType="DECIMAL" property="informationalRatio3m" /> <result column="informational_ratio_6m" jdbcType="DECIMAL" property="informationalRatio6m" /> <result column="informational_ratio_1y" jdbcType="DECIMAL" property="informationalRatio1y" /> <result column="informational_ratio_2y" jdbcType="DECIMAL" property="informationalRatio2y" /> <result column="informational_ratio_3y" jdbcType="DECIMAL" property="informationalRatio3y" /> <result column="informational_ratio_5y" jdbcType="DECIMAL" property="informationalRatio5y" /> <result column="informational_ratio_incep" jdbcType="DECIMAL" property="informationalRatioIncep" /> <result column="informational_ratio_ytd" jdbcType="DECIMAL" property="informationalRatioYtd" /> </resultMap> <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.tanpu.fund.entity.generator.FundCount"> <!--@mbg.generated--> <!--@Table tamp_fund.fund_count--> <result column="annual_ret" jdbcType="LONGVARCHAR" property="annualRet" /> <result column="monthly_ret" jdbcType="LONGVARCHAR" property="monthlyRet" /> <result column="annual_maxdrawdown" jdbcType="LONGVARCHAR" property="annualMaxdrawdown" /> </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_id, strategy, substrategy, inception_date, `type`, end_date, price_date, net_nav, 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_1m, sharperatio_3m, sharperatio_6m, sharperatio_1y, sharperatio_2y, sharperatio_3y, sharperatio_4y, sharperatio_5y, sharperatio_ytd, sharperatio_incep, stddev_1m, stddev_3m, stddev_6m, 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, maxdrawdown_1m, maxdrawdown_3m, maxdrawdown_6m, maxdrawdown_ytd, data_sources, update_time, create_time, `status`, sort, delete_tag, calmar_ratio, alpha, beta, win_rate, calmar_ratio_1m, calmar_ratio_3m, calmar_ratio_6m, calmar_ratio_1y, calmar_ratio_2y, calmar_ratio_3y, calmar_ratio_5y, calmar_ratio_incep, calmar_ratio_ytd, sortino_ratio_1m, sortino_ratio_3m, sortino_ratio_6m, sortino_ratio_1y, sortino_ratio_2y, sortino_ratio_3y, sortino_ratio_5y, sortino_ratio_incep, sortino_ratio_ytd, alpha_1m, alpha_3m, alpha_6m, alpha_1y, alpha_2y, alpha_3y, alpha_5y, alpha_incep, alpha_ytd, beta_1m, beta_3m, beta_6m, beta_1y, beta_2y, beta_3y, beta_5y, beta_incep, beta_ytd, win_rate_1m, win_rate_3m, win_rate_6m, win_rate_1y, win_rate_2y, win_rate_3y, win_rate_5y, win_rate_incep, win_rate_ytd, downside_risk_1m, downside_risk_3m, downside_risk_6m, downside_risk_1y, downside_risk_2y, downside_risk_3y, downside_risk_5y, downside_risk_incep, downside_risk_ytd, informational_ratio_1m, informational_ratio_3m, informational_ratio_6m, informational_ratio_1y, informational_ratio_2y, informational_ratio_3y, informational_ratio_5y, informational_ratio_incep, informational_ratio_ytd </sql> <sql id="Blob_Column_List"> <!--@mbg.generated--> annual_ret, monthly_ret, annual_maxdrawdown </sql> <select id="selectByExampleWithBLOBs" parameterType="com.tanpu.fund.entity.generator.FundCountExample" resultMap="ResultMapWithBLOBs"> <!--@mbg.generated--> select <if test="distinct"> distinct </if> <include refid="Base_Column_List" /> , <include refid="Blob_Column_List" /> from tamp_fund.fund_count <if test="_parameter != null"> <include refid="Example_Where_Clause" /> </if> <if test="orderByClause != null"> order by ${orderByClause} </if> </select> <select id="selectByExample" parameterType="com.tanpu.fund.entity.generator.FundCountExample" resultMap="BaseResultMap"> <!--@mbg.generated--> select <if test="distinct"> distinct </if> <include refid="Base_Column_List" /> from tamp_fund.fund_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="ResultMapWithBLOBs"> <!--@mbg.generated--> select <include refid="Base_Column_List" /> , <include refid="Blob_Column_List" /> from tamp_fund.fund_count where id = #{id,jdbcType=VARCHAR} </select> <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> <!--@mbg.generated--> delete from tamp_fund.fund_count where id = #{id,jdbcType=VARCHAR} </delete> <delete id="deleteByExample" parameterType="com.tanpu.fund.entity.generator.FundCountExample"> <!--@mbg.generated--> delete from tamp_fund.fund_count <if test="_parameter != null"> <include refid="Example_Where_Clause" /> </if> </delete> <insert id="insert" parameterType="com.tanpu.fund.entity.generator.FundCount"> <!--@mbg.generated--> insert into tamp_fund.fund_count (id, fund_id, strategy, substrategy, inception_date, `type`, end_date, price_date, net_nav, 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_1m, sharperatio_3m, sharperatio_6m, sharperatio_1y, sharperatio_2y, sharperatio_3y, sharperatio_4y, sharperatio_5y, sharperatio_ytd, sharperatio_incep, stddev_1m, stddev_3m, stddev_6m, 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, maxdrawdown_1m, maxdrawdown_3m, maxdrawdown_6m, maxdrawdown_ytd, data_sources, update_time, create_time, `status`, sort, delete_tag, calmar_ratio, alpha, beta, win_rate, calmar_ratio_1m, calmar_ratio_3m, calmar_ratio_6m, calmar_ratio_1y, calmar_ratio_2y, calmar_ratio_3y, calmar_ratio_5y, calmar_ratio_incep, calmar_ratio_ytd, sortino_ratio_1m, sortino_ratio_3m, sortino_ratio_6m, sortino_ratio_1y, sortino_ratio_2y, sortino_ratio_3y, sortino_ratio_5y, sortino_ratio_incep, sortino_ratio_ytd, alpha_1m, alpha_3m, alpha_6m, alpha_1y, alpha_2y, alpha_3y, alpha_5y, alpha_incep, alpha_ytd, beta_1m, beta_3m, beta_6m, beta_1y, beta_2y, beta_3y, beta_5y, beta_incep, beta_ytd, win_rate_1m, win_rate_3m, win_rate_6m, win_rate_1y, win_rate_2y, win_rate_3y, win_rate_5y, win_rate_incep, win_rate_ytd, downside_risk_1m, downside_risk_3m, downside_risk_6m, downside_risk_1y, downside_risk_2y, downside_risk_3y, downside_risk_5y, downside_risk_incep, downside_risk_ytd, informational_ratio_1m, informational_ratio_3m, informational_ratio_6m, informational_ratio_1y, informational_ratio_2y, informational_ratio_3y, informational_ratio_5y, informational_ratio_incep, informational_ratio_ytd, annual_ret, monthly_ret, annual_maxdrawdown ) values (#{id,jdbcType=VARCHAR}, #{fundId,jdbcType=VARCHAR}, #{strategy,jdbcType=INTEGER}, #{substrategy,jdbcType=INTEGER}, #{inceptionDate,jdbcType=DATE}, #{type,jdbcType=INTEGER}, #{endDate,jdbcType=DATE}, #{priceDate,jdbcType=DATE}, #{netNav,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}, #{sharperatio1m,jdbcType=DECIMAL}, #{sharperatio3m,jdbcType=DECIMAL}, #{sharperatio6m,jdbcType=DECIMAL}, #{sharperatio1y,jdbcType=DECIMAL}, #{sharperatio2y,jdbcType=DECIMAL}, #{sharperatio3y,jdbcType=DECIMAL}, #{sharperatio4y,jdbcType=DECIMAL}, #{sharperatio5y,jdbcType=DECIMAL}, #{sharperatioYtd,jdbcType=DECIMAL}, #{sharperatioIncep,jdbcType=DECIMAL}, #{stddev1m,jdbcType=DECIMAL}, #{stddev3m,jdbcType=DECIMAL}, #{stddev6m,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}, #{maxdrawdown1m,jdbcType=DECIMAL}, #{maxdrawdown3m,jdbcType=DECIMAL}, #{maxdrawdown6m,jdbcType=DECIMAL}, #{maxdrawdownYtd,jdbcType=DECIMAL}, #{dataSources,jdbcType=INTEGER}, #{updateTime,jdbcType=TIMESTAMP}, #{createTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, #{deleteTag,jdbcType=INTEGER}, #{calmarRatio,jdbcType=DECIMAL}, #{alpha,jdbcType=DECIMAL}, #{beta,jdbcType=DECIMAL}, #{winRate,jdbcType=DECIMAL}, #{calmarRatio1m,jdbcType=DECIMAL}, #{calmarRatio3m,jdbcType=DECIMAL}, #{calmarRatio6m,jdbcType=DECIMAL}, #{calmarRatio1y,jdbcType=DECIMAL}, #{calmarRatio2y,jdbcType=DECIMAL}, #{calmarRatio3y,jdbcType=DECIMAL}, #{calmarRatio5y,jdbcType=DECIMAL}, #{calmarRatioIncep,jdbcType=DECIMAL}, #{calmarRatioYtd,jdbcType=DECIMAL}, #{sortinoRatio1m,jdbcType=DECIMAL}, #{sortinoRatio3m,jdbcType=DECIMAL}, #{sortinoRatio6m,jdbcType=DECIMAL}, #{sortinoRatio1y,jdbcType=DECIMAL}, #{sortinoRatio2y,jdbcType=DECIMAL}, #{sortinoRatio3y,jdbcType=DECIMAL}, #{sortinoRatio5y,jdbcType=DECIMAL}, #{sortinoRatioIncep,jdbcType=DECIMAL}, #{sortinoRatioYtd,jdbcType=DECIMAL}, #{alpha1m,jdbcType=DECIMAL}, #{alpha3m,jdbcType=DECIMAL}, #{alpha6m,jdbcType=DECIMAL}, #{alpha1y,jdbcType=DECIMAL}, #{alpha2y,jdbcType=DECIMAL}, #{alpha3y,jdbcType=DECIMAL}, #{alpha5y,jdbcType=DECIMAL}, #{alphaIncep,jdbcType=DECIMAL}, #{alphaYtd,jdbcType=DECIMAL}, #{beta1m,jdbcType=DECIMAL}, #{beta3m,jdbcType=DECIMAL}, #{beta6m,jdbcType=DECIMAL}, #{beta1y,jdbcType=DECIMAL}, #{beta2y,jdbcType=DECIMAL}, #{beta3y,jdbcType=DECIMAL}, #{beta5y,jdbcType=DECIMAL}, #{betaIncep,jdbcType=DECIMAL}, #{betaYtd,jdbcType=DECIMAL}, #{winRate1m,jdbcType=DECIMAL}, #{winRate3m,jdbcType=DECIMAL}, #{winRate6m,jdbcType=DECIMAL}, #{winRate1y,jdbcType=DECIMAL}, #{winRate2y,jdbcType=DECIMAL}, #{winRate3y,jdbcType=DECIMAL}, #{winRate5y,jdbcType=DECIMAL}, #{winRateIncep,jdbcType=DECIMAL}, #{winRateYtd,jdbcType=DECIMAL}, #{downsideRisk1m,jdbcType=DECIMAL}, #{downsideRisk3m,jdbcType=DECIMAL}, #{downsideRisk6m,jdbcType=DECIMAL}, #{downsideRisk1y,jdbcType=DECIMAL}, #{downsideRisk2y,jdbcType=DECIMAL}, #{downsideRisk3y,jdbcType=DECIMAL}, #{downsideRisk5y,jdbcType=DECIMAL}, #{downsideRiskIncep,jdbcType=DECIMAL}, #{downsideRiskYtd,jdbcType=DECIMAL}, #{informationalRatio1m,jdbcType=DECIMAL}, #{informationalRatio3m,jdbcType=DECIMAL}, #{informationalRatio6m,jdbcType=DECIMAL}, #{informationalRatio1y,jdbcType=DECIMAL}, #{informationalRatio2y,jdbcType=DECIMAL}, #{informationalRatio3y,jdbcType=DECIMAL}, #{informationalRatio5y,jdbcType=DECIMAL}, #{informationalRatioIncep,jdbcType=DECIMAL}, #{informationalRatioYtd,jdbcType=DECIMAL}, #{annualRet,jdbcType=LONGVARCHAR}, #{monthlyRet,jdbcType=LONGVARCHAR}, #{annualMaxdrawdown,jdbcType=LONGVARCHAR} ) </insert> <insert id="insertSelective" parameterType="com.tanpu.fund.entity.generator.FundCount"> <!--@mbg.generated--> insert into tamp_fund.fund_count <trim prefix="(" suffix=")" suffixOverrides=","> <if test="id != null"> id, </if> <if test="fundId != null"> fund_id, </if> <if test="strategy != null"> strategy, </if> <if test="substrategy != null"> substrategy, </if> <if test="inceptionDate != null"> inception_date, </if> <if test="type != null"> `type`, </if> <if test="endDate != null"> end_date, </if> <if test="priceDate != null"> price_date, </if> <if test="netNav != null"> net_nav, </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="sharperatio1m != null"> sharperatio_1m, </if> <if test="sharperatio3m != null"> sharperatio_3m, </if> <if test="sharperatio6m != null"> sharperatio_6m, </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="sharperatioYtd != null"> sharperatio_ytd, </if> <if test="sharperatioIncep != null"> sharperatio_incep, </if> <if test="stddev1m != null"> stddev_1m, </if> <if test="stddev3m != null"> stddev_3m, </if> <if test="stddev6m != null"> stddev_6m, </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="maxdrawdown1m != null"> maxdrawdown_1m, </if> <if test="maxdrawdown3m != null"> maxdrawdown_3m, </if> <if test="maxdrawdown6m != null"> maxdrawdown_6m, </if> <if test="maxdrawdownYtd != null"> maxdrawdown_ytd, </if> <if test="dataSources != null"> data_sources, </if> <if test="updateTime != null"> update_time, </if> <if test="createTime != null"> create_time, </if> <if test="status != null"> `status`, </if> <if test="sort != null"> sort, </if> <if test="deleteTag != null"> delete_tag, </if> <if test="calmarRatio != null"> calmar_ratio, </if> <if test="alpha != null"> alpha, </if> <if test="beta != null"> beta, </if> <if test="winRate != null"> win_rate, </if> <if test="calmarRatio1m != null"> calmar_ratio_1m, </if> <if test="calmarRatio3m != null"> calmar_ratio_3m, </if> <if test="calmarRatio6m != null"> calmar_ratio_6m, </if> <if test="calmarRatio1y != null"> calmar_ratio_1y, </if> <if test="calmarRatio2y != null"> calmar_ratio_2y, </if> <if test="calmarRatio3y != null"> calmar_ratio_3y, </if> <if test="calmarRatio5y != null"> calmar_ratio_5y, </if> <if test="calmarRatioIncep != null"> calmar_ratio_incep, </if> <if test="calmarRatioYtd != null"> calmar_ratio_ytd, </if> <if test="sortinoRatio1m != null"> sortino_ratio_1m, </if> <if test="sortinoRatio3m != null"> sortino_ratio_3m, </if> <if test="sortinoRatio6m != null"> sortino_ratio_6m, </if> <if test="sortinoRatio1y != null"> sortino_ratio_1y, </if> <if test="sortinoRatio2y != null"> sortino_ratio_2y, </if> <if test="sortinoRatio3y != null"> sortino_ratio_3y, </if> <if test="sortinoRatio5y != null"> sortino_ratio_5y, </if> <if test="sortinoRatioIncep != null"> sortino_ratio_incep, </if> <if test="sortinoRatioYtd != null"> sortino_ratio_ytd, </if> <if test="alpha1m != null"> alpha_1m, </if> <if test="alpha3m != null"> alpha_3m, </if> <if test="alpha6m != null"> alpha_6m, </if> <if test="alpha1y != null"> alpha_1y, </if> <if test="alpha2y != null"> alpha_2y, </if> <if test="alpha3y != null"> alpha_3y, </if> <if test="alpha5y != null"> alpha_5y, </if> <if test="alphaIncep != null"> alpha_incep, </if> <if test="alphaYtd != null"> alpha_ytd, </if> <if test="beta1m != null"> beta_1m, </if> <if test="beta3m != null"> beta_3m, </if> <if test="beta6m != null"> beta_6m, </if> <if test="beta1y != null"> beta_1y, </if> <if test="beta2y != null"> beta_2y, </if> <if test="beta3y != null"> beta_3y, </if> <if test="beta5y != null"> beta_5y, </if> <if test="betaIncep != null"> beta_incep, </if> <if test="betaYtd != null"> beta_ytd, </if> <if test="winRate1m != null"> win_rate_1m, </if> <if test="winRate3m != null"> win_rate_3m, </if> <if test="winRate6m != null"> win_rate_6m, </if> <if test="winRate1y != null"> win_rate_1y, </if> <if test="winRate2y != null"> win_rate_2y, </if> <if test="winRate3y != null"> win_rate_3y, </if> <if test="winRate5y != null"> win_rate_5y, </if> <if test="winRateIncep != null"> win_rate_incep, </if> <if test="winRateYtd != null"> win_rate_ytd, </if> <if test="downsideRisk1m != null"> downside_risk_1m, </if> <if test="downsideRisk3m != null"> downside_risk_3m, </if> <if test="downsideRisk6m != null"> downside_risk_6m, </if> <if test="downsideRisk1y != null"> downside_risk_1y, </if> <if test="downsideRisk2y != null"> downside_risk_2y, </if> <if test="downsideRisk3y != null"> downside_risk_3y, </if> <if test="downsideRisk5y != null"> downside_risk_5y, </if> <if test="downsideRiskIncep != null"> downside_risk_incep, </if> <if test="downsideRiskYtd != null"> downside_risk_ytd, </if> <if test="informationalRatio1m != null"> informational_ratio_1m, </if> <if test="informationalRatio3m != null"> informational_ratio_3m, </if> <if test="informationalRatio6m != null"> informational_ratio_6m, </if> <if test="informationalRatio1y != null"> informational_ratio_1y, </if> <if test="informationalRatio2y != null"> informational_ratio_2y, </if> <if test="informationalRatio3y != null"> informational_ratio_3y, </if> <if test="informationalRatio5y != null"> informational_ratio_5y, </if> <if test="informationalRatioIncep != null"> informational_ratio_incep, </if> <if test="informationalRatioYtd != null"> informational_ratio_ytd, </if> <if test="annualRet != null"> annual_ret, </if> <if test="monthlyRet != null"> monthly_ret, </if> <if test="annualMaxdrawdown != null"> annual_maxdrawdown, </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="id != null"> #{id,jdbcType=VARCHAR}, </if> <if test="fundId != null"> #{fundId,jdbcType=VARCHAR}, </if> <if test="strategy != null"> #{strategy,jdbcType=INTEGER}, </if> <if test="substrategy != null"> #{substrategy,jdbcType=INTEGER}, </if> <if test="inceptionDate != null"> #{inceptionDate,jdbcType=DATE}, </if> <if test="type != null"> #{type,jdbcType=INTEGER}, </if> <if test="endDate != null"> #{endDate,jdbcType=DATE}, </if> <if test="priceDate != null"> #{priceDate,jdbcType=DATE}, </if> <if test="netNav != null"> #{netNav,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="sharperatio1m != null"> #{sharperatio1m,jdbcType=DECIMAL}, </if> <if test="sharperatio3m != null"> #{sharperatio3m,jdbcType=DECIMAL}, </if> <if test="sharperatio6m != null"> #{sharperatio6m,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="sharperatioYtd != null"> #{sharperatioYtd,jdbcType=DECIMAL}, </if> <if test="sharperatioIncep != null"> #{sharperatioIncep,jdbcType=DECIMAL}, </if> <if test="stddev1m != null"> #{stddev1m,jdbcType=DECIMAL}, </if> <if test="stddev3m != null"> #{stddev3m,jdbcType=DECIMAL}, </if> <if test="stddev6m != null"> #{stddev6m,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="maxdrawdown1m != null"> #{maxdrawdown1m,jdbcType=DECIMAL}, </if> <if test="maxdrawdown3m != null"> #{maxdrawdown3m,jdbcType=DECIMAL}, </if> <if test="maxdrawdown6m != null"> #{maxdrawdown6m,jdbcType=DECIMAL}, </if> <if test="maxdrawdownYtd != null"> #{maxdrawdownYtd,jdbcType=DECIMAL}, </if> <if test="dataSources != null"> #{dataSources,jdbcType=INTEGER}, </if> <if test="updateTime != null"> #{updateTime,jdbcType=TIMESTAMP}, </if> <if test="createTime != null"> #{createTime,jdbcType=TIMESTAMP}, </if> <if test="status != null"> #{status,jdbcType=INTEGER}, </if> <if test="sort != null"> #{sort,jdbcType=INTEGER}, </if> <if test="deleteTag != null"> #{deleteTag,jdbcType=INTEGER}, </if> <if test="calmarRatio != null"> #{calmarRatio,jdbcType=DECIMAL}, </if> <if test="alpha != null"> #{alpha,jdbcType=DECIMAL}, </if> <if test="beta != null"> #{beta,jdbcType=DECIMAL}, </if> <if test="winRate != null"> #{winRate,jdbcType=DECIMAL}, </if> <if test="calmarRatio1m != null"> #{calmarRatio1m,jdbcType=DECIMAL}, </if> <if test="calmarRatio3m != null"> #{calmarRatio3m,jdbcType=DECIMAL}, </if> <if test="calmarRatio6m != null"> #{calmarRatio6m,jdbcType=DECIMAL}, </if> <if test="calmarRatio1y != null"> #{calmarRatio1y,jdbcType=DECIMAL}, </if> <if test="calmarRatio2y != null"> #{calmarRatio2y,jdbcType=DECIMAL}, </if> <if test="calmarRatio3y != null"> #{calmarRatio3y,jdbcType=DECIMAL}, </if> <if test="calmarRatio5y != null"> #{calmarRatio5y,jdbcType=DECIMAL}, </if> <if test="calmarRatioIncep != null"> #{calmarRatioIncep,jdbcType=DECIMAL}, </if> <if test="calmarRatioYtd != null"> #{calmarRatioYtd,jdbcType=DECIMAL}, </if> <if test="sortinoRatio1m != null"> #{sortinoRatio1m,jdbcType=DECIMAL}, </if> <if test="sortinoRatio3m != null"> #{sortinoRatio3m,jdbcType=DECIMAL}, </if> <if test="sortinoRatio6m != null"> #{sortinoRatio6m,jdbcType=DECIMAL}, </if> <if test="sortinoRatio1y != null"> #{sortinoRatio1y,jdbcType=DECIMAL}, </if> <if test="sortinoRatio2y != null"> #{sortinoRatio2y,jdbcType=DECIMAL}, </if> <if test="sortinoRatio3y != null"> #{sortinoRatio3y,jdbcType=DECIMAL}, </if> <if test="sortinoRatio5y != null"> #{sortinoRatio5y,jdbcType=DECIMAL}, </if> <if test="sortinoRatioIncep != null"> #{sortinoRatioIncep,jdbcType=DECIMAL}, </if> <if test="sortinoRatioYtd != null"> #{sortinoRatioYtd,jdbcType=DECIMAL}, </if> <if test="alpha1m != null"> #{alpha1m,jdbcType=DECIMAL}, </if> <if test="alpha3m != null"> #{alpha3m,jdbcType=DECIMAL}, </if> <if test="alpha6m != null"> #{alpha6m,jdbcType=DECIMAL}, </if> <if test="alpha1y != null"> #{alpha1y,jdbcType=DECIMAL}, </if> <if test="alpha2y != null"> #{alpha2y,jdbcType=DECIMAL}, </if> <if test="alpha3y != null"> #{alpha3y,jdbcType=DECIMAL}, </if> <if test="alpha5y != null"> #{alpha5y,jdbcType=DECIMAL}, </if> <if test="alphaIncep != null"> #{alphaIncep,jdbcType=DECIMAL}, </if> <if test="alphaYtd != null"> #{alphaYtd,jdbcType=DECIMAL}, </if> <if test="beta1m != null"> #{beta1m,jdbcType=DECIMAL}, </if> <if test="beta3m != null"> #{beta3m,jdbcType=DECIMAL}, </if> <if test="beta6m != null"> #{beta6m,jdbcType=DECIMAL}, </if> <if test="beta1y != null"> #{beta1y,jdbcType=DECIMAL}, </if> <if test="beta2y != null"> #{beta2y,jdbcType=DECIMAL}, </if> <if test="beta3y != null"> #{beta3y,jdbcType=DECIMAL}, </if> <if test="beta5y != null"> #{beta5y,jdbcType=DECIMAL}, </if> <if test="betaIncep != null"> #{betaIncep,jdbcType=DECIMAL}, </if> <if test="betaYtd != null"> #{betaYtd,jdbcType=DECIMAL}, </if> <if test="winRate1m != null"> #{winRate1m,jdbcType=DECIMAL}, </if> <if test="winRate3m != null"> #{winRate3m,jdbcType=DECIMAL}, </if> <if test="winRate6m != null"> #{winRate6m,jdbcType=DECIMAL}, </if> <if test="winRate1y != null"> #{winRate1y,jdbcType=DECIMAL}, </if> <if test="winRate2y != null"> #{winRate2y,jdbcType=DECIMAL}, </if> <if test="winRate3y != null"> #{winRate3y,jdbcType=DECIMAL}, </if> <if test="winRate5y != null"> #{winRate5y,jdbcType=DECIMAL}, </if> <if test="winRateIncep != null"> #{winRateIncep,jdbcType=DECIMAL}, </if> <if test="winRateYtd != null"> #{winRateYtd,jdbcType=DECIMAL}, </if> <if test="downsideRisk1m != null"> #{downsideRisk1m,jdbcType=DECIMAL}, </if> <if test="downsideRisk3m != null"> #{downsideRisk3m,jdbcType=DECIMAL}, </if> <if test="downsideRisk6m != null"> #{downsideRisk6m,jdbcType=DECIMAL}, </if> <if test="downsideRisk1y != null"> #{downsideRisk1y,jdbcType=DECIMAL}, </if> <if test="downsideRisk2y != null"> #{downsideRisk2y,jdbcType=DECIMAL}, </if> <if test="downsideRisk3y != null"> #{downsideRisk3y,jdbcType=DECIMAL}, </if> <if test="downsideRisk5y != null"> #{downsideRisk5y,jdbcType=DECIMAL}, </if> <if test="downsideRiskIncep != null"> #{downsideRiskIncep,jdbcType=DECIMAL}, </if> <if test="downsideRiskYtd != null"> #{downsideRiskYtd,jdbcType=DECIMAL}, </if> <if test="informationalRatio1m != null"> #{informationalRatio1m,jdbcType=DECIMAL}, </if> <if test="informationalRatio3m != null"> #{informationalRatio3m,jdbcType=DECIMAL}, </if> <if test="informationalRatio6m != null"> #{informationalRatio6m,jdbcType=DECIMAL}, </if> <if test="informationalRatio1y != null"> #{informationalRatio1y,jdbcType=DECIMAL}, </if> <if test="informationalRatio2y != null"> #{informationalRatio2y,jdbcType=DECIMAL}, </if> <if test="informationalRatio3y != null"> #{informationalRatio3y,jdbcType=DECIMAL}, </if> <if test="informationalRatio5y != null"> #{informationalRatio5y,jdbcType=DECIMAL}, </if> <if test="informationalRatioIncep != null"> #{informationalRatioIncep,jdbcType=DECIMAL}, </if> <if test="informationalRatioYtd != null"> #{informationalRatioYtd,jdbcType=DECIMAL}, </if> <if test="annualRet != null"> #{annualRet,jdbcType=LONGVARCHAR}, </if> <if test="monthlyRet != null"> #{monthlyRet,jdbcType=LONGVARCHAR}, </if> <if test="annualMaxdrawdown != null"> #{annualMaxdrawdown,jdbcType=LONGVARCHAR}, </if> </trim> </insert> <select id="countByExample" parameterType="com.tanpu.fund.entity.generator.FundCountExample" resultType="java.lang.Long"> <!--@mbg.generated--> select count(*) from tamp_fund.fund_count <if test="_parameter != null"> <include refid="Example_Where_Clause" /> </if> </select> <update id="updateByExampleSelective" parameterType="map"> <!--@mbg.generated--> update tamp_fund.fund_count <set> <if test="record.id != null"> id = #{record.id,jdbcType=VARCHAR}, </if> <if test="record.fundId != null"> fund_id = #{record.fundId,jdbcType=VARCHAR}, </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.inceptionDate != null"> inception_date = #{record.inceptionDate,jdbcType=DATE}, </if> <if test="record.type != null"> `type` = #{record.type,jdbcType=INTEGER}, </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.netNav != null"> net_nav = #{record.netNav,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.sharperatio1m != null"> sharperatio_1m = #{record.sharperatio1m,jdbcType=DECIMAL}, </if> <if test="record.sharperatio3m != null"> sharperatio_3m = #{record.sharperatio3m,jdbcType=DECIMAL}, </if> <if test="record.sharperatio6m != null"> sharperatio_6m = #{record.sharperatio6m,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.sharperatioYtd != null"> sharperatio_ytd = #{record.sharperatioYtd,jdbcType=DECIMAL}, </if> <if test="record.sharperatioIncep != null"> sharperatio_incep = #{record.sharperatioIncep,jdbcType=DECIMAL}, </if> <if test="record.stddev1m != null"> stddev_1m = #{record.stddev1m,jdbcType=DECIMAL}, </if> <if test="record.stddev3m != null"> stddev_3m = #{record.stddev3m,jdbcType=DECIMAL}, </if> <if test="record.stddev6m != null"> stddev_6m = #{record.stddev6m,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.maxdrawdown1m != null"> maxdrawdown_1m = #{record.maxdrawdown1m,jdbcType=DECIMAL}, </if> <if test="record.maxdrawdown3m != null"> maxdrawdown_3m = #{record.maxdrawdown3m,jdbcType=DECIMAL}, </if> <if test="record.maxdrawdown6m != null"> maxdrawdown_6m = #{record.maxdrawdown6m,jdbcType=DECIMAL}, </if> <if test="record.maxdrawdownYtd != null"> maxdrawdown_ytd = #{record.maxdrawdownYtd,jdbcType=DECIMAL}, </if> <if test="record.dataSources != null"> data_sources = #{record.dataSources,jdbcType=INTEGER}, </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.status != null"> `status` = #{record.status,jdbcType=INTEGER}, </if> <if test="record.sort != null"> sort = #{record.sort,jdbcType=INTEGER}, </if> <if test="record.deleteTag != null"> delete_tag = #{record.deleteTag,jdbcType=INTEGER}, </if> <if test="record.calmarRatio != null"> calmar_ratio = #{record.calmarRatio,jdbcType=DECIMAL}, </if> <if test="record.alpha != null"> alpha = #{record.alpha,jdbcType=DECIMAL}, </if> <if test="record.beta != null"> beta = #{record.beta,jdbcType=DECIMAL}, </if> <if test="record.winRate != null"> win_rate = #{record.winRate,jdbcType=DECIMAL}, </if> <if test="record.calmarRatio1m != null"> calmar_ratio_1m = #{record.calmarRatio1m,jdbcType=DECIMAL}, </if> <if test="record.calmarRatio3m != null"> calmar_ratio_3m = #{record.calmarRatio3m,jdbcType=DECIMAL}, </if> <if test="record.calmarRatio6m != null"> calmar_ratio_6m = #{record.calmarRatio6m,jdbcType=DECIMAL}, </if> <if test="record.calmarRatio1y != null"> calmar_ratio_1y = #{record.calmarRatio1y,jdbcType=DECIMAL}, </if> <if test="record.calmarRatio2y != null"> calmar_ratio_2y = #{record.calmarRatio2y,jdbcType=DECIMAL}, </if> <if test="record.calmarRatio3y != null"> calmar_ratio_3y = #{record.calmarRatio3y,jdbcType=DECIMAL}, </if> <if test="record.calmarRatio5y != null"> calmar_ratio_5y = #{record.calmarRatio5y,jdbcType=DECIMAL}, </if> <if test="record.calmarRatioIncep != null"> calmar_ratio_incep = #{record.calmarRatioIncep,jdbcType=DECIMAL}, </if> <if test="record.calmarRatioYtd != null"> calmar_ratio_ytd = #{record.calmarRatioYtd,jdbcType=DECIMAL}, </if> <if test="record.sortinoRatio1m != null"> sortino_ratio_1m = #{record.sortinoRatio1m,jdbcType=DECIMAL}, </if> <if test="record.sortinoRatio3m != null"> sortino_ratio_3m = #{record.sortinoRatio3m,jdbcType=DECIMAL}, </if> <if test="record.sortinoRatio6m != null"> sortino_ratio_6m = #{record.sortinoRatio6m,jdbcType=DECIMAL}, </if> <if test="record.sortinoRatio1y != null"> sortino_ratio_1y = #{record.sortinoRatio1y,jdbcType=DECIMAL}, </if> <if test="record.sortinoRatio2y != null"> sortino_ratio_2y = #{record.sortinoRatio2y,jdbcType=DECIMAL}, </if> <if test="record.sortinoRatio3y != null"> sortino_ratio_3y = #{record.sortinoRatio3y,jdbcType=DECIMAL}, </if> <if test="record.sortinoRatio5y != null"> sortino_ratio_5y = #{record.sortinoRatio5y,jdbcType=DECIMAL}, </if> <if test="record.sortinoRatioIncep != null"> sortino_ratio_incep = #{record.sortinoRatioIncep,jdbcType=DECIMAL}, </if> <if test="record.sortinoRatioYtd != null"> sortino_ratio_ytd = #{record.sortinoRatioYtd,jdbcType=DECIMAL}, </if> <if test="record.alpha1m != null"> alpha_1m = #{record.alpha1m,jdbcType=DECIMAL}, </if> <if test="record.alpha3m != null"> alpha_3m = #{record.alpha3m,jdbcType=DECIMAL}, </if> <if test="record.alpha6m != null"> alpha_6m = #{record.alpha6m,jdbcType=DECIMAL}, </if> <if test="record.alpha1y != null"> alpha_1y = #{record.alpha1y,jdbcType=DECIMAL}, </if> <if test="record.alpha2y != null"> alpha_2y = #{record.alpha2y,jdbcType=DECIMAL}, </if> <if test="record.alpha3y != null"> alpha_3y = #{record.alpha3y,jdbcType=DECIMAL}, </if> <if test="record.alpha5y != null"> alpha_5y = #{record.alpha5y,jdbcType=DECIMAL}, </if> <if test="record.alphaIncep != null"> alpha_incep = #{record.alphaIncep,jdbcType=DECIMAL}, </if> <if test="record.alphaYtd != null"> alpha_ytd = #{record.alphaYtd,jdbcType=DECIMAL}, </if> <if test="record.beta1m != null"> beta_1m = #{record.beta1m,jdbcType=DECIMAL}, </if> <if test="record.beta3m != null"> beta_3m = #{record.beta3m,jdbcType=DECIMAL}, </if> <if test="record.beta6m != null"> beta_6m = #{record.beta6m,jdbcType=DECIMAL}, </if> <if test="record.beta1y != null"> beta_1y = #{record.beta1y,jdbcType=DECIMAL}, </if> <if test="record.beta2y != null"> beta_2y = #{record.beta2y,jdbcType=DECIMAL}, </if> <if test="record.beta3y != null"> beta_3y = #{record.beta3y,jdbcType=DECIMAL}, </if> <if test="record.beta5y != null"> beta_5y = #{record.beta5y,jdbcType=DECIMAL}, </if> <if test="record.betaIncep != null"> beta_incep = #{record.betaIncep,jdbcType=DECIMAL}, </if> <if test="record.betaYtd != null"> beta_ytd = #{record.betaYtd,jdbcType=DECIMAL}, </if> <if test="record.winRate1m != null"> win_rate_1m = #{record.winRate1m,jdbcType=DECIMAL}, </if> <if test="record.winRate3m != null"> win_rate_3m = #{record.winRate3m,jdbcType=DECIMAL}, </if> <if test="record.winRate6m != null"> win_rate_6m = #{record.winRate6m,jdbcType=DECIMAL}, </if> <if test="record.winRate1y != null"> win_rate_1y = #{record.winRate1y,jdbcType=DECIMAL}, </if> <if test="record.winRate2y != null"> win_rate_2y = #{record.winRate2y,jdbcType=DECIMAL}, </if> <if test="record.winRate3y != null"> win_rate_3y = #{record.winRate3y,jdbcType=DECIMAL}, </if> <if test="record.winRate5y != null"> win_rate_5y = #{record.winRate5y,jdbcType=DECIMAL}, </if> <if test="record.winRateIncep != null"> win_rate_incep = #{record.winRateIncep,jdbcType=DECIMAL}, </if> <if test="record.winRateYtd != null"> win_rate_ytd = #{record.winRateYtd,jdbcType=DECIMAL}, </if> <if test="record.downsideRisk1m != null"> downside_risk_1m = #{record.downsideRisk1m,jdbcType=DECIMAL}, </if> <if test="record.downsideRisk3m != null"> downside_risk_3m = #{record.downsideRisk3m,jdbcType=DECIMAL}, </if> <if test="record.downsideRisk6m != null"> downside_risk_6m = #{record.downsideRisk6m,jdbcType=DECIMAL}, </if> <if test="record.downsideRisk1y != null"> downside_risk_1y = #{record.downsideRisk1y,jdbcType=DECIMAL}, </if> <if test="record.downsideRisk2y != null"> downside_risk_2y = #{record.downsideRisk2y,jdbcType=DECIMAL}, </if> <if test="record.downsideRisk3y != null"> downside_risk_3y = #{record.downsideRisk3y,jdbcType=DECIMAL}, </if> <if test="record.downsideRisk5y != null"> downside_risk_5y = #{record.downsideRisk5y,jdbcType=DECIMAL}, </if> <if test="record.downsideRiskIncep != null"> downside_risk_incep = #{record.downsideRiskIncep,jdbcType=DECIMAL}, </if> <if test="record.downsideRiskYtd != null"> downside_risk_ytd = #{record.downsideRiskYtd,jdbcType=DECIMAL}, </if> <if test="record.informationalRatio1m != null"> informational_ratio_1m = #{record.informationalRatio1m,jdbcType=DECIMAL}, </if> <if test="record.informationalRatio3m != null"> informational_ratio_3m = #{record.informationalRatio3m,jdbcType=DECIMAL}, </if> <if test="record.informationalRatio6m != null"> informational_ratio_6m = #{record.informationalRatio6m,jdbcType=DECIMAL}, </if> <if test="record.informationalRatio1y != null"> informational_ratio_1y = #{record.informationalRatio1y,jdbcType=DECIMAL}, </if> <if test="record.informationalRatio2y != null"> informational_ratio_2y = #{record.informationalRatio2y,jdbcType=DECIMAL}, </if> <if test="record.informationalRatio3y != null"> informational_ratio_3y = #{record.informationalRatio3y,jdbcType=DECIMAL}, </if> <if test="record.informationalRatio5y != null"> informational_ratio_5y = #{record.informationalRatio5y,jdbcType=DECIMAL}, </if> <if test="record.informationalRatioIncep != null"> informational_ratio_incep = #{record.informationalRatioIncep,jdbcType=DECIMAL}, </if> <if test="record.informationalRatioYtd != null"> informational_ratio_ytd = #{record.informationalRatioYtd,jdbcType=DECIMAL}, </if> <if test="record.annualRet != null"> annual_ret = #{record.annualRet,jdbcType=LONGVARCHAR}, </if> <if test="record.monthlyRet != null"> monthly_ret = #{record.monthlyRet,jdbcType=LONGVARCHAR}, </if> <if test="record.annualMaxdrawdown != null"> annual_maxdrawdown = #{record.annualMaxdrawdown,jdbcType=LONGVARCHAR}, </if> </set> <if test="_parameter != null"> <include refid="Update_By_Example_Where_Clause" /> </if> </update> <update id="updateByExampleWithBLOBs" parameterType="map"> <!--@mbg.generated--> update tamp_fund.fund_count set id = #{record.id,jdbcType=VARCHAR}, fund_id = #{record.fundId,jdbcType=VARCHAR}, strategy = #{record.strategy,jdbcType=INTEGER}, substrategy = #{record.substrategy,jdbcType=INTEGER}, inception_date = #{record.inceptionDate,jdbcType=DATE}, `type` = #{record.type,jdbcType=INTEGER}, end_date = #{record.endDate,jdbcType=DATE}, price_date = #{record.priceDate,jdbcType=DATE}, net_nav = #{record.netNav,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_1m = #{record.sharperatio1m,jdbcType=DECIMAL}, sharperatio_3m = #{record.sharperatio3m,jdbcType=DECIMAL}, sharperatio_6m = #{record.sharperatio6m,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_ytd = #{record.sharperatioYtd,jdbcType=DECIMAL}, sharperatio_incep = #{record.sharperatioIncep,jdbcType=DECIMAL}, stddev_1m = #{record.stddev1m,jdbcType=DECIMAL}, stddev_3m = #{record.stddev3m,jdbcType=DECIMAL}, stddev_6m = #{record.stddev6m,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}, maxdrawdown_1m = #{record.maxdrawdown1m,jdbcType=DECIMAL}, maxdrawdown_3m = #{record.maxdrawdown3m,jdbcType=DECIMAL}, maxdrawdown_6m = #{record.maxdrawdown6m,jdbcType=DECIMAL}, maxdrawdown_ytd = #{record.maxdrawdownYtd,jdbcType=DECIMAL}, data_sources = #{record.dataSources,jdbcType=INTEGER}, update_time = #{record.updateTime,jdbcType=TIMESTAMP}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, `status` = #{record.status,jdbcType=INTEGER}, sort = #{record.sort,jdbcType=INTEGER}, delete_tag = #{record.deleteTag,jdbcType=INTEGER}, calmar_ratio = #{record.calmarRatio,jdbcType=DECIMAL}, alpha = #{record.alpha,jdbcType=DECIMAL}, beta = #{record.beta,jdbcType=DECIMAL}, win_rate = #{record.winRate,jdbcType=DECIMAL}, calmar_ratio_1m = #{record.calmarRatio1m,jdbcType=DECIMAL}, calmar_ratio_3m = #{record.calmarRatio3m,jdbcType=DECIMAL}, calmar_ratio_6m = #{record.calmarRatio6m,jdbcType=DECIMAL}, calmar_ratio_1y = #{record.calmarRatio1y,jdbcType=DECIMAL}, calmar_ratio_2y = #{record.calmarRatio2y,jdbcType=DECIMAL}, calmar_ratio_3y = #{record.calmarRatio3y,jdbcType=DECIMAL}, calmar_ratio_5y = #{record.calmarRatio5y,jdbcType=DECIMAL}, calmar_ratio_incep = #{record.calmarRatioIncep,jdbcType=DECIMAL}, calmar_ratio_ytd = #{record.calmarRatioYtd,jdbcType=DECIMAL}, sortino_ratio_1m = #{record.sortinoRatio1m,jdbcType=DECIMAL}, sortino_ratio_3m = #{record.sortinoRatio3m,jdbcType=DECIMAL}, sortino_ratio_6m = #{record.sortinoRatio6m,jdbcType=DECIMAL}, sortino_ratio_1y = #{record.sortinoRatio1y,jdbcType=DECIMAL}, sortino_ratio_2y = #{record.sortinoRatio2y,jdbcType=DECIMAL}, sortino_ratio_3y = #{record.sortinoRatio3y,jdbcType=DECIMAL}, sortino_ratio_5y = #{record.sortinoRatio5y,jdbcType=DECIMAL}, sortino_ratio_incep = #{record.sortinoRatioIncep,jdbcType=DECIMAL}, sortino_ratio_ytd = #{record.sortinoRatioYtd,jdbcType=DECIMAL}, alpha_1m = #{record.alpha1m,jdbcType=DECIMAL}, alpha_3m = #{record.alpha3m,jdbcType=DECIMAL}, alpha_6m = #{record.alpha6m,jdbcType=DECIMAL}, alpha_1y = #{record.alpha1y,jdbcType=DECIMAL}, alpha_2y = #{record.alpha2y,jdbcType=DECIMAL}, alpha_3y = #{record.alpha3y,jdbcType=DECIMAL}, alpha_5y = #{record.alpha5y,jdbcType=DECIMAL}, alpha_incep = #{record.alphaIncep,jdbcType=DECIMAL}, alpha_ytd = #{record.alphaYtd,jdbcType=DECIMAL}, beta_1m = #{record.beta1m,jdbcType=DECIMAL}, beta_3m = #{record.beta3m,jdbcType=DECIMAL}, beta_6m = #{record.beta6m,jdbcType=DECIMAL}, beta_1y = #{record.beta1y,jdbcType=DECIMAL}, beta_2y = #{record.beta2y,jdbcType=DECIMAL}, beta_3y = #{record.beta3y,jdbcType=DECIMAL}, beta_5y = #{record.beta5y,jdbcType=DECIMAL}, beta_incep = #{record.betaIncep,jdbcType=DECIMAL}, beta_ytd = #{record.betaYtd,jdbcType=DECIMAL}, win_rate_1m = #{record.winRate1m,jdbcType=DECIMAL}, win_rate_3m = #{record.winRate3m,jdbcType=DECIMAL}, win_rate_6m = #{record.winRate6m,jdbcType=DECIMAL}, win_rate_1y = #{record.winRate1y,jdbcType=DECIMAL}, win_rate_2y = #{record.winRate2y,jdbcType=DECIMAL}, win_rate_3y = #{record.winRate3y,jdbcType=DECIMAL}, win_rate_5y = #{record.winRate5y,jdbcType=DECIMAL}, win_rate_incep = #{record.winRateIncep,jdbcType=DECIMAL}, win_rate_ytd = #{record.winRateYtd,jdbcType=DECIMAL}, downside_risk_1m = #{record.downsideRisk1m,jdbcType=DECIMAL}, downside_risk_3m = #{record.downsideRisk3m,jdbcType=DECIMAL}, downside_risk_6m = #{record.downsideRisk6m,jdbcType=DECIMAL}, downside_risk_1y = #{record.downsideRisk1y,jdbcType=DECIMAL}, downside_risk_2y = #{record.downsideRisk2y,jdbcType=DECIMAL}, downside_risk_3y = #{record.downsideRisk3y,jdbcType=DECIMAL}, downside_risk_5y = #{record.downsideRisk5y,jdbcType=DECIMAL}, downside_risk_incep = #{record.downsideRiskIncep,jdbcType=DECIMAL}, downside_risk_ytd = #{record.downsideRiskYtd,jdbcType=DECIMAL}, informational_ratio_1m = #{record.informationalRatio1m,jdbcType=DECIMAL}, informational_ratio_3m = #{record.informationalRatio3m,jdbcType=DECIMAL}, informational_ratio_6m = #{record.informationalRatio6m,jdbcType=DECIMAL}, informational_ratio_1y = #{record.informationalRatio1y,jdbcType=DECIMAL}, informational_ratio_2y = #{record.informationalRatio2y,jdbcType=DECIMAL}, informational_ratio_3y = #{record.informationalRatio3y,jdbcType=DECIMAL}, informational_ratio_5y = #{record.informationalRatio5y,jdbcType=DECIMAL}, informational_ratio_incep = #{record.informationalRatioIncep,jdbcType=DECIMAL}, informational_ratio_ytd = #{record.informationalRatioYtd,jdbcType=DECIMAL}, annual_ret = #{record.annualRet,jdbcType=LONGVARCHAR}, monthly_ret = #{record.monthlyRet,jdbcType=LONGVARCHAR}, annual_maxdrawdown = #{record.annualMaxdrawdown,jdbcType=LONGVARCHAR} <if test="_parameter != null"> <include refid="Update_By_Example_Where_Clause" /> </if> </update> <update id="updateByExample" parameterType="map"> <!--@mbg.generated--> update tamp_fund.fund_count set id = #{record.id,jdbcType=VARCHAR}, fund_id = #{record.fundId,jdbcType=VARCHAR}, strategy = #{record.strategy,jdbcType=INTEGER}, substrategy = #{record.substrategy,jdbcType=INTEGER}, inception_date = #{record.inceptionDate,jdbcType=DATE}, `type` = #{record.type,jdbcType=INTEGER}, end_date = #{record.endDate,jdbcType=DATE}, price_date = #{record.priceDate,jdbcType=DATE}, net_nav = #{record.netNav,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_1m = #{record.sharperatio1m,jdbcType=DECIMAL}, sharperatio_3m = #{record.sharperatio3m,jdbcType=DECIMAL}, sharperatio_6m = #{record.sharperatio6m,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_ytd = #{record.sharperatioYtd,jdbcType=DECIMAL}, sharperatio_incep = #{record.sharperatioIncep,jdbcType=DECIMAL}, stddev_1m = #{record.stddev1m,jdbcType=DECIMAL}, stddev_3m = #{record.stddev3m,jdbcType=DECIMAL}, stddev_6m = #{record.stddev6m,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}, maxdrawdown_1m = #{record.maxdrawdown1m,jdbcType=DECIMAL}, maxdrawdown_3m = #{record.maxdrawdown3m,jdbcType=DECIMAL}, maxdrawdown_6m = #{record.maxdrawdown6m,jdbcType=DECIMAL}, maxdrawdown_ytd = #{record.maxdrawdownYtd,jdbcType=DECIMAL}, data_sources = #{record.dataSources,jdbcType=INTEGER}, update_time = #{record.updateTime,jdbcType=TIMESTAMP}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, `status` = #{record.status,jdbcType=INTEGER}, sort = #{record.sort,jdbcType=INTEGER}, delete_tag = #{record.deleteTag,jdbcType=INTEGER}, calmar_ratio = #{record.calmarRatio,jdbcType=DECIMAL}, alpha = #{record.alpha,jdbcType=DECIMAL}, beta = #{record.beta,jdbcType=DECIMAL}, win_rate = #{record.winRate,jdbcType=DECIMAL}, calmar_ratio_1m = #{record.calmarRatio1m,jdbcType=DECIMAL}, calmar_ratio_3m = #{record.calmarRatio3m,jdbcType=DECIMAL}, calmar_ratio_6m = #{record.calmarRatio6m,jdbcType=DECIMAL}, calmar_ratio_1y = #{record.calmarRatio1y,jdbcType=DECIMAL}, calmar_ratio_2y = #{record.calmarRatio2y,jdbcType=DECIMAL}, calmar_ratio_3y = #{record.calmarRatio3y,jdbcType=DECIMAL}, calmar_ratio_5y = #{record.calmarRatio5y,jdbcType=DECIMAL}, calmar_ratio_incep = #{record.calmarRatioIncep,jdbcType=DECIMAL}, calmar_ratio_ytd = #{record.calmarRatioYtd,jdbcType=DECIMAL}, sortino_ratio_1m = #{record.sortinoRatio1m,jdbcType=DECIMAL}, sortino_ratio_3m = #{record.sortinoRatio3m,jdbcType=DECIMAL}, sortino_ratio_6m = #{record.sortinoRatio6m,jdbcType=DECIMAL}, sortino_ratio_1y = #{record.sortinoRatio1y,jdbcType=DECIMAL}, sortino_ratio_2y = #{record.sortinoRatio2y,jdbcType=DECIMAL}, sortino_ratio_3y = #{record.sortinoRatio3y,jdbcType=DECIMAL}, sortino_ratio_5y = #{record.sortinoRatio5y,jdbcType=DECIMAL}, sortino_ratio_incep = #{record.sortinoRatioIncep,jdbcType=DECIMAL}, sortino_ratio_ytd = #{record.sortinoRatioYtd,jdbcType=DECIMAL}, alpha_1m = #{record.alpha1m,jdbcType=DECIMAL}, alpha_3m = #{record.alpha3m,jdbcType=DECIMAL}, alpha_6m = #{record.alpha6m,jdbcType=DECIMAL}, alpha_1y = #{record.alpha1y,jdbcType=DECIMAL}, alpha_2y = #{record.alpha2y,jdbcType=DECIMAL}, alpha_3y = #{record.alpha3y,jdbcType=DECIMAL}, alpha_5y = #{record.alpha5y,jdbcType=DECIMAL}, alpha_incep = #{record.alphaIncep,jdbcType=DECIMAL}, alpha_ytd = #{record.alphaYtd,jdbcType=DECIMAL}, beta_1m = #{record.beta1m,jdbcType=DECIMAL}, beta_3m = #{record.beta3m,jdbcType=DECIMAL}, beta_6m = #{record.beta6m,jdbcType=DECIMAL}, beta_1y = #{record.beta1y,jdbcType=DECIMAL}, beta_2y = #{record.beta2y,jdbcType=DECIMAL}, beta_3y = #{record.beta3y,jdbcType=DECIMAL}, beta_5y = #{record.beta5y,jdbcType=DECIMAL}, beta_incep = #{record.betaIncep,jdbcType=DECIMAL}, beta_ytd = #{record.betaYtd,jdbcType=DECIMAL}, win_rate_1m = #{record.winRate1m,jdbcType=DECIMAL}, win_rate_3m = #{record.winRate3m,jdbcType=DECIMAL}, win_rate_6m = #{record.winRate6m,jdbcType=DECIMAL}, win_rate_1y = #{record.winRate1y,jdbcType=DECIMAL}, win_rate_2y = #{record.winRate2y,jdbcType=DECIMAL}, win_rate_3y = #{record.winRate3y,jdbcType=DECIMAL}, win_rate_5y = #{record.winRate5y,jdbcType=DECIMAL}, win_rate_incep = #{record.winRateIncep,jdbcType=DECIMAL}, win_rate_ytd = #{record.winRateYtd,jdbcType=DECIMAL}, downside_risk_1m = #{record.downsideRisk1m,jdbcType=DECIMAL}, downside_risk_3m = #{record.downsideRisk3m,jdbcType=DECIMAL}, downside_risk_6m = #{record.downsideRisk6m,jdbcType=DECIMAL}, downside_risk_1y = #{record.downsideRisk1y,jdbcType=DECIMAL}, downside_risk_2y = #{record.downsideRisk2y,jdbcType=DECIMAL}, downside_risk_3y = #{record.downsideRisk3y,jdbcType=DECIMAL}, downside_risk_5y = #{record.downsideRisk5y,jdbcType=DECIMAL}, downside_risk_incep = #{record.downsideRiskIncep,jdbcType=DECIMAL}, downside_risk_ytd = #{record.downsideRiskYtd,jdbcType=DECIMAL}, informational_ratio_1m = #{record.informationalRatio1m,jdbcType=DECIMAL}, informational_ratio_3m = #{record.informationalRatio3m,jdbcType=DECIMAL}, informational_ratio_6m = #{record.informationalRatio6m,jdbcType=DECIMAL}, informational_ratio_1y = #{record.informationalRatio1y,jdbcType=DECIMAL}, informational_ratio_2y = #{record.informationalRatio2y,jdbcType=DECIMAL}, informational_ratio_3y = #{record.informationalRatio3y,jdbcType=DECIMAL}, informational_ratio_5y = #{record.informationalRatio5y,jdbcType=DECIMAL}, informational_ratio_incep = #{record.informationalRatioIncep,jdbcType=DECIMAL}, informational_ratio_ytd = #{record.informationalRatioYtd,jdbcType=DECIMAL} <if test="_parameter != null"> <include refid="Update_By_Example_Where_Clause" /> </if> </update> <update id="updateByPrimaryKeySelective" parameterType="com.tanpu.fund.entity.generator.FundCount"> <!--@mbg.generated--> update tamp_fund.fund_count <set> <if test="fundId != null"> fund_id = #{fundId,jdbcType=VARCHAR}, </if> <if test="strategy != null"> strategy = #{strategy,jdbcType=INTEGER}, </if> <if test="substrategy != null"> substrategy = #{substrategy,jdbcType=INTEGER}, </if> <if test="inceptionDate != null"> inception_date = #{inceptionDate,jdbcType=DATE}, </if> <if test="type != null"> `type` = #{type,jdbcType=INTEGER}, </if> <if test="endDate != null"> end_date = #{endDate,jdbcType=DATE}, </if> <if test="priceDate != null"> price_date = #{priceDate,jdbcType=DATE}, </if> <if test="netNav != null"> net_nav = #{netNav,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="sharperatio1m != null"> sharperatio_1m = #{sharperatio1m,jdbcType=DECIMAL}, </if> <if test="sharperatio3m != null"> sharperatio_3m = #{sharperatio3m,jdbcType=DECIMAL}, </if> <if test="sharperatio6m != null"> sharperatio_6m = #{sharperatio6m,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="sharperatioYtd != null"> sharperatio_ytd = #{sharperatioYtd,jdbcType=DECIMAL}, </if> <if test="sharperatioIncep != null"> sharperatio_incep = #{sharperatioIncep,jdbcType=DECIMAL}, </if> <if test="stddev1m != null"> stddev_1m = #{stddev1m,jdbcType=DECIMAL}, </if> <if test="stddev3m != null"> stddev_3m = #{stddev3m,jdbcType=DECIMAL}, </if> <if test="stddev6m != null"> stddev_6m = #{stddev6m,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="maxdrawdown1m != null"> maxdrawdown_1m = #{maxdrawdown1m,jdbcType=DECIMAL}, </if> <if test="maxdrawdown3m != null"> maxdrawdown_3m = #{maxdrawdown3m,jdbcType=DECIMAL}, </if> <if test="maxdrawdown6m != null"> maxdrawdown_6m = #{maxdrawdown6m,jdbcType=DECIMAL}, </if> <if test="maxdrawdownYtd != null"> maxdrawdown_ytd = #{maxdrawdownYtd,jdbcType=DECIMAL}, </if> <if test="dataSources != null"> data_sources = #{dataSources,jdbcType=INTEGER}, </if> <if test="updateTime != null"> update_time = #{updateTime,jdbcType=TIMESTAMP}, </if> <if test="createTime != null"> create_time = #{createTime,jdbcType=TIMESTAMP}, </if> <if test="status != null"> `status` = #{status,jdbcType=INTEGER}, </if> <if test="sort != null"> sort = #{sort,jdbcType=INTEGER}, </if> <if test="deleteTag != null"> delete_tag = #{deleteTag,jdbcType=INTEGER}, </if> <if test="calmarRatio != null"> calmar_ratio = #{calmarRatio,jdbcType=DECIMAL}, </if> <if test="alpha != null"> alpha = #{alpha,jdbcType=DECIMAL}, </if> <if test="beta != null"> beta = #{beta,jdbcType=DECIMAL}, </if> <if test="winRate != null"> win_rate = #{winRate,jdbcType=DECIMAL}, </if> <if test="calmarRatio1m != null"> calmar_ratio_1m = #{calmarRatio1m,jdbcType=DECIMAL}, </if> <if test="calmarRatio3m != null"> calmar_ratio_3m = #{calmarRatio3m,jdbcType=DECIMAL}, </if> <if test="calmarRatio6m != null"> calmar_ratio_6m = #{calmarRatio6m,jdbcType=DECIMAL}, </if> <if test="calmarRatio1y != null"> calmar_ratio_1y = #{calmarRatio1y,jdbcType=DECIMAL}, </if> <if test="calmarRatio2y != null"> calmar_ratio_2y = #{calmarRatio2y,jdbcType=DECIMAL}, </if> <if test="calmarRatio3y != null"> calmar_ratio_3y = #{calmarRatio3y,jdbcType=DECIMAL}, </if> <if test="calmarRatio5y != null"> calmar_ratio_5y = #{calmarRatio5y,jdbcType=DECIMAL}, </if> <if test="calmarRatioIncep != null"> calmar_ratio_incep = #{calmarRatioIncep,jdbcType=DECIMAL}, </if> <if test="calmarRatioYtd != null"> calmar_ratio_ytd = #{calmarRatioYtd,jdbcType=DECIMAL}, </if> <if test="sortinoRatio1m != null"> sortino_ratio_1m = #{sortinoRatio1m,jdbcType=DECIMAL}, </if> <if test="sortinoRatio3m != null"> sortino_ratio_3m = #{sortinoRatio3m,jdbcType=DECIMAL}, </if> <if test="sortinoRatio6m != null"> sortino_ratio_6m = #{sortinoRatio6m,jdbcType=DECIMAL}, </if> <if test="sortinoRatio1y != null"> sortino_ratio_1y = #{sortinoRatio1y,jdbcType=DECIMAL}, </if> <if test="sortinoRatio2y != null"> sortino_ratio_2y = #{sortinoRatio2y,jdbcType=DECIMAL}, </if> <if test="sortinoRatio3y != null"> sortino_ratio_3y = #{sortinoRatio3y,jdbcType=DECIMAL}, </if> <if test="sortinoRatio5y != null"> sortino_ratio_5y = #{sortinoRatio5y,jdbcType=DECIMAL}, </if> <if test="sortinoRatioIncep != null"> sortino_ratio_incep = #{sortinoRatioIncep,jdbcType=DECIMAL}, </if> <if test="sortinoRatioYtd != null"> sortino_ratio_ytd = #{sortinoRatioYtd,jdbcType=DECIMAL}, </if> <if test="alpha1m != null"> alpha_1m = #{alpha1m,jdbcType=DECIMAL}, </if> <if test="alpha3m != null"> alpha_3m = #{alpha3m,jdbcType=DECIMAL}, </if> <if test="alpha6m != null"> alpha_6m = #{alpha6m,jdbcType=DECIMAL}, </if> <if test="alpha1y != null"> alpha_1y = #{alpha1y,jdbcType=DECIMAL}, </if> <if test="alpha2y != null"> alpha_2y = #{alpha2y,jdbcType=DECIMAL}, </if> <if test="alpha3y != null"> alpha_3y = #{alpha3y,jdbcType=DECIMAL}, </if> <if test="alpha5y != null"> alpha_5y = #{alpha5y,jdbcType=DECIMAL}, </if> <if test="alphaIncep != null"> alpha_incep = #{alphaIncep,jdbcType=DECIMAL}, </if> <if test="alphaYtd != null"> alpha_ytd = #{alphaYtd,jdbcType=DECIMAL}, </if> <if test="beta1m != null"> beta_1m = #{beta1m,jdbcType=DECIMAL}, </if> <if test="beta3m != null"> beta_3m = #{beta3m,jdbcType=DECIMAL}, </if> <if test="beta6m != null"> beta_6m = #{beta6m,jdbcType=DECIMAL}, </if> <if test="beta1y != null"> beta_1y = #{beta1y,jdbcType=DECIMAL}, </if> <if test="beta2y != null"> beta_2y = #{beta2y,jdbcType=DECIMAL}, </if> <if test="beta3y != null"> beta_3y = #{beta3y,jdbcType=DECIMAL}, </if> <if test="beta5y != null"> beta_5y = #{beta5y,jdbcType=DECIMAL}, </if> <if test="betaIncep != null"> beta_incep = #{betaIncep,jdbcType=DECIMAL}, </if> <if test="betaYtd != null"> beta_ytd = #{betaYtd,jdbcType=DECIMAL}, </if> <if test="winRate1m != null"> win_rate_1m = #{winRate1m,jdbcType=DECIMAL}, </if> <if test="winRate3m != null"> win_rate_3m = #{winRate3m,jdbcType=DECIMAL}, </if> <if test="winRate6m != null"> win_rate_6m = #{winRate6m,jdbcType=DECIMAL}, </if> <if test="winRate1y != null"> win_rate_1y = #{winRate1y,jdbcType=DECIMAL}, </if> <if test="winRate2y != null"> win_rate_2y = #{winRate2y,jdbcType=DECIMAL}, </if> <if test="winRate3y != null"> win_rate_3y = #{winRate3y,jdbcType=DECIMAL}, </if> <if test="winRate5y != null"> win_rate_5y = #{winRate5y,jdbcType=DECIMAL}, </if> <if test="winRateIncep != null"> win_rate_incep = #{winRateIncep,jdbcType=DECIMAL}, </if> <if test="winRateYtd != null"> win_rate_ytd = #{winRateYtd,jdbcType=DECIMAL}, </if> <if test="downsideRisk1m != null"> downside_risk_1m = #{downsideRisk1m,jdbcType=DECIMAL}, </if> <if test="downsideRisk3m != null"> downside_risk_3m = #{downsideRisk3m,jdbcType=DECIMAL}, </if> <if test="downsideRisk6m != null"> downside_risk_6m = #{downsideRisk6m,jdbcType=DECIMAL}, </if> <if test="downsideRisk1y != null"> downside_risk_1y = #{downsideRisk1y,jdbcType=DECIMAL}, </if> <if test="downsideRisk2y != null"> downside_risk_2y = #{downsideRisk2y,jdbcType=DECIMAL}, </if> <if test="downsideRisk3y != null"> downside_risk_3y = #{downsideRisk3y,jdbcType=DECIMAL}, </if> <if test="downsideRisk5y != null"> downside_risk_5y = #{downsideRisk5y,jdbcType=DECIMAL}, </if> <if test="downsideRiskIncep != null"> downside_risk_incep = #{downsideRiskIncep,jdbcType=DECIMAL}, </if> <if test="downsideRiskYtd != null"> downside_risk_ytd = #{downsideRiskYtd,jdbcType=DECIMAL}, </if> <if test="informationalRatio1m != null"> informational_ratio_1m = #{informationalRatio1m,jdbcType=DECIMAL}, </if> <if test="informationalRatio3m != null"> informational_ratio_3m = #{informationalRatio3m,jdbcType=DECIMAL}, </if> <if test="informationalRatio6m != null"> informational_ratio_6m = #{informationalRatio6m,jdbcType=DECIMAL}, </if> <if test="informationalRatio1y != null"> informational_ratio_1y = #{informationalRatio1y,jdbcType=DECIMAL}, </if> <if test="informationalRatio2y != null"> informational_ratio_2y = #{informationalRatio2y,jdbcType=DECIMAL}, </if> <if test="informationalRatio3y != null"> informational_ratio_3y = #{informationalRatio3y,jdbcType=DECIMAL}, </if> <if test="informationalRatio5y != null"> informational_ratio_5y = #{informationalRatio5y,jdbcType=DECIMAL}, </if> <if test="informationalRatioIncep != null"> informational_ratio_incep = #{informationalRatioIncep,jdbcType=DECIMAL}, </if> <if test="informationalRatioYtd != null"> informational_ratio_ytd = #{informationalRatioYtd,jdbcType=DECIMAL}, </if> <if test="annualRet != null"> annual_ret = #{annualRet,jdbcType=LONGVARCHAR}, </if> <if test="monthlyRet != null"> monthly_ret = #{monthlyRet,jdbcType=LONGVARCHAR}, </if> <if test="annualMaxdrawdown != null"> annual_maxdrawdown = #{annualMaxdrawdown,jdbcType=LONGVARCHAR}, </if> </set> where id = #{id,jdbcType=VARCHAR} </update> <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.tanpu.fund.entity.generator.FundCount"> <!--@mbg.generated--> update tamp_fund.fund_count set fund_id = #{fundId,jdbcType=VARCHAR}, strategy = #{strategy,jdbcType=INTEGER}, substrategy = #{substrategy,jdbcType=INTEGER}, inception_date = #{inceptionDate,jdbcType=DATE}, `type` = #{type,jdbcType=INTEGER}, end_date = #{endDate,jdbcType=DATE}, price_date = #{priceDate,jdbcType=DATE}, net_nav = #{netNav,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_1m = #{sharperatio1m,jdbcType=DECIMAL}, sharperatio_3m = #{sharperatio3m,jdbcType=DECIMAL}, sharperatio_6m = #{sharperatio6m,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_ytd = #{sharperatioYtd,jdbcType=DECIMAL}, sharperatio_incep = #{sharperatioIncep,jdbcType=DECIMAL}, stddev_1m = #{stddev1m,jdbcType=DECIMAL}, stddev_3m = #{stddev3m,jdbcType=DECIMAL}, stddev_6m = #{stddev6m,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}, maxdrawdown_1m = #{maxdrawdown1m,jdbcType=DECIMAL}, maxdrawdown_3m = #{maxdrawdown3m,jdbcType=DECIMAL}, maxdrawdown_6m = #{maxdrawdown6m,jdbcType=DECIMAL}, maxdrawdown_ytd = #{maxdrawdownYtd,jdbcType=DECIMAL}, data_sources = #{dataSources,jdbcType=INTEGER}, update_time = #{updateTime,jdbcType=TIMESTAMP}, create_time = #{createTime,jdbcType=TIMESTAMP}, `status` = #{status,jdbcType=INTEGER}, sort = #{sort,jdbcType=INTEGER}, delete_tag = #{deleteTag,jdbcType=INTEGER}, calmar_ratio = #{calmarRatio,jdbcType=DECIMAL}, alpha = #{alpha,jdbcType=DECIMAL}, beta = #{beta,jdbcType=DECIMAL}, win_rate = #{winRate,jdbcType=DECIMAL}, calmar_ratio_1m = #{calmarRatio1m,jdbcType=DECIMAL}, calmar_ratio_3m = #{calmarRatio3m,jdbcType=DECIMAL}, calmar_ratio_6m = #{calmarRatio6m,jdbcType=DECIMAL}, calmar_ratio_1y = #{calmarRatio1y,jdbcType=DECIMAL}, calmar_ratio_2y = #{calmarRatio2y,jdbcType=DECIMAL}, calmar_ratio_3y = #{calmarRatio3y,jdbcType=DECIMAL}, calmar_ratio_5y = #{calmarRatio5y,jdbcType=DECIMAL}, calmar_ratio_incep = #{calmarRatioIncep,jdbcType=DECIMAL}, calmar_ratio_ytd = #{calmarRatioYtd,jdbcType=DECIMAL}, sortino_ratio_1m = #{sortinoRatio1m,jdbcType=DECIMAL}, sortino_ratio_3m = #{sortinoRatio3m,jdbcType=DECIMAL}, sortino_ratio_6m = #{sortinoRatio6m,jdbcType=DECIMAL}, sortino_ratio_1y = #{sortinoRatio1y,jdbcType=DECIMAL}, sortino_ratio_2y = #{sortinoRatio2y,jdbcType=DECIMAL}, sortino_ratio_3y = #{sortinoRatio3y,jdbcType=DECIMAL}, sortino_ratio_5y = #{sortinoRatio5y,jdbcType=DECIMAL}, sortino_ratio_incep = #{sortinoRatioIncep,jdbcType=DECIMAL}, sortino_ratio_ytd = #{sortinoRatioYtd,jdbcType=DECIMAL}, alpha_1m = #{alpha1m,jdbcType=DECIMAL}, alpha_3m = #{alpha3m,jdbcType=DECIMAL}, alpha_6m = #{alpha6m,jdbcType=DECIMAL}, alpha_1y = #{alpha1y,jdbcType=DECIMAL}, alpha_2y = #{alpha2y,jdbcType=DECIMAL}, alpha_3y = #{alpha3y,jdbcType=DECIMAL}, alpha_5y = #{alpha5y,jdbcType=DECIMAL}, alpha_incep = #{alphaIncep,jdbcType=DECIMAL}, alpha_ytd = #{alphaYtd,jdbcType=DECIMAL}, beta_1m = #{beta1m,jdbcType=DECIMAL}, beta_3m = #{beta3m,jdbcType=DECIMAL}, beta_6m = #{beta6m,jdbcType=DECIMAL}, beta_1y = #{beta1y,jdbcType=DECIMAL}, beta_2y = #{beta2y,jdbcType=DECIMAL}, beta_3y = #{beta3y,jdbcType=DECIMAL}, beta_5y = #{beta5y,jdbcType=DECIMAL}, beta_incep = #{betaIncep,jdbcType=DECIMAL}, beta_ytd = #{betaYtd,jdbcType=DECIMAL}, win_rate_1m = #{winRate1m,jdbcType=DECIMAL}, win_rate_3m = #{winRate3m,jdbcType=DECIMAL}, win_rate_6m = #{winRate6m,jdbcType=DECIMAL}, win_rate_1y = #{winRate1y,jdbcType=DECIMAL}, win_rate_2y = #{winRate2y,jdbcType=DECIMAL}, win_rate_3y = #{winRate3y,jdbcType=DECIMAL}, win_rate_5y = #{winRate5y,jdbcType=DECIMAL}, win_rate_incep = #{winRateIncep,jdbcType=DECIMAL}, win_rate_ytd = #{winRateYtd,jdbcType=DECIMAL}, downside_risk_1m = #{downsideRisk1m,jdbcType=DECIMAL}, downside_risk_3m = #{downsideRisk3m,jdbcType=DECIMAL}, downside_risk_6m = #{downsideRisk6m,jdbcType=DECIMAL}, downside_risk_1y = #{downsideRisk1y,jdbcType=DECIMAL}, downside_risk_2y = #{downsideRisk2y,jdbcType=DECIMAL}, downside_risk_3y = #{downsideRisk3y,jdbcType=DECIMAL}, downside_risk_5y = #{downsideRisk5y,jdbcType=DECIMAL}, downside_risk_incep = #{downsideRiskIncep,jdbcType=DECIMAL}, downside_risk_ytd = #{downsideRiskYtd,jdbcType=DECIMAL}, informational_ratio_1m = #{informationalRatio1m,jdbcType=DECIMAL}, informational_ratio_3m = #{informationalRatio3m,jdbcType=DECIMAL}, informational_ratio_6m = #{informationalRatio6m,jdbcType=DECIMAL}, informational_ratio_1y = #{informationalRatio1y,jdbcType=DECIMAL}, informational_ratio_2y = #{informationalRatio2y,jdbcType=DECIMAL}, informational_ratio_3y = #{informationalRatio3y,jdbcType=DECIMAL}, informational_ratio_5y = #{informationalRatio5y,jdbcType=DECIMAL}, informational_ratio_incep = #{informationalRatioIncep,jdbcType=DECIMAL}, informational_ratio_ytd = #{informationalRatioYtd,jdbcType=DECIMAL}, annual_ret = #{annualRet,jdbcType=LONGVARCHAR}, monthly_ret = #{monthlyRet,jdbcType=LONGVARCHAR}, annual_maxdrawdown = #{annualMaxdrawdown,jdbcType=LONGVARCHAR} where id = #{id,jdbcType=VARCHAR} </update> <update id="updateByPrimaryKey" parameterType="com.tanpu.fund.entity.generator.FundCount"> <!--@mbg.generated--> update tamp_fund.fund_count set fund_id = #{fundId,jdbcType=VARCHAR}, strategy = #{strategy,jdbcType=INTEGER}, substrategy = #{substrategy,jdbcType=INTEGER}, inception_date = #{inceptionDate,jdbcType=DATE}, `type` = #{type,jdbcType=INTEGER}, end_date = #{endDate,jdbcType=DATE}, price_date = #{priceDate,jdbcType=DATE}, net_nav = #{netNav,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_1m = #{sharperatio1m,jdbcType=DECIMAL}, sharperatio_3m = #{sharperatio3m,jdbcType=DECIMAL}, sharperatio_6m = #{sharperatio6m,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_ytd = #{sharperatioYtd,jdbcType=DECIMAL}, sharperatio_incep = #{sharperatioIncep,jdbcType=DECIMAL}, stddev_1m = #{stddev1m,jdbcType=DECIMAL}, stddev_3m = #{stddev3m,jdbcType=DECIMAL}, stddev_6m = #{stddev6m,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}, maxdrawdown_1m = #{maxdrawdown1m,jdbcType=DECIMAL}, maxdrawdown_3m = #{maxdrawdown3m,jdbcType=DECIMAL}, maxdrawdown_6m = #{maxdrawdown6m,jdbcType=DECIMAL}, maxdrawdown_ytd = #{maxdrawdownYtd,jdbcType=DECIMAL}, data_sources = #{dataSources,jdbcType=INTEGER}, update_time = #{updateTime,jdbcType=TIMESTAMP}, create_time = #{createTime,jdbcType=TIMESTAMP}, `status` = #{status,jdbcType=INTEGER}, sort = #{sort,jdbcType=INTEGER}, delete_tag = #{deleteTag,jdbcType=INTEGER}, calmar_ratio = #{calmarRatio,jdbcType=DECIMAL}, alpha = #{alpha,jdbcType=DECIMAL}, beta = #{beta,jdbcType=DECIMAL}, win_rate = #{winRate,jdbcType=DECIMAL}, calmar_ratio_1m = #{calmarRatio1m,jdbcType=DECIMAL}, calmar_ratio_3m = #{calmarRatio3m,jdbcType=DECIMAL}, calmar_ratio_6m = #{calmarRatio6m,jdbcType=DECIMAL}, calmar_ratio_1y = #{calmarRatio1y,jdbcType=DECIMAL}, calmar_ratio_2y = #{calmarRatio2y,jdbcType=DECIMAL}, calmar_ratio_3y = #{calmarRatio3y,jdbcType=DECIMAL}, calmar_ratio_5y = #{calmarRatio5y,jdbcType=DECIMAL}, calmar_ratio_incep = #{calmarRatioIncep,jdbcType=DECIMAL}, calmar_ratio_ytd = #{calmarRatioYtd,jdbcType=DECIMAL}, sortino_ratio_1m = #{sortinoRatio1m,jdbcType=DECIMAL}, sortino_ratio_3m = #{sortinoRatio3m,jdbcType=DECIMAL}, sortino_ratio_6m = #{sortinoRatio6m,jdbcType=DECIMAL}, sortino_ratio_1y = #{sortinoRatio1y,jdbcType=DECIMAL}, sortino_ratio_2y = #{sortinoRatio2y,jdbcType=DECIMAL}, sortino_ratio_3y = #{sortinoRatio3y,jdbcType=DECIMAL}, sortino_ratio_5y = #{sortinoRatio5y,jdbcType=DECIMAL}, sortino_ratio_incep = #{sortinoRatioIncep,jdbcType=DECIMAL}, sortino_ratio_ytd = #{sortinoRatioYtd,jdbcType=DECIMAL}, alpha_1m = #{alpha1m,jdbcType=DECIMAL}, alpha_3m = #{alpha3m,jdbcType=DECIMAL}, alpha_6m = #{alpha6m,jdbcType=DECIMAL}, alpha_1y = #{alpha1y,jdbcType=DECIMAL}, alpha_2y = #{alpha2y,jdbcType=DECIMAL}, alpha_3y = #{alpha3y,jdbcType=DECIMAL}, alpha_5y = #{alpha5y,jdbcType=DECIMAL}, alpha_incep = #{alphaIncep,jdbcType=DECIMAL}, alpha_ytd = #{alphaYtd,jdbcType=DECIMAL}, beta_1m = #{beta1m,jdbcType=DECIMAL}, beta_3m = #{beta3m,jdbcType=DECIMAL}, beta_6m = #{beta6m,jdbcType=DECIMAL}, beta_1y = #{beta1y,jdbcType=DECIMAL}, beta_2y = #{beta2y,jdbcType=DECIMAL}, beta_3y = #{beta3y,jdbcType=DECIMAL}, beta_5y = #{beta5y,jdbcType=DECIMAL}, beta_incep = #{betaIncep,jdbcType=DECIMAL}, beta_ytd = #{betaYtd,jdbcType=DECIMAL}, win_rate_1m = #{winRate1m,jdbcType=DECIMAL}, win_rate_3m = #{winRate3m,jdbcType=DECIMAL}, win_rate_6m = #{winRate6m,jdbcType=DECIMAL}, win_rate_1y = #{winRate1y,jdbcType=DECIMAL}, win_rate_2y = #{winRate2y,jdbcType=DECIMAL}, win_rate_3y = #{winRate3y,jdbcType=DECIMAL}, win_rate_5y = #{winRate5y,jdbcType=DECIMAL}, win_rate_incep = #{winRateIncep,jdbcType=DECIMAL}, win_rate_ytd = #{winRateYtd,jdbcType=DECIMAL}, downside_risk_1m = #{downsideRisk1m,jdbcType=DECIMAL}, downside_risk_3m = #{downsideRisk3m,jdbcType=DECIMAL}, downside_risk_6m = #{downsideRisk6m,jdbcType=DECIMAL}, downside_risk_1y = #{downsideRisk1y,jdbcType=DECIMAL}, downside_risk_2y = #{downsideRisk2y,jdbcType=DECIMAL}, downside_risk_3y = #{downsideRisk3y,jdbcType=DECIMAL}, downside_risk_5y = #{downsideRisk5y,jdbcType=DECIMAL}, downside_risk_incep = #{downsideRiskIncep,jdbcType=DECIMAL}, downside_risk_ytd = #{downsideRiskYtd,jdbcType=DECIMAL}, informational_ratio_1m = #{informationalRatio1m,jdbcType=DECIMAL}, informational_ratio_3m = #{informationalRatio3m,jdbcType=DECIMAL}, informational_ratio_6m = #{informationalRatio6m,jdbcType=DECIMAL}, informational_ratio_1y = #{informationalRatio1y,jdbcType=DECIMAL}, informational_ratio_2y = #{informationalRatio2y,jdbcType=DECIMAL}, informational_ratio_3y = #{informationalRatio3y,jdbcType=DECIMAL}, informational_ratio_5y = #{informationalRatio5y,jdbcType=DECIMAL}, informational_ratio_incep = #{informationalRatioIncep,jdbcType=DECIMAL}, informational_ratio_ytd = #{informationalRatioYtd,jdbcType=DECIMAL} where id = #{id,jdbcType=VARCHAR} </update> <update id="updateBatch" parameterType="java.util.List"> <!--@mbg.generated--> update tamp_fund.fund_count <trim prefix="set" suffixOverrides=","> <trim prefix="fund_id = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.fundId,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="strategy = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.strategy,jdbcType=INTEGER} </foreach> </trim> <trim prefix="substrategy = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.substrategy,jdbcType=INTEGER} </foreach> </trim> <trim prefix="inception_date = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.inceptionDate,jdbcType=DATE} </foreach> </trim> <trim prefix="`type` = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.type,jdbcType=INTEGER} </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="net_nav = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.netNav,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_1m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.sharperatio1m,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="sharperatio_3m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.sharperatio3m,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="sharperatio_6m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.sharperatio6m,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_ytd = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.sharperatioYtd,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_1m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.stddev1m,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="stddev_3m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.stddev3m,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="stddev_6m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.stddev6m,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="maxdrawdown_1m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.maxdrawdown1m,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="maxdrawdown_3m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.maxdrawdown3m,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="maxdrawdown_6m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.maxdrawdown6m,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="maxdrawdown_ytd = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.maxdrawdownYtd,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="data_sources = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.dataSources,jdbcType=INTEGER} </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="`status` = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.status,jdbcType=INTEGER} </foreach> </trim> <trim prefix="sort = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.sort,jdbcType=INTEGER} </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="calmar_ratio = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.calmarRatio,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="alpha = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.alpha,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="beta = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.beta,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="win_rate = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.winRate,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="calmar_ratio_1m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.calmarRatio1m,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="calmar_ratio_3m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.calmarRatio3m,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="calmar_ratio_6m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.calmarRatio6m,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="calmar_ratio_1y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.calmarRatio1y,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="calmar_ratio_2y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.calmarRatio2y,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="calmar_ratio_3y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.calmarRatio3y,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="calmar_ratio_5y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.calmarRatio5y,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="calmar_ratio_incep = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.calmarRatioIncep,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="calmar_ratio_ytd = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.calmarRatioYtd,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="sortino_ratio_1m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.sortinoRatio1m,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="sortino_ratio_3m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.sortinoRatio3m,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="sortino_ratio_6m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.sortinoRatio6m,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="sortino_ratio_1y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.sortinoRatio1y,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="sortino_ratio_2y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.sortinoRatio2y,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="sortino_ratio_3y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.sortinoRatio3y,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="sortino_ratio_5y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.sortinoRatio5y,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="sortino_ratio_incep = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.sortinoRatioIncep,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="sortino_ratio_ytd = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.sortinoRatioYtd,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="alpha_1m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.alpha1m,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="alpha_3m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.alpha3m,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="alpha_6m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.alpha6m,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="alpha_1y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.alpha1y,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="alpha_2y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.alpha2y,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="alpha_3y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.alpha3y,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="alpha_5y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.alpha5y,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="alpha_incep = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.alphaIncep,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="alpha_ytd = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.alphaYtd,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="beta_1m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.beta1m,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="beta_3m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.beta3m,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="beta_6m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.beta6m,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="beta_1y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.beta1y,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="beta_2y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.beta2y,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="beta_3y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.beta3y,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="beta_5y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.beta5y,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="beta_incep = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.betaIncep,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="beta_ytd = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.betaYtd,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="win_rate_1m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.winRate1m,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="win_rate_3m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.winRate3m,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="win_rate_6m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.winRate6m,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="win_rate_1y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.winRate1y,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="win_rate_2y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.winRate2y,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="win_rate_3y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.winRate3y,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="win_rate_5y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.winRate5y,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="win_rate_incep = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.winRateIncep,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="win_rate_ytd = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.winRateYtd,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="downside_risk_1m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.downsideRisk1m,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="downside_risk_3m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.downsideRisk3m,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="downside_risk_6m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.downsideRisk6m,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="downside_risk_1y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.downsideRisk1y,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="downside_risk_2y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.downsideRisk2y,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="downside_risk_3y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.downsideRisk3y,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="downside_risk_5y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.downsideRisk5y,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="downside_risk_incep = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.downsideRiskIncep,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="downside_risk_ytd = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.downsideRiskYtd,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="informational_ratio_1m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.informationalRatio1m,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="informational_ratio_3m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.informationalRatio3m,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="informational_ratio_6m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.informationalRatio6m,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="informational_ratio_1y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.informationalRatio1y,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="informational_ratio_2y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.informationalRatio2y,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="informational_ratio_3y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.informationalRatio3y,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="informational_ratio_5y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.informationalRatio5y,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="informational_ratio_incep = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.informationalRatioIncep,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="informational_ratio_ytd = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.informationalRatioYtd,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="annual_ret = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.annualRet,jdbcType=LONGVARCHAR} </foreach> </trim> <trim prefix="monthly_ret = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.monthlyRet,jdbcType=LONGVARCHAR} </foreach> </trim> <trim prefix="annual_maxdrawdown = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.annualMaxdrawdown,jdbcType=LONGVARCHAR} </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 tamp_fund.fund_count <trim prefix="set" suffixOverrides=","> <trim prefix="fund_id = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.fundId != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.fundId,jdbcType=VARCHAR} </if> </foreach> </trim> <trim prefix="strategy = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.strategy != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.strategy,jdbcType=INTEGER} </if> </foreach> </trim> <trim prefix="substrategy = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.substrategy != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.substrategy,jdbcType=INTEGER} </if> </foreach> </trim> <trim prefix="inception_date = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.inceptionDate != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.inceptionDate,jdbcType=DATE} </if> </foreach> </trim> <trim prefix="`type` = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.type != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.type,jdbcType=INTEGER} </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="net_nav = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.netNav != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.netNav,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_1m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.sharperatio1m != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.sharperatio1m,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="sharperatio_3m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.sharperatio3m != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.sharperatio3m,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="sharperatio_6m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.sharperatio6m != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.sharperatio6m,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_ytd = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.sharperatioYtd != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.sharperatioYtd,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_1m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.stddev1m != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.stddev1m,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="stddev_3m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.stddev3m != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.stddev3m,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="stddev_6m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.stddev6m != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.stddev6m,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="maxdrawdown_1m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.maxdrawdown1m != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.maxdrawdown1m,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="maxdrawdown_3m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.maxdrawdown3m != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.maxdrawdown3m,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="maxdrawdown_6m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.maxdrawdown6m != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.maxdrawdown6m,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="maxdrawdown_ytd = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.maxdrawdownYtd != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.maxdrawdownYtd,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="data_sources = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.dataSources != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.dataSources,jdbcType=INTEGER} </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="`status` = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.status != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.status,jdbcType=INTEGER} </if> </foreach> </trim> <trim prefix="sort = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.sort != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.sort,jdbcType=INTEGER} </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="calmar_ratio = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.calmarRatio != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.calmarRatio,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="alpha = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.alpha != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.alpha,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="beta = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.beta != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.beta,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="win_rate = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.winRate != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.winRate,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="calmar_ratio_1m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.calmarRatio1m != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.calmarRatio1m,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="calmar_ratio_3m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.calmarRatio3m != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.calmarRatio3m,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="calmar_ratio_6m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.calmarRatio6m != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.calmarRatio6m,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="calmar_ratio_1y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.calmarRatio1y != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.calmarRatio1y,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="calmar_ratio_2y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.calmarRatio2y != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.calmarRatio2y,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="calmar_ratio_3y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.calmarRatio3y != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.calmarRatio3y,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="calmar_ratio_5y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.calmarRatio5y != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.calmarRatio5y,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="calmar_ratio_incep = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.calmarRatioIncep != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.calmarRatioIncep,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="calmar_ratio_ytd = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.calmarRatioYtd != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.calmarRatioYtd,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="sortino_ratio_1m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.sortinoRatio1m != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.sortinoRatio1m,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="sortino_ratio_3m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.sortinoRatio3m != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.sortinoRatio3m,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="sortino_ratio_6m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.sortinoRatio6m != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.sortinoRatio6m,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="sortino_ratio_1y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.sortinoRatio1y != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.sortinoRatio1y,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="sortino_ratio_2y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.sortinoRatio2y != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.sortinoRatio2y,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="sortino_ratio_3y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.sortinoRatio3y != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.sortinoRatio3y,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="sortino_ratio_5y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.sortinoRatio5y != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.sortinoRatio5y,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="sortino_ratio_incep = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.sortinoRatioIncep != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.sortinoRatioIncep,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="sortino_ratio_ytd = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.sortinoRatioYtd != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.sortinoRatioYtd,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="alpha_1m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.alpha1m != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.alpha1m,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="alpha_3m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.alpha3m != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.alpha3m,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="alpha_6m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.alpha6m != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.alpha6m,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="alpha_1y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.alpha1y != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.alpha1y,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="alpha_2y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.alpha2y != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.alpha2y,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="alpha_3y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.alpha3y != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.alpha3y,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="alpha_5y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.alpha5y != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.alpha5y,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="alpha_incep = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.alphaIncep != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.alphaIncep,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="alpha_ytd = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.alphaYtd != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.alphaYtd,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="beta_1m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.beta1m != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.beta1m,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="beta_3m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.beta3m != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.beta3m,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="beta_6m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.beta6m != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.beta6m,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="beta_1y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.beta1y != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.beta1y,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="beta_2y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.beta2y != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.beta2y,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="beta_3y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.beta3y != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.beta3y,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="beta_5y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.beta5y != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.beta5y,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="beta_incep = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.betaIncep != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.betaIncep,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="beta_ytd = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.betaYtd != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.betaYtd,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="win_rate_1m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.winRate1m != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.winRate1m,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="win_rate_3m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.winRate3m != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.winRate3m,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="win_rate_6m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.winRate6m != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.winRate6m,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="win_rate_1y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.winRate1y != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.winRate1y,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="win_rate_2y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.winRate2y != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.winRate2y,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="win_rate_3y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.winRate3y != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.winRate3y,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="win_rate_5y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.winRate5y != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.winRate5y,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="win_rate_incep = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.winRateIncep != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.winRateIncep,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="win_rate_ytd = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.winRateYtd != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.winRateYtd,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="downside_risk_1m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.downsideRisk1m != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.downsideRisk1m,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="downside_risk_3m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.downsideRisk3m != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.downsideRisk3m,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="downside_risk_6m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.downsideRisk6m != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.downsideRisk6m,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="downside_risk_1y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.downsideRisk1y != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.downsideRisk1y,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="downside_risk_2y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.downsideRisk2y != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.downsideRisk2y,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="downside_risk_3y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.downsideRisk3y != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.downsideRisk3y,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="downside_risk_5y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.downsideRisk5y != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.downsideRisk5y,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="downside_risk_incep = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.downsideRiskIncep != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.downsideRiskIncep,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="downside_risk_ytd = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.downsideRiskYtd != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.downsideRiskYtd,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="informational_ratio_1m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.informationalRatio1m != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.informationalRatio1m,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="informational_ratio_3m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.informationalRatio3m != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.informationalRatio3m,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="informational_ratio_6m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.informationalRatio6m != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.informationalRatio6m,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="informational_ratio_1y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.informationalRatio1y != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.informationalRatio1y,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="informational_ratio_2y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.informationalRatio2y != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.informationalRatio2y,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="informational_ratio_3y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.informationalRatio3y != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.informationalRatio3y,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="informational_ratio_5y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.informationalRatio5y != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.informationalRatio5y,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="informational_ratio_incep = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.informationalRatioIncep != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.informationalRatioIncep,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="informational_ratio_ytd = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.informationalRatioYtd != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.informationalRatioYtd,jdbcType=DECIMAL} </if> </foreach> </trim> <trim prefix="annual_ret = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.annualRet != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.annualRet,jdbcType=LONGVARCHAR} </if> </foreach> </trim> <trim prefix="monthly_ret = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.monthlyRet != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.monthlyRet,jdbcType=LONGVARCHAR} </if> </foreach> </trim> <trim prefix="annual_maxdrawdown = case" suffix="end,"> <foreach collection="list" index="index" item="item"> <if test="item.annualMaxdrawdown != null"> when id = #{item.id,jdbcType=VARCHAR} then #{item.annualMaxdrawdown,jdbcType=LONGVARCHAR} </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 tamp_fund.fund_count (id, fund_id, strategy, substrategy, inception_date, `type`, end_date, price_date, net_nav, 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_1m, sharperatio_3m, sharperatio_6m, sharperatio_1y, sharperatio_2y, sharperatio_3y, sharperatio_4y, sharperatio_5y, sharperatio_ytd, sharperatio_incep, stddev_1m, stddev_3m, stddev_6m, 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, maxdrawdown_1m, maxdrawdown_3m, maxdrawdown_6m, maxdrawdown_ytd, data_sources, update_time, create_time, `status`, sort, delete_tag, calmar_ratio, alpha, beta, win_rate, calmar_ratio_1m, calmar_ratio_3m, calmar_ratio_6m, calmar_ratio_1y, calmar_ratio_2y, calmar_ratio_3y, calmar_ratio_5y, calmar_ratio_incep, calmar_ratio_ytd, sortino_ratio_1m, sortino_ratio_3m, sortino_ratio_6m, sortino_ratio_1y, sortino_ratio_2y, sortino_ratio_3y, sortino_ratio_5y, sortino_ratio_incep, sortino_ratio_ytd, alpha_1m, alpha_3m, alpha_6m, alpha_1y, alpha_2y, alpha_3y, alpha_5y, alpha_incep, alpha_ytd, beta_1m, beta_3m, beta_6m, beta_1y, beta_2y, beta_3y, beta_5y, beta_incep, beta_ytd, win_rate_1m, win_rate_3m, win_rate_6m, win_rate_1y, win_rate_2y, win_rate_3y, win_rate_5y, win_rate_incep, win_rate_ytd, downside_risk_1m, downside_risk_3m, downside_risk_6m, downside_risk_1y, downside_risk_2y, downside_risk_3y, downside_risk_5y, downside_risk_incep, downside_risk_ytd, informational_ratio_1m, informational_ratio_3m, informational_ratio_6m, informational_ratio_1y, informational_ratio_2y, informational_ratio_3y, informational_ratio_5y, informational_ratio_incep, informational_ratio_ytd, annual_ret, monthly_ret, annual_maxdrawdown) values <foreach collection="list" item="item" separator=","> (#{item.id,jdbcType=VARCHAR}, #{item.fundId,jdbcType=VARCHAR}, #{item.strategy,jdbcType=INTEGER}, #{item.substrategy,jdbcType=INTEGER}, #{item.inceptionDate,jdbcType=DATE}, #{item.type,jdbcType=INTEGER}, #{item.endDate,jdbcType=DATE}, #{item.priceDate,jdbcType=DATE}, #{item.netNav,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.sharperatio1m,jdbcType=DECIMAL}, #{item.sharperatio3m,jdbcType=DECIMAL}, #{item.sharperatio6m,jdbcType=DECIMAL}, #{item.sharperatio1y,jdbcType=DECIMAL}, #{item.sharperatio2y,jdbcType=DECIMAL}, #{item.sharperatio3y,jdbcType=DECIMAL}, #{item.sharperatio4y,jdbcType=DECIMAL}, #{item.sharperatio5y,jdbcType=DECIMAL}, #{item.sharperatioYtd,jdbcType=DECIMAL}, #{item.sharperatioIncep,jdbcType=DECIMAL}, #{item.stddev1m,jdbcType=DECIMAL}, #{item.stddev3m,jdbcType=DECIMAL}, #{item.stddev6m,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.maxdrawdown1m,jdbcType=DECIMAL}, #{item.maxdrawdown3m,jdbcType=DECIMAL}, #{item.maxdrawdown6m,jdbcType=DECIMAL}, #{item.maxdrawdownYtd,jdbcType=DECIMAL}, #{item.dataSources,jdbcType=INTEGER}, #{item.updateTime,jdbcType=TIMESTAMP}, #{item.createTime,jdbcType=TIMESTAMP}, #{item.status,jdbcType=INTEGER}, #{item.sort,jdbcType=INTEGER}, #{item.deleteTag,jdbcType=INTEGER}, #{item.calmarRatio,jdbcType=DECIMAL}, #{item.alpha,jdbcType=DECIMAL}, #{item.beta,jdbcType=DECIMAL}, #{item.winRate,jdbcType=DECIMAL}, #{item.calmarRatio1m,jdbcType=DECIMAL}, #{item.calmarRatio3m,jdbcType=DECIMAL}, #{item.calmarRatio6m,jdbcType=DECIMAL}, #{item.calmarRatio1y,jdbcType=DECIMAL}, #{item.calmarRatio2y,jdbcType=DECIMAL}, #{item.calmarRatio3y,jdbcType=DECIMAL}, #{item.calmarRatio5y,jdbcType=DECIMAL}, #{item.calmarRatioIncep,jdbcType=DECIMAL}, #{item.calmarRatioYtd,jdbcType=DECIMAL}, #{item.sortinoRatio1m,jdbcType=DECIMAL}, #{item.sortinoRatio3m,jdbcType=DECIMAL}, #{item.sortinoRatio6m,jdbcType=DECIMAL}, #{item.sortinoRatio1y,jdbcType=DECIMAL}, #{item.sortinoRatio2y,jdbcType=DECIMAL}, #{item.sortinoRatio3y,jdbcType=DECIMAL}, #{item.sortinoRatio5y,jdbcType=DECIMAL}, #{item.sortinoRatioIncep,jdbcType=DECIMAL}, #{item.sortinoRatioYtd,jdbcType=DECIMAL}, #{item.alpha1m,jdbcType=DECIMAL}, #{item.alpha3m,jdbcType=DECIMAL}, #{item.alpha6m,jdbcType=DECIMAL}, #{item.alpha1y,jdbcType=DECIMAL}, #{item.alpha2y,jdbcType=DECIMAL}, #{item.alpha3y,jdbcType=DECIMAL}, #{item.alpha5y,jdbcType=DECIMAL}, #{item.alphaIncep,jdbcType=DECIMAL}, #{item.alphaYtd,jdbcType=DECIMAL}, #{item.beta1m,jdbcType=DECIMAL}, #{item.beta3m,jdbcType=DECIMAL}, #{item.beta6m,jdbcType=DECIMAL}, #{item.beta1y,jdbcType=DECIMAL}, #{item.beta2y,jdbcType=DECIMAL}, #{item.beta3y,jdbcType=DECIMAL}, #{item.beta5y,jdbcType=DECIMAL}, #{item.betaIncep,jdbcType=DECIMAL}, #{item.betaYtd,jdbcType=DECIMAL}, #{item.winRate1m,jdbcType=DECIMAL}, #{item.winRate3m,jdbcType=DECIMAL}, #{item.winRate6m,jdbcType=DECIMAL}, #{item.winRate1y,jdbcType=DECIMAL}, #{item.winRate2y,jdbcType=DECIMAL}, #{item.winRate3y,jdbcType=DECIMAL}, #{item.winRate5y,jdbcType=DECIMAL}, #{item.winRateIncep,jdbcType=DECIMAL}, #{item.winRateYtd,jdbcType=DECIMAL}, #{item.downsideRisk1m,jdbcType=DECIMAL}, #{item.downsideRisk3m,jdbcType=DECIMAL}, #{item.downsideRisk6m,jdbcType=DECIMAL}, #{item.downsideRisk1y,jdbcType=DECIMAL}, #{item.downsideRisk2y,jdbcType=DECIMAL}, #{item.downsideRisk3y,jdbcType=DECIMAL}, #{item.downsideRisk5y,jdbcType=DECIMAL}, #{item.downsideRiskIncep,jdbcType=DECIMAL}, #{item.downsideRiskYtd,jdbcType=DECIMAL}, #{item.informationalRatio1m,jdbcType=DECIMAL}, #{item.informationalRatio3m,jdbcType=DECIMAL}, #{item.informationalRatio6m,jdbcType=DECIMAL}, #{item.informationalRatio1y,jdbcType=DECIMAL}, #{item.informationalRatio2y,jdbcType=DECIMAL}, #{item.informationalRatio3y,jdbcType=DECIMAL}, #{item.informationalRatio5y,jdbcType=DECIMAL}, #{item.informationalRatioIncep,jdbcType=DECIMAL}, #{item.informationalRatioYtd,jdbcType=DECIMAL}, #{item.annualRet,jdbcType=LONGVARCHAR}, #{item.monthlyRet,jdbcType=LONGVARCHAR}, #{item.annualMaxdrawdown,jdbcType=LONGVARCHAR}) </foreach> </insert> <insert id="insertOrUpdate" parameterType="com.tanpu.fund.entity.generator.FundCount"> <!--@mbg.generated--> insert into tamp_fund.fund_count (id, fund_id, strategy, substrategy, inception_date, `type`, end_date, price_date, net_nav, 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_1m, sharperatio_3m, sharperatio_6m, sharperatio_1y, sharperatio_2y, sharperatio_3y, sharperatio_4y, sharperatio_5y, sharperatio_ytd, sharperatio_incep, stddev_1m, stddev_3m, stddev_6m, 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, maxdrawdown_1m, maxdrawdown_3m, maxdrawdown_6m, maxdrawdown_ytd, data_sources, update_time, create_time, `status`, sort, delete_tag, calmar_ratio, alpha, beta, win_rate, calmar_ratio_1m, calmar_ratio_3m, calmar_ratio_6m, calmar_ratio_1y, calmar_ratio_2y, calmar_ratio_3y, calmar_ratio_5y, calmar_ratio_incep, calmar_ratio_ytd, sortino_ratio_1m, sortino_ratio_3m, sortino_ratio_6m, sortino_ratio_1y, sortino_ratio_2y, sortino_ratio_3y, sortino_ratio_5y, sortino_ratio_incep, sortino_ratio_ytd, alpha_1m, alpha_3m, alpha_6m, alpha_1y, alpha_2y, alpha_3y, alpha_5y, alpha_incep, alpha_ytd, beta_1m, beta_3m, beta_6m, beta_1y, beta_2y, beta_3y, beta_5y, beta_incep, beta_ytd, win_rate_1m, win_rate_3m, win_rate_6m, win_rate_1y, win_rate_2y, win_rate_3y, win_rate_5y, win_rate_incep, win_rate_ytd, downside_risk_1m, downside_risk_3m, downside_risk_6m, downside_risk_1y, downside_risk_2y, downside_risk_3y, downside_risk_5y, downside_risk_incep, downside_risk_ytd, informational_ratio_1m, informational_ratio_3m, informational_ratio_6m, informational_ratio_1y, informational_ratio_2y, informational_ratio_3y, informational_ratio_5y, informational_ratio_incep, informational_ratio_ytd) values (#{id,jdbcType=VARCHAR}, #{fundId,jdbcType=VARCHAR}, #{strategy,jdbcType=INTEGER}, #{substrategy,jdbcType=INTEGER}, #{inceptionDate,jdbcType=DATE}, #{type,jdbcType=INTEGER}, #{endDate,jdbcType=DATE}, #{priceDate,jdbcType=DATE}, #{netNav,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}, #{sharperatio1m,jdbcType=DECIMAL}, #{sharperatio3m,jdbcType=DECIMAL}, #{sharperatio6m,jdbcType=DECIMAL}, #{sharperatio1y,jdbcType=DECIMAL}, #{sharperatio2y,jdbcType=DECIMAL}, #{sharperatio3y,jdbcType=DECIMAL}, #{sharperatio4y,jdbcType=DECIMAL}, #{sharperatio5y,jdbcType=DECIMAL}, #{sharperatioYtd,jdbcType=DECIMAL}, #{sharperatioIncep,jdbcType=DECIMAL}, #{stddev1m,jdbcType=DECIMAL}, #{stddev3m,jdbcType=DECIMAL}, #{stddev6m,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}, #{maxdrawdown1m,jdbcType=DECIMAL}, #{maxdrawdown3m,jdbcType=DECIMAL}, #{maxdrawdown6m,jdbcType=DECIMAL}, #{maxdrawdownYtd,jdbcType=DECIMAL}, #{dataSources,jdbcType=INTEGER}, #{updateTime,jdbcType=TIMESTAMP}, #{createTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, #{deleteTag,jdbcType=INTEGER}, #{calmarRatio,jdbcType=DECIMAL}, #{alpha,jdbcType=DECIMAL}, #{beta,jdbcType=DECIMAL}, #{winRate,jdbcType=DECIMAL}, #{calmarRatio1m,jdbcType=DECIMAL}, #{calmarRatio3m,jdbcType=DECIMAL}, #{calmarRatio6m,jdbcType=DECIMAL}, #{calmarRatio1y,jdbcType=DECIMAL}, #{calmarRatio2y,jdbcType=DECIMAL}, #{calmarRatio3y,jdbcType=DECIMAL}, #{calmarRatio5y,jdbcType=DECIMAL}, #{calmarRatioIncep,jdbcType=DECIMAL}, #{calmarRatioYtd,jdbcType=DECIMAL}, #{sortinoRatio1m,jdbcType=DECIMAL}, #{sortinoRatio3m,jdbcType=DECIMAL}, #{sortinoRatio6m,jdbcType=DECIMAL}, #{sortinoRatio1y,jdbcType=DECIMAL}, #{sortinoRatio2y,jdbcType=DECIMAL}, #{sortinoRatio3y,jdbcType=DECIMAL}, #{sortinoRatio5y,jdbcType=DECIMAL}, #{sortinoRatioIncep,jdbcType=DECIMAL}, #{sortinoRatioYtd,jdbcType=DECIMAL}, #{alpha1m,jdbcType=DECIMAL}, #{alpha3m,jdbcType=DECIMAL}, #{alpha6m,jdbcType=DECIMAL}, #{alpha1y,jdbcType=DECIMAL}, #{alpha2y,jdbcType=DECIMAL}, #{alpha3y,jdbcType=DECIMAL}, #{alpha5y,jdbcType=DECIMAL}, #{alphaIncep,jdbcType=DECIMAL}, #{alphaYtd,jdbcType=DECIMAL}, #{beta1m,jdbcType=DECIMAL}, #{beta3m,jdbcType=DECIMAL}, #{beta6m,jdbcType=DECIMAL}, #{beta1y,jdbcType=DECIMAL}, #{beta2y,jdbcType=DECIMAL}, #{beta3y,jdbcType=DECIMAL}, #{beta5y,jdbcType=DECIMAL}, #{betaIncep,jdbcType=DECIMAL}, #{betaYtd,jdbcType=DECIMAL}, #{winRate1m,jdbcType=DECIMAL}, #{winRate3m,jdbcType=DECIMAL}, #{winRate6m,jdbcType=DECIMAL}, #{winRate1y,jdbcType=DECIMAL}, #{winRate2y,jdbcType=DECIMAL}, #{winRate3y,jdbcType=DECIMAL}, #{winRate5y,jdbcType=DECIMAL}, #{winRateIncep,jdbcType=DECIMAL}, #{winRateYtd,jdbcType=DECIMAL}, #{downsideRisk1m,jdbcType=DECIMAL}, #{downsideRisk3m,jdbcType=DECIMAL}, #{downsideRisk6m,jdbcType=DECIMAL}, #{downsideRisk1y,jdbcType=DECIMAL}, #{downsideRisk2y,jdbcType=DECIMAL}, #{downsideRisk3y,jdbcType=DECIMAL}, #{downsideRisk5y,jdbcType=DECIMAL}, #{downsideRiskIncep,jdbcType=DECIMAL}, #{downsideRiskYtd,jdbcType=DECIMAL}, #{informationalRatio1m,jdbcType=DECIMAL}, #{informationalRatio3m,jdbcType=DECIMAL}, #{informationalRatio6m,jdbcType=DECIMAL}, #{informationalRatio1y,jdbcType=DECIMAL}, #{informationalRatio2y,jdbcType=DECIMAL}, #{informationalRatio3y,jdbcType=DECIMAL}, #{informationalRatio5y,jdbcType=DECIMAL}, #{informationalRatioIncep,jdbcType=DECIMAL}, #{informationalRatioYtd,jdbcType=DECIMAL} ) on duplicate key update id = #{id,jdbcType=VARCHAR}, fund_id = #{fundId,jdbcType=VARCHAR}, strategy = #{strategy,jdbcType=INTEGER}, substrategy = #{substrategy,jdbcType=INTEGER}, inception_date = #{inceptionDate,jdbcType=DATE}, `type` = #{type,jdbcType=INTEGER}, end_date = #{endDate,jdbcType=DATE}, price_date = #{priceDate,jdbcType=DATE}, net_nav = #{netNav,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_1m = #{sharperatio1m,jdbcType=DECIMAL}, sharperatio_3m = #{sharperatio3m,jdbcType=DECIMAL}, sharperatio_6m = #{sharperatio6m,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_ytd = #{sharperatioYtd,jdbcType=DECIMAL}, sharperatio_incep = #{sharperatioIncep,jdbcType=DECIMAL}, stddev_1m = #{stddev1m,jdbcType=DECIMAL}, stddev_3m = #{stddev3m,jdbcType=DECIMAL}, stddev_6m = #{stddev6m,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}, maxdrawdown_1m = #{maxdrawdown1m,jdbcType=DECIMAL}, maxdrawdown_3m = #{maxdrawdown3m,jdbcType=DECIMAL}, maxdrawdown_6m = #{maxdrawdown6m,jdbcType=DECIMAL}, maxdrawdown_ytd = #{maxdrawdownYtd,jdbcType=DECIMAL}, data_sources = #{dataSources,jdbcType=INTEGER}, update_time = #{updateTime,jdbcType=TIMESTAMP}, create_time = #{createTime,jdbcType=TIMESTAMP}, `status` = #{status,jdbcType=INTEGER}, sort = #{sort,jdbcType=INTEGER}, delete_tag = #{deleteTag,jdbcType=INTEGER}, calmar_ratio = #{calmarRatio,jdbcType=DECIMAL}, alpha = #{alpha,jdbcType=DECIMAL}, beta = #{beta,jdbcType=DECIMAL}, win_rate = #{winRate,jdbcType=DECIMAL}, calmar_ratio_1m = #{calmarRatio1m,jdbcType=DECIMAL}, calmar_ratio_3m = #{calmarRatio3m,jdbcType=DECIMAL}, calmar_ratio_6m = #{calmarRatio6m,jdbcType=DECIMAL}, calmar_ratio_1y = #{calmarRatio1y,jdbcType=DECIMAL}, calmar_ratio_2y = #{calmarRatio2y,jdbcType=DECIMAL}, calmar_ratio_3y = #{calmarRatio3y,jdbcType=DECIMAL}, calmar_ratio_5y = #{calmarRatio5y,jdbcType=DECIMAL}, calmar_ratio_incep = #{calmarRatioIncep,jdbcType=DECIMAL}, calmar_ratio_ytd = #{calmarRatioYtd,jdbcType=DECIMAL}, sortino_ratio_1m = #{sortinoRatio1m,jdbcType=DECIMAL}, sortino_ratio_3m = #{sortinoRatio3m,jdbcType=DECIMAL}, sortino_ratio_6m = #{sortinoRatio6m,jdbcType=DECIMAL}, sortino_ratio_1y = #{sortinoRatio1y,jdbcType=DECIMAL}, sortino_ratio_2y = #{sortinoRatio2y,jdbcType=DECIMAL}, sortino_ratio_3y = #{sortinoRatio3y,jdbcType=DECIMAL}, sortino_ratio_5y = #{sortinoRatio5y,jdbcType=DECIMAL}, sortino_ratio_incep = #{sortinoRatioIncep,jdbcType=DECIMAL}, sortino_ratio_ytd = #{sortinoRatioYtd,jdbcType=DECIMAL}, alpha_1m = #{alpha1m,jdbcType=DECIMAL}, alpha_3m = #{alpha3m,jdbcType=DECIMAL}, alpha_6m = #{alpha6m,jdbcType=DECIMAL}, alpha_1y = #{alpha1y,jdbcType=DECIMAL}, alpha_2y = #{alpha2y,jdbcType=DECIMAL}, alpha_3y = #{alpha3y,jdbcType=DECIMAL}, alpha_5y = #{alpha5y,jdbcType=DECIMAL}, alpha_incep = #{alphaIncep,jdbcType=DECIMAL}, alpha_ytd = #{alphaYtd,jdbcType=DECIMAL}, beta_1m = #{beta1m,jdbcType=DECIMAL}, beta_3m = #{beta3m,jdbcType=DECIMAL}, beta_6m = #{beta6m,jdbcType=DECIMAL}, beta_1y = #{beta1y,jdbcType=DECIMAL}, beta_2y = #{beta2y,jdbcType=DECIMAL}, beta_3y = #{beta3y,jdbcType=DECIMAL}, beta_5y = #{beta5y,jdbcType=DECIMAL}, beta_incep = #{betaIncep,jdbcType=DECIMAL}, beta_ytd = #{betaYtd,jdbcType=DECIMAL}, win_rate_1m = #{winRate1m,jdbcType=DECIMAL}, win_rate_3m = #{winRate3m,jdbcType=DECIMAL}, win_rate_6m = #{winRate6m,jdbcType=DECIMAL}, win_rate_1y = #{winRate1y,jdbcType=DECIMAL}, win_rate_2y = #{winRate2y,jdbcType=DECIMAL}, win_rate_3y = #{winRate3y,jdbcType=DECIMAL}, win_rate_5y = #{winRate5y,jdbcType=DECIMAL}, win_rate_incep = #{winRateIncep,jdbcType=DECIMAL}, win_rate_ytd = #{winRateYtd,jdbcType=DECIMAL}, downside_risk_1m = #{downsideRisk1m,jdbcType=DECIMAL}, downside_risk_3m = #{downsideRisk3m,jdbcType=DECIMAL}, downside_risk_6m = #{downsideRisk6m,jdbcType=DECIMAL}, downside_risk_1y = #{downsideRisk1y,jdbcType=DECIMAL}, downside_risk_2y = #{downsideRisk2y,jdbcType=DECIMAL}, downside_risk_3y = #{downsideRisk3y,jdbcType=DECIMAL}, downside_risk_5y = #{downsideRisk5y,jdbcType=DECIMAL}, downside_risk_incep = #{downsideRiskIncep,jdbcType=DECIMAL}, downside_risk_ytd = #{downsideRiskYtd,jdbcType=DECIMAL}, informational_ratio_1m = #{informationalRatio1m,jdbcType=DECIMAL}, informational_ratio_3m = #{informationalRatio3m,jdbcType=DECIMAL}, informational_ratio_6m = #{informationalRatio6m,jdbcType=DECIMAL}, informational_ratio_1y = #{informationalRatio1y,jdbcType=DECIMAL}, informational_ratio_2y = #{informationalRatio2y,jdbcType=DECIMAL}, informational_ratio_3y = #{informationalRatio3y,jdbcType=DECIMAL}, informational_ratio_5y = #{informationalRatio5y,jdbcType=DECIMAL}, informational_ratio_incep = #{informationalRatioIncep,jdbcType=DECIMAL}, informational_ratio_ytd = #{informationalRatioYtd,jdbcType=DECIMAL} </insert> <insert id="insertOrUpdateWithBLOBs" parameterType="com.tanpu.fund.entity.generator.FundCount"> <!--@mbg.generated--> insert into tamp_fund.fund_count (id, fund_id, strategy, substrategy, inception_date, `type`, end_date, price_date, net_nav, 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_1m, sharperatio_3m, sharperatio_6m, sharperatio_1y, sharperatio_2y, sharperatio_3y, sharperatio_4y, sharperatio_5y, sharperatio_ytd, sharperatio_incep, stddev_1m, stddev_3m, stddev_6m, 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, maxdrawdown_1m, maxdrawdown_3m, maxdrawdown_6m, maxdrawdown_ytd, data_sources, update_time, create_time, `status`, sort, delete_tag, calmar_ratio, alpha, beta, win_rate, calmar_ratio_1m, calmar_ratio_3m, calmar_ratio_6m, calmar_ratio_1y, calmar_ratio_2y, calmar_ratio_3y, calmar_ratio_5y, calmar_ratio_incep, calmar_ratio_ytd, sortino_ratio_1m, sortino_ratio_3m, sortino_ratio_6m, sortino_ratio_1y, sortino_ratio_2y, sortino_ratio_3y, sortino_ratio_5y, sortino_ratio_incep, sortino_ratio_ytd, alpha_1m, alpha_3m, alpha_6m, alpha_1y, alpha_2y, alpha_3y, alpha_5y, alpha_incep, alpha_ytd, beta_1m, beta_3m, beta_6m, beta_1y, beta_2y, beta_3y, beta_5y, beta_incep, beta_ytd, win_rate_1m, win_rate_3m, win_rate_6m, win_rate_1y, win_rate_2y, win_rate_3y, win_rate_5y, win_rate_incep, win_rate_ytd, downside_risk_1m, downside_risk_3m, downside_risk_6m, downside_risk_1y, downside_risk_2y, downside_risk_3y, downside_risk_5y, downside_risk_incep, downside_risk_ytd, informational_ratio_1m, informational_ratio_3m, informational_ratio_6m, informational_ratio_1y, informational_ratio_2y, informational_ratio_3y, informational_ratio_5y, informational_ratio_incep, informational_ratio_ytd, annual_ret, monthly_ret, annual_maxdrawdown) values (#{id,jdbcType=VARCHAR}, #{fundId,jdbcType=VARCHAR}, #{strategy,jdbcType=INTEGER}, #{substrategy,jdbcType=INTEGER}, #{inceptionDate,jdbcType=DATE}, #{type,jdbcType=INTEGER}, #{endDate,jdbcType=DATE}, #{priceDate,jdbcType=DATE}, #{netNav,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}, #{sharperatio1m,jdbcType=DECIMAL}, #{sharperatio3m,jdbcType=DECIMAL}, #{sharperatio6m,jdbcType=DECIMAL}, #{sharperatio1y,jdbcType=DECIMAL}, #{sharperatio2y,jdbcType=DECIMAL}, #{sharperatio3y,jdbcType=DECIMAL}, #{sharperatio4y,jdbcType=DECIMAL}, #{sharperatio5y,jdbcType=DECIMAL}, #{sharperatioYtd,jdbcType=DECIMAL}, #{sharperatioIncep,jdbcType=DECIMAL}, #{stddev1m,jdbcType=DECIMAL}, #{stddev3m,jdbcType=DECIMAL}, #{stddev6m,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}, #{maxdrawdown1m,jdbcType=DECIMAL}, #{maxdrawdown3m,jdbcType=DECIMAL}, #{maxdrawdown6m,jdbcType=DECIMAL}, #{maxdrawdownYtd,jdbcType=DECIMAL}, #{dataSources,jdbcType=INTEGER}, #{updateTime,jdbcType=TIMESTAMP}, #{createTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, #{deleteTag,jdbcType=INTEGER}, #{calmarRatio,jdbcType=DECIMAL}, #{alpha,jdbcType=DECIMAL}, #{beta,jdbcType=DECIMAL}, #{winRate,jdbcType=DECIMAL}, #{calmarRatio1m,jdbcType=DECIMAL}, #{calmarRatio3m,jdbcType=DECIMAL}, #{calmarRatio6m,jdbcType=DECIMAL}, #{calmarRatio1y,jdbcType=DECIMAL}, #{calmarRatio2y,jdbcType=DECIMAL}, #{calmarRatio3y,jdbcType=DECIMAL}, #{calmarRatio5y,jdbcType=DECIMAL}, #{calmarRatioIncep,jdbcType=DECIMAL}, #{calmarRatioYtd,jdbcType=DECIMAL}, #{sortinoRatio1m,jdbcType=DECIMAL}, #{sortinoRatio3m,jdbcType=DECIMAL}, #{sortinoRatio6m,jdbcType=DECIMAL}, #{sortinoRatio1y,jdbcType=DECIMAL}, #{sortinoRatio2y,jdbcType=DECIMAL}, #{sortinoRatio3y,jdbcType=DECIMAL}, #{sortinoRatio5y,jdbcType=DECIMAL}, #{sortinoRatioIncep,jdbcType=DECIMAL}, #{sortinoRatioYtd,jdbcType=DECIMAL}, #{alpha1m,jdbcType=DECIMAL}, #{alpha3m,jdbcType=DECIMAL}, #{alpha6m,jdbcType=DECIMAL}, #{alpha1y,jdbcType=DECIMAL}, #{alpha2y,jdbcType=DECIMAL}, #{alpha3y,jdbcType=DECIMAL}, #{alpha5y,jdbcType=DECIMAL}, #{alphaIncep,jdbcType=DECIMAL}, #{alphaYtd,jdbcType=DECIMAL}, #{beta1m,jdbcType=DECIMAL}, #{beta3m,jdbcType=DECIMAL}, #{beta6m,jdbcType=DECIMAL}, #{beta1y,jdbcType=DECIMAL}, #{beta2y,jdbcType=DECIMAL}, #{beta3y,jdbcType=DECIMAL}, #{beta5y,jdbcType=DECIMAL}, #{betaIncep,jdbcType=DECIMAL}, #{betaYtd,jdbcType=DECIMAL}, #{winRate1m,jdbcType=DECIMAL}, #{winRate3m,jdbcType=DECIMAL}, #{winRate6m,jdbcType=DECIMAL}, #{winRate1y,jdbcType=DECIMAL}, #{winRate2y,jdbcType=DECIMAL}, #{winRate3y,jdbcType=DECIMAL}, #{winRate5y,jdbcType=DECIMAL}, #{winRateIncep,jdbcType=DECIMAL}, #{winRateYtd,jdbcType=DECIMAL}, #{downsideRisk1m,jdbcType=DECIMAL}, #{downsideRisk3m,jdbcType=DECIMAL}, #{downsideRisk6m,jdbcType=DECIMAL}, #{downsideRisk1y,jdbcType=DECIMAL}, #{downsideRisk2y,jdbcType=DECIMAL}, #{downsideRisk3y,jdbcType=DECIMAL}, #{downsideRisk5y,jdbcType=DECIMAL}, #{downsideRiskIncep,jdbcType=DECIMAL}, #{downsideRiskYtd,jdbcType=DECIMAL}, #{informationalRatio1m,jdbcType=DECIMAL}, #{informationalRatio3m,jdbcType=DECIMAL}, #{informationalRatio6m,jdbcType=DECIMAL}, #{informationalRatio1y,jdbcType=DECIMAL}, #{informationalRatio2y,jdbcType=DECIMAL}, #{informationalRatio3y,jdbcType=DECIMAL}, #{informationalRatio5y,jdbcType=DECIMAL}, #{informationalRatioIncep,jdbcType=DECIMAL}, #{informationalRatioYtd,jdbcType=DECIMAL}, #{annualRet,jdbcType=LONGVARCHAR}, #{monthlyRet,jdbcType=LONGVARCHAR}, #{annualMaxdrawdown,jdbcType=LONGVARCHAR} ) on duplicate key update id = #{id,jdbcType=VARCHAR}, fund_id = #{fundId,jdbcType=VARCHAR}, strategy = #{strategy,jdbcType=INTEGER}, substrategy = #{substrategy,jdbcType=INTEGER}, inception_date = #{inceptionDate,jdbcType=DATE}, `type` = #{type,jdbcType=INTEGER}, end_date = #{endDate,jdbcType=DATE}, price_date = #{priceDate,jdbcType=DATE}, net_nav = #{netNav,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_1m = #{sharperatio1m,jdbcType=DECIMAL}, sharperatio_3m = #{sharperatio3m,jdbcType=DECIMAL}, sharperatio_6m = #{sharperatio6m,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_ytd = #{sharperatioYtd,jdbcType=DECIMAL}, sharperatio_incep = #{sharperatioIncep,jdbcType=DECIMAL}, stddev_1m = #{stddev1m,jdbcType=DECIMAL}, stddev_3m = #{stddev3m,jdbcType=DECIMAL}, stddev_6m = #{stddev6m,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}, maxdrawdown_1m = #{maxdrawdown1m,jdbcType=DECIMAL}, maxdrawdown_3m = #{maxdrawdown3m,jdbcType=DECIMAL}, maxdrawdown_6m = #{maxdrawdown6m,jdbcType=DECIMAL}, maxdrawdown_ytd = #{maxdrawdownYtd,jdbcType=DECIMAL}, data_sources = #{dataSources,jdbcType=INTEGER}, update_time = #{updateTime,jdbcType=TIMESTAMP}, create_time = #{createTime,jdbcType=TIMESTAMP}, `status` = #{status,jdbcType=INTEGER}, sort = #{sort,jdbcType=INTEGER}, delete_tag = #{deleteTag,jdbcType=INTEGER}, calmar_ratio = #{calmarRatio,jdbcType=DECIMAL}, alpha = #{alpha,jdbcType=DECIMAL}, beta = #{beta,jdbcType=DECIMAL}, win_rate = #{winRate,jdbcType=DECIMAL}, calmar_ratio_1m = #{calmarRatio1m,jdbcType=DECIMAL}, calmar_ratio_3m = #{calmarRatio3m,jdbcType=DECIMAL}, calmar_ratio_6m = #{calmarRatio6m,jdbcType=DECIMAL}, calmar_ratio_1y = #{calmarRatio1y,jdbcType=DECIMAL}, calmar_ratio_2y = #{calmarRatio2y,jdbcType=DECIMAL}, calmar_ratio_3y = #{calmarRatio3y,jdbcType=DECIMAL}, calmar_ratio_5y = #{calmarRatio5y,jdbcType=DECIMAL}, calmar_ratio_incep = #{calmarRatioIncep,jdbcType=DECIMAL}, calmar_ratio_ytd = #{calmarRatioYtd,jdbcType=DECIMAL}, sortino_ratio_1m = #{sortinoRatio1m,jdbcType=DECIMAL}, sortino_ratio_3m = #{sortinoRatio3m,jdbcType=DECIMAL}, sortino_ratio_6m = #{sortinoRatio6m,jdbcType=DECIMAL}, sortino_ratio_1y = #{sortinoRatio1y,jdbcType=DECIMAL}, sortino_ratio_2y = #{sortinoRatio2y,jdbcType=DECIMAL}, sortino_ratio_3y = #{sortinoRatio3y,jdbcType=DECIMAL}, sortino_ratio_5y = #{sortinoRatio5y,jdbcType=DECIMAL}, sortino_ratio_incep = #{sortinoRatioIncep,jdbcType=DECIMAL}, sortino_ratio_ytd = #{sortinoRatioYtd,jdbcType=DECIMAL}, alpha_1m = #{alpha1m,jdbcType=DECIMAL}, alpha_3m = #{alpha3m,jdbcType=DECIMAL}, alpha_6m = #{alpha6m,jdbcType=DECIMAL}, alpha_1y = #{alpha1y,jdbcType=DECIMAL}, alpha_2y = #{alpha2y,jdbcType=DECIMAL}, alpha_3y = #{alpha3y,jdbcType=DECIMAL}, alpha_5y = #{alpha5y,jdbcType=DECIMAL}, alpha_incep = #{alphaIncep,jdbcType=DECIMAL}, alpha_ytd = #{alphaYtd,jdbcType=DECIMAL}, beta_1m = #{beta1m,jdbcType=DECIMAL}, beta_3m = #{beta3m,jdbcType=DECIMAL}, beta_6m = #{beta6m,jdbcType=DECIMAL}, beta_1y = #{beta1y,jdbcType=DECIMAL}, beta_2y = #{beta2y,jdbcType=DECIMAL}, beta_3y = #{beta3y,jdbcType=DECIMAL}, beta_5y = #{beta5y,jdbcType=DECIMAL}, beta_incep = #{betaIncep,jdbcType=DECIMAL}, beta_ytd = #{betaYtd,jdbcType=DECIMAL}, win_rate_1m = #{winRate1m,jdbcType=DECIMAL}, win_rate_3m = #{winRate3m,jdbcType=DECIMAL}, win_rate_6m = #{winRate6m,jdbcType=DECIMAL}, win_rate_1y = #{winRate1y,jdbcType=DECIMAL}, win_rate_2y = #{winRate2y,jdbcType=DECIMAL}, win_rate_3y = #{winRate3y,jdbcType=DECIMAL}, win_rate_5y = #{winRate5y,jdbcType=DECIMAL}, win_rate_incep = #{winRateIncep,jdbcType=DECIMAL}, win_rate_ytd = #{winRateYtd,jdbcType=DECIMAL}, downside_risk_1m = #{downsideRisk1m,jdbcType=DECIMAL}, downside_risk_3m = #{downsideRisk3m,jdbcType=DECIMAL}, downside_risk_6m = #{downsideRisk6m,jdbcType=DECIMAL}, downside_risk_1y = #{downsideRisk1y,jdbcType=DECIMAL}, downside_risk_2y = #{downsideRisk2y,jdbcType=DECIMAL}, downside_risk_3y = #{downsideRisk3y,jdbcType=DECIMAL}, downside_risk_5y = #{downsideRisk5y,jdbcType=DECIMAL}, downside_risk_incep = #{downsideRiskIncep,jdbcType=DECIMAL}, downside_risk_ytd = #{downsideRiskYtd,jdbcType=DECIMAL}, informational_ratio_1m = #{informationalRatio1m,jdbcType=DECIMAL}, informational_ratio_3m = #{informationalRatio3m,jdbcType=DECIMAL}, informational_ratio_6m = #{informationalRatio6m,jdbcType=DECIMAL}, informational_ratio_1y = #{informationalRatio1y,jdbcType=DECIMAL}, informational_ratio_2y = #{informationalRatio2y,jdbcType=DECIMAL}, informational_ratio_3y = #{informationalRatio3y,jdbcType=DECIMAL}, informational_ratio_5y = #{informationalRatio5y,jdbcType=DECIMAL}, informational_ratio_incep = #{informationalRatioIncep,jdbcType=DECIMAL}, informational_ratio_ytd = #{informationalRatioYtd,jdbcType=DECIMAL}, annual_ret = #{annualRet,jdbcType=LONGVARCHAR}, monthly_ret = #{monthlyRet,jdbcType=LONGVARCHAR}, annual_maxdrawdown = #{annualMaxdrawdown,jdbcType=LONGVARCHAR} </insert> <insert id="insertOrUpdateSelective" parameterType="com.tanpu.fund.entity.generator.FundCount"> <!--@mbg.generated--> insert into tamp_fund.fund_count <trim prefix="(" suffix=")" suffixOverrides=","> <if test="id != null"> id, </if> <if test="fundId != null"> fund_id, </if> <if test="strategy != null"> strategy, </if> <if test="substrategy != null"> substrategy, </if> <if test="inceptionDate != null"> inception_date, </if> <if test="type != null"> `type`, </if> <if test="endDate != null"> end_date, </if> <if test="priceDate != null"> price_date, </if> <if test="netNav != null"> net_nav, </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="sharperatio1m != null"> sharperatio_1m, </if> <if test="sharperatio3m != null"> sharperatio_3m, </if> <if test="sharperatio6m != null"> sharperatio_6m, </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="sharperatioYtd != null"> sharperatio_ytd, </if> <if test="sharperatioIncep != null"> sharperatio_incep, </if> <if test="stddev1m != null"> stddev_1m, </if> <if test="stddev3m != null"> stddev_3m, </if> <if test="stddev6m != null"> stddev_6m, </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="maxdrawdown1m != null"> maxdrawdown_1m, </if> <if test="maxdrawdown3m != null"> maxdrawdown_3m, </if> <if test="maxdrawdown6m != null"> maxdrawdown_6m, </if> <if test="maxdrawdownYtd != null"> maxdrawdown_ytd, </if> <if test="dataSources != null"> data_sources, </if> <if test="updateTime != null"> update_time, </if> <if test="createTime != null"> create_time, </if> <if test="status != null"> `status`, </if> <if test="sort != null"> sort, </if> <if test="deleteTag != null"> delete_tag, </if> <if test="calmarRatio != null"> calmar_ratio, </if> <if test="alpha != null"> alpha, </if> <if test="beta != null"> beta, </if> <if test="winRate != null"> win_rate, </if> <if test="calmarRatio1m != null"> calmar_ratio_1m, </if> <if test="calmarRatio3m != null"> calmar_ratio_3m, </if> <if test="calmarRatio6m != null"> calmar_ratio_6m, </if> <if test="calmarRatio1y != null"> calmar_ratio_1y, </if> <if test="calmarRatio2y != null"> calmar_ratio_2y, </if> <if test="calmarRatio3y != null"> calmar_ratio_3y, </if> <if test="calmarRatio5y != null"> calmar_ratio_5y, </if> <if test="calmarRatioIncep != null"> calmar_ratio_incep, </if> <if test="calmarRatioYtd != null"> calmar_ratio_ytd, </if> <if test="sortinoRatio1m != null"> sortino_ratio_1m, </if> <if test="sortinoRatio3m != null"> sortino_ratio_3m, </if> <if test="sortinoRatio6m != null"> sortino_ratio_6m, </if> <if test="sortinoRatio1y != null"> sortino_ratio_1y, </if> <if test="sortinoRatio2y != null"> sortino_ratio_2y, </if> <if test="sortinoRatio3y != null"> sortino_ratio_3y, </if> <if test="sortinoRatio5y != null"> sortino_ratio_5y, </if> <if test="sortinoRatioIncep != null"> sortino_ratio_incep, </if> <if test="sortinoRatioYtd != null"> sortino_ratio_ytd, </if> <if test="alpha1m != null"> alpha_1m, </if> <if test="alpha3m != null"> alpha_3m, </if> <if test="alpha6m != null"> alpha_6m, </if> <if test="alpha1y != null"> alpha_1y, </if> <if test="alpha2y != null"> alpha_2y, </if> <if test="alpha3y != null"> alpha_3y, </if> <if test="alpha5y != null"> alpha_5y, </if> <if test="alphaIncep != null"> alpha_incep, </if> <if test="alphaYtd != null"> alpha_ytd, </if> <if test="beta1m != null"> beta_1m, </if> <if test="beta3m != null"> beta_3m, </if> <if test="beta6m != null"> beta_6m, </if> <if test="beta1y != null"> beta_1y, </if> <if test="beta2y != null"> beta_2y, </if> <if test="beta3y != null"> beta_3y, </if> <if test="beta5y != null"> beta_5y, </if> <if test="betaIncep != null"> beta_incep, </if> <if test="betaYtd != null"> beta_ytd, </if> <if test="winRate1m != null"> win_rate_1m, </if> <if test="winRate3m != null"> win_rate_3m, </if> <if test="winRate6m != null"> win_rate_6m, </if> <if test="winRate1y != null"> win_rate_1y, </if> <if test="winRate2y != null"> win_rate_2y, </if> <if test="winRate3y != null"> win_rate_3y, </if> <if test="winRate5y != null"> win_rate_5y, </if> <if test="winRateIncep != null"> win_rate_incep, </if> <if test="winRateYtd != null"> win_rate_ytd, </if> <if test="downsideRisk1m != null"> downside_risk_1m, </if> <if test="downsideRisk3m != null"> downside_risk_3m, </if> <if test="downsideRisk6m != null"> downside_risk_6m, </if> <if test="downsideRisk1y != null"> downside_risk_1y, </if> <if test="downsideRisk2y != null"> downside_risk_2y, </if> <if test="downsideRisk3y != null"> downside_risk_3y, </if> <if test="downsideRisk5y != null"> downside_risk_5y, </if> <if test="downsideRiskIncep != null"> downside_risk_incep, </if> <if test="downsideRiskYtd != null"> downside_risk_ytd, </if> <if test="informationalRatio1m != null"> informational_ratio_1m, </if> <if test="informationalRatio3m != null"> informational_ratio_3m, </if> <if test="informationalRatio6m != null"> informational_ratio_6m, </if> <if test="informationalRatio1y != null"> informational_ratio_1y, </if> <if test="informationalRatio2y != null"> informational_ratio_2y, </if> <if test="informationalRatio3y != null"> informational_ratio_3y, </if> <if test="informationalRatio5y != null"> informational_ratio_5y, </if> <if test="informationalRatioIncep != null"> informational_ratio_incep, </if> <if test="informationalRatioYtd != null"> informational_ratio_ytd, </if> <if test="annualRet != null"> annual_ret, </if> <if test="monthlyRet != null"> monthly_ret, </if> <if test="annualMaxdrawdown != null"> annual_maxdrawdown, </if> </trim> values <trim prefix="(" suffix=")" suffixOverrides=","> <if test="id != null"> #{id,jdbcType=VARCHAR}, </if> <if test="fundId != null"> #{fundId,jdbcType=VARCHAR}, </if> <if test="strategy != null"> #{strategy,jdbcType=INTEGER}, </if> <if test="substrategy != null"> #{substrategy,jdbcType=INTEGER}, </if> <if test="inceptionDate != null"> #{inceptionDate,jdbcType=DATE}, </if> <if test="type != null"> #{type,jdbcType=INTEGER}, </if> <if test="endDate != null"> #{endDate,jdbcType=DATE}, </if> <if test="priceDate != null"> #{priceDate,jdbcType=DATE}, </if> <if test="netNav != null"> #{netNav,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="sharperatio1m != null"> #{sharperatio1m,jdbcType=DECIMAL}, </if> <if test="sharperatio3m != null"> #{sharperatio3m,jdbcType=DECIMAL}, </if> <if test="sharperatio6m != null"> #{sharperatio6m,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="sharperatioYtd != null"> #{sharperatioYtd,jdbcType=DECIMAL}, </if> <if test="sharperatioIncep != null"> #{sharperatioIncep,jdbcType=DECIMAL}, </if> <if test="stddev1m != null"> #{stddev1m,jdbcType=DECIMAL}, </if> <if test="stddev3m != null"> #{stddev3m,jdbcType=DECIMAL}, </if> <if test="stddev6m != null"> #{stddev6m,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="maxdrawdown1m != null"> #{maxdrawdown1m,jdbcType=DECIMAL}, </if> <if test="maxdrawdown3m != null"> #{maxdrawdown3m,jdbcType=DECIMAL}, </if> <if test="maxdrawdown6m != null"> #{maxdrawdown6m,jdbcType=DECIMAL}, </if> <if test="maxdrawdownYtd != null"> #{maxdrawdownYtd,jdbcType=DECIMAL}, </if> <if test="dataSources != null"> #{dataSources,jdbcType=INTEGER}, </if> <if test="updateTime != null"> #{updateTime,jdbcType=TIMESTAMP}, </if> <if test="createTime != null"> #{createTime,jdbcType=TIMESTAMP}, </if> <if test="status != null"> #{status,jdbcType=INTEGER}, </if> <if test="sort != null"> #{sort,jdbcType=INTEGER}, </if> <if test="deleteTag != null"> #{deleteTag,jdbcType=INTEGER}, </if> <if test="calmarRatio != null"> #{calmarRatio,jdbcType=DECIMAL}, </if> <if test="alpha != null"> #{alpha,jdbcType=DECIMAL}, </if> <if test="beta != null"> #{beta,jdbcType=DECIMAL}, </if> <if test="winRate != null"> #{winRate,jdbcType=DECIMAL}, </if> <if test="calmarRatio1m != null"> #{calmarRatio1m,jdbcType=DECIMAL}, </if> <if test="calmarRatio3m != null"> #{calmarRatio3m,jdbcType=DECIMAL}, </if> <if test="calmarRatio6m != null"> #{calmarRatio6m,jdbcType=DECIMAL}, </if> <if test="calmarRatio1y != null"> #{calmarRatio1y,jdbcType=DECIMAL}, </if> <if test="calmarRatio2y != null"> #{calmarRatio2y,jdbcType=DECIMAL}, </if> <if test="calmarRatio3y != null"> #{calmarRatio3y,jdbcType=DECIMAL}, </if> <if test="calmarRatio5y != null"> #{calmarRatio5y,jdbcType=DECIMAL}, </if> <if test="calmarRatioIncep != null"> #{calmarRatioIncep,jdbcType=DECIMAL}, </if> <if test="calmarRatioYtd != null"> #{calmarRatioYtd,jdbcType=DECIMAL}, </if> <if test="sortinoRatio1m != null"> #{sortinoRatio1m,jdbcType=DECIMAL}, </if> <if test="sortinoRatio3m != null"> #{sortinoRatio3m,jdbcType=DECIMAL}, </if> <if test="sortinoRatio6m != null"> #{sortinoRatio6m,jdbcType=DECIMAL}, </if> <if test="sortinoRatio1y != null"> #{sortinoRatio1y,jdbcType=DECIMAL}, </if> <if test="sortinoRatio2y != null"> #{sortinoRatio2y,jdbcType=DECIMAL}, </if> <if test="sortinoRatio3y != null"> #{sortinoRatio3y,jdbcType=DECIMAL}, </if> <if test="sortinoRatio5y != null"> #{sortinoRatio5y,jdbcType=DECIMAL}, </if> <if test="sortinoRatioIncep != null"> #{sortinoRatioIncep,jdbcType=DECIMAL}, </if> <if test="sortinoRatioYtd != null"> #{sortinoRatioYtd,jdbcType=DECIMAL}, </if> <if test="alpha1m != null"> #{alpha1m,jdbcType=DECIMAL}, </if> <if test="alpha3m != null"> #{alpha3m,jdbcType=DECIMAL}, </if> <if test="alpha6m != null"> #{alpha6m,jdbcType=DECIMAL}, </if> <if test="alpha1y != null"> #{alpha1y,jdbcType=DECIMAL}, </if> <if test="alpha2y != null"> #{alpha2y,jdbcType=DECIMAL}, </if> <if test="alpha3y != null"> #{alpha3y,jdbcType=DECIMAL}, </if> <if test="alpha5y != null"> #{alpha5y,jdbcType=DECIMAL}, </if> <if test="alphaIncep != null"> #{alphaIncep,jdbcType=DECIMAL}, </if> <if test="alphaYtd != null"> #{alphaYtd,jdbcType=DECIMAL}, </if> <if test="beta1m != null"> #{beta1m,jdbcType=DECIMAL}, </if> <if test="beta3m != null"> #{beta3m,jdbcType=DECIMAL}, </if> <if test="beta6m != null"> #{beta6m,jdbcType=DECIMAL}, </if> <if test="beta1y != null"> #{beta1y,jdbcType=DECIMAL}, </if> <if test="beta2y != null"> #{beta2y,jdbcType=DECIMAL}, </if> <if test="beta3y != null"> #{beta3y,jdbcType=DECIMAL}, </if> <if test="beta5y != null"> #{beta5y,jdbcType=DECIMAL}, </if> <if test="betaIncep != null"> #{betaIncep,jdbcType=DECIMAL}, </if> <if test="betaYtd != null"> #{betaYtd,jdbcType=DECIMAL}, </if> <if test="winRate1m != null"> #{winRate1m,jdbcType=DECIMAL}, </if> <if test="winRate3m != null"> #{winRate3m,jdbcType=DECIMAL}, </if> <if test="winRate6m != null"> #{winRate6m,jdbcType=DECIMAL}, </if> <if test="winRate1y != null"> #{winRate1y,jdbcType=DECIMAL}, </if> <if test="winRate2y != null"> #{winRate2y,jdbcType=DECIMAL}, </if> <if test="winRate3y != null"> #{winRate3y,jdbcType=DECIMAL}, </if> <if test="winRate5y != null"> #{winRate5y,jdbcType=DECIMAL}, </if> <if test="winRateIncep != null"> #{winRateIncep,jdbcType=DECIMAL}, </if> <if test="winRateYtd != null"> #{winRateYtd,jdbcType=DECIMAL}, </if> <if test="downsideRisk1m != null"> #{downsideRisk1m,jdbcType=DECIMAL}, </if> <if test="downsideRisk3m != null"> #{downsideRisk3m,jdbcType=DECIMAL}, </if> <if test="downsideRisk6m != null"> #{downsideRisk6m,jdbcType=DECIMAL}, </if> <if test="downsideRisk1y != null"> #{downsideRisk1y,jdbcType=DECIMAL}, </if> <if test="downsideRisk2y != null"> #{downsideRisk2y,jdbcType=DECIMAL}, </if> <if test="downsideRisk3y != null"> #{downsideRisk3y,jdbcType=DECIMAL}, </if> <if test="downsideRisk5y != null"> #{downsideRisk5y,jdbcType=DECIMAL}, </if> <if test="downsideRiskIncep != null"> #{downsideRiskIncep,jdbcType=DECIMAL}, </if> <if test="downsideRiskYtd != null"> #{downsideRiskYtd,jdbcType=DECIMAL}, </if> <if test="informationalRatio1m != null"> #{informationalRatio1m,jdbcType=DECIMAL}, </if> <if test="informationalRatio3m != null"> #{informationalRatio3m,jdbcType=DECIMAL}, </if> <if test="informationalRatio6m != null"> #{informationalRatio6m,jdbcType=DECIMAL}, </if> <if test="informationalRatio1y != null"> #{informationalRatio1y,jdbcType=DECIMAL}, </if> <if test="informationalRatio2y != null"> #{informationalRatio2y,jdbcType=DECIMAL}, </if> <if test="informationalRatio3y != null"> #{informationalRatio3y,jdbcType=DECIMAL}, </if> <if test="informationalRatio5y != null"> #{informationalRatio5y,jdbcType=DECIMAL}, </if> <if test="informationalRatioIncep != null"> #{informationalRatioIncep,jdbcType=DECIMAL}, </if> <if test="informationalRatioYtd != null"> #{informationalRatioYtd,jdbcType=DECIMAL}, </if> <if test="annualRet != null"> #{annualRet,jdbcType=LONGVARCHAR}, </if> <if test="monthlyRet != null"> #{monthlyRet,jdbcType=LONGVARCHAR}, </if> <if test="annualMaxdrawdown != null"> #{annualMaxdrawdown,jdbcType=LONGVARCHAR}, </if> </trim> on duplicate key update <trim suffixOverrides=","> <if test="id != null"> id = #{id,jdbcType=VARCHAR}, </if> <if test="fundId != null"> fund_id = #{fundId,jdbcType=VARCHAR}, </if> <if test="strategy != null"> strategy = #{strategy,jdbcType=INTEGER}, </if> <if test="substrategy != null"> substrategy = #{substrategy,jdbcType=INTEGER}, </if> <if test="inceptionDate != null"> inception_date = #{inceptionDate,jdbcType=DATE}, </if> <if test="type != null"> `type` = #{type,jdbcType=INTEGER}, </if> <if test="endDate != null"> end_date = #{endDate,jdbcType=DATE}, </if> <if test="priceDate != null"> price_date = #{priceDate,jdbcType=DATE}, </if> <if test="netNav != null"> net_nav = #{netNav,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="sharperatio1m != null"> sharperatio_1m = #{sharperatio1m,jdbcType=DECIMAL}, </if> <if test="sharperatio3m != null"> sharperatio_3m = #{sharperatio3m,jdbcType=DECIMAL}, </if> <if test="sharperatio6m != null"> sharperatio_6m = #{sharperatio6m,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="sharperatioYtd != null"> sharperatio_ytd = #{sharperatioYtd,jdbcType=DECIMAL}, </if> <if test="sharperatioIncep != null"> sharperatio_incep = #{sharperatioIncep,jdbcType=DECIMAL}, </if> <if test="stddev1m != null"> stddev_1m = #{stddev1m,jdbcType=DECIMAL}, </if> <if test="stddev3m != null"> stddev_3m = #{stddev3m,jdbcType=DECIMAL}, </if> <if test="stddev6m != null"> stddev_6m = #{stddev6m,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="maxdrawdown1m != null"> maxdrawdown_1m = #{maxdrawdown1m,jdbcType=DECIMAL}, </if> <if test="maxdrawdown3m != null"> maxdrawdown_3m = #{maxdrawdown3m,jdbcType=DECIMAL}, </if> <if test="maxdrawdown6m != null"> maxdrawdown_6m = #{maxdrawdown6m,jdbcType=DECIMAL}, </if> <if test="maxdrawdownYtd != null"> maxdrawdown_ytd = #{maxdrawdownYtd,jdbcType=DECIMAL}, </if> <if test="dataSources != null"> data_sources = #{dataSources,jdbcType=INTEGER}, </if> <if test="updateTime != null"> update_time = #{updateTime,jdbcType=TIMESTAMP}, </if> <if test="createTime != null"> create_time = #{createTime,jdbcType=TIMESTAMP}, </if> <if test="status != null"> `status` = #{status,jdbcType=INTEGER}, </if> <if test="sort != null"> sort = #{sort,jdbcType=INTEGER}, </if> <if test="deleteTag != null"> delete_tag = #{deleteTag,jdbcType=INTEGER}, </if> <if test="calmarRatio != null"> calmar_ratio = #{calmarRatio,jdbcType=DECIMAL}, </if> <if test="alpha != null"> alpha = #{alpha,jdbcType=DECIMAL}, </if> <if test="beta != null"> beta = #{beta,jdbcType=DECIMAL}, </if> <if test="winRate != null"> win_rate = #{winRate,jdbcType=DECIMAL}, </if> <if test="calmarRatio1m != null"> calmar_ratio_1m = #{calmarRatio1m,jdbcType=DECIMAL}, </if> <if test="calmarRatio3m != null"> calmar_ratio_3m = #{calmarRatio3m,jdbcType=DECIMAL}, </if> <if test="calmarRatio6m != null"> calmar_ratio_6m = #{calmarRatio6m,jdbcType=DECIMAL}, </if> <if test="calmarRatio1y != null"> calmar_ratio_1y = #{calmarRatio1y,jdbcType=DECIMAL}, </if> <if test="calmarRatio2y != null"> calmar_ratio_2y = #{calmarRatio2y,jdbcType=DECIMAL}, </if> <if test="calmarRatio3y != null"> calmar_ratio_3y = #{calmarRatio3y,jdbcType=DECIMAL}, </if> <if test="calmarRatio5y != null"> calmar_ratio_5y = #{calmarRatio5y,jdbcType=DECIMAL}, </if> <if test="calmarRatioIncep != null"> calmar_ratio_incep = #{calmarRatioIncep,jdbcType=DECIMAL}, </if> <if test="calmarRatioYtd != null"> calmar_ratio_ytd = #{calmarRatioYtd,jdbcType=DECIMAL}, </if> <if test="sortinoRatio1m != null"> sortino_ratio_1m = #{sortinoRatio1m,jdbcType=DECIMAL}, </if> <if test="sortinoRatio3m != null"> sortino_ratio_3m = #{sortinoRatio3m,jdbcType=DECIMAL}, </if> <if test="sortinoRatio6m != null"> sortino_ratio_6m = #{sortinoRatio6m,jdbcType=DECIMAL}, </if> <if test="sortinoRatio1y != null"> sortino_ratio_1y = #{sortinoRatio1y,jdbcType=DECIMAL}, </if> <if test="sortinoRatio2y != null"> sortino_ratio_2y = #{sortinoRatio2y,jdbcType=DECIMAL}, </if> <if test="sortinoRatio3y != null"> sortino_ratio_3y = #{sortinoRatio3y,jdbcType=DECIMAL}, </if> <if test="sortinoRatio5y != null"> sortino_ratio_5y = #{sortinoRatio5y,jdbcType=DECIMAL}, </if> <if test="sortinoRatioIncep != null"> sortino_ratio_incep = #{sortinoRatioIncep,jdbcType=DECIMAL}, </if> <if test="sortinoRatioYtd != null"> sortino_ratio_ytd = #{sortinoRatioYtd,jdbcType=DECIMAL}, </if> <if test="alpha1m != null"> alpha_1m = #{alpha1m,jdbcType=DECIMAL}, </if> <if test="alpha3m != null"> alpha_3m = #{alpha3m,jdbcType=DECIMAL}, </if> <if test="alpha6m != null"> alpha_6m = #{alpha6m,jdbcType=DECIMAL}, </if> <if test="alpha1y != null"> alpha_1y = #{alpha1y,jdbcType=DECIMAL}, </if> <if test="alpha2y != null"> alpha_2y = #{alpha2y,jdbcType=DECIMAL}, </if> <if test="alpha3y != null"> alpha_3y = #{alpha3y,jdbcType=DECIMAL}, </if> <if test="alpha5y != null"> alpha_5y = #{alpha5y,jdbcType=DECIMAL}, </if> <if test="alphaIncep != null"> alpha_incep = #{alphaIncep,jdbcType=DECIMAL}, </if> <if test="alphaYtd != null"> alpha_ytd = #{alphaYtd,jdbcType=DECIMAL}, </if> <if test="beta1m != null"> beta_1m = #{beta1m,jdbcType=DECIMAL}, </if> <if test="beta3m != null"> beta_3m = #{beta3m,jdbcType=DECIMAL}, </if> <if test="beta6m != null"> beta_6m = #{beta6m,jdbcType=DECIMAL}, </if> <if test="beta1y != null"> beta_1y = #{beta1y,jdbcType=DECIMAL}, </if> <if test="beta2y != null"> beta_2y = #{beta2y,jdbcType=DECIMAL}, </if> <if test="beta3y != null"> beta_3y = #{beta3y,jdbcType=DECIMAL}, </if> <if test="beta5y != null"> beta_5y = #{beta5y,jdbcType=DECIMAL}, </if> <if test="betaIncep != null"> beta_incep = #{betaIncep,jdbcType=DECIMAL}, </if> <if test="betaYtd != null"> beta_ytd = #{betaYtd,jdbcType=DECIMAL}, </if> <if test="winRate1m != null"> win_rate_1m = #{winRate1m,jdbcType=DECIMAL}, </if> <if test="winRate3m != null"> win_rate_3m = #{winRate3m,jdbcType=DECIMAL}, </if> <if test="winRate6m != null"> win_rate_6m = #{winRate6m,jdbcType=DECIMAL}, </if> <if test="winRate1y != null"> win_rate_1y = #{winRate1y,jdbcType=DECIMAL}, </if> <if test="winRate2y != null"> win_rate_2y = #{winRate2y,jdbcType=DECIMAL}, </if> <if test="winRate3y != null"> win_rate_3y = #{winRate3y,jdbcType=DECIMAL}, </if> <if test="winRate5y != null"> win_rate_5y = #{winRate5y,jdbcType=DECIMAL}, </if> <if test="winRateIncep != null"> win_rate_incep = #{winRateIncep,jdbcType=DECIMAL}, </if> <if test="winRateYtd != null"> win_rate_ytd = #{winRateYtd,jdbcType=DECIMAL}, </if> <if test="downsideRisk1m != null"> downside_risk_1m = #{downsideRisk1m,jdbcType=DECIMAL}, </if> <if test="downsideRisk3m != null"> downside_risk_3m = #{downsideRisk3m,jdbcType=DECIMAL}, </if> <if test="downsideRisk6m != null"> downside_risk_6m = #{downsideRisk6m,jdbcType=DECIMAL}, </if> <if test="downsideRisk1y != null"> downside_risk_1y = #{downsideRisk1y,jdbcType=DECIMAL}, </if> <if test="downsideRisk2y != null"> downside_risk_2y = #{downsideRisk2y,jdbcType=DECIMAL}, </if> <if test="downsideRisk3y != null"> downside_risk_3y = #{downsideRisk3y,jdbcType=DECIMAL}, </if> <if test="downsideRisk5y != null"> downside_risk_5y = #{downsideRisk5y,jdbcType=DECIMAL}, </if> <if test="downsideRiskIncep != null"> downside_risk_incep = #{downsideRiskIncep,jdbcType=DECIMAL}, </if> <if test="downsideRiskYtd != null"> downside_risk_ytd = #{downsideRiskYtd,jdbcType=DECIMAL}, </if> <if test="informationalRatio1m != null"> informational_ratio_1m = #{informationalRatio1m,jdbcType=DECIMAL}, </if> <if test="informationalRatio3m != null"> informational_ratio_3m = #{informationalRatio3m,jdbcType=DECIMAL}, </if> <if test="informationalRatio6m != null"> informational_ratio_6m = #{informationalRatio6m,jdbcType=DECIMAL}, </if> <if test="informationalRatio1y != null"> informational_ratio_1y = #{informationalRatio1y,jdbcType=DECIMAL}, </if> <if test="informationalRatio2y != null"> informational_ratio_2y = #{informationalRatio2y,jdbcType=DECIMAL}, </if> <if test="informationalRatio3y != null"> informational_ratio_3y = #{informationalRatio3y,jdbcType=DECIMAL}, </if> <if test="informationalRatio5y != null"> informational_ratio_5y = #{informationalRatio5y,jdbcType=DECIMAL}, </if> <if test="informationalRatioIncep != null"> informational_ratio_incep = #{informationalRatioIncep,jdbcType=DECIMAL}, </if> <if test="informationalRatioYtd != null"> informational_ratio_ytd = #{informationalRatioYtd,jdbcType=DECIMAL}, </if> <if test="annualRet != null"> annual_ret = #{annualRet,jdbcType=LONGVARCHAR}, </if> <if test="monthlyRet != null"> monthly_ret = #{monthlyRet,jdbcType=LONGVARCHAR}, </if> <if test="annualMaxdrawdown != null"> annual_maxdrawdown = #{annualMaxdrawdown,jdbcType=LONGVARCHAR}, </if> </trim> </insert> </mapper>