<?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.FundPerformanceMapper"> <resultMap id="BaseResultMap" type="com.tanpu.fund.entity.generator.FundPerformance"> <!--@mbg.generated--> <!--@Table fund_performance--> <id column="id" jdbcType="VARCHAR" property="id" /> <result column="fund_id" jdbcType="VARCHAR" property="fundId" /> <result column="end_date" jdbcType="DATE" property="endDate" /> <result column="price_date" jdbcType="DATE" property="priceDate" /> <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_cum_1m" jdbcType="DECIMAL" property="retCum1m" /> <result column="ret_1m_bm1" jdbcType="DECIMAL" property="ret1mBm1" /> <result column="ret_cum_1m_bm1" jdbcType="DECIMAL" property="retCum1mBm1" /> <result column="ret_3m" jdbcType="DECIMAL" property="ret3m" /> <result column="ret_3m_bm1" jdbcType="DECIMAL" property="ret3mBm1" /> <result column="ret_cum_3m" jdbcType="DECIMAL" property="retCum3m" /> <result column="ret_cum_3m_bm1" jdbcType="DECIMAL" property="retCum3mBm1" /> <result column="ret_6m" jdbcType="DECIMAL" property="ret6m" /> <result column="ret_cum_6m" jdbcType="DECIMAL" property="retCum6m" /> <result column="ret_6m_bm1" jdbcType="DECIMAL" property="ret6mBm1" /> <result column="ret_cum_6m_bm1" jdbcType="DECIMAL" property="retCum6mBm1" /> <result column="ret_1y" jdbcType="DECIMAL" property="ret1y" /> <result column="ret_cum_1y" jdbcType="DECIMAL" property="retCum1y" /> <result column="ret_1y_bm1" jdbcType="DECIMAL" property="ret1yBm1" /> <result column="ret_cum_1y_bm1" jdbcType="DECIMAL" property="retCum1yBm1" /> <result column="ret_2y" jdbcType="DECIMAL" property="ret2y" /> <result column="ret_cum_2y" jdbcType="DECIMAL" property="retCum2y" /> <result column="ret_2y_bm1" jdbcType="DECIMAL" property="ret2yBm1" /> <result column="ret_cum_2y_bm1" jdbcType="DECIMAL" property="retCum2yBm1" /> <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_cum_3y" jdbcType="DECIMAL" property="retCum3y" /> <result column="ret_3y_bm1" jdbcType="DECIMAL" property="ret3yBm1" /> <result column="ret_cum_3y_bm1" jdbcType="DECIMAL" property="retCum3yBm1" /> <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_cum_4y" jdbcType="DECIMAL" property="retCum4y" /> <result column="ret_4y_bm1" jdbcType="DECIMAL" property="ret4yBm1" /> <result column="ret_cum_4y_bm1" jdbcType="DECIMAL" property="retCum4yBm1" /> <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_cum_5y" jdbcType="DECIMAL" property="retCum5y" /> <result column="ret_5y_bm1" jdbcType="DECIMAL" property="ret5yBm1" /> <result column="ret_cum_5y_bm1" jdbcType="DECIMAL" property="retCum5yBm1" /> <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_cum_ytd" jdbcType="DECIMAL" property="retCumYtd" /> <result column="ret_ytd_bm1" jdbcType="DECIMAL" property="retYtdBm1" /> <result column="ret_cum_ytd_bm1" jdbcType="DECIMAL" property="retCumYtdBm1" /> <result column="ret_incep" jdbcType="DECIMAL" property="retIncep" /> <result column="ret_cum_incep" jdbcType="DECIMAL" property="retCumIncep" /> <result column="ret_incep_bm1" jdbcType="DECIMAL" property="retIncepBm1" /> <result column="ret_cum_incep_bm1" jdbcType="DECIMAL" property="retCumIncepBm1" /> <result column="ret_incep_a" jdbcType="DECIMAL" property="retIncepA" /> <result column="ret_incep_bm1_a" jdbcType="DECIMAL" property="retIncepBm1A" /> <result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> <result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> <result column="delete_tag" jdbcType="INTEGER" property="deleteTag" /> </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, end_date, price_date, cumulative_nav, ret_1day, ret_1day_bm1, ret_1w, ret_1w_bm1, ret_1m, ret_cum_1m, ret_1m_bm1, ret_cum_1m_bm1, ret_3m, ret_3m_bm1, ret_cum_3m, ret_cum_3m_bm1, ret_6m, ret_cum_6m, ret_6m_bm1, ret_cum_6m_bm1, ret_1y, ret_cum_1y, ret_1y_bm1, ret_cum_1y_bm1, ret_2y, ret_cum_2y, ret_2y_bm1, ret_cum_2y_bm1, ret_2y_a, ret_2y_bm1_a, ret_3y, ret_cum_3y, ret_3y_bm1, ret_cum_3y_bm1, ret_3y_a, ret_3y_bm1_a, ret_4y, ret_cum_4y, ret_4y_bm1, ret_cum_4y_bm1, ret_4y_a, ret_4y_bm1_a, ret_5y, ret_cum_5y, ret_5y_bm1, ret_cum_5y_bm1, ret_5y_a, ret_5y_bm1_a, ret_ytd, ret_cum_ytd, ret_ytd_bm1, ret_cum_ytd_bm1, ret_incep, ret_cum_incep, ret_incep_bm1, ret_cum_incep_bm1, ret_incep_a, ret_incep_bm1_a, update_time, create_time, delete_tag </sql> <select id="selectByExample" parameterType="com.tanpu.fund.entity.generator.FundPerformanceExample" resultMap="BaseResultMap"> <!--@mbg.generated--> select <if test="distinct"> distinct </if> <include refid="Base_Column_List" /> from fund_performance <if test="_parameter != null"> <include refid="Example_Where_Clause" /> </if> <if test="orderByClause != null"> order by ${orderByClause} </if> </select> <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap"> <!--@mbg.generated--> select <include refid="Base_Column_List" /> from fund_performance where id = #{id,jdbcType=VARCHAR} </select> <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> <!--@mbg.generated--> delete from fund_performance where id = #{id,jdbcType=VARCHAR} </delete> <delete id="deleteByExample" parameterType="com.tanpu.fund.entity.generator.FundPerformanceExample"> <!--@mbg.generated--> delete from fund_performance <if test="_parameter != null"> <include refid="Example_Where_Clause" /> </if> </delete> <insert id="insert" parameterType="com.tanpu.fund.entity.generator.FundPerformance"> <!--@mbg.generated--> insert into fund_performance (id, fund_id, end_date, price_date, cumulative_nav, ret_1day, ret_1day_bm1, ret_1w, ret_1w_bm1, ret_1m, ret_cum_1m, ret_1m_bm1, ret_cum_1m_bm1, ret_3m, ret_3m_bm1, ret_cum_3m, ret_cum_3m_bm1, ret_6m, ret_cum_6m, ret_6m_bm1, ret_cum_6m_bm1, ret_1y, ret_cum_1y, ret_1y_bm1, ret_cum_1y_bm1, ret_2y, ret_cum_2y, ret_2y_bm1, ret_cum_2y_bm1, ret_2y_a, ret_2y_bm1_a, ret_3y, ret_cum_3y, ret_3y_bm1, ret_cum_3y_bm1, ret_3y_a, ret_3y_bm1_a, ret_4y, ret_cum_4y, ret_4y_bm1, ret_cum_4y_bm1, ret_4y_a, ret_4y_bm1_a, ret_5y, ret_cum_5y, ret_5y_bm1, ret_cum_5y_bm1, ret_5y_a, ret_5y_bm1_a, ret_ytd, ret_cum_ytd, ret_ytd_bm1, ret_cum_ytd_bm1, ret_incep, ret_cum_incep, ret_incep_bm1, ret_cum_incep_bm1, ret_incep_a, ret_incep_bm1_a, update_time, create_time, delete_tag) values (#{id,jdbcType=VARCHAR}, #{fundId,jdbcType=VARCHAR}, #{endDate,jdbcType=DATE}, #{priceDate,jdbcType=DATE}, #{cumulativeNav,jdbcType=DECIMAL}, #{ret1day,jdbcType=DECIMAL}, #{ret1dayBm1,jdbcType=DECIMAL}, #{ret1w,jdbcType=DECIMAL}, #{ret1wBm1,jdbcType=DECIMAL}, #{ret1m,jdbcType=DECIMAL}, #{retCum1m,jdbcType=DECIMAL}, #{ret1mBm1,jdbcType=DECIMAL}, #{retCum1mBm1,jdbcType=DECIMAL}, #{ret3m,jdbcType=DECIMAL}, #{ret3mBm1,jdbcType=DECIMAL}, #{retCum3m,jdbcType=DECIMAL}, #{retCum3mBm1,jdbcType=DECIMAL}, #{ret6m,jdbcType=DECIMAL}, #{retCum6m,jdbcType=DECIMAL}, #{ret6mBm1,jdbcType=DECIMAL}, #{retCum6mBm1,jdbcType=DECIMAL}, #{ret1y,jdbcType=DECIMAL}, #{retCum1y,jdbcType=DECIMAL}, #{ret1yBm1,jdbcType=DECIMAL}, #{retCum1yBm1,jdbcType=DECIMAL}, #{ret2y,jdbcType=DECIMAL}, #{retCum2y,jdbcType=DECIMAL}, #{ret2yBm1,jdbcType=DECIMAL}, #{retCum2yBm1,jdbcType=DECIMAL}, #{ret2yA,jdbcType=DECIMAL}, #{ret2yBm1A,jdbcType=DECIMAL}, #{ret3y,jdbcType=DECIMAL}, #{retCum3y,jdbcType=DECIMAL}, #{ret3yBm1,jdbcType=DECIMAL}, #{retCum3yBm1,jdbcType=DECIMAL}, #{ret3yA,jdbcType=DECIMAL}, #{ret3yBm1A,jdbcType=DECIMAL}, #{ret4y,jdbcType=DECIMAL}, #{retCum4y,jdbcType=DECIMAL}, #{ret4yBm1,jdbcType=DECIMAL}, #{retCum4yBm1,jdbcType=DECIMAL}, #{ret4yA,jdbcType=DECIMAL}, #{ret4yBm1A,jdbcType=DECIMAL}, #{ret5y,jdbcType=DECIMAL}, #{retCum5y,jdbcType=DECIMAL}, #{ret5yBm1,jdbcType=DECIMAL}, #{retCum5yBm1,jdbcType=DECIMAL}, #{ret5yA,jdbcType=DECIMAL}, #{ret5yBm1A,jdbcType=DECIMAL}, #{retYtd,jdbcType=DECIMAL}, #{retCumYtd,jdbcType=DECIMAL}, #{retYtdBm1,jdbcType=DECIMAL}, #{retCumYtdBm1,jdbcType=DECIMAL}, #{retIncep,jdbcType=DECIMAL}, #{retCumIncep,jdbcType=DECIMAL}, #{retIncepBm1,jdbcType=DECIMAL}, #{retCumIncepBm1,jdbcType=DECIMAL}, #{retIncepA,jdbcType=DECIMAL}, #{retIncepBm1A,jdbcType=DECIMAL}, #{updateTime,jdbcType=TIMESTAMP}, #{createTime,jdbcType=TIMESTAMP}, #{deleteTag,jdbcType=INTEGER}) </insert> <insert id="insertSelective" parameterType="com.tanpu.fund.entity.generator.FundPerformance"> <!--@mbg.generated--> insert into fund_performance <trim prefix="(" suffix=")" suffixOverrides=","> <if test="id != null"> id, </if> <if test="fundId != null"> fund_id, </if> <if test="endDate != null"> end_date, </if> <if test="priceDate != null"> price_date, </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="retCum1m != null"> ret_cum_1m, </if> <if test="ret1mBm1 != null"> ret_1m_bm1, </if> <if test="retCum1mBm1 != null"> ret_cum_1m_bm1, </if> <if test="ret3m != null"> ret_3m, </if> <if test="ret3mBm1 != null"> ret_3m_bm1, </if> <if test="retCum3m != null"> ret_cum_3m, </if> <if test="retCum3mBm1 != null"> ret_cum_3m_bm1, </if> <if test="ret6m != null"> ret_6m, </if> <if test="retCum6m != null"> ret_cum_6m, </if> <if test="ret6mBm1 != null"> ret_6m_bm1, </if> <if test="retCum6mBm1 != null"> ret_cum_6m_bm1, </if> <if test="ret1y != null"> ret_1y, </if> <if test="retCum1y != null"> ret_cum_1y, </if> <if test="ret1yBm1 != null"> ret_1y_bm1, </if> <if test="retCum1yBm1 != null"> ret_cum_1y_bm1, </if> <if test="ret2y != null"> ret_2y, </if> <if test="retCum2y != null"> ret_cum_2y, </if> <if test="ret2yBm1 != null"> ret_2y_bm1, </if> <if test="retCum2yBm1 != null"> ret_cum_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="retCum3y != null"> ret_cum_3y, </if> <if test="ret3yBm1 != null"> ret_3y_bm1, </if> <if test="retCum3yBm1 != null"> ret_cum_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="retCum4y != null"> ret_cum_4y, </if> <if test="ret4yBm1 != null"> ret_4y_bm1, </if> <if test="retCum4yBm1 != null"> ret_cum_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="retCum5y != null"> ret_cum_5y, </if> <if test="ret5yBm1 != null"> ret_5y_bm1, </if> <if test="retCum5yBm1 != null"> ret_cum_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="retCumYtd != null"> ret_cum_ytd, </if> <if test="retYtdBm1 != null"> ret_ytd_bm1, </if> <if test="retCumYtdBm1 != null"> ret_cum_ytd_bm1, </if> <if test="retIncep != null"> ret_incep, </if> <if test="retCumIncep != null"> ret_cum_incep, </if> <if test="retIncepBm1 != null"> ret_incep_bm1, </if> <if test="retCumIncepBm1 != null"> ret_cum_incep_bm1, </if> <if test="retIncepA != null"> ret_incep_a, </if> <if test="retIncepBm1A != null"> ret_incep_bm1_a, </if> <if test="updateTime != null"> update_time, </if> <if test="createTime != null"> create_time, </if> <if test="deleteTag != null"> delete_tag, </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="endDate != null"> #{endDate,jdbcType=DATE}, </if> <if test="priceDate != null"> #{priceDate,jdbcType=DATE}, </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="retCum1m != null"> #{retCum1m,jdbcType=DECIMAL}, </if> <if test="ret1mBm1 != null"> #{ret1mBm1,jdbcType=DECIMAL}, </if> <if test="retCum1mBm1 != null"> #{retCum1mBm1,jdbcType=DECIMAL}, </if> <if test="ret3m != null"> #{ret3m,jdbcType=DECIMAL}, </if> <if test="ret3mBm1 != null"> #{ret3mBm1,jdbcType=DECIMAL}, </if> <if test="retCum3m != null"> #{retCum3m,jdbcType=DECIMAL}, </if> <if test="retCum3mBm1 != null"> #{retCum3mBm1,jdbcType=DECIMAL}, </if> <if test="ret6m != null"> #{ret6m,jdbcType=DECIMAL}, </if> <if test="retCum6m != null"> #{retCum6m,jdbcType=DECIMAL}, </if> <if test="ret6mBm1 != null"> #{ret6mBm1,jdbcType=DECIMAL}, </if> <if test="retCum6mBm1 != null"> #{retCum6mBm1,jdbcType=DECIMAL}, </if> <if test="ret1y != null"> #{ret1y,jdbcType=DECIMAL}, </if> <if test="retCum1y != null"> #{retCum1y,jdbcType=DECIMAL}, </if> <if test="ret1yBm1 != null"> #{ret1yBm1,jdbcType=DECIMAL}, </if> <if test="retCum1yBm1 != null"> #{retCum1yBm1,jdbcType=DECIMAL}, </if> <if test="ret2y != null"> #{ret2y,jdbcType=DECIMAL}, </if> <if test="retCum2y != null"> #{retCum2y,jdbcType=DECIMAL}, </if> <if test="ret2yBm1 != null"> #{ret2yBm1,jdbcType=DECIMAL}, </if> <if test="retCum2yBm1 != null"> #{retCum2yBm1,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="retCum3y != null"> #{retCum3y,jdbcType=DECIMAL}, </if> <if test="ret3yBm1 != null"> #{ret3yBm1,jdbcType=DECIMAL}, </if> <if test="retCum3yBm1 != null"> #{retCum3yBm1,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="retCum4y != null"> #{retCum4y,jdbcType=DECIMAL}, </if> <if test="ret4yBm1 != null"> #{ret4yBm1,jdbcType=DECIMAL}, </if> <if test="retCum4yBm1 != null"> #{retCum4yBm1,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="retCum5y != null"> #{retCum5y,jdbcType=DECIMAL}, </if> <if test="ret5yBm1 != null"> #{ret5yBm1,jdbcType=DECIMAL}, </if> <if test="retCum5yBm1 != null"> #{retCum5yBm1,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="retCumYtd != null"> #{retCumYtd,jdbcType=DECIMAL}, </if> <if test="retYtdBm1 != null"> #{retYtdBm1,jdbcType=DECIMAL}, </if> <if test="retCumYtdBm1 != null"> #{retCumYtdBm1,jdbcType=DECIMAL}, </if> <if test="retIncep != null"> #{retIncep,jdbcType=DECIMAL}, </if> <if test="retCumIncep != null"> #{retCumIncep,jdbcType=DECIMAL}, </if> <if test="retIncepBm1 != null"> #{retIncepBm1,jdbcType=DECIMAL}, </if> <if test="retCumIncepBm1 != null"> #{retCumIncepBm1,jdbcType=DECIMAL}, </if> <if test="retIncepA != null"> #{retIncepA,jdbcType=DECIMAL}, </if> <if test="retIncepBm1A != null"> #{retIncepBm1A,jdbcType=DECIMAL}, </if> <if test="updateTime != null"> #{updateTime,jdbcType=TIMESTAMP}, </if> <if test="createTime != null"> #{createTime,jdbcType=TIMESTAMP}, </if> <if test="deleteTag != null"> #{deleteTag,jdbcType=INTEGER}, </if> </trim> </insert> <select id="countByExample" parameterType="com.tanpu.fund.entity.generator.FundPerformanceExample" resultType="java.lang.Long"> <!--@mbg.generated--> select count(*) from fund_performance <if test="_parameter != null"> <include refid="Example_Where_Clause" /> </if> </select> <update id="updateByExampleSelective" parameterType="map"> <!--@mbg.generated--> update fund_performance <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.endDate != null"> end_date = #{record.endDate,jdbcType=DATE}, </if> <if test="record.priceDate != null"> price_date = #{record.priceDate,jdbcType=DATE}, </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.retCum1m != null"> ret_cum_1m = #{record.retCum1m,jdbcType=DECIMAL}, </if> <if test="record.ret1mBm1 != null"> ret_1m_bm1 = #{record.ret1mBm1,jdbcType=DECIMAL}, </if> <if test="record.retCum1mBm1 != null"> ret_cum_1m_bm1 = #{record.retCum1mBm1,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.retCum3m != null"> ret_cum_3m = #{record.retCum3m,jdbcType=DECIMAL}, </if> <if test="record.retCum3mBm1 != null"> ret_cum_3m_bm1 = #{record.retCum3mBm1,jdbcType=DECIMAL}, </if> <if test="record.ret6m != null"> ret_6m = #{record.ret6m,jdbcType=DECIMAL}, </if> <if test="record.retCum6m != null"> ret_cum_6m = #{record.retCum6m,jdbcType=DECIMAL}, </if> <if test="record.ret6mBm1 != null"> ret_6m_bm1 = #{record.ret6mBm1,jdbcType=DECIMAL}, </if> <if test="record.retCum6mBm1 != null"> ret_cum_6m_bm1 = #{record.retCum6mBm1,jdbcType=DECIMAL}, </if> <if test="record.ret1y != null"> ret_1y = #{record.ret1y,jdbcType=DECIMAL}, </if> <if test="record.retCum1y != null"> ret_cum_1y = #{record.retCum1y,jdbcType=DECIMAL}, </if> <if test="record.ret1yBm1 != null"> ret_1y_bm1 = #{record.ret1yBm1,jdbcType=DECIMAL}, </if> <if test="record.retCum1yBm1 != null"> ret_cum_1y_bm1 = #{record.retCum1yBm1,jdbcType=DECIMAL}, </if> <if test="record.ret2y != null"> ret_2y = #{record.ret2y,jdbcType=DECIMAL}, </if> <if test="record.retCum2y != null"> ret_cum_2y = #{record.retCum2y,jdbcType=DECIMAL}, </if> <if test="record.ret2yBm1 != null"> ret_2y_bm1 = #{record.ret2yBm1,jdbcType=DECIMAL}, </if> <if test="record.retCum2yBm1 != null"> ret_cum_2y_bm1 = #{record.retCum2yBm1,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.retCum3y != null"> ret_cum_3y = #{record.retCum3y,jdbcType=DECIMAL}, </if> <if test="record.ret3yBm1 != null"> ret_3y_bm1 = #{record.ret3yBm1,jdbcType=DECIMAL}, </if> <if test="record.retCum3yBm1 != null"> ret_cum_3y_bm1 = #{record.retCum3yBm1,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.retCum4y != null"> ret_cum_4y = #{record.retCum4y,jdbcType=DECIMAL}, </if> <if test="record.ret4yBm1 != null"> ret_4y_bm1 = #{record.ret4yBm1,jdbcType=DECIMAL}, </if> <if test="record.retCum4yBm1 != null"> ret_cum_4y_bm1 = #{record.retCum4yBm1,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.retCum5y != null"> ret_cum_5y = #{record.retCum5y,jdbcType=DECIMAL}, </if> <if test="record.ret5yBm1 != null"> ret_5y_bm1 = #{record.ret5yBm1,jdbcType=DECIMAL}, </if> <if test="record.retCum5yBm1 != null"> ret_cum_5y_bm1 = #{record.retCum5yBm1,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.retCumYtd != null"> ret_cum_ytd = #{record.retCumYtd,jdbcType=DECIMAL}, </if> <if test="record.retYtdBm1 != null"> ret_ytd_bm1 = #{record.retYtdBm1,jdbcType=DECIMAL}, </if> <if test="record.retCumYtdBm1 != null"> ret_cum_ytd_bm1 = #{record.retCumYtdBm1,jdbcType=DECIMAL}, </if> <if test="record.retIncep != null"> ret_incep = #{record.retIncep,jdbcType=DECIMAL}, </if> <if test="record.retCumIncep != null"> ret_cum_incep = #{record.retCumIncep,jdbcType=DECIMAL}, </if> <if test="record.retIncepBm1 != null"> ret_incep_bm1 = #{record.retIncepBm1,jdbcType=DECIMAL}, </if> <if test="record.retCumIncepBm1 != null"> ret_cum_incep_bm1 = #{record.retCumIncepBm1,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.updateTime != null"> update_time = #{record.updateTime,jdbcType=TIMESTAMP}, </if> <if test="record.createTime != null"> create_time = #{record.createTime,jdbcType=TIMESTAMP}, </if> <if test="record.deleteTag != null"> delete_tag = #{record.deleteTag,jdbcType=INTEGER}, </if> </set> <if test="_parameter != null"> <include refid="Update_By_Example_Where_Clause" /> </if> </update> <update id="updateByExample" parameterType="map"> <!--@mbg.generated--> update fund_performance set id = #{record.id,jdbcType=VARCHAR}, fund_id = #{record.fundId,jdbcType=VARCHAR}, end_date = #{record.endDate,jdbcType=DATE}, price_date = #{record.priceDate,jdbcType=DATE}, 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_cum_1m = #{record.retCum1m,jdbcType=DECIMAL}, ret_1m_bm1 = #{record.ret1mBm1,jdbcType=DECIMAL}, ret_cum_1m_bm1 = #{record.retCum1mBm1,jdbcType=DECIMAL}, ret_3m = #{record.ret3m,jdbcType=DECIMAL}, ret_3m_bm1 = #{record.ret3mBm1,jdbcType=DECIMAL}, ret_cum_3m = #{record.retCum3m,jdbcType=DECIMAL}, ret_cum_3m_bm1 = #{record.retCum3mBm1,jdbcType=DECIMAL}, ret_6m = #{record.ret6m,jdbcType=DECIMAL}, ret_cum_6m = #{record.retCum6m,jdbcType=DECIMAL}, ret_6m_bm1 = #{record.ret6mBm1,jdbcType=DECIMAL}, ret_cum_6m_bm1 = #{record.retCum6mBm1,jdbcType=DECIMAL}, ret_1y = #{record.ret1y,jdbcType=DECIMAL}, ret_cum_1y = #{record.retCum1y,jdbcType=DECIMAL}, ret_1y_bm1 = #{record.ret1yBm1,jdbcType=DECIMAL}, ret_cum_1y_bm1 = #{record.retCum1yBm1,jdbcType=DECIMAL}, ret_2y = #{record.ret2y,jdbcType=DECIMAL}, ret_cum_2y = #{record.retCum2y,jdbcType=DECIMAL}, ret_2y_bm1 = #{record.ret2yBm1,jdbcType=DECIMAL}, ret_cum_2y_bm1 = #{record.retCum2yBm1,jdbcType=DECIMAL}, ret_2y_a = #{record.ret2yA,jdbcType=DECIMAL}, ret_2y_bm1_a = #{record.ret2yBm1A,jdbcType=DECIMAL}, ret_3y = #{record.ret3y,jdbcType=DECIMAL}, ret_cum_3y = #{record.retCum3y,jdbcType=DECIMAL}, ret_3y_bm1 = #{record.ret3yBm1,jdbcType=DECIMAL}, ret_cum_3y_bm1 = #{record.retCum3yBm1,jdbcType=DECIMAL}, ret_3y_a = #{record.ret3yA,jdbcType=DECIMAL}, ret_3y_bm1_a = #{record.ret3yBm1A,jdbcType=DECIMAL}, ret_4y = #{record.ret4y,jdbcType=DECIMAL}, ret_cum_4y = #{record.retCum4y,jdbcType=DECIMAL}, ret_4y_bm1 = #{record.ret4yBm1,jdbcType=DECIMAL}, ret_cum_4y_bm1 = #{record.retCum4yBm1,jdbcType=DECIMAL}, ret_4y_a = #{record.ret4yA,jdbcType=DECIMAL}, ret_4y_bm1_a = #{record.ret4yBm1A,jdbcType=DECIMAL}, ret_5y = #{record.ret5y,jdbcType=DECIMAL}, ret_cum_5y = #{record.retCum5y,jdbcType=DECIMAL}, ret_5y_bm1 = #{record.ret5yBm1,jdbcType=DECIMAL}, ret_cum_5y_bm1 = #{record.retCum5yBm1,jdbcType=DECIMAL}, ret_5y_a = #{record.ret5yA,jdbcType=DECIMAL}, ret_5y_bm1_a = #{record.ret5yBm1A,jdbcType=DECIMAL}, ret_ytd = #{record.retYtd,jdbcType=DECIMAL}, ret_cum_ytd = #{record.retCumYtd,jdbcType=DECIMAL}, ret_ytd_bm1 = #{record.retYtdBm1,jdbcType=DECIMAL}, ret_cum_ytd_bm1 = #{record.retCumYtdBm1,jdbcType=DECIMAL}, ret_incep = #{record.retIncep,jdbcType=DECIMAL}, ret_cum_incep = #{record.retCumIncep,jdbcType=DECIMAL}, ret_incep_bm1 = #{record.retIncepBm1,jdbcType=DECIMAL}, ret_cum_incep_bm1 = #{record.retCumIncepBm1,jdbcType=DECIMAL}, ret_incep_a = #{record.retIncepA,jdbcType=DECIMAL}, ret_incep_bm1_a = #{record.retIncepBm1A,jdbcType=DECIMAL}, update_time = #{record.updateTime,jdbcType=TIMESTAMP}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, delete_tag = #{record.deleteTag,jdbcType=INTEGER} <if test="_parameter != null"> <include refid="Update_By_Example_Where_Clause" /> </if> </update> <update id="updateByPrimaryKeySelective" parameterType="com.tanpu.fund.entity.generator.FundPerformance"> <!--@mbg.generated--> update fund_performance <set> <if test="fundId != null"> fund_id = #{fundId,jdbcType=VARCHAR}, </if> <if test="endDate != null"> end_date = #{endDate,jdbcType=DATE}, </if> <if test="priceDate != null"> price_date = #{priceDate,jdbcType=DATE}, </if> <if test="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="retCum1m != null"> ret_cum_1m = #{retCum1m,jdbcType=DECIMAL}, </if> <if test="ret1mBm1 != null"> ret_1m_bm1 = #{ret1mBm1,jdbcType=DECIMAL}, </if> <if test="retCum1mBm1 != null"> ret_cum_1m_bm1 = #{retCum1mBm1,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="retCum3m != null"> ret_cum_3m = #{retCum3m,jdbcType=DECIMAL}, </if> <if test="retCum3mBm1 != null"> ret_cum_3m_bm1 = #{retCum3mBm1,jdbcType=DECIMAL}, </if> <if test="ret6m != null"> ret_6m = #{ret6m,jdbcType=DECIMAL}, </if> <if test="retCum6m != null"> ret_cum_6m = #{retCum6m,jdbcType=DECIMAL}, </if> <if test="ret6mBm1 != null"> ret_6m_bm1 = #{ret6mBm1,jdbcType=DECIMAL}, </if> <if test="retCum6mBm1 != null"> ret_cum_6m_bm1 = #{retCum6mBm1,jdbcType=DECIMAL}, </if> <if test="ret1y != null"> ret_1y = #{ret1y,jdbcType=DECIMAL}, </if> <if test="retCum1y != null"> ret_cum_1y = #{retCum1y,jdbcType=DECIMAL}, </if> <if test="ret1yBm1 != null"> ret_1y_bm1 = #{ret1yBm1,jdbcType=DECIMAL}, </if> <if test="retCum1yBm1 != null"> ret_cum_1y_bm1 = #{retCum1yBm1,jdbcType=DECIMAL}, </if> <if test="ret2y != null"> ret_2y = #{ret2y,jdbcType=DECIMAL}, </if> <if test="retCum2y != null"> ret_cum_2y = #{retCum2y,jdbcType=DECIMAL}, </if> <if test="ret2yBm1 != null"> ret_2y_bm1 = #{ret2yBm1,jdbcType=DECIMAL}, </if> <if test="retCum2yBm1 != null"> ret_cum_2y_bm1 = #{retCum2yBm1,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="retCum3y != null"> ret_cum_3y = #{retCum3y,jdbcType=DECIMAL}, </if> <if test="ret3yBm1 != null"> ret_3y_bm1 = #{ret3yBm1,jdbcType=DECIMAL}, </if> <if test="retCum3yBm1 != null"> ret_cum_3y_bm1 = #{retCum3yBm1,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="retCum4y != null"> ret_cum_4y = #{retCum4y,jdbcType=DECIMAL}, </if> <if test="ret4yBm1 != null"> ret_4y_bm1 = #{ret4yBm1,jdbcType=DECIMAL}, </if> <if test="retCum4yBm1 != null"> ret_cum_4y_bm1 = #{retCum4yBm1,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="retCum5y != null"> ret_cum_5y = #{retCum5y,jdbcType=DECIMAL}, </if> <if test="ret5yBm1 != null"> ret_5y_bm1 = #{ret5yBm1,jdbcType=DECIMAL}, </if> <if test="retCum5yBm1 != null"> ret_cum_5y_bm1 = #{retCum5yBm1,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="retCumYtd != null"> ret_cum_ytd = #{retCumYtd,jdbcType=DECIMAL}, </if> <if test="retYtdBm1 != null"> ret_ytd_bm1 = #{retYtdBm1,jdbcType=DECIMAL}, </if> <if test="retCumYtdBm1 != null"> ret_cum_ytd_bm1 = #{retCumYtdBm1,jdbcType=DECIMAL}, </if> <if test="retIncep != null"> ret_incep = #{retIncep,jdbcType=DECIMAL}, </if> <if test="retCumIncep != null"> ret_cum_incep = #{retCumIncep,jdbcType=DECIMAL}, </if> <if test="retIncepBm1 != null"> ret_incep_bm1 = #{retIncepBm1,jdbcType=DECIMAL}, </if> <if test="retCumIncepBm1 != null"> ret_cum_incep_bm1 = #{retCumIncepBm1,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="updateTime != null"> update_time = #{updateTime,jdbcType=TIMESTAMP}, </if> <if test="createTime != null"> create_time = #{createTime,jdbcType=TIMESTAMP}, </if> <if test="deleteTag != null"> delete_tag = #{deleteTag,jdbcType=INTEGER}, </if> </set> where id = #{id,jdbcType=VARCHAR} </update> <update id="updateByPrimaryKey" parameterType="com.tanpu.fund.entity.generator.FundPerformance"> <!--@mbg.generated--> update fund_performance set fund_id = #{fundId,jdbcType=VARCHAR}, end_date = #{endDate,jdbcType=DATE}, price_date = #{priceDate,jdbcType=DATE}, 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_cum_1m = #{retCum1m,jdbcType=DECIMAL}, ret_1m_bm1 = #{ret1mBm1,jdbcType=DECIMAL}, ret_cum_1m_bm1 = #{retCum1mBm1,jdbcType=DECIMAL}, ret_3m = #{ret3m,jdbcType=DECIMAL}, ret_3m_bm1 = #{ret3mBm1,jdbcType=DECIMAL}, ret_cum_3m = #{retCum3m,jdbcType=DECIMAL}, ret_cum_3m_bm1 = #{retCum3mBm1,jdbcType=DECIMAL}, ret_6m = #{ret6m,jdbcType=DECIMAL}, ret_cum_6m = #{retCum6m,jdbcType=DECIMAL}, ret_6m_bm1 = #{ret6mBm1,jdbcType=DECIMAL}, ret_cum_6m_bm1 = #{retCum6mBm1,jdbcType=DECIMAL}, ret_1y = #{ret1y,jdbcType=DECIMAL}, ret_cum_1y = #{retCum1y,jdbcType=DECIMAL}, ret_1y_bm1 = #{ret1yBm1,jdbcType=DECIMAL}, ret_cum_1y_bm1 = #{retCum1yBm1,jdbcType=DECIMAL}, ret_2y = #{ret2y,jdbcType=DECIMAL}, ret_cum_2y = #{retCum2y,jdbcType=DECIMAL}, ret_2y_bm1 = #{ret2yBm1,jdbcType=DECIMAL}, ret_cum_2y_bm1 = #{retCum2yBm1,jdbcType=DECIMAL}, ret_2y_a = #{ret2yA,jdbcType=DECIMAL}, ret_2y_bm1_a = #{ret2yBm1A,jdbcType=DECIMAL}, ret_3y = #{ret3y,jdbcType=DECIMAL}, ret_cum_3y = #{retCum3y,jdbcType=DECIMAL}, ret_3y_bm1 = #{ret3yBm1,jdbcType=DECIMAL}, ret_cum_3y_bm1 = #{retCum3yBm1,jdbcType=DECIMAL}, ret_3y_a = #{ret3yA,jdbcType=DECIMAL}, ret_3y_bm1_a = #{ret3yBm1A,jdbcType=DECIMAL}, ret_4y = #{ret4y,jdbcType=DECIMAL}, ret_cum_4y = #{retCum4y,jdbcType=DECIMAL}, ret_4y_bm1 = #{ret4yBm1,jdbcType=DECIMAL}, ret_cum_4y_bm1 = #{retCum4yBm1,jdbcType=DECIMAL}, ret_4y_a = #{ret4yA,jdbcType=DECIMAL}, ret_4y_bm1_a = #{ret4yBm1A,jdbcType=DECIMAL}, ret_5y = #{ret5y,jdbcType=DECIMAL}, ret_cum_5y = #{retCum5y,jdbcType=DECIMAL}, ret_5y_bm1 = #{ret5yBm1,jdbcType=DECIMAL}, ret_cum_5y_bm1 = #{retCum5yBm1,jdbcType=DECIMAL}, ret_5y_a = #{ret5yA,jdbcType=DECIMAL}, ret_5y_bm1_a = #{ret5yBm1A,jdbcType=DECIMAL}, ret_ytd = #{retYtd,jdbcType=DECIMAL}, ret_cum_ytd = #{retCumYtd,jdbcType=DECIMAL}, ret_ytd_bm1 = #{retYtdBm1,jdbcType=DECIMAL}, ret_cum_ytd_bm1 = #{retCumYtdBm1,jdbcType=DECIMAL}, ret_incep = #{retIncep,jdbcType=DECIMAL}, ret_cum_incep = #{retCumIncep,jdbcType=DECIMAL}, ret_incep_bm1 = #{retIncepBm1,jdbcType=DECIMAL}, ret_cum_incep_bm1 = #{retCumIncepBm1,jdbcType=DECIMAL}, ret_incep_a = #{retIncepA,jdbcType=DECIMAL}, ret_incep_bm1_a = #{retIncepBm1A,jdbcType=DECIMAL}, update_time = #{updateTime,jdbcType=TIMESTAMP}, create_time = #{createTime,jdbcType=TIMESTAMP}, delete_tag = #{deleteTag,jdbcType=INTEGER} where id = #{id,jdbcType=VARCHAR} </update> <update id="updateBatch" parameterType="java.util.List"> <!--@mbg.generated--> update fund_performance <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="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="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_cum_1m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.retCum1m,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_cum_1m_bm1 = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.retCum1mBm1,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_cum_3m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.retCum3m,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="ret_cum_3m_bm1 = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.retCum3mBm1,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_cum_6m = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.retCum6m,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_cum_6m_bm1 = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.retCum6mBm1,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_cum_1y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.retCum1y,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_cum_1y_bm1 = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.retCum1yBm1,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_cum_2y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.retCum2y,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_cum_2y_bm1 = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.retCum2yBm1,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_cum_3y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.retCum3y,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_cum_3y_bm1 = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.retCum3yBm1,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_cum_4y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.retCum4y,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_cum_4y_bm1 = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.retCum4yBm1,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_cum_5y = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.retCum5y,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_cum_5y_bm1 = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.retCum5yBm1,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_cum_ytd = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.retCumYtd,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_cum_ytd_bm1 = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.retCumYtdBm1,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_cum_incep = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.retCumIncep,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_cum_incep_bm1 = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.retCumIncepBm1,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="update_time = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.updateTime,jdbcType=TIMESTAMP} </foreach> </trim> <trim prefix="create_time = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.createTime,jdbcType=TIMESTAMP} </foreach> </trim> <trim prefix="delete_tag = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.deleteTag,jdbcType=INTEGER} </foreach> </trim> </trim> 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 fund_performance (id, fund_id, end_date, price_date, cumulative_nav, ret_1day, ret_1day_bm1, ret_1w, ret_1w_bm1, ret_1m, ret_cum_1m, ret_1m_bm1, ret_cum_1m_bm1, ret_3m, ret_3m_bm1, ret_cum_3m, ret_cum_3m_bm1, ret_6m, ret_cum_6m, ret_6m_bm1, ret_cum_6m_bm1, ret_1y, ret_cum_1y, ret_1y_bm1, ret_cum_1y_bm1, ret_2y, ret_cum_2y, ret_2y_bm1, ret_cum_2y_bm1, ret_2y_a, ret_2y_bm1_a, ret_3y, ret_cum_3y, ret_3y_bm1, ret_cum_3y_bm1, ret_3y_a, ret_3y_bm1_a, ret_4y, ret_cum_4y, ret_4y_bm1, ret_cum_4y_bm1, ret_4y_a, ret_4y_bm1_a, ret_5y, ret_cum_5y, ret_5y_bm1, ret_cum_5y_bm1, ret_5y_a, ret_5y_bm1_a, ret_ytd, ret_cum_ytd, ret_ytd_bm1, ret_cum_ytd_bm1, ret_incep, ret_cum_incep, ret_incep_bm1, ret_cum_incep_bm1, ret_incep_a, ret_incep_bm1_a, update_time, create_time, delete_tag ) values <foreach collection="list" item="item" separator=","> (#{item.id,jdbcType=VARCHAR}, #{item.fundId,jdbcType=VARCHAR}, #{item.endDate,jdbcType=DATE}, #{item.priceDate,jdbcType=DATE}, #{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.retCum1m,jdbcType=DECIMAL}, #{item.ret1mBm1,jdbcType=DECIMAL}, #{item.retCum1mBm1,jdbcType=DECIMAL}, #{item.ret3m,jdbcType=DECIMAL}, #{item.ret3mBm1,jdbcType=DECIMAL}, #{item.retCum3m,jdbcType=DECIMAL}, #{item.retCum3mBm1,jdbcType=DECIMAL}, #{item.ret6m,jdbcType=DECIMAL}, #{item.retCum6m,jdbcType=DECIMAL}, #{item.ret6mBm1,jdbcType=DECIMAL}, #{item.retCum6mBm1,jdbcType=DECIMAL}, #{item.ret1y,jdbcType=DECIMAL}, #{item.retCum1y,jdbcType=DECIMAL}, #{item.ret1yBm1,jdbcType=DECIMAL}, #{item.retCum1yBm1,jdbcType=DECIMAL}, #{item.ret2y,jdbcType=DECIMAL}, #{item.retCum2y,jdbcType=DECIMAL}, #{item.ret2yBm1,jdbcType=DECIMAL}, #{item.retCum2yBm1,jdbcType=DECIMAL}, #{item.ret2yA,jdbcType=DECIMAL}, #{item.ret2yBm1A,jdbcType=DECIMAL}, #{item.ret3y,jdbcType=DECIMAL}, #{item.retCum3y,jdbcType=DECIMAL}, #{item.ret3yBm1,jdbcType=DECIMAL}, #{item.retCum3yBm1,jdbcType=DECIMAL}, #{item.ret3yA,jdbcType=DECIMAL}, #{item.ret3yBm1A,jdbcType=DECIMAL}, #{item.ret4y,jdbcType=DECIMAL}, #{item.retCum4y,jdbcType=DECIMAL}, #{item.ret4yBm1,jdbcType=DECIMAL}, #{item.retCum4yBm1,jdbcType=DECIMAL}, #{item.ret4yA,jdbcType=DECIMAL}, #{item.ret4yBm1A,jdbcType=DECIMAL}, #{item.ret5y,jdbcType=DECIMAL}, #{item.retCum5y,jdbcType=DECIMAL}, #{item.ret5yBm1,jdbcType=DECIMAL}, #{item.retCum5yBm1,jdbcType=DECIMAL}, #{item.ret5yA,jdbcType=DECIMAL}, #{item.ret5yBm1A,jdbcType=DECIMAL}, #{item.retYtd,jdbcType=DECIMAL}, #{item.retCumYtd,jdbcType=DECIMAL}, #{item.retYtdBm1,jdbcType=DECIMAL}, #{item.retCumYtdBm1,jdbcType=DECIMAL}, #{item.retIncep,jdbcType=DECIMAL}, #{item.retCumIncep,jdbcType=DECIMAL}, #{item.retIncepBm1,jdbcType=DECIMAL}, #{item.retCumIncepBm1,jdbcType=DECIMAL}, #{item.retIncepA,jdbcType=DECIMAL}, #{item.retIncepBm1A,jdbcType=DECIMAL}, #{item.updateTime,jdbcType=TIMESTAMP}, #{item.createTime,jdbcType=TIMESTAMP}, #{item.deleteTag,jdbcType=INTEGER}) </foreach> </insert> <insert id="insertOrUpdate" parameterType="com.tanpu.fund.entity.generator.FundPerformance"> <!--@mbg.generated--> insert into fund_performance (id, fund_id, end_date, price_date, cumulative_nav, ret_1day, ret_1day_bm1, ret_1w, ret_1w_bm1, ret_1m, ret_cum_1m, ret_1m_bm1, ret_cum_1m_bm1, ret_3m, ret_3m_bm1, ret_cum_3m, ret_cum_3m_bm1, ret_6m, ret_cum_6m, ret_6m_bm1, ret_cum_6m_bm1, ret_1y, ret_cum_1y, ret_1y_bm1, ret_cum_1y_bm1, ret_2y, ret_cum_2y, ret_2y_bm1, ret_cum_2y_bm1, ret_2y_a, ret_2y_bm1_a, ret_3y, ret_cum_3y, ret_3y_bm1, ret_cum_3y_bm1, ret_3y_a, ret_3y_bm1_a, ret_4y, ret_cum_4y, ret_4y_bm1, ret_cum_4y_bm1, ret_4y_a, ret_4y_bm1_a, ret_5y, ret_cum_5y, ret_5y_bm1, ret_cum_5y_bm1, ret_5y_a, ret_5y_bm1_a, ret_ytd, ret_cum_ytd, ret_ytd_bm1, ret_cum_ytd_bm1, ret_incep, ret_cum_incep, ret_incep_bm1, ret_cum_incep_bm1, ret_incep_a, ret_incep_bm1_a, update_time, create_time, delete_tag ) values (#{id,jdbcType=VARCHAR}, #{fundId,jdbcType=VARCHAR}, #{endDate,jdbcType=DATE}, #{priceDate,jdbcType=DATE}, #{cumulativeNav,jdbcType=DECIMAL}, #{ret1day,jdbcType=DECIMAL}, #{ret1dayBm1,jdbcType=DECIMAL}, #{ret1w,jdbcType=DECIMAL}, #{ret1wBm1,jdbcType=DECIMAL}, #{ret1m,jdbcType=DECIMAL}, #{retCum1m,jdbcType=DECIMAL}, #{ret1mBm1,jdbcType=DECIMAL}, #{retCum1mBm1,jdbcType=DECIMAL}, #{ret3m,jdbcType=DECIMAL}, #{ret3mBm1,jdbcType=DECIMAL}, #{retCum3m,jdbcType=DECIMAL}, #{retCum3mBm1,jdbcType=DECIMAL}, #{ret6m,jdbcType=DECIMAL}, #{retCum6m,jdbcType=DECIMAL}, #{ret6mBm1,jdbcType=DECIMAL}, #{retCum6mBm1,jdbcType=DECIMAL}, #{ret1y,jdbcType=DECIMAL}, #{retCum1y,jdbcType=DECIMAL}, #{ret1yBm1,jdbcType=DECIMAL}, #{retCum1yBm1,jdbcType=DECIMAL}, #{ret2y,jdbcType=DECIMAL}, #{retCum2y,jdbcType=DECIMAL}, #{ret2yBm1,jdbcType=DECIMAL}, #{retCum2yBm1,jdbcType=DECIMAL}, #{ret2yA,jdbcType=DECIMAL}, #{ret2yBm1A,jdbcType=DECIMAL}, #{ret3y,jdbcType=DECIMAL}, #{retCum3y,jdbcType=DECIMAL}, #{ret3yBm1,jdbcType=DECIMAL}, #{retCum3yBm1,jdbcType=DECIMAL}, #{ret3yA,jdbcType=DECIMAL}, #{ret3yBm1A,jdbcType=DECIMAL}, #{ret4y,jdbcType=DECIMAL}, #{retCum4y,jdbcType=DECIMAL}, #{ret4yBm1,jdbcType=DECIMAL}, #{retCum4yBm1,jdbcType=DECIMAL}, #{ret4yA,jdbcType=DECIMAL}, #{ret4yBm1A,jdbcType=DECIMAL}, #{ret5y,jdbcType=DECIMAL}, #{retCum5y,jdbcType=DECIMAL}, #{ret5yBm1,jdbcType=DECIMAL}, #{retCum5yBm1,jdbcType=DECIMAL}, #{ret5yA,jdbcType=DECIMAL}, #{ret5yBm1A,jdbcType=DECIMAL}, #{retYtd,jdbcType=DECIMAL}, #{retCumYtd,jdbcType=DECIMAL}, #{retYtdBm1,jdbcType=DECIMAL}, #{retCumYtdBm1,jdbcType=DECIMAL}, #{retIncep,jdbcType=DECIMAL}, #{retCumIncep,jdbcType=DECIMAL}, #{retIncepBm1,jdbcType=DECIMAL}, #{retCumIncepBm1,jdbcType=DECIMAL}, #{retIncepA,jdbcType=DECIMAL}, #{retIncepBm1A,jdbcType=DECIMAL}, #{updateTime,jdbcType=TIMESTAMP}, #{createTime,jdbcType=TIMESTAMP}, #{deleteTag,jdbcType=INTEGER}) on duplicate key update id = #{id,jdbcType=VARCHAR}, fund_id = #{fundId,jdbcType=VARCHAR}, end_date = #{endDate,jdbcType=DATE}, price_date = #{priceDate,jdbcType=DATE}, 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_cum_1m = #{retCum1m,jdbcType=DECIMAL}, ret_1m_bm1 = #{ret1mBm1,jdbcType=DECIMAL}, ret_cum_1m_bm1 = #{retCum1mBm1,jdbcType=DECIMAL}, ret_3m = #{ret3m,jdbcType=DECIMAL}, ret_3m_bm1 = #{ret3mBm1,jdbcType=DECIMAL}, ret_cum_3m = #{retCum3m,jdbcType=DECIMAL}, ret_cum_3m_bm1 = #{retCum3mBm1,jdbcType=DECIMAL}, ret_6m = #{ret6m,jdbcType=DECIMAL}, ret_cum_6m = #{retCum6m,jdbcType=DECIMAL}, ret_6m_bm1 = #{ret6mBm1,jdbcType=DECIMAL}, ret_cum_6m_bm1 = #{retCum6mBm1,jdbcType=DECIMAL}, ret_1y = #{ret1y,jdbcType=DECIMAL}, ret_cum_1y = #{retCum1y,jdbcType=DECIMAL}, ret_1y_bm1 = #{ret1yBm1,jdbcType=DECIMAL}, ret_cum_1y_bm1 = #{retCum1yBm1,jdbcType=DECIMAL}, ret_2y = #{ret2y,jdbcType=DECIMAL}, ret_cum_2y = #{retCum2y,jdbcType=DECIMAL}, ret_2y_bm1 = #{ret2yBm1,jdbcType=DECIMAL}, ret_cum_2y_bm1 = #{retCum2yBm1,jdbcType=DECIMAL}, ret_2y_a = #{ret2yA,jdbcType=DECIMAL}, ret_2y_bm1_a = #{ret2yBm1A,jdbcType=DECIMAL}, ret_3y = #{ret3y,jdbcType=DECIMAL}, ret_cum_3y = #{retCum3y,jdbcType=DECIMAL}, ret_3y_bm1 = #{ret3yBm1,jdbcType=DECIMAL}, ret_cum_3y_bm1 = #{retCum3yBm1,jdbcType=DECIMAL}, ret_3y_a = #{ret3yA,jdbcType=DECIMAL}, ret_3y_bm1_a = #{ret3yBm1A,jdbcType=DECIMAL}, ret_4y = #{ret4y,jdbcType=DECIMAL}, ret_cum_4y = #{retCum4y,jdbcType=DECIMAL}, ret_4y_bm1 = #{ret4yBm1,jdbcType=DECIMAL}, ret_cum_4y_bm1 = #{retCum4yBm1,jdbcType=DECIMAL}, ret_4y_a = #{ret4yA,jdbcType=DECIMAL}, ret_4y_bm1_a = #{ret4yBm1A,jdbcType=DECIMAL}, ret_5y = #{ret5y,jdbcType=DECIMAL}, ret_cum_5y = #{retCum5y,jdbcType=DECIMAL}, ret_5y_bm1 = #{ret5yBm1,jdbcType=DECIMAL}, ret_cum_5y_bm1 = #{retCum5yBm1,jdbcType=DECIMAL}, ret_5y_a = #{ret5yA,jdbcType=DECIMAL}, ret_5y_bm1_a = #{ret5yBm1A,jdbcType=DECIMAL}, ret_ytd = #{retYtd,jdbcType=DECIMAL}, ret_cum_ytd = #{retCumYtd,jdbcType=DECIMAL}, ret_ytd_bm1 = #{retYtdBm1,jdbcType=DECIMAL}, ret_cum_ytd_bm1 = #{retCumYtdBm1,jdbcType=DECIMAL}, ret_incep = #{retIncep,jdbcType=DECIMAL}, ret_cum_incep = #{retCumIncep,jdbcType=DECIMAL}, ret_incep_bm1 = #{retIncepBm1,jdbcType=DECIMAL}, ret_cum_incep_bm1 = #{retCumIncepBm1,jdbcType=DECIMAL}, ret_incep_a = #{retIncepA,jdbcType=DECIMAL}, ret_incep_bm1_a = #{retIncepBm1A,jdbcType=DECIMAL}, update_time = #{updateTime,jdbcType=TIMESTAMP}, create_time = #{createTime,jdbcType=TIMESTAMP}, delete_tag = #{deleteTag,jdbcType=INTEGER} </insert> <insert id="insertOrUpdateSelective" parameterType="com.tanpu.fund.entity.generator.FundPerformance"> <!--@mbg.generated--> insert into fund_performance <trim prefix="(" suffix=")" suffixOverrides=","> <if test="id != null"> id, </if> <if test="fundId != null"> fund_id, </if> <if test="endDate != null"> end_date, </if> <if test="priceDate != null"> price_date, </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="retCum1m != null"> ret_cum_1m, </if> <if test="ret1mBm1 != null"> ret_1m_bm1, </if> <if test="retCum1mBm1 != null"> ret_cum_1m_bm1, </if> <if test="ret3m != null"> ret_3m, </if> <if test="ret3mBm1 != null"> ret_3m_bm1, </if> <if test="retCum3m != null"> ret_cum_3m, </if> <if test="retCum3mBm1 != null"> ret_cum_3m_bm1, </if> <if test="ret6m != null"> ret_6m, </if> <if test="retCum6m != null"> ret_cum_6m, </if> <if test="ret6mBm1 != null"> ret_6m_bm1, </if> <if test="retCum6mBm1 != null"> ret_cum_6m_bm1, </if> <if test="ret1y != null"> ret_1y, </if> <if test="retCum1y != null"> ret_cum_1y, </if> <if test="ret1yBm1 != null"> ret_1y_bm1, </if> <if test="retCum1yBm1 != null"> ret_cum_1y_bm1, </if> <if test="ret2y != null"> ret_2y, </if> <if test="retCum2y != null"> ret_cum_2y, </if> <if test="ret2yBm1 != null"> ret_2y_bm1, </if> <if test="retCum2yBm1 != null"> ret_cum_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="retCum3y != null"> ret_cum_3y, </if> <if test="ret3yBm1 != null"> ret_3y_bm1, </if> <if test="retCum3yBm1 != null"> ret_cum_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="retCum4y != null"> ret_cum_4y, </if> <if test="ret4yBm1 != null"> ret_4y_bm1, </if> <if test="retCum4yBm1 != null"> ret_cum_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="retCum5y != null"> ret_cum_5y, </if> <if test="ret5yBm1 != null"> ret_5y_bm1, </if> <if test="retCum5yBm1 != null"> ret_cum_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="retCumYtd != null"> ret_cum_ytd, </if> <if test="retYtdBm1 != null"> ret_ytd_bm1, </if> <if test="retCumYtdBm1 != null"> ret_cum_ytd_bm1, </if> <if test="retIncep != null"> ret_incep, </if> <if test="retCumIncep != null"> ret_cum_incep, </if> <if test="retIncepBm1 != null"> ret_incep_bm1, </if> <if test="retCumIncepBm1 != null"> ret_cum_incep_bm1, </if> <if test="retIncepA != null"> ret_incep_a, </if> <if test="retIncepBm1A != null"> ret_incep_bm1_a, </if> <if test="updateTime != null"> update_time, </if> <if test="createTime != null"> create_time, </if> <if test="deleteTag != null"> delete_tag, </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="endDate != null"> #{endDate,jdbcType=DATE}, </if> <if test="priceDate != null"> #{priceDate,jdbcType=DATE}, </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="retCum1m != null"> #{retCum1m,jdbcType=DECIMAL}, </if> <if test="ret1mBm1 != null"> #{ret1mBm1,jdbcType=DECIMAL}, </if> <if test="retCum1mBm1 != null"> #{retCum1mBm1,jdbcType=DECIMAL}, </if> <if test="ret3m != null"> #{ret3m,jdbcType=DECIMAL}, </if> <if test="ret3mBm1 != null"> #{ret3mBm1,jdbcType=DECIMAL}, </if> <if test="retCum3m != null"> #{retCum3m,jdbcType=DECIMAL}, </if> <if test="retCum3mBm1 != null"> #{retCum3mBm1,jdbcType=DECIMAL}, </if> <if test="ret6m != null"> #{ret6m,jdbcType=DECIMAL}, </if> <if test="retCum6m != null"> #{retCum6m,jdbcType=DECIMAL}, </if> <if test="ret6mBm1 != null"> #{ret6mBm1,jdbcType=DECIMAL}, </if> <if test="retCum6mBm1 != null"> #{retCum6mBm1,jdbcType=DECIMAL}, </if> <if test="ret1y != null"> #{ret1y,jdbcType=DECIMAL}, </if> <if test="retCum1y != null"> #{retCum1y,jdbcType=DECIMAL}, </if> <if test="ret1yBm1 != null"> #{ret1yBm1,jdbcType=DECIMAL}, </if> <if test="retCum1yBm1 != null"> #{retCum1yBm1,jdbcType=DECIMAL}, </if> <if test="ret2y != null"> #{ret2y,jdbcType=DECIMAL}, </if> <if test="retCum2y != null"> #{retCum2y,jdbcType=DECIMAL}, </if> <if test="ret2yBm1 != null"> #{ret2yBm1,jdbcType=DECIMAL}, </if> <if test="retCum2yBm1 != null"> #{retCum2yBm1,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="retCum3y != null"> #{retCum3y,jdbcType=DECIMAL}, </if> <if test="ret3yBm1 != null"> #{ret3yBm1,jdbcType=DECIMAL}, </if> <if test="retCum3yBm1 != null"> #{retCum3yBm1,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="retCum4y != null"> #{retCum4y,jdbcType=DECIMAL}, </if> <if test="ret4yBm1 != null"> #{ret4yBm1,jdbcType=DECIMAL}, </if> <if test="retCum4yBm1 != null"> #{retCum4yBm1,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="retCum5y != null"> #{retCum5y,jdbcType=DECIMAL}, </if> <if test="ret5yBm1 != null"> #{ret5yBm1,jdbcType=DECIMAL}, </if> <if test="retCum5yBm1 != null"> #{retCum5yBm1,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="retCumYtd != null"> #{retCumYtd,jdbcType=DECIMAL}, </if> <if test="retYtdBm1 != null"> #{retYtdBm1,jdbcType=DECIMAL}, </if> <if test="retCumYtdBm1 != null"> #{retCumYtdBm1,jdbcType=DECIMAL}, </if> <if test="retIncep != null"> #{retIncep,jdbcType=DECIMAL}, </if> <if test="retCumIncep != null"> #{retCumIncep,jdbcType=DECIMAL}, </if> <if test="retIncepBm1 != null"> #{retIncepBm1,jdbcType=DECIMAL}, </if> <if test="retCumIncepBm1 != null"> #{retCumIncepBm1,jdbcType=DECIMAL}, </if> <if test="retIncepA != null"> #{retIncepA,jdbcType=DECIMAL}, </if> <if test="retIncepBm1A != null"> #{retIncepBm1A,jdbcType=DECIMAL}, </if> <if test="updateTime != null"> #{updateTime,jdbcType=TIMESTAMP}, </if> <if test="createTime != null"> #{createTime,jdbcType=TIMESTAMP}, </if> <if test="deleteTag != null"> #{deleteTag,jdbcType=INTEGER}, </if> </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="endDate != null"> end_date = #{endDate,jdbcType=DATE}, </if> <if test="priceDate != null"> price_date = #{priceDate,jdbcType=DATE}, </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="retCum1m != null"> ret_cum_1m = #{retCum1m,jdbcType=DECIMAL}, </if> <if test="ret1mBm1 != null"> ret_1m_bm1 = #{ret1mBm1,jdbcType=DECIMAL}, </if> <if test="retCum1mBm1 != null"> ret_cum_1m_bm1 = #{retCum1mBm1,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="retCum3m != null"> ret_cum_3m = #{retCum3m,jdbcType=DECIMAL}, </if> <if test="retCum3mBm1 != null"> ret_cum_3m_bm1 = #{retCum3mBm1,jdbcType=DECIMAL}, </if> <if test="ret6m != null"> ret_6m = #{ret6m,jdbcType=DECIMAL}, </if> <if test="retCum6m != null"> ret_cum_6m = #{retCum6m,jdbcType=DECIMAL}, </if> <if test="ret6mBm1 != null"> ret_6m_bm1 = #{ret6mBm1,jdbcType=DECIMAL}, </if> <if test="retCum6mBm1 != null"> ret_cum_6m_bm1 = #{retCum6mBm1,jdbcType=DECIMAL}, </if> <if test="ret1y != null"> ret_1y = #{ret1y,jdbcType=DECIMAL}, </if> <if test="retCum1y != null"> ret_cum_1y = #{retCum1y,jdbcType=DECIMAL}, </if> <if test="ret1yBm1 != null"> ret_1y_bm1 = #{ret1yBm1,jdbcType=DECIMAL}, </if> <if test="retCum1yBm1 != null"> ret_cum_1y_bm1 = #{retCum1yBm1,jdbcType=DECIMAL}, </if> <if test="ret2y != null"> ret_2y = #{ret2y,jdbcType=DECIMAL}, </if> <if test="retCum2y != null"> ret_cum_2y = #{retCum2y,jdbcType=DECIMAL}, </if> <if test="ret2yBm1 != null"> ret_2y_bm1 = #{ret2yBm1,jdbcType=DECIMAL}, </if> <if test="retCum2yBm1 != null"> ret_cum_2y_bm1 = #{retCum2yBm1,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="retCum3y != null"> ret_cum_3y = #{retCum3y,jdbcType=DECIMAL}, </if> <if test="ret3yBm1 != null"> ret_3y_bm1 = #{ret3yBm1,jdbcType=DECIMAL}, </if> <if test="retCum3yBm1 != null"> ret_cum_3y_bm1 = #{retCum3yBm1,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="retCum4y != null"> ret_cum_4y = #{retCum4y,jdbcType=DECIMAL}, </if> <if test="ret4yBm1 != null"> ret_4y_bm1 = #{ret4yBm1,jdbcType=DECIMAL}, </if> <if test="retCum4yBm1 != null"> ret_cum_4y_bm1 = #{retCum4yBm1,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="retCum5y != null"> ret_cum_5y = #{retCum5y,jdbcType=DECIMAL}, </if> <if test="ret5yBm1 != null"> ret_5y_bm1 = #{ret5yBm1,jdbcType=DECIMAL}, </if> <if test="retCum5yBm1 != null"> ret_cum_5y_bm1 = #{retCum5yBm1,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="retCumYtd != null"> ret_cum_ytd = #{retCumYtd,jdbcType=DECIMAL}, </if> <if test="retYtdBm1 != null"> ret_ytd_bm1 = #{retYtdBm1,jdbcType=DECIMAL}, </if> <if test="retCumYtdBm1 != null"> ret_cum_ytd_bm1 = #{retCumYtdBm1,jdbcType=DECIMAL}, </if> <if test="retIncep != null"> ret_incep = #{retIncep,jdbcType=DECIMAL}, </if> <if test="retCumIncep != null"> ret_cum_incep = #{retCumIncep,jdbcType=DECIMAL}, </if> <if test="retIncepBm1 != null"> ret_incep_bm1 = #{retIncepBm1,jdbcType=DECIMAL}, </if> <if test="retCumIncepBm1 != null"> ret_cum_incep_bm1 = #{retCumIncepBm1,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="updateTime != null"> update_time = #{updateTime,jdbcType=TIMESTAMP}, </if> <if test="createTime != null"> create_time = #{createTime,jdbcType=TIMESTAMP}, </if> <if test="deleteTag != null"> delete_tag = #{deleteTag,jdbcType=INTEGER}, </if> </trim> </insert> </mapper>