<?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.IfaImportedFundInfoMapper"> <resultMap id="BaseResultMap" type="com.tanpu.fund.entity.generator.IfaImportedFundInfo"> <!--@mbg.generated--> <!--@Table ifa_imported_fund_info--> <id column="id" jdbcType="VARCHAR" property="id" /> <result column="fund_name" jdbcType="VARCHAR" property="fundName" /> <result column="company_name" jdbcType="VARCHAR" property="companyName" /> <result column="substrategy" jdbcType="INTEGER" property="substrategy" /> <result column="strategy" jdbcType="INTEGER" property="strategy" /> <result column="manage_name" jdbcType="VARCHAR" property="manageName" /> <result column="risk_level" jdbcType="VARCHAR" property="riskLevel" /> <result column="inception_date" jdbcType="TIMESTAMP" property="inceptionDate" /> <result column="register_number" jdbcType="VARCHAR" property="registerNumber" /> <result column="open_day" jdbcType="VARCHAR" property="openDay" /> <result column="min_investment_share" jdbcType="DECIMAL" property="minInvestmentShare" /> <result column="subsequent_investment_share" jdbcType="DECIMAL" property="subsequentInvestmentShare" /> <result column="subscription_fee" jdbcType="DECIMAL" property="subscriptionFee" /> <result column="redemption_fee" jdbcType="DECIMAL" property="redemptionFee" /> <result column="management_fee" jdbcType="DECIMAL" property="managementFee" /> <result column="performance_fee" jdbcType="DECIMAL" property="performanceFee" /> <result column="performance_calculate_method" jdbcType="VARCHAR" property="performanceCalculateMethod" /> <result column="ifa_id" jdbcType="VARCHAR" property="ifaId" /> <result column="has_nav" jdbcType="INTEGER" property="hasNav" /> <result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> <result column="create_by" jdbcType="VARCHAR" property="createBy" /> <result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> <result column="update_by" jdbcType="VARCHAR" property="updateBy" /> <result column="delete_tag" jdbcType="INTEGER" property="deleteTag" /> <result column="nav_frequency" jdbcType="INTEGER" property="navFrequency" /> <result column="org_id" jdbcType="VARCHAR" property="orgId" /> <result column="raise_starttime" jdbcType="TIMESTAMP" property="raiseStarttime" /> <result column="raise_endtime" jdbcType="TIMESTAMP" property="raiseEndtime" /> <result column="pro_sub_type" jdbcType="INTEGER" property="proSubType" /> </resultMap> <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.tanpu.fund.entity.generator.IfaImportedFundInfo"> <!--@mbg.generated--> <!--@Table ifa_imported_fund_info--> <result column="pro_abstract" jdbcType="LONGVARCHAR" property="proAbstract" /> <result column="pro_info_desc" jdbcType="LONGVARCHAR" property="proInfoDesc" /> </resultMap> <sql id="Example_Where_Clause"> <!--@mbg.generated--> <where> <foreach collection="oredCriteria" item="criteria" separator="or"> <if test="criteria.valid"> <trim prefix="(" prefixOverrides="and" suffix=")"> <foreach collection="criteria.criteria" item="criterion"> <choose> <when test="criterion.noValue"> and ${criterion.condition} </when> <when test="criterion.singleValue"> and ${criterion.condition} #{criterion.value} </when> <when test="criterion.betweenValue"> and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} </when> <when test="criterion.listValue"> and ${criterion.condition} <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> #{listItem} </foreach> </when> </choose> </foreach> </trim> </if> </foreach> </where> </sql> <sql id="Update_By_Example_Where_Clause"> <!--@mbg.generated--> <where> <foreach collection="example.oredCriteria" item="criteria" separator="or"> <if test="criteria.valid"> <trim prefix="(" prefixOverrides="and" suffix=")"> <foreach collection="criteria.criteria" item="criterion"> <choose> <when test="criterion.noValue"> and ${criterion.condition} </when> <when test="criterion.singleValue"> and ${criterion.condition} #{criterion.value} </when> <when test="criterion.betweenValue"> and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} </when> <when test="criterion.listValue"> and ${criterion.condition} <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> #{listItem} </foreach> </when> </choose> </foreach> </trim> </if> </foreach> </where> </sql> <sql id="Base_Column_List"> <!--@mbg.generated--> id, fund_name, company_name, substrategy, strategy, manage_name, risk_level, inception_date, register_number, open_day, min_investment_share, subsequent_investment_share, subscription_fee, redemption_fee, management_fee, performance_fee, performance_calculate_method, ifa_id, has_nav, create_time, create_by, update_time, update_by, delete_tag, nav_frequency, org_id, raise_starttime, raise_endtime, pro_sub_type </sql> <sql id="Blob_Column_List"> <!--@mbg.generated--> pro_abstract, pro_info_desc </sql> <select id="selectByExampleWithBLOBs" parameterType="com.tanpu.fund.entity.generator.IfaImportedFundInfoExample" resultMap="ResultMapWithBLOBs"> <!--@mbg.generated--> select <if test="distinct"> distinct </if> <include refid="Base_Column_List" /> , <include refid="Blob_Column_List" /> from ifa_imported_fund_info <if test="_parameter != null"> <include refid="Example_Where_Clause" /> </if> <if test="orderByClause != null"> order by ${orderByClause} </if> </select> <select id="selectByExample" parameterType="com.tanpu.fund.entity.generator.IfaImportedFundInfoExample" resultMap="BaseResultMap"> <!--@mbg.generated--> select <if test="distinct"> distinct </if> <include refid="Base_Column_List" /> from ifa_imported_fund_info <if test="_parameter != null"> <include refid="Example_Where_Clause" /> </if> <if test="orderByClause != null"> order by ${orderByClause} </if> </select> <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="ResultMapWithBLOBs"> <!--@mbg.generated--> select <include refid="Base_Column_List" /> , <include refid="Blob_Column_List" /> from ifa_imported_fund_info where id = #{id,jdbcType=VARCHAR} </select> <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> <!--@mbg.generated--> delete from ifa_imported_fund_info where id = #{id,jdbcType=VARCHAR} </delete> <delete id="deleteByExample" parameterType="com.tanpu.fund.entity.generator.IfaImportedFundInfoExample"> <!--@mbg.generated--> delete from ifa_imported_fund_info <if test="_parameter != null"> <include refid="Example_Where_Clause" /> </if> </delete> <insert id="insert" parameterType="com.tanpu.fund.entity.generator.IfaImportedFundInfo"> <!--@mbg.generated--> insert into ifa_imported_fund_info (id, fund_name, company_name, substrategy, strategy, manage_name, risk_level, inception_date, register_number, open_day, min_investment_share, subsequent_investment_share, subscription_fee, redemption_fee, management_fee, performance_fee, performance_calculate_method, ifa_id, has_nav, create_time, create_by, update_time, update_by, delete_tag, nav_frequency, org_id, raise_starttime, raise_endtime, pro_sub_type, pro_abstract, pro_info_desc) values (#{id,jdbcType=VARCHAR}, #{fundName,jdbcType=VARCHAR}, #{companyName,jdbcType=VARCHAR}, #{substrategy,jdbcType=INTEGER}, #{strategy,jdbcType=INTEGER}, #{manageName,jdbcType=VARCHAR}, #{riskLevel,jdbcType=VARCHAR}, #{inceptionDate,jdbcType=TIMESTAMP}, #{registerNumber,jdbcType=VARCHAR}, #{openDay,jdbcType=VARCHAR}, #{minInvestmentShare,jdbcType=DECIMAL}, #{subsequentInvestmentShare,jdbcType=DECIMAL}, #{subscriptionFee,jdbcType=DECIMAL}, #{redemptionFee,jdbcType=DECIMAL}, #{managementFee,jdbcType=DECIMAL}, #{performanceFee,jdbcType=DECIMAL}, #{performanceCalculateMethod,jdbcType=VARCHAR}, #{ifaId,jdbcType=VARCHAR}, #{hasNav,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{createBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{deleteTag,jdbcType=INTEGER}, #{navFrequency,jdbcType=INTEGER}, #{orgId,jdbcType=VARCHAR}, #{raiseStarttime,jdbcType=TIMESTAMP}, #{raiseEndtime,jdbcType=TIMESTAMP}, #{proSubType,jdbcType=INTEGER}, #{proAbstract,jdbcType=LONGVARCHAR}, #{proInfoDesc,jdbcType=LONGVARCHAR}) </insert> <insert id="insertSelective" parameterType="com.tanpu.fund.entity.generator.IfaImportedFundInfo"> <!--@mbg.generated--> insert into ifa_imported_fund_info <trim prefix="(" suffix=")" suffixOverrides=","> <if test="id != null"> id, </if> <if test="fundName != null"> fund_name, </if> <if test="companyName != null"> company_name, </if> <if test="substrategy != null"> substrategy, </if> <if test="strategy != null"> strategy, </if> <if test="manageName != null"> manage_name, </if> <if test="riskLevel != null"> risk_level, </if> <if test="inceptionDate != null"> inception_date, </if> <if test="registerNumber != null"> register_number, </if> <if test="openDay != null"> open_day, </if> <if test="minInvestmentShare != null"> min_investment_share, </if> <if test="subsequentInvestmentShare != null"> subsequent_investment_share, </if> <if test="subscriptionFee != null"> subscription_fee, </if> <if test="redemptionFee != null"> redemption_fee, </if> <if test="managementFee != null"> management_fee, </if> <if test="performanceFee != null"> performance_fee, </if> <if test="performanceCalculateMethod != null"> performance_calculate_method, </if> <if test="ifaId != null"> ifa_id, </if> <if test="hasNav != null"> has_nav, </if> <if test="createTime != null"> create_time, </if> <if test="createBy != null"> create_by, </if> <if test="updateTime != null"> update_time, </if> <if test="updateBy != null"> update_by, </if> <if test="deleteTag != null"> delete_tag, </if> <if test="navFrequency != null"> nav_frequency, </if> <if test="orgId != null"> org_id, </if> <if test="raiseStarttime != null"> raise_starttime, </if> <if test="raiseEndtime != null"> raise_endtime, </if> <if test="proSubType != null"> pro_sub_type, </if> <if test="proAbstract != null"> pro_abstract, </if> <if test="proInfoDesc != null"> pro_info_desc, </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="id != null"> #{id,jdbcType=VARCHAR}, </if> <if test="fundName != null"> #{fundName,jdbcType=VARCHAR}, </if> <if test="companyName != null"> #{companyName,jdbcType=VARCHAR}, </if> <if test="substrategy != null"> #{substrategy,jdbcType=INTEGER}, </if> <if test="strategy != null"> #{strategy,jdbcType=INTEGER}, </if> <if test="manageName != null"> #{manageName,jdbcType=VARCHAR}, </if> <if test="riskLevel != null"> #{riskLevel,jdbcType=VARCHAR}, </if> <if test="inceptionDate != null"> #{inceptionDate,jdbcType=TIMESTAMP}, </if> <if test="registerNumber != null"> #{registerNumber,jdbcType=VARCHAR}, </if> <if test="openDay != null"> #{openDay,jdbcType=VARCHAR}, </if> <if test="minInvestmentShare != null"> #{minInvestmentShare,jdbcType=DECIMAL}, </if> <if test="subsequentInvestmentShare != null"> #{subsequentInvestmentShare,jdbcType=DECIMAL}, </if> <if test="subscriptionFee != null"> #{subscriptionFee,jdbcType=DECIMAL}, </if> <if test="redemptionFee != null"> #{redemptionFee,jdbcType=DECIMAL}, </if> <if test="managementFee != null"> #{managementFee,jdbcType=DECIMAL}, </if> <if test="performanceFee != null"> #{performanceFee,jdbcType=DECIMAL}, </if> <if test="performanceCalculateMethod != null"> #{performanceCalculateMethod,jdbcType=VARCHAR}, </if> <if test="ifaId != null"> #{ifaId,jdbcType=VARCHAR}, </if> <if test="hasNav != null"> #{hasNav,jdbcType=INTEGER}, </if> <if test="createTime != null"> #{createTime,jdbcType=TIMESTAMP}, </if> <if test="createBy != null"> #{createBy,jdbcType=VARCHAR}, </if> <if test="updateTime != null"> #{updateTime,jdbcType=TIMESTAMP}, </if> <if test="updateBy != null"> #{updateBy,jdbcType=VARCHAR}, </if> <if test="deleteTag != null"> #{deleteTag,jdbcType=INTEGER}, </if> <if test="navFrequency != null"> #{navFrequency,jdbcType=INTEGER}, </if> <if test="orgId != null"> #{orgId,jdbcType=VARCHAR}, </if> <if test="raiseStarttime != null"> #{raiseStarttime,jdbcType=TIMESTAMP}, </if> <if test="raiseEndtime != null"> #{raiseEndtime,jdbcType=TIMESTAMP}, </if> <if test="proSubType != null"> #{proSubType,jdbcType=INTEGER}, </if> <if test="proAbstract != null"> #{proAbstract,jdbcType=LONGVARCHAR}, </if> <if test="proInfoDesc != null"> #{proInfoDesc,jdbcType=LONGVARCHAR}, </if> </trim> </insert> <select id="countByExample" parameterType="com.tanpu.fund.entity.generator.IfaImportedFundInfoExample" resultType="java.lang.Long"> <!--@mbg.generated--> select count(*) from ifa_imported_fund_info <if test="_parameter != null"> <include refid="Example_Where_Clause" /> </if> </select> <update id="updateByExampleSelective" parameterType="map"> <!--@mbg.generated--> update ifa_imported_fund_info <set> <if test="record.id != null"> id = #{record.id,jdbcType=VARCHAR}, </if> <if test="record.fundName != null"> fund_name = #{record.fundName,jdbcType=VARCHAR}, </if> <if test="record.companyName != null"> company_name = #{record.companyName,jdbcType=VARCHAR}, </if> <if test="record.substrategy != null"> substrategy = #{record.substrategy,jdbcType=INTEGER}, </if> <if test="record.strategy != null"> strategy = #{record.strategy,jdbcType=INTEGER}, </if> <if test="record.manageName != null"> manage_name = #{record.manageName,jdbcType=VARCHAR}, </if> <if test="record.riskLevel != null"> risk_level = #{record.riskLevel,jdbcType=VARCHAR}, </if> <if test="record.inceptionDate != null"> inception_date = #{record.inceptionDate,jdbcType=TIMESTAMP}, </if> <if test="record.registerNumber != null"> register_number = #{record.registerNumber,jdbcType=VARCHAR}, </if> <if test="record.openDay != null"> open_day = #{record.openDay,jdbcType=VARCHAR}, </if> <if test="record.minInvestmentShare != null"> min_investment_share = #{record.minInvestmentShare,jdbcType=DECIMAL}, </if> <if test="record.subsequentInvestmentShare != null"> subsequent_investment_share = #{record.subsequentInvestmentShare,jdbcType=DECIMAL}, </if> <if test="record.subscriptionFee != null"> subscription_fee = #{record.subscriptionFee,jdbcType=DECIMAL}, </if> <if test="record.redemptionFee != null"> redemption_fee = #{record.redemptionFee,jdbcType=DECIMAL}, </if> <if test="record.managementFee != null"> management_fee = #{record.managementFee,jdbcType=DECIMAL}, </if> <if test="record.performanceFee != null"> performance_fee = #{record.performanceFee,jdbcType=DECIMAL}, </if> <if test="record.performanceCalculateMethod != null"> performance_calculate_method = #{record.performanceCalculateMethod,jdbcType=VARCHAR}, </if> <if test="record.ifaId != null"> ifa_id = #{record.ifaId,jdbcType=VARCHAR}, </if> <if test="record.hasNav != null"> has_nav = #{record.hasNav,jdbcType=INTEGER}, </if> <if test="record.createTime != null"> create_time = #{record.createTime,jdbcType=TIMESTAMP}, </if> <if test="record.createBy != null"> create_by = #{record.createBy,jdbcType=VARCHAR}, </if> <if test="record.updateTime != null"> update_time = #{record.updateTime,jdbcType=TIMESTAMP}, </if> <if test="record.updateBy != null"> update_by = #{record.updateBy,jdbcType=VARCHAR}, </if> <if test="record.deleteTag != null"> delete_tag = #{record.deleteTag,jdbcType=INTEGER}, </if> <if test="record.navFrequency != null"> nav_frequency = #{record.navFrequency,jdbcType=INTEGER}, </if> <if test="record.orgId != null"> org_id = #{record.orgId,jdbcType=VARCHAR}, </if> <if test="record.raiseStarttime != null"> raise_starttime = #{record.raiseStarttime,jdbcType=TIMESTAMP}, </if> <if test="record.raiseEndtime != null"> raise_endtime = #{record.raiseEndtime,jdbcType=TIMESTAMP}, </if> <if test="record.proSubType != null"> pro_sub_type = #{record.proSubType,jdbcType=INTEGER}, </if> <if test="record.proAbstract != null"> pro_abstract = #{record.proAbstract,jdbcType=LONGVARCHAR}, </if> <if test="record.proInfoDesc != null"> pro_info_desc = #{record.proInfoDesc,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 ifa_imported_fund_info set id = #{record.id,jdbcType=VARCHAR}, fund_name = #{record.fundName,jdbcType=VARCHAR}, company_name = #{record.companyName,jdbcType=VARCHAR}, substrategy = #{record.substrategy,jdbcType=INTEGER}, strategy = #{record.strategy,jdbcType=INTEGER}, manage_name = #{record.manageName,jdbcType=VARCHAR}, risk_level = #{record.riskLevel,jdbcType=VARCHAR}, inception_date = #{record.inceptionDate,jdbcType=TIMESTAMP}, register_number = #{record.registerNumber,jdbcType=VARCHAR}, open_day = #{record.openDay,jdbcType=VARCHAR}, min_investment_share = #{record.minInvestmentShare,jdbcType=DECIMAL}, subsequent_investment_share = #{record.subsequentInvestmentShare,jdbcType=DECIMAL}, subscription_fee = #{record.subscriptionFee,jdbcType=DECIMAL}, redemption_fee = #{record.redemptionFee,jdbcType=DECIMAL}, management_fee = #{record.managementFee,jdbcType=DECIMAL}, performance_fee = #{record.performanceFee,jdbcType=DECIMAL}, performance_calculate_method = #{record.performanceCalculateMethod,jdbcType=VARCHAR}, ifa_id = #{record.ifaId,jdbcType=VARCHAR}, has_nav = #{record.hasNav,jdbcType=INTEGER}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, create_by = #{record.createBy,jdbcType=VARCHAR}, update_time = #{record.updateTime,jdbcType=TIMESTAMP}, update_by = #{record.updateBy,jdbcType=VARCHAR}, delete_tag = #{record.deleteTag,jdbcType=INTEGER}, nav_frequency = #{record.navFrequency,jdbcType=INTEGER}, org_id = #{record.orgId,jdbcType=VARCHAR}, raise_starttime = #{record.raiseStarttime,jdbcType=TIMESTAMP}, raise_endtime = #{record.raiseEndtime,jdbcType=TIMESTAMP}, pro_sub_type = #{record.proSubType,jdbcType=INTEGER}, pro_abstract = #{record.proAbstract,jdbcType=LONGVARCHAR}, pro_info_desc = #{record.proInfoDesc,jdbcType=LONGVARCHAR} <if test="_parameter != null"> <include refid="Update_By_Example_Where_Clause" /> </if> </update> <update id="updateByExample" parameterType="map"> <!--@mbg.generated--> update ifa_imported_fund_info set id = #{record.id,jdbcType=VARCHAR}, fund_name = #{record.fundName,jdbcType=VARCHAR}, company_name = #{record.companyName,jdbcType=VARCHAR}, substrategy = #{record.substrategy,jdbcType=INTEGER}, strategy = #{record.strategy,jdbcType=INTEGER}, manage_name = #{record.manageName,jdbcType=VARCHAR}, risk_level = #{record.riskLevel,jdbcType=VARCHAR}, inception_date = #{record.inceptionDate,jdbcType=TIMESTAMP}, register_number = #{record.registerNumber,jdbcType=VARCHAR}, open_day = #{record.openDay,jdbcType=VARCHAR}, min_investment_share = #{record.minInvestmentShare,jdbcType=DECIMAL}, subsequent_investment_share = #{record.subsequentInvestmentShare,jdbcType=DECIMAL}, subscription_fee = #{record.subscriptionFee,jdbcType=DECIMAL}, redemption_fee = #{record.redemptionFee,jdbcType=DECIMAL}, management_fee = #{record.managementFee,jdbcType=DECIMAL}, performance_fee = #{record.performanceFee,jdbcType=DECIMAL}, performance_calculate_method = #{record.performanceCalculateMethod,jdbcType=VARCHAR}, ifa_id = #{record.ifaId,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, create_by = #{record.createBy,jdbcType=VARCHAR}, update_time = #{record.updateTime,jdbcType=TIMESTAMP}, update_by = #{record.updateBy,jdbcType=VARCHAR}, delete_tag = #{record.deleteTag,jdbcType=INTEGER}, nav_frequency = #{record.navFrequency,jdbcType=INTEGER}, org_id = #{record.orgId,jdbcType=VARCHAR}, raise_starttime = #{record.raiseStarttime,jdbcType=TIMESTAMP}, raise_endtime = #{record.raiseEndtime,jdbcType=TIMESTAMP}, pro_sub_type = #{record.proSubType,jdbcType=INTEGER} <if test="_parameter != null"> <include refid="Update_By_Example_Where_Clause" /> </if> </update> <update id="updateByPrimaryKeySelective" parameterType="com.tanpu.fund.entity.generator.IfaImportedFundInfo"> <!--@mbg.generated--> update ifa_imported_fund_info <set> <if test="fundName != null"> fund_name = #{fundName,jdbcType=VARCHAR}, </if> <if test="companyName != null"> company_name = #{companyName,jdbcType=VARCHAR}, </if> <if test="substrategy != null"> substrategy = #{substrategy,jdbcType=INTEGER}, </if> <if test="strategy != null"> strategy = #{strategy,jdbcType=INTEGER}, </if> <if test="manageName != null"> manage_name = #{manageName,jdbcType=VARCHAR}, </if> <if test="riskLevel != null"> risk_level = #{riskLevel,jdbcType=VARCHAR}, </if> <if test="inceptionDate != null"> inception_date = #{inceptionDate,jdbcType=TIMESTAMP}, </if> <if test="registerNumber != null"> register_number = #{registerNumber,jdbcType=VARCHAR}, </if> <if test="openDay != null"> open_day = #{openDay,jdbcType=VARCHAR}, </if> <if test="minInvestmentShare != null"> min_investment_share = #{minInvestmentShare,jdbcType=DECIMAL}, </if> <if test="subsequentInvestmentShare != null"> subsequent_investment_share = #{subsequentInvestmentShare,jdbcType=DECIMAL}, </if> <if test="subscriptionFee != null"> subscription_fee = #{subscriptionFee,jdbcType=DECIMAL}, </if> <if test="redemptionFee != null"> redemption_fee = #{redemptionFee,jdbcType=DECIMAL}, </if> <if test="managementFee != null"> management_fee = #{managementFee,jdbcType=DECIMAL}, </if> <if test="performanceFee != null"> performance_fee = #{performanceFee,jdbcType=DECIMAL}, </if> <if test="performanceCalculateMethod != null"> performance_calculate_method = #{performanceCalculateMethod,jdbcType=VARCHAR}, </if> <if test="ifaId != null"> ifa_id = #{ifaId,jdbcType=VARCHAR}, </if> <if test="hasNav != null"> has_nav = #{hasNav,jdbcType=INTEGER}, </if> <if test="createTime != null"> create_time = #{createTime,jdbcType=TIMESTAMP}, </if> <if test="createBy != null"> create_by = #{createBy,jdbcType=VARCHAR}, </if> <if test="updateTime != null"> update_time = #{updateTime,jdbcType=TIMESTAMP}, </if> <if test="updateBy != null"> update_by = #{updateBy,jdbcType=VARCHAR}, </if> <if test="deleteTag != null"> delete_tag = #{deleteTag,jdbcType=INTEGER}, </if> <if test="navFrequency != null"> nav_frequency = #{navFrequency,jdbcType=INTEGER}, </if> <if test="orgId != null"> org_id = #{orgId,jdbcType=VARCHAR}, </if> <if test="raiseStarttime != null"> raise_starttime = #{raiseStarttime,jdbcType=TIMESTAMP}, </if> <if test="raiseEndtime != null"> raise_endtime = #{raiseEndtime,jdbcType=TIMESTAMP}, </if> <if test="proSubType != null"> pro_sub_type = #{proSubType,jdbcType=INTEGER}, </if> <if test="proAbstract != null"> pro_abstract = #{proAbstract,jdbcType=LONGVARCHAR}, </if> <if test="proInfoDesc != null"> pro_info_desc = #{proInfoDesc,jdbcType=LONGVARCHAR}, </if> </set> where id = #{id,jdbcType=VARCHAR} </update> <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.tanpu.fund.entity.generator.IfaImportedFundInfo"> <!--@mbg.generated--> update ifa_imported_fund_info set fund_name = #{fundName,jdbcType=VARCHAR}, company_name = #{companyName,jdbcType=VARCHAR}, substrategy = #{substrategy,jdbcType=INTEGER}, strategy = #{strategy,jdbcType=INTEGER}, manage_name = #{manageName,jdbcType=VARCHAR}, risk_level = #{riskLevel,jdbcType=VARCHAR}, inception_date = #{inceptionDate,jdbcType=TIMESTAMP}, register_number = #{registerNumber,jdbcType=VARCHAR}, open_day = #{openDay,jdbcType=VARCHAR}, min_investment_share = #{minInvestmentShare,jdbcType=DECIMAL}, subsequent_investment_share = #{subsequentInvestmentShare,jdbcType=DECIMAL}, subscription_fee = #{subscriptionFee,jdbcType=DECIMAL}, redemption_fee = #{redemptionFee,jdbcType=DECIMAL}, management_fee = #{managementFee,jdbcType=DECIMAL}, performance_fee = #{performanceFee,jdbcType=DECIMAL}, performance_calculate_method = #{performanceCalculateMethod,jdbcType=VARCHAR}, ifa_id = #{ifaId,jdbcType=VARCHAR}, has_nav = #{hasNav,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, create_by = #{createBy,jdbcType=VARCHAR}, update_time = #{updateTime,jdbcType=TIMESTAMP}, update_by = #{updateBy,jdbcType=VARCHAR}, delete_tag = #{deleteTag,jdbcType=INTEGER}, nav_frequency = #{navFrequency,jdbcType=INTEGER}, org_id = #{orgId,jdbcType=VARCHAR}, raise_starttime = #{raiseStarttime,jdbcType=TIMESTAMP}, raise_endtime = #{raiseEndtime,jdbcType=TIMESTAMP}, pro_sub_type = #{proSubType,jdbcType=INTEGER}, pro_abstract = #{proAbstract,jdbcType=LONGVARCHAR}, pro_info_desc = #{proInfoDesc,jdbcType=LONGVARCHAR} where id = #{id,jdbcType=VARCHAR} </update> <update id="updateByPrimaryKey" parameterType="com.tanpu.fund.entity.generator.IfaImportedFundInfo"> <!--@mbg.generated--> update ifa_imported_fund_info set fund_name = #{fundName,jdbcType=VARCHAR}, company_name = #{companyName,jdbcType=VARCHAR}, substrategy = #{substrategy,jdbcType=INTEGER}, strategy = #{strategy,jdbcType=INTEGER}, manage_name = #{manageName,jdbcType=VARCHAR}, risk_level = #{riskLevel,jdbcType=VARCHAR}, inception_date = #{inceptionDate,jdbcType=TIMESTAMP}, register_number = #{registerNumber,jdbcType=VARCHAR}, open_day = #{openDay,jdbcType=VARCHAR}, min_investment_share = #{minInvestmentShare,jdbcType=DECIMAL}, subsequent_investment_share = #{subsequentInvestmentShare,jdbcType=DECIMAL}, subscription_fee = #{subscriptionFee,jdbcType=DECIMAL}, redemption_fee = #{redemptionFee,jdbcType=DECIMAL}, management_fee = #{managementFee,jdbcType=DECIMAL}, performance_fee = #{performanceFee,jdbcType=DECIMAL}, performance_calculate_method = #{performanceCalculateMethod,jdbcType=VARCHAR}, ifa_id = #{ifaId,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, create_by = #{createBy,jdbcType=VARCHAR}, update_time = #{updateTime,jdbcType=TIMESTAMP}, update_by = #{updateBy,jdbcType=VARCHAR}, delete_tag = #{deleteTag,jdbcType=INTEGER}, nav_frequency = #{navFrequency,jdbcType=INTEGER}, org_id = #{orgId,jdbcType=VARCHAR}, raise_starttime = #{raiseStarttime,jdbcType=TIMESTAMP}, raise_endtime = #{raiseEndtime,jdbcType=TIMESTAMP}, pro_sub_type = #{proSubType,jdbcType=INTEGER} where id = #{id,jdbcType=VARCHAR} </update> <update id="updateBatch" parameterType="java.util.List"> <!--@mbg.generated--> update ifa_imported_fund_info <trim prefix="set" suffixOverrides=","> <trim prefix="fund_name = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.fundName,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="company_name = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.companyName,jdbcType=VARCHAR} </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="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="manage_name = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.manageName,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="risk_level = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.riskLevel,jdbcType=VARCHAR} </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=TIMESTAMP} </foreach> </trim> <trim prefix="register_number = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.registerNumber,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="open_day = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.openDay,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="min_investment_share = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.minInvestmentShare,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="subsequent_investment_share = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.subsequentInvestmentShare,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="subscription_fee = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.subscriptionFee,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="redemption_fee = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.redemptionFee,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="management_fee = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.managementFee,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="performance_fee = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.performanceFee,jdbcType=DECIMAL} </foreach> </trim> <trim prefix="performance_calculate_method = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.performanceCalculateMethod,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="ifa_id = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.ifaId,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="has_nav = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.hasNav,jdbcType=INTEGER} </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="create_by = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.createBy,jdbcType=VARCHAR} </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="update_by = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.updateBy,jdbcType=VARCHAR} </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="nav_frequency = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.navFrequency,jdbcType=INTEGER} </foreach> </trim> <trim prefix="org_id = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.orgId,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="raise_starttime = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.raiseStarttime,jdbcType=TIMESTAMP} </foreach> </trim> <trim prefix="raise_endtime = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.raiseEndtime,jdbcType=TIMESTAMP} </foreach> </trim> <trim prefix="pro_sub_type = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.proSubType,jdbcType=INTEGER} </foreach> </trim> <trim prefix="pro_abstract = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.proAbstract,jdbcType=LONGVARCHAR} </foreach> </trim> <trim prefix="pro_info_desc = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.proInfoDesc,jdbcType=LONGVARCHAR} </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 ifa_imported_fund_info (id, fund_name, company_name, substrategy, strategy, manage_name, risk_level, inception_date, register_number, open_day, min_investment_share, subsequent_investment_share, subscription_fee, redemption_fee, management_fee, performance_fee, performance_calculate_method, ifa_id, has_nav, create_time, create_by, update_time, update_by, delete_tag, nav_frequency, org_id, raise_starttime, raise_endtime, pro_sub_type, pro_abstract, pro_info_desc ) values <foreach collection="list" item="item" separator=","> (#{item.id,jdbcType=VARCHAR}, #{item.fundName,jdbcType=VARCHAR}, #{item.companyName,jdbcType=VARCHAR}, #{item.substrategy,jdbcType=INTEGER}, #{item.strategy,jdbcType=INTEGER}, #{item.manageName,jdbcType=VARCHAR}, #{item.riskLevel,jdbcType=VARCHAR}, #{item.inceptionDate,jdbcType=TIMESTAMP}, #{item.registerNumber,jdbcType=VARCHAR}, #{item.openDay,jdbcType=VARCHAR}, #{item.minInvestmentShare,jdbcType=DECIMAL}, #{item.subsequentInvestmentShare,jdbcType=DECIMAL}, #{item.subscriptionFee,jdbcType=DECIMAL}, #{item.redemptionFee,jdbcType=DECIMAL}, #{item.managementFee,jdbcType=DECIMAL}, #{item.performanceFee,jdbcType=DECIMAL}, #{item.performanceCalculateMethod,jdbcType=VARCHAR}, #{item.ifaId,jdbcType=VARCHAR}, #{item.hasNav,jdbcType=INTEGER}, #{item.createTime,jdbcType=TIMESTAMP}, #{item.createBy,jdbcType=VARCHAR}, #{item.updateTime,jdbcType=TIMESTAMP}, #{item.updateBy,jdbcType=VARCHAR}, #{item.deleteTag,jdbcType=INTEGER}, #{item.navFrequency,jdbcType=INTEGER}, #{item.orgId,jdbcType=VARCHAR}, #{item.raiseStarttime,jdbcType=TIMESTAMP}, #{item.raiseEndtime,jdbcType=TIMESTAMP}, #{item.proSubType,jdbcType=INTEGER}, #{item.proAbstract,jdbcType=LONGVARCHAR}, #{item.proInfoDesc,jdbcType=LONGVARCHAR}) </foreach> </insert> <insert id="insertOrUpdate" parameterType="com.tanpu.fund.entity.generator.IfaImportedFundInfo"> <!--@mbg.generated--> insert into ifa_imported_fund_info (id, fund_name, company_name, substrategy, strategy, manage_name, risk_level, inception_date, register_number, open_day, min_investment_share, subsequent_investment_share, subscription_fee, redemption_fee, management_fee, performance_fee, performance_calculate_method, ifa_id, has_nav, create_time, create_by, update_time, update_by, delete_tag, nav_frequency, org_id, raise_starttime, raise_endtime, pro_sub_type) values (#{id,jdbcType=VARCHAR}, #{fundName,jdbcType=VARCHAR}, #{companyName,jdbcType=VARCHAR}, #{substrategy,jdbcType=INTEGER}, #{strategy,jdbcType=INTEGER}, #{manageName,jdbcType=VARCHAR}, #{riskLevel,jdbcType=VARCHAR}, #{inceptionDate,jdbcType=TIMESTAMP}, #{registerNumber,jdbcType=VARCHAR}, #{openDay,jdbcType=VARCHAR}, #{minInvestmentShare,jdbcType=DECIMAL}, #{subsequentInvestmentShare,jdbcType=DECIMAL}, #{subscriptionFee,jdbcType=DECIMAL}, #{redemptionFee,jdbcType=DECIMAL}, #{managementFee,jdbcType=DECIMAL}, #{performanceFee,jdbcType=DECIMAL}, #{performanceCalculateMethod,jdbcType=VARCHAR}, #{ifaId,jdbcType=VARCHAR}, #{hasNav,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{createBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{deleteTag,jdbcType=INTEGER}, #{navFrequency,jdbcType=INTEGER}, #{orgId,jdbcType=VARCHAR}, #{raiseStarttime,jdbcType=TIMESTAMP}, #{raiseEndtime,jdbcType=TIMESTAMP}, #{proSubType,jdbcType=INTEGER} ) on duplicate key update id = #{id,jdbcType=VARCHAR}, fund_name = #{fundName,jdbcType=VARCHAR}, company_name = #{companyName,jdbcType=VARCHAR}, substrategy = #{substrategy,jdbcType=INTEGER}, strategy = #{strategy,jdbcType=INTEGER}, manage_name = #{manageName,jdbcType=VARCHAR}, risk_level = #{riskLevel,jdbcType=VARCHAR}, inception_date = #{inceptionDate,jdbcType=TIMESTAMP}, register_number = #{registerNumber,jdbcType=VARCHAR}, open_day = #{openDay,jdbcType=VARCHAR}, min_investment_share = #{minInvestmentShare,jdbcType=DECIMAL}, subsequent_investment_share = #{subsequentInvestmentShare,jdbcType=DECIMAL}, subscription_fee = #{subscriptionFee,jdbcType=DECIMAL}, redemption_fee = #{redemptionFee,jdbcType=DECIMAL}, management_fee = #{managementFee,jdbcType=DECIMAL}, performance_fee = #{performanceFee,jdbcType=DECIMAL}, performance_calculate_method = #{performanceCalculateMethod,jdbcType=VARCHAR}, ifa_id = #{ifaId,jdbcType=VARCHAR}, has_nav = #{hasNav,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, create_by = #{createBy,jdbcType=VARCHAR}, update_time = #{updateTime,jdbcType=TIMESTAMP}, update_by = #{updateBy,jdbcType=VARCHAR}, delete_tag = #{deleteTag,jdbcType=INTEGER}, nav_frequency = #{navFrequency,jdbcType=INTEGER}, org_id = #{orgId,jdbcType=VARCHAR}, raise_starttime = #{raiseStarttime,jdbcType=TIMESTAMP}, raise_endtime = #{raiseEndtime,jdbcType=TIMESTAMP}, pro_sub_type = #{proSubType,jdbcType=INTEGER} </insert> <insert id="insertOrUpdateWithBLOBs" parameterType="com.tanpu.fund.entity.generator.IfaImportedFundInfo"> <!--@mbg.generated--> insert into ifa_imported_fund_info (id, fund_name, company_name, substrategy, strategy, manage_name, risk_level, inception_date, register_number, open_day, min_investment_share, subsequent_investment_share, subscription_fee, redemption_fee, management_fee, performance_fee, performance_calculate_method, ifa_id, has_nav, create_time, create_by, update_time, update_by, delete_tag, nav_frequency, org_id, raise_starttime, raise_endtime, pro_sub_type, pro_abstract, pro_info_desc ) values (#{id,jdbcType=VARCHAR}, #{fundName,jdbcType=VARCHAR}, #{companyName,jdbcType=VARCHAR}, #{substrategy,jdbcType=INTEGER}, #{strategy,jdbcType=INTEGER}, #{manageName,jdbcType=VARCHAR}, #{riskLevel,jdbcType=VARCHAR}, #{inceptionDate,jdbcType=TIMESTAMP}, #{registerNumber,jdbcType=VARCHAR}, #{openDay,jdbcType=VARCHAR}, #{minInvestmentShare,jdbcType=DECIMAL}, #{subsequentInvestmentShare,jdbcType=DECIMAL}, #{subscriptionFee,jdbcType=DECIMAL}, #{redemptionFee,jdbcType=DECIMAL}, #{managementFee,jdbcType=DECIMAL}, #{performanceFee,jdbcType=DECIMAL}, #{performanceCalculateMethod,jdbcType=VARCHAR}, #{ifaId,jdbcType=VARCHAR}, #{hasNav,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{createBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{deleteTag,jdbcType=INTEGER}, #{navFrequency,jdbcType=INTEGER}, #{orgId,jdbcType=VARCHAR}, #{raiseStarttime,jdbcType=TIMESTAMP}, #{raiseEndtime,jdbcType=TIMESTAMP}, #{proSubType,jdbcType=INTEGER}, #{proAbstract,jdbcType=LONGVARCHAR}, #{proInfoDesc,jdbcType=LONGVARCHAR}) on duplicate key update id = #{id,jdbcType=VARCHAR}, fund_name = #{fundName,jdbcType=VARCHAR}, company_name = #{companyName,jdbcType=VARCHAR}, substrategy = #{substrategy,jdbcType=INTEGER}, strategy = #{strategy,jdbcType=INTEGER}, manage_name = #{manageName,jdbcType=VARCHAR}, risk_level = #{riskLevel,jdbcType=VARCHAR}, inception_date = #{inceptionDate,jdbcType=TIMESTAMP}, register_number = #{registerNumber,jdbcType=VARCHAR}, open_day = #{openDay,jdbcType=VARCHAR}, min_investment_share = #{minInvestmentShare,jdbcType=DECIMAL}, subsequent_investment_share = #{subsequentInvestmentShare,jdbcType=DECIMAL}, subscription_fee = #{subscriptionFee,jdbcType=DECIMAL}, redemption_fee = #{redemptionFee,jdbcType=DECIMAL}, management_fee = #{managementFee,jdbcType=DECIMAL}, performance_fee = #{performanceFee,jdbcType=DECIMAL}, performance_calculate_method = #{performanceCalculateMethod,jdbcType=VARCHAR}, ifa_id = #{ifaId,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, create_by = #{createBy,jdbcType=VARCHAR}, update_time = #{updateTime,jdbcType=TIMESTAMP}, update_by = #{updateBy,jdbcType=VARCHAR}, delete_tag = #{deleteTag,jdbcType=INTEGER}, nav_frequency = #{navFrequency,jdbcType=INTEGER}, org_id = #{orgId,jdbcType=VARCHAR}, raise_starttime = #{raiseStarttime,jdbcType=TIMESTAMP}, raise_endtime = #{raiseEndtime,jdbcType=TIMESTAMP}, pro_sub_type = #{proSubType,jdbcType=INTEGER}, pro_abstract = #{proAbstract,jdbcType=LONGVARCHAR}, pro_info_desc = #{proInfoDesc,jdbcType=LONGVARCHAR} </insert> <insert id="insertOrUpdateSelective" parameterType="com.tanpu.fund.entity.generator.IfaImportedFundInfo"> <!--@mbg.generated--> insert into ifa_imported_fund_info <trim prefix="(" suffix=")" suffixOverrides=","> <if test="id != null"> id, </if> <if test="fundName != null"> fund_name, </if> <if test="companyName != null"> company_name, </if> <if test="substrategy != null"> substrategy, </if> <if test="strategy != null"> strategy, </if> <if test="manageName != null"> manage_name, </if> <if test="riskLevel != null"> risk_level, </if> <if test="inceptionDate != null"> inception_date, </if> <if test="registerNumber != null"> register_number, </if> <if test="openDay != null"> open_day, </if> <if test="minInvestmentShare != null"> min_investment_share, </if> <if test="subsequentInvestmentShare != null"> subsequent_investment_share, </if> <if test="subscriptionFee != null"> subscription_fee, </if> <if test="redemptionFee != null"> redemption_fee, </if> <if test="managementFee != null"> management_fee, </if> <if test="performanceFee != null"> performance_fee, </if> <if test="performanceCalculateMethod != null"> performance_calculate_method, </if> <if test="ifaId != null"> ifa_id, </if> <if test="hasNav != null"> has_nav, </if> <if test="createTime != null"> create_time, </if> <if test="createBy != null"> create_by, </if> <if test="updateTime != null"> update_time, </if> <if test="updateBy != null"> update_by, </if> <if test="deleteTag != null"> delete_tag, </if> <if test="navFrequency != null"> nav_frequency, </if> <if test="orgId != null"> org_id, </if> <if test="raiseStarttime != null"> raise_starttime, </if> <if test="raiseEndtime != null"> raise_endtime, </if> <if test="proSubType != null"> pro_sub_type, </if> <if test="proAbstract != null"> pro_abstract, </if> <if test="proInfoDesc != null"> pro_info_desc, </if> </trim> values <trim prefix="(" suffix=")" suffixOverrides=","> <if test="id != null"> #{id,jdbcType=VARCHAR}, </if> <if test="fundName != null"> #{fundName,jdbcType=VARCHAR}, </if> <if test="companyName != null"> #{companyName,jdbcType=VARCHAR}, </if> <if test="substrategy != null"> #{substrategy,jdbcType=INTEGER}, </if> <if test="strategy != null"> #{strategy,jdbcType=INTEGER}, </if> <if test="manageName != null"> #{manageName,jdbcType=VARCHAR}, </if> <if test="riskLevel != null"> #{riskLevel,jdbcType=VARCHAR}, </if> <if test="inceptionDate != null"> #{inceptionDate,jdbcType=TIMESTAMP}, </if> <if test="registerNumber != null"> #{registerNumber,jdbcType=VARCHAR}, </if> <if test="openDay != null"> #{openDay,jdbcType=VARCHAR}, </if> <if test="minInvestmentShare != null"> #{minInvestmentShare,jdbcType=DECIMAL}, </if> <if test="subsequentInvestmentShare != null"> #{subsequentInvestmentShare,jdbcType=DECIMAL}, </if> <if test="subscriptionFee != null"> #{subscriptionFee,jdbcType=DECIMAL}, </if> <if test="redemptionFee != null"> #{redemptionFee,jdbcType=DECIMAL}, </if> <if test="managementFee != null"> #{managementFee,jdbcType=DECIMAL}, </if> <if test="performanceFee != null"> #{performanceFee,jdbcType=DECIMAL}, </if> <if test="performanceCalculateMethod != null"> #{performanceCalculateMethod,jdbcType=VARCHAR}, </if> <if test="ifaId != null"> #{ifaId,jdbcType=VARCHAR}, </if> <if test="hasNav != null"> #{hasNav,jdbcType=INTEGER}, </if> <if test="createTime != null"> #{createTime,jdbcType=TIMESTAMP}, </if> <if test="createBy != null"> #{createBy,jdbcType=VARCHAR}, </if> <if test="updateTime != null"> #{updateTime,jdbcType=TIMESTAMP}, </if> <if test="updateBy != null"> #{updateBy,jdbcType=VARCHAR}, </if> <if test="deleteTag != null"> #{deleteTag,jdbcType=INTEGER}, </if> <if test="navFrequency != null"> #{navFrequency,jdbcType=INTEGER}, </if> <if test="orgId != null"> #{orgId,jdbcType=VARCHAR}, </if> <if test="raiseStarttime != null"> #{raiseStarttime,jdbcType=TIMESTAMP}, </if> <if test="raiseEndtime != null"> #{raiseEndtime,jdbcType=TIMESTAMP}, </if> <if test="proSubType != null"> #{proSubType,jdbcType=INTEGER}, </if> <if test="proAbstract != null"> #{proAbstract,jdbcType=LONGVARCHAR}, </if> <if test="proInfoDesc != null"> #{proInfoDesc,jdbcType=LONGVARCHAR}, </if> </trim> on duplicate key update <trim suffixOverrides=","> <if test="id != null"> id = #{id,jdbcType=VARCHAR}, </if> <if test="fundName != null"> fund_name = #{fundName,jdbcType=VARCHAR}, </if> <if test="companyName != null"> company_name = #{companyName,jdbcType=VARCHAR}, </if> <if test="substrategy != null"> substrategy = #{substrategy,jdbcType=INTEGER}, </if> <if test="strategy != null"> strategy = #{strategy,jdbcType=INTEGER}, </if> <if test="manageName != null"> manage_name = #{manageName,jdbcType=VARCHAR}, </if> <if test="riskLevel != null"> risk_level = #{riskLevel,jdbcType=VARCHAR}, </if> <if test="inceptionDate != null"> inception_date = #{inceptionDate,jdbcType=TIMESTAMP}, </if> <if test="registerNumber != null"> register_number = #{registerNumber,jdbcType=VARCHAR}, </if> <if test="openDay != null"> open_day = #{openDay,jdbcType=VARCHAR}, </if> <if test="minInvestmentShare != null"> min_investment_share = #{minInvestmentShare,jdbcType=DECIMAL}, </if> <if test="subsequentInvestmentShare != null"> subsequent_investment_share = #{subsequentInvestmentShare,jdbcType=DECIMAL}, </if> <if test="subscriptionFee != null"> subscription_fee = #{subscriptionFee,jdbcType=DECIMAL}, </if> <if test="redemptionFee != null"> redemption_fee = #{redemptionFee,jdbcType=DECIMAL}, </if> <if test="managementFee != null"> management_fee = #{managementFee,jdbcType=DECIMAL}, </if> <if test="performanceFee != null"> performance_fee = #{performanceFee,jdbcType=DECIMAL}, </if> <if test="performanceCalculateMethod != null"> performance_calculate_method = #{performanceCalculateMethod,jdbcType=VARCHAR}, </if> <if test="ifaId != null"> ifa_id = #{ifaId,jdbcType=VARCHAR}, </if> <if test="hasNav != null"> has_nav = #{hasNav,jdbcType=INTEGER}, </if> <if test="createTime != null"> create_time = #{createTime,jdbcType=TIMESTAMP}, </if> <if test="createBy != null"> create_by = #{createBy,jdbcType=VARCHAR}, </if> <if test="updateTime != null"> update_time = #{updateTime,jdbcType=TIMESTAMP}, </if> <if test="updateBy != null"> update_by = #{updateBy,jdbcType=VARCHAR}, </if> <if test="deleteTag != null"> delete_tag = #{deleteTag,jdbcType=INTEGER}, </if> <if test="navFrequency != null"> nav_frequency = #{navFrequency,jdbcType=INTEGER}, </if> <if test="orgId != null"> org_id = #{orgId,jdbcType=VARCHAR}, </if> <if test="raiseStarttime != null"> raise_starttime = #{raiseStarttime,jdbcType=TIMESTAMP}, </if> <if test="raiseEndtime != null"> raise_endtime = #{raiseEndtime,jdbcType=TIMESTAMP}, </if> <if test="proSubType != null"> pro_sub_type = #{proSubType,jdbcType=INTEGER}, </if> <if test="proAbstract != null"> pro_abstract = #{proAbstract,jdbcType=LONGVARCHAR}, </if> <if test="proInfoDesc != null"> pro_info_desc = #{proInfoDesc,jdbcType=LONGVARCHAR}, </if> </trim> </insert> </mapper>