<?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.TxFundInfoMapper"> <resultMap id="BaseResultMap" type="com.tanpu.fund.entity.generator.TxFundInfo"> <!--@mbg.generated--> <!--@Table tx_fund_info--> <id column="id" jdbcType="VARCHAR" property="id" /> <result column="p_fund_id" jdbcType="VARCHAR" property="pFundId" /> <result column="fund_name" jdbcType="VARCHAR" property="fundName" /> <result column="fund_short_name" jdbcType="VARCHAR" property="fundShortName" /> <result column="company_id" jdbcType="VARCHAR" property="companyId" /> <result column="company_name" jdbcType="VARCHAR" property="companyName" /> <result column="fund_structure" jdbcType="INTEGER" property="fundStructure" /> <result column="fund_status" jdbcType="INTEGER" property="fundStatus" /> <result column="fund_type" jdbcType="INTEGER" property="fundType" /> <result column="type" jdbcType="INTEGER" property="type" /> <result column="raise_type" jdbcType="INTEGER" property="raiseType" /> <result column="base_currency" jdbcType="INTEGER" property="baseCurrency" /> <result column="inception_date" jdbcType="DATE" property="inceptionDate" /> <result column="domicile" jdbcType="INTEGER" property="domicile" /> <result column="primary_benchmark_id" jdbcType="VARCHAR" property="primaryBenchmarkId" /> <result column="lockup_period" jdbcType="INTEGER" property="lockupPeriod" /> <result column="open_day" jdbcType="VARCHAR" property="openDay" /> <result column="duration" jdbcType="INTEGER" property="duration" /> <result column="advisor_id" jdbcType="VARCHAR" property="advisorId" /> <result column="custodian_id" jdbcType="VARCHAR" property="custodianId" /> <result column="broker_id" jdbcType="VARCHAR" property="brokerId" /> <result column="broker_future_id" jdbcType="VARCHAR" property="brokerFutureId" /> <result column="liquidation_agency_id" jdbcType="VARCHAR" property="liquidationAgencyId" /> <result column="trust_id" jdbcType="VARCHAR" property="trustId" /> <result column="investment_consultant_id" jdbcType="VARCHAR" property="investmentConsultantId" /> <result column="administrator_id" jdbcType="VARCHAR" property="administratorId" /> <result column="legal_counsel_id" jdbcType="VARCHAR" property="legalCounselId" /> <result column="auditor_id" jdbcType="VARCHAR" property="auditorId" /> <result column="nav_frequency" jdbcType="INTEGER" property="navFrequency" /> <result column="performance_disclosure_mark" jdbcType="INTEGER" property="performanceDisclosureMark" /> <result column="register_number" jdbcType="VARCHAR" property="registerNumber" /> <result column="register_date" jdbcType="DATE" property="registerDate" /> <result column="isvisible" jdbcType="INTEGER" property="isvisible" /> <result column="istiered" jdbcType="INTEGER" property="istiered" /> <result column="is_ranking" jdbcType="INTEGER" property="isRanking" /> <result column="is_rating" jdbcType="INTEGER" property="isRating" /> <result column="special_tips" jdbcType="VARCHAR" property="specialTips" /> <result column="amac_url" jdbcType="VARCHAR" property="amacUrl" /> <result column="nav_source_type" jdbcType="INTEGER" property="navSourceType" /> <result column="desc_info" jdbcType="VARCHAR" property="descInfo" /> <result column="strategy" jdbcType="VARCHAR" property="strategy" /> <result column="substrategy" jdbcType="VARCHAR" property="substrategy" /> <result column="risk_level" jdbcType="INTEGER" property="riskLevel" /> <result column="create_by" jdbcType="VARCHAR" property="createBy" /> <result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> <result column="update_by" jdbcType="VARCHAR" property="updateBy" /> <result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> <result column="data_sources" jdbcType="INTEGER" property="dataSources" /> <result column="status" jdbcType="INTEGER" property="status" /> <result column="delete_tag" jdbcType="INTEGER" property="deleteTag" /> <result column="sort" jdbcType="INTEGER" property="sort" /> </resultMap> <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.tanpu.fund.entity.generator.TxFundInfo"> <!--@mbg.generated--> <!--@Table tx_fund_info--> <result column="fund_characteristic" jdbcType="LONGVARCHAR" property="fundCharacteristic" /> <result column="investment_scope" jdbcType="LONGVARCHAR" property="investmentScope" /> <result column="investment_restriction" jdbcType="LONGVARCHAR" property="investmentRestriction" /> <result column="fund_investment_philosophy" jdbcType="LONGVARCHAR" property="fundInvestmentPhilosophy" /> <result column="fund_strategy_description" jdbcType="LONGVARCHAR" property="fundStrategyDescription" /> <result column="combine_target" jdbcType="LONGVARCHAR" property="combineTarget" /> <result column="fit_group" jdbcType="LONGVARCHAR" property="fitGroup" /> <result column="combine_comment" jdbcType="LONGVARCHAR" property="combineComment" /> <result column="transfer_comment" jdbcType="LONGVARCHAR" property="transferComment" /> </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, p_fund_id, fund_name, fund_short_name, company_id, company_name, fund_structure, fund_status, fund_type, `type`, raise_type, base_currency, inception_date, domicile, primary_benchmark_id, lockup_period, open_day, duration, advisor_id, custodian_id, broker_id, broker_future_id, liquidation_agency_id, trust_id, investment_consultant_id, administrator_id, legal_counsel_id, auditor_id, nav_frequency, performance_disclosure_mark, register_number, register_date, isvisible, istiered, is_ranking, is_rating, special_tips, amac_url, nav_source_type, desc_info, strategy, substrategy, risk_level, create_by, create_time, update_by, update_time, data_sources, `status`, delete_tag, sort </sql> <sql id="Blob_Column_List"> <!--@mbg.generated--> fund_characteristic, investment_scope, investment_restriction, fund_investment_philosophy, fund_strategy_description, combine_target, fit_group, combine_comment, transfer_comment </sql> <select id="selectByExampleWithBLOBs" parameterType="com.tanpu.fund.entity.generator.TxFundInfoExample" resultMap="ResultMapWithBLOBs"> <!--@mbg.generated--> select <if test="distinct"> distinct </if> <include refid="Base_Column_List" /> , <include refid="Blob_Column_List" /> from tx_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.TxFundInfoExample" resultMap="BaseResultMap"> <!--@mbg.generated--> select <if test="distinct"> distinct </if> <include refid="Base_Column_List" /> from tx_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 tx_fund_info where id = #{id,jdbcType=VARCHAR} </select> <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> <!--@mbg.generated--> delete from tx_fund_info where id = #{id,jdbcType=VARCHAR} </delete> <delete id="deleteByExample" parameterType="com.tanpu.fund.entity.generator.TxFundInfoExample"> <!--@mbg.generated--> delete from tx_fund_info <if test="_parameter != null"> <include refid="Example_Where_Clause" /> </if> </delete> <insert id="insert" parameterType="com.tanpu.fund.entity.generator.TxFundInfo"> <!--@mbg.generated--> insert into tx_fund_info (id, p_fund_id, fund_name, fund_short_name, company_id, company_name, fund_structure, fund_status, fund_type, `type`, raise_type, base_currency, inception_date, domicile, primary_benchmark_id, lockup_period, open_day, duration, advisor_id, custodian_id, broker_id, broker_future_id, liquidation_agency_id, trust_id, investment_consultant_id, administrator_id, legal_counsel_id, auditor_id, nav_frequency, performance_disclosure_mark, register_number, register_date, isvisible, istiered, is_ranking, is_rating, special_tips, amac_url, nav_source_type, desc_info, strategy, substrategy, risk_level, create_by, create_time, update_by, update_time, data_sources, `status`, delete_tag, sort, fund_characteristic, investment_scope, investment_restriction, fund_investment_philosophy, fund_strategy_description, combine_target, fit_group, combine_comment, transfer_comment) values (#{id,jdbcType=VARCHAR}, #{pFundId,jdbcType=VARCHAR}, #{fundName,jdbcType=VARCHAR}, #{fundShortName,jdbcType=VARCHAR}, #{companyId,jdbcType=VARCHAR}, #{companyName,jdbcType=VARCHAR}, #{fundStructure,jdbcType=INTEGER}, #{fundStatus,jdbcType=INTEGER}, #{fundType,jdbcType=INTEGER}, #{type,jdbcType=INTEGER}, #{raiseType,jdbcType=INTEGER}, #{baseCurrency,jdbcType=INTEGER}, #{inceptionDate,jdbcType=DATE}, #{domicile,jdbcType=INTEGER}, #{primaryBenchmarkId,jdbcType=VARCHAR}, #{lockupPeriod,jdbcType=INTEGER}, #{openDay,jdbcType=VARCHAR}, #{duration,jdbcType=INTEGER}, #{advisorId,jdbcType=VARCHAR}, #{custodianId,jdbcType=VARCHAR}, #{brokerId,jdbcType=VARCHAR}, #{brokerFutureId,jdbcType=VARCHAR}, #{liquidationAgencyId,jdbcType=VARCHAR}, #{trustId,jdbcType=VARCHAR}, #{investmentConsultantId,jdbcType=VARCHAR}, #{administratorId,jdbcType=VARCHAR}, #{legalCounselId,jdbcType=VARCHAR}, #{auditorId,jdbcType=VARCHAR}, #{navFrequency,jdbcType=INTEGER}, #{performanceDisclosureMark,jdbcType=INTEGER}, #{registerNumber,jdbcType=VARCHAR}, #{registerDate,jdbcType=DATE}, #{isvisible,jdbcType=INTEGER}, #{istiered,jdbcType=INTEGER}, #{isRanking,jdbcType=INTEGER}, #{isRating,jdbcType=INTEGER}, #{specialTips,jdbcType=VARCHAR}, #{amacUrl,jdbcType=VARCHAR}, #{navSourceType,jdbcType=INTEGER}, #{descInfo,jdbcType=VARCHAR}, #{strategy,jdbcType=VARCHAR}, #{substrategy,jdbcType=VARCHAR}, #{riskLevel,jdbcType=INTEGER}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{dataSources,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, #{deleteTag,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, #{fundCharacteristic,jdbcType=LONGVARCHAR}, #{investmentScope,jdbcType=LONGVARCHAR}, #{investmentRestriction,jdbcType=LONGVARCHAR}, #{fundInvestmentPhilosophy,jdbcType=LONGVARCHAR}, #{fundStrategyDescription,jdbcType=LONGVARCHAR}, #{combineTarget,jdbcType=LONGVARCHAR}, #{fitGroup,jdbcType=LONGVARCHAR}, #{combineComment,jdbcType=LONGVARCHAR}, #{transferComment,jdbcType=LONGVARCHAR}) </insert> <insert id="insertSelective" parameterType="com.tanpu.fund.entity.generator.TxFundInfo"> <!--@mbg.generated--> insert into tx_fund_info <trim prefix="(" suffix=")" suffixOverrides=","> <if test="id != null"> id, </if> <if test="pFundId != null"> p_fund_id, </if> <if test="fundName != null"> fund_name, </if> <if test="fundShortName != null"> fund_short_name, </if> <if test="companyId != null"> company_id, </if> <if test="companyName != null"> company_name, </if> <if test="fundStructure != null"> fund_structure, </if> <if test="fundStatus != null"> fund_status, </if> <if test="fundType != null"> fund_type, </if> <if test="type != null"> `type`, </if> <if test="raiseType != null"> raise_type, </if> <if test="baseCurrency != null"> base_currency, </if> <if test="inceptionDate != null"> inception_date, </if> <if test="domicile != null"> domicile, </if> <if test="primaryBenchmarkId != null"> primary_benchmark_id, </if> <if test="lockupPeriod != null"> lockup_period, </if> <if test="openDay != null"> open_day, </if> <if test="duration != null"> duration, </if> <if test="advisorId != null"> advisor_id, </if> <if test="custodianId != null"> custodian_id, </if> <if test="brokerId != null"> broker_id, </if> <if test="brokerFutureId != null"> broker_future_id, </if> <if test="liquidationAgencyId != null"> liquidation_agency_id, </if> <if test="trustId != null"> trust_id, </if> <if test="investmentConsultantId != null"> investment_consultant_id, </if> <if test="administratorId != null"> administrator_id, </if> <if test="legalCounselId != null"> legal_counsel_id, </if> <if test="auditorId != null"> auditor_id, </if> <if test="navFrequency != null"> nav_frequency, </if> <if test="performanceDisclosureMark != null"> performance_disclosure_mark, </if> <if test="registerNumber != null"> register_number, </if> <if test="registerDate != null"> register_date, </if> <if test="isvisible != null"> isvisible, </if> <if test="istiered != null"> istiered, </if> <if test="isRanking != null"> is_ranking, </if> <if test="isRating != null"> is_rating, </if> <if test="specialTips != null"> special_tips, </if> <if test="amacUrl != null"> amac_url, </if> <if test="navSourceType != null"> nav_source_type, </if> <if test="descInfo != null"> desc_info, </if> <if test="strategy != null"> strategy, </if> <if test="substrategy != null"> substrategy, </if> <if test="riskLevel != null"> risk_level, </if> <if test="createBy != null"> create_by, </if> <if test="createTime != null"> create_time, </if> <if test="updateBy != null"> update_by, </if> <if test="updateTime != null"> update_time, </if> <if test="dataSources != null"> data_sources, </if> <if test="status != null"> `status`, </if> <if test="deleteTag != null"> delete_tag, </if> <if test="sort != null"> sort, </if> <if test="fundCharacteristic != null"> fund_characteristic, </if> <if test="investmentScope != null"> investment_scope, </if> <if test="investmentRestriction != null"> investment_restriction, </if> <if test="fundInvestmentPhilosophy != null"> fund_investment_philosophy, </if> <if test="fundStrategyDescription != null"> fund_strategy_description, </if> <if test="combineTarget != null"> combine_target, </if> <if test="fitGroup != null"> fit_group, </if> <if test="combineComment != null"> combine_comment, </if> <if test="transferComment != null"> transfer_comment, </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="id != null"> #{id,jdbcType=VARCHAR}, </if> <if test="pFundId != null"> #{pFundId,jdbcType=VARCHAR}, </if> <if test="fundName != null"> #{fundName,jdbcType=VARCHAR}, </if> <if test="fundShortName != null"> #{fundShortName,jdbcType=VARCHAR}, </if> <if test="companyId != null"> #{companyId,jdbcType=VARCHAR}, </if> <if test="companyName != null"> #{companyName,jdbcType=VARCHAR}, </if> <if test="fundStructure != null"> #{fundStructure,jdbcType=INTEGER}, </if> <if test="fundStatus != null"> #{fundStatus,jdbcType=INTEGER}, </if> <if test="fundType != null"> #{fundType,jdbcType=INTEGER}, </if> <if test="type != null"> #{type,jdbcType=INTEGER}, </if> <if test="raiseType != null"> #{raiseType,jdbcType=INTEGER}, </if> <if test="baseCurrency != null"> #{baseCurrency,jdbcType=INTEGER}, </if> <if test="inceptionDate != null"> #{inceptionDate,jdbcType=DATE}, </if> <if test="domicile != null"> #{domicile,jdbcType=INTEGER}, </if> <if test="primaryBenchmarkId != null"> #{primaryBenchmarkId,jdbcType=VARCHAR}, </if> <if test="lockupPeriod != null"> #{lockupPeriod,jdbcType=INTEGER}, </if> <if test="openDay != null"> #{openDay,jdbcType=VARCHAR}, </if> <if test="duration != null"> #{duration,jdbcType=INTEGER}, </if> <if test="advisorId != null"> #{advisorId,jdbcType=VARCHAR}, </if> <if test="custodianId != null"> #{custodianId,jdbcType=VARCHAR}, </if> <if test="brokerId != null"> #{brokerId,jdbcType=VARCHAR}, </if> <if test="brokerFutureId != null"> #{brokerFutureId,jdbcType=VARCHAR}, </if> <if test="liquidationAgencyId != null"> #{liquidationAgencyId,jdbcType=VARCHAR}, </if> <if test="trustId != null"> #{trustId,jdbcType=VARCHAR}, </if> <if test="investmentConsultantId != null"> #{investmentConsultantId,jdbcType=VARCHAR}, </if> <if test="administratorId != null"> #{administratorId,jdbcType=VARCHAR}, </if> <if test="legalCounselId != null"> #{legalCounselId,jdbcType=VARCHAR}, </if> <if test="auditorId != null"> #{auditorId,jdbcType=VARCHAR}, </if> <if test="navFrequency != null"> #{navFrequency,jdbcType=INTEGER}, </if> <if test="performanceDisclosureMark != null"> #{performanceDisclosureMark,jdbcType=INTEGER}, </if> <if test="registerNumber != null"> #{registerNumber,jdbcType=VARCHAR}, </if> <if test="registerDate != null"> #{registerDate,jdbcType=DATE}, </if> <if test="isvisible != null"> #{isvisible,jdbcType=INTEGER}, </if> <if test="istiered != null"> #{istiered,jdbcType=INTEGER}, </if> <if test="isRanking != null"> #{isRanking,jdbcType=INTEGER}, </if> <if test="isRating != null"> #{isRating,jdbcType=INTEGER}, </if> <if test="specialTips != null"> #{specialTips,jdbcType=VARCHAR}, </if> <if test="amacUrl != null"> #{amacUrl,jdbcType=VARCHAR}, </if> <if test="navSourceType != null"> #{navSourceType,jdbcType=INTEGER}, </if> <if test="descInfo != null"> #{descInfo,jdbcType=VARCHAR}, </if> <if test="strategy != null"> #{strategy,jdbcType=VARCHAR}, </if> <if test="substrategy != null"> #{substrategy,jdbcType=VARCHAR}, </if> <if test="riskLevel != null"> #{riskLevel,jdbcType=INTEGER}, </if> <if test="createBy != null"> #{createBy,jdbcType=VARCHAR}, </if> <if test="createTime != null"> #{createTime,jdbcType=TIMESTAMP}, </if> <if test="updateBy != null"> #{updateBy,jdbcType=VARCHAR}, </if> <if test="updateTime != null"> #{updateTime,jdbcType=TIMESTAMP}, </if> <if test="dataSources != null"> #{dataSources,jdbcType=INTEGER}, </if> <if test="status != null"> #{status,jdbcType=INTEGER}, </if> <if test="deleteTag != null"> #{deleteTag,jdbcType=INTEGER}, </if> <if test="sort != null"> #{sort,jdbcType=INTEGER}, </if> <if test="fundCharacteristic != null"> #{fundCharacteristic,jdbcType=LONGVARCHAR}, </if> <if test="investmentScope != null"> #{investmentScope,jdbcType=LONGVARCHAR}, </if> <if test="investmentRestriction != null"> #{investmentRestriction,jdbcType=LONGVARCHAR}, </if> <if test="fundInvestmentPhilosophy != null"> #{fundInvestmentPhilosophy,jdbcType=LONGVARCHAR}, </if> <if test="fundStrategyDescription != null"> #{fundStrategyDescription,jdbcType=LONGVARCHAR}, </if> <if test="combineTarget != null"> #{combineTarget,jdbcType=LONGVARCHAR}, </if> <if test="fitGroup != null"> #{fitGroup,jdbcType=LONGVARCHAR}, </if> <if test="combineComment != null"> #{combineComment,jdbcType=LONGVARCHAR}, </if> <if test="transferComment != null"> #{transferComment,jdbcType=LONGVARCHAR}, </if> </trim> </insert> <select id="countByExample" parameterType="com.tanpu.fund.entity.generator.TxFundInfoExample" resultType="java.lang.Long"> <!--@mbg.generated--> select count(*) from tx_fund_info <if test="_parameter != null"> <include refid="Example_Where_Clause" /> </if> </select> <update id="updateByExampleSelective" parameterType="map"> <!--@mbg.generated--> update tx_fund_info <set> <if test="record.id != null"> id = #{record.id,jdbcType=VARCHAR}, </if> <if test="record.pFundId != null"> p_fund_id = #{record.pFundId,jdbcType=VARCHAR}, </if> <if test="record.fundName != null"> fund_name = #{record.fundName,jdbcType=VARCHAR}, </if> <if test="record.fundShortName != null"> fund_short_name = #{record.fundShortName,jdbcType=VARCHAR}, </if> <if test="record.companyId != null"> company_id = #{record.companyId,jdbcType=VARCHAR}, </if> <if test="record.companyName != null"> company_name = #{record.companyName,jdbcType=VARCHAR}, </if> <if test="record.fundStructure != null"> fund_structure = #{record.fundStructure,jdbcType=INTEGER}, </if> <if test="record.fundStatus != null"> fund_status = #{record.fundStatus,jdbcType=INTEGER}, </if> <if test="record.fundType != null"> fund_type = #{record.fundType,jdbcType=INTEGER}, </if> <if test="record.type != null"> `type` = #{record.type,jdbcType=INTEGER}, </if> <if test="record.raiseType != null"> raise_type = #{record.raiseType,jdbcType=INTEGER}, </if> <if test="record.baseCurrency != null"> base_currency = #{record.baseCurrency,jdbcType=INTEGER}, </if> <if test="record.inceptionDate != null"> inception_date = #{record.inceptionDate,jdbcType=DATE}, </if> <if test="record.domicile != null"> domicile = #{record.domicile,jdbcType=INTEGER}, </if> <if test="record.primaryBenchmarkId != null"> primary_benchmark_id = #{record.primaryBenchmarkId,jdbcType=VARCHAR}, </if> <if test="record.lockupPeriod != null"> lockup_period = #{record.lockupPeriod,jdbcType=INTEGER}, </if> <if test="record.openDay != null"> open_day = #{record.openDay,jdbcType=VARCHAR}, </if> <if test="record.duration != null"> duration = #{record.duration,jdbcType=INTEGER}, </if> <if test="record.advisorId != null"> advisor_id = #{record.advisorId,jdbcType=VARCHAR}, </if> <if test="record.custodianId != null"> custodian_id = #{record.custodianId,jdbcType=VARCHAR}, </if> <if test="record.brokerId != null"> broker_id = #{record.brokerId,jdbcType=VARCHAR}, </if> <if test="record.brokerFutureId != null"> broker_future_id = #{record.brokerFutureId,jdbcType=VARCHAR}, </if> <if test="record.liquidationAgencyId != null"> liquidation_agency_id = #{record.liquidationAgencyId,jdbcType=VARCHAR}, </if> <if test="record.trustId != null"> trust_id = #{record.trustId,jdbcType=VARCHAR}, </if> <if test="record.investmentConsultantId != null"> investment_consultant_id = #{record.investmentConsultantId,jdbcType=VARCHAR}, </if> <if test="record.administratorId != null"> administrator_id = #{record.administratorId,jdbcType=VARCHAR}, </if> <if test="record.legalCounselId != null"> legal_counsel_id = #{record.legalCounselId,jdbcType=VARCHAR}, </if> <if test="record.auditorId != null"> auditor_id = #{record.auditorId,jdbcType=VARCHAR}, </if> <if test="record.navFrequency != null"> nav_frequency = #{record.navFrequency,jdbcType=INTEGER}, </if> <if test="record.performanceDisclosureMark != null"> performance_disclosure_mark = #{record.performanceDisclosureMark,jdbcType=INTEGER}, </if> <if test="record.registerNumber != null"> register_number = #{record.registerNumber,jdbcType=VARCHAR}, </if> <if test="record.registerDate != null"> register_date = #{record.registerDate,jdbcType=DATE}, </if> <if test="record.isvisible != null"> isvisible = #{record.isvisible,jdbcType=INTEGER}, </if> <if test="record.istiered != null"> istiered = #{record.istiered,jdbcType=INTEGER}, </if> <if test="record.isRanking != null"> is_ranking = #{record.isRanking,jdbcType=INTEGER}, </if> <if test="record.isRating != null"> is_rating = #{record.isRating,jdbcType=INTEGER}, </if> <if test="record.specialTips != null"> special_tips = #{record.specialTips,jdbcType=VARCHAR}, </if> <if test="record.amacUrl != null"> amac_url = #{record.amacUrl,jdbcType=VARCHAR}, </if> <if test="record.navSourceType != null"> nav_source_type = #{record.navSourceType,jdbcType=INTEGER}, </if> <if test="record.descInfo != null"> desc_info = #{record.descInfo,jdbcType=VARCHAR}, </if> <if test="record.strategy != null"> strategy = #{record.strategy,jdbcType=VARCHAR}, </if> <if test="record.substrategy != null"> substrategy = #{record.substrategy,jdbcType=VARCHAR}, </if> <if test="record.riskLevel != null"> risk_level = #{record.riskLevel,jdbcType=INTEGER}, </if> <if test="record.createBy != null"> create_by = #{record.createBy,jdbcType=VARCHAR}, </if> <if test="record.createTime != null"> create_time = #{record.createTime,jdbcType=TIMESTAMP}, </if> <if test="record.updateBy != null"> update_by = #{record.updateBy,jdbcType=VARCHAR}, </if> <if test="record.updateTime != null"> update_time = #{record.updateTime,jdbcType=TIMESTAMP}, </if> <if test="record.dataSources != null"> data_sources = #{record.dataSources,jdbcType=INTEGER}, </if> <if test="record.status != null"> `status` = #{record.status,jdbcType=INTEGER}, </if> <if test="record.deleteTag != null"> delete_tag = #{record.deleteTag,jdbcType=INTEGER}, </if> <if test="record.sort != null"> sort = #{record.sort,jdbcType=INTEGER}, </if> <if test="record.fundCharacteristic != null"> fund_characteristic = #{record.fundCharacteristic,jdbcType=LONGVARCHAR}, </if> <if test="record.investmentScope != null"> investment_scope = #{record.investmentScope,jdbcType=LONGVARCHAR}, </if> <if test="record.investmentRestriction != null"> investment_restriction = #{record.investmentRestriction,jdbcType=LONGVARCHAR}, </if> <if test="record.fundInvestmentPhilosophy != null"> fund_investment_philosophy = #{record.fundInvestmentPhilosophy,jdbcType=LONGVARCHAR}, </if> <if test="record.fundStrategyDescription != null"> fund_strategy_description = #{record.fundStrategyDescription,jdbcType=LONGVARCHAR}, </if> <if test="record.combineTarget != null"> combine_target = #{record.combineTarget,jdbcType=LONGVARCHAR}, </if> <if test="record.fitGroup != null"> fit_group = #{record.fitGroup,jdbcType=LONGVARCHAR}, </if> <if test="record.combineComment != null"> combine_comment = #{record.combineComment,jdbcType=LONGVARCHAR}, </if> <if test="record.transferComment != null"> transfer_comment = #{record.transferComment,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 tx_fund_info set id = #{record.id,jdbcType=VARCHAR}, p_fund_id = #{record.pFundId,jdbcType=VARCHAR}, fund_name = #{record.fundName,jdbcType=VARCHAR}, fund_short_name = #{record.fundShortName,jdbcType=VARCHAR}, company_id = #{record.companyId,jdbcType=VARCHAR}, company_name = #{record.companyName,jdbcType=VARCHAR}, fund_structure = #{record.fundStructure,jdbcType=INTEGER}, fund_status = #{record.fundStatus,jdbcType=INTEGER}, fund_type = #{record.fundType,jdbcType=INTEGER}, `type` = #{record.type,jdbcType=INTEGER}, raise_type = #{record.raiseType,jdbcType=INTEGER}, base_currency = #{record.baseCurrency,jdbcType=INTEGER}, inception_date = #{record.inceptionDate,jdbcType=DATE}, domicile = #{record.domicile,jdbcType=INTEGER}, primary_benchmark_id = #{record.primaryBenchmarkId,jdbcType=VARCHAR}, lockup_period = #{record.lockupPeriod,jdbcType=INTEGER}, open_day = #{record.openDay,jdbcType=VARCHAR}, duration = #{record.duration,jdbcType=INTEGER}, advisor_id = #{record.advisorId,jdbcType=VARCHAR}, custodian_id = #{record.custodianId,jdbcType=VARCHAR}, broker_id = #{record.brokerId,jdbcType=VARCHAR}, broker_future_id = #{record.brokerFutureId,jdbcType=VARCHAR}, liquidation_agency_id = #{record.liquidationAgencyId,jdbcType=VARCHAR}, trust_id = #{record.trustId,jdbcType=VARCHAR}, investment_consultant_id = #{record.investmentConsultantId,jdbcType=VARCHAR}, administrator_id = #{record.administratorId,jdbcType=VARCHAR}, legal_counsel_id = #{record.legalCounselId,jdbcType=VARCHAR}, auditor_id = #{record.auditorId,jdbcType=VARCHAR}, nav_frequency = #{record.navFrequency,jdbcType=INTEGER}, performance_disclosure_mark = #{record.performanceDisclosureMark,jdbcType=INTEGER}, register_number = #{record.registerNumber,jdbcType=VARCHAR}, register_date = #{record.registerDate,jdbcType=DATE}, isvisible = #{record.isvisible,jdbcType=INTEGER}, istiered = #{record.istiered,jdbcType=INTEGER}, is_ranking = #{record.isRanking,jdbcType=INTEGER}, is_rating = #{record.isRating,jdbcType=INTEGER}, special_tips = #{record.specialTips,jdbcType=VARCHAR}, amac_url = #{record.amacUrl,jdbcType=VARCHAR}, nav_source_type = #{record.navSourceType,jdbcType=INTEGER}, desc_info = #{record.descInfo,jdbcType=VARCHAR}, strategy = #{record.strategy,jdbcType=VARCHAR}, substrategy = #{record.substrategy,jdbcType=VARCHAR}, risk_level = #{record.riskLevel,jdbcType=INTEGER}, create_by = #{record.createBy,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, update_by = #{record.updateBy,jdbcType=VARCHAR}, update_time = #{record.updateTime,jdbcType=TIMESTAMP}, data_sources = #{record.dataSources,jdbcType=INTEGER}, `status` = #{record.status,jdbcType=INTEGER}, delete_tag = #{record.deleteTag,jdbcType=INTEGER}, sort = #{record.sort,jdbcType=INTEGER}, fund_characteristic = #{record.fundCharacteristic,jdbcType=LONGVARCHAR}, investment_scope = #{record.investmentScope,jdbcType=LONGVARCHAR}, investment_restriction = #{record.investmentRestriction,jdbcType=LONGVARCHAR}, fund_investment_philosophy = #{record.fundInvestmentPhilosophy,jdbcType=LONGVARCHAR}, fund_strategy_description = #{record.fundStrategyDescription,jdbcType=LONGVARCHAR}, combine_target = #{record.combineTarget,jdbcType=LONGVARCHAR}, fit_group = #{record.fitGroup,jdbcType=LONGVARCHAR}, combine_comment = #{record.combineComment,jdbcType=LONGVARCHAR}, transfer_comment = #{record.transferComment,jdbcType=LONGVARCHAR} <if test="_parameter != null"> <include refid="Update_By_Example_Where_Clause" /> </if> </update> <update id="updateByExample" parameterType="map"> <!--@mbg.generated--> update tx_fund_info set id = #{record.id,jdbcType=VARCHAR}, p_fund_id = #{record.pFundId,jdbcType=VARCHAR}, fund_name = #{record.fundName,jdbcType=VARCHAR}, fund_short_name = #{record.fundShortName,jdbcType=VARCHAR}, company_id = #{record.companyId,jdbcType=VARCHAR}, company_name = #{record.companyName,jdbcType=VARCHAR}, fund_structure = #{record.fundStructure,jdbcType=INTEGER}, fund_status = #{record.fundStatus,jdbcType=INTEGER}, fund_type = #{record.fundType,jdbcType=INTEGER}, `type` = #{record.type,jdbcType=INTEGER}, raise_type = #{record.raiseType,jdbcType=INTEGER}, base_currency = #{record.baseCurrency,jdbcType=INTEGER}, inception_date = #{record.inceptionDate,jdbcType=DATE}, domicile = #{record.domicile,jdbcType=INTEGER}, primary_benchmark_id = #{record.primaryBenchmarkId,jdbcType=VARCHAR}, lockup_period = #{record.lockupPeriod,jdbcType=INTEGER}, open_day = #{record.openDay,jdbcType=VARCHAR}, duration = #{record.duration,jdbcType=INTEGER}, advisor_id = #{record.advisorId,jdbcType=VARCHAR}, custodian_id = #{record.custodianId,jdbcType=VARCHAR}, broker_id = #{record.brokerId,jdbcType=VARCHAR}, broker_future_id = #{record.brokerFutureId,jdbcType=VARCHAR}, liquidation_agency_id = #{record.liquidationAgencyId,jdbcType=VARCHAR}, trust_id = #{record.trustId,jdbcType=VARCHAR}, investment_consultant_id = #{record.investmentConsultantId,jdbcType=VARCHAR}, administrator_id = #{record.administratorId,jdbcType=VARCHAR}, legal_counsel_id = #{record.legalCounselId,jdbcType=VARCHAR}, auditor_id = #{record.auditorId,jdbcType=VARCHAR}, nav_frequency = #{record.navFrequency,jdbcType=INTEGER}, performance_disclosure_mark = #{record.performanceDisclosureMark,jdbcType=INTEGER}, register_number = #{record.registerNumber,jdbcType=VARCHAR}, register_date = #{record.registerDate,jdbcType=DATE}, isvisible = #{record.isvisible,jdbcType=INTEGER}, istiered = #{record.istiered,jdbcType=INTEGER}, is_ranking = #{record.isRanking,jdbcType=INTEGER}, is_rating = #{record.isRating,jdbcType=INTEGER}, special_tips = #{record.specialTips,jdbcType=VARCHAR}, amac_url = #{record.amacUrl,jdbcType=VARCHAR}, nav_source_type = #{record.navSourceType,jdbcType=INTEGER}, desc_info = #{record.descInfo,jdbcType=VARCHAR}, strategy = #{record.strategy,jdbcType=VARCHAR}, substrategy = #{record.substrategy,jdbcType=VARCHAR}, risk_level = #{record.riskLevel,jdbcType=INTEGER}, create_by = #{record.createBy,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, update_by = #{record.updateBy,jdbcType=VARCHAR}, update_time = #{record.updateTime,jdbcType=TIMESTAMP}, data_sources = #{record.dataSources,jdbcType=INTEGER}, `status` = #{record.status,jdbcType=INTEGER}, delete_tag = #{record.deleteTag,jdbcType=INTEGER}, sort = #{record.sort,jdbcType=INTEGER} <if test="_parameter != null"> <include refid="Update_By_Example_Where_Clause" /> </if> </update> <update id="updateByPrimaryKeySelective" parameterType="com.tanpu.fund.entity.generator.TxFundInfo"> <!--@mbg.generated--> update tx_fund_info <set> <if test="pFundId != null"> p_fund_id = #{pFundId,jdbcType=VARCHAR}, </if> <if test="fundName != null"> fund_name = #{fundName,jdbcType=VARCHAR}, </if> <if test="fundShortName != null"> fund_short_name = #{fundShortName,jdbcType=VARCHAR}, </if> <if test="companyId != null"> company_id = #{companyId,jdbcType=VARCHAR}, </if> <if test="companyName != null"> company_name = #{companyName,jdbcType=VARCHAR}, </if> <if test="fundStructure != null"> fund_structure = #{fundStructure,jdbcType=INTEGER}, </if> <if test="fundStatus != null"> fund_status = #{fundStatus,jdbcType=INTEGER}, </if> <if test="fundType != null"> fund_type = #{fundType,jdbcType=INTEGER}, </if> <if test="type != null"> `type` = #{type,jdbcType=INTEGER}, </if> <if test="raiseType != null"> raise_type = #{raiseType,jdbcType=INTEGER}, </if> <if test="baseCurrency != null"> base_currency = #{baseCurrency,jdbcType=INTEGER}, </if> <if test="inceptionDate != null"> inception_date = #{inceptionDate,jdbcType=DATE}, </if> <if test="domicile != null"> domicile = #{domicile,jdbcType=INTEGER}, </if> <if test="primaryBenchmarkId != null"> primary_benchmark_id = #{primaryBenchmarkId,jdbcType=VARCHAR}, </if> <if test="lockupPeriod != null"> lockup_period = #{lockupPeriod,jdbcType=INTEGER}, </if> <if test="openDay != null"> open_day = #{openDay,jdbcType=VARCHAR}, </if> <if test="duration != null"> duration = #{duration,jdbcType=INTEGER}, </if> <if test="advisorId != null"> advisor_id = #{advisorId,jdbcType=VARCHAR}, </if> <if test="custodianId != null"> custodian_id = #{custodianId,jdbcType=VARCHAR}, </if> <if test="brokerId != null"> broker_id = #{brokerId,jdbcType=VARCHAR}, </if> <if test="brokerFutureId != null"> broker_future_id = #{brokerFutureId,jdbcType=VARCHAR}, </if> <if test="liquidationAgencyId != null"> liquidation_agency_id = #{liquidationAgencyId,jdbcType=VARCHAR}, </if> <if test="trustId != null"> trust_id = #{trustId,jdbcType=VARCHAR}, </if> <if test="investmentConsultantId != null"> investment_consultant_id = #{investmentConsultantId,jdbcType=VARCHAR}, </if> <if test="administratorId != null"> administrator_id = #{administratorId,jdbcType=VARCHAR}, </if> <if test="legalCounselId != null"> legal_counsel_id = #{legalCounselId,jdbcType=VARCHAR}, </if> <if test="auditorId != null"> auditor_id = #{auditorId,jdbcType=VARCHAR}, </if> <if test="navFrequency != null"> nav_frequency = #{navFrequency,jdbcType=INTEGER}, </if> <if test="performanceDisclosureMark != null"> performance_disclosure_mark = #{performanceDisclosureMark,jdbcType=INTEGER}, </if> <if test="registerNumber != null"> register_number = #{registerNumber,jdbcType=VARCHAR}, </if> <if test="registerDate != null"> register_date = #{registerDate,jdbcType=DATE}, </if> <if test="isvisible != null"> isvisible = #{isvisible,jdbcType=INTEGER}, </if> <if test="istiered != null"> istiered = #{istiered,jdbcType=INTEGER}, </if> <if test="isRanking != null"> is_ranking = #{isRanking,jdbcType=INTEGER}, </if> <if test="isRating != null"> is_rating = #{isRating,jdbcType=INTEGER}, </if> <if test="specialTips != null"> special_tips = #{specialTips,jdbcType=VARCHAR}, </if> <if test="amacUrl != null"> amac_url = #{amacUrl,jdbcType=VARCHAR}, </if> <if test="navSourceType != null"> nav_source_type = #{navSourceType,jdbcType=INTEGER}, </if> <if test="descInfo != null"> desc_info = #{descInfo,jdbcType=VARCHAR}, </if> <if test="strategy != null"> strategy = #{strategy,jdbcType=VARCHAR}, </if> <if test="substrategy != null"> substrategy = #{substrategy,jdbcType=VARCHAR}, </if> <if test="riskLevel != null"> risk_level = #{riskLevel,jdbcType=INTEGER}, </if> <if test="createBy != null"> create_by = #{createBy,jdbcType=VARCHAR}, </if> <if test="createTime != null"> create_time = #{createTime,jdbcType=TIMESTAMP}, </if> <if test="updateBy != null"> update_by = #{updateBy,jdbcType=VARCHAR}, </if> <if test="updateTime != null"> update_time = #{updateTime,jdbcType=TIMESTAMP}, </if> <if test="dataSources != null"> data_sources = #{dataSources,jdbcType=INTEGER}, </if> <if test="status != null"> `status` = #{status,jdbcType=INTEGER}, </if> <if test="deleteTag != null"> delete_tag = #{deleteTag,jdbcType=INTEGER}, </if> <if test="sort != null"> sort = #{sort,jdbcType=INTEGER}, </if> <if test="fundCharacteristic != null"> fund_characteristic = #{fundCharacteristic,jdbcType=LONGVARCHAR}, </if> <if test="investmentScope != null"> investment_scope = #{investmentScope,jdbcType=LONGVARCHAR}, </if> <if test="investmentRestriction != null"> investment_restriction = #{investmentRestriction,jdbcType=LONGVARCHAR}, </if> <if test="fundInvestmentPhilosophy != null"> fund_investment_philosophy = #{fundInvestmentPhilosophy,jdbcType=LONGVARCHAR}, </if> <if test="fundStrategyDescription != null"> fund_strategy_description = #{fundStrategyDescription,jdbcType=LONGVARCHAR}, </if> <if test="combineTarget != null"> combine_target = #{combineTarget,jdbcType=LONGVARCHAR}, </if> <if test="fitGroup != null"> fit_group = #{fitGroup,jdbcType=LONGVARCHAR}, </if> <if test="combineComment != null"> combine_comment = #{combineComment,jdbcType=LONGVARCHAR}, </if> <if test="transferComment != null"> transfer_comment = #{transferComment,jdbcType=LONGVARCHAR}, </if> </set> where id = #{id,jdbcType=VARCHAR} </update> <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.tanpu.fund.entity.generator.TxFundInfo"> <!--@mbg.generated--> update tx_fund_info set p_fund_id = #{pFundId,jdbcType=VARCHAR}, fund_name = #{fundName,jdbcType=VARCHAR}, fund_short_name = #{fundShortName,jdbcType=VARCHAR}, company_id = #{companyId,jdbcType=VARCHAR}, company_name = #{companyName,jdbcType=VARCHAR}, fund_structure = #{fundStructure,jdbcType=INTEGER}, fund_status = #{fundStatus,jdbcType=INTEGER}, fund_type = #{fundType,jdbcType=INTEGER}, `type` = #{type,jdbcType=INTEGER}, raise_type = #{raiseType,jdbcType=INTEGER}, base_currency = #{baseCurrency,jdbcType=INTEGER}, inception_date = #{inceptionDate,jdbcType=DATE}, domicile = #{domicile,jdbcType=INTEGER}, primary_benchmark_id = #{primaryBenchmarkId,jdbcType=VARCHAR}, lockup_period = #{lockupPeriod,jdbcType=INTEGER}, open_day = #{openDay,jdbcType=VARCHAR}, duration = #{duration,jdbcType=INTEGER}, advisor_id = #{advisorId,jdbcType=VARCHAR}, custodian_id = #{custodianId,jdbcType=VARCHAR}, broker_id = #{brokerId,jdbcType=VARCHAR}, broker_future_id = #{brokerFutureId,jdbcType=VARCHAR}, liquidation_agency_id = #{liquidationAgencyId,jdbcType=VARCHAR}, trust_id = #{trustId,jdbcType=VARCHAR}, investment_consultant_id = #{investmentConsultantId,jdbcType=VARCHAR}, administrator_id = #{administratorId,jdbcType=VARCHAR}, legal_counsel_id = #{legalCounselId,jdbcType=VARCHAR}, auditor_id = #{auditorId,jdbcType=VARCHAR}, nav_frequency = #{navFrequency,jdbcType=INTEGER}, performance_disclosure_mark = #{performanceDisclosureMark,jdbcType=INTEGER}, register_number = #{registerNumber,jdbcType=VARCHAR}, register_date = #{registerDate,jdbcType=DATE}, isvisible = #{isvisible,jdbcType=INTEGER}, istiered = #{istiered,jdbcType=INTEGER}, is_ranking = #{isRanking,jdbcType=INTEGER}, is_rating = #{isRating,jdbcType=INTEGER}, special_tips = #{specialTips,jdbcType=VARCHAR}, amac_url = #{amacUrl,jdbcType=VARCHAR}, nav_source_type = #{navSourceType,jdbcType=INTEGER}, desc_info = #{descInfo,jdbcType=VARCHAR}, strategy = #{strategy,jdbcType=VARCHAR}, substrategy = #{substrategy,jdbcType=VARCHAR}, risk_level = #{riskLevel,jdbcType=INTEGER}, create_by = #{createBy,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, update_by = #{updateBy,jdbcType=VARCHAR}, update_time = #{updateTime,jdbcType=TIMESTAMP}, data_sources = #{dataSources,jdbcType=INTEGER}, `status` = #{status,jdbcType=INTEGER}, delete_tag = #{deleteTag,jdbcType=INTEGER}, sort = #{sort,jdbcType=INTEGER}, fund_characteristic = #{fundCharacteristic,jdbcType=LONGVARCHAR}, investment_scope = #{investmentScope,jdbcType=LONGVARCHAR}, investment_restriction = #{investmentRestriction,jdbcType=LONGVARCHAR}, fund_investment_philosophy = #{fundInvestmentPhilosophy,jdbcType=LONGVARCHAR}, fund_strategy_description = #{fundStrategyDescription,jdbcType=LONGVARCHAR}, combine_target = #{combineTarget,jdbcType=LONGVARCHAR}, fit_group = #{fitGroup,jdbcType=LONGVARCHAR}, combine_comment = #{combineComment,jdbcType=LONGVARCHAR}, transfer_comment = #{transferComment,jdbcType=LONGVARCHAR} where id = #{id,jdbcType=VARCHAR} </update> <update id="updateByPrimaryKey" parameterType="com.tanpu.fund.entity.generator.TxFundInfo"> <!--@mbg.generated--> update tx_fund_info set p_fund_id = #{pFundId,jdbcType=VARCHAR}, fund_name = #{fundName,jdbcType=VARCHAR}, fund_short_name = #{fundShortName,jdbcType=VARCHAR}, company_id = #{companyId,jdbcType=VARCHAR}, company_name = #{companyName,jdbcType=VARCHAR}, fund_structure = #{fundStructure,jdbcType=INTEGER}, fund_status = #{fundStatus,jdbcType=INTEGER}, fund_type = #{fundType,jdbcType=INTEGER}, `type` = #{type,jdbcType=INTEGER}, raise_type = #{raiseType,jdbcType=INTEGER}, base_currency = #{baseCurrency,jdbcType=INTEGER}, inception_date = #{inceptionDate,jdbcType=DATE}, domicile = #{domicile,jdbcType=INTEGER}, primary_benchmark_id = #{primaryBenchmarkId,jdbcType=VARCHAR}, lockup_period = #{lockupPeriod,jdbcType=INTEGER}, open_day = #{openDay,jdbcType=VARCHAR}, duration = #{duration,jdbcType=INTEGER}, advisor_id = #{advisorId,jdbcType=VARCHAR}, custodian_id = #{custodianId,jdbcType=VARCHAR}, broker_id = #{brokerId,jdbcType=VARCHAR}, broker_future_id = #{brokerFutureId,jdbcType=VARCHAR}, liquidation_agency_id = #{liquidationAgencyId,jdbcType=VARCHAR}, trust_id = #{trustId,jdbcType=VARCHAR}, investment_consultant_id = #{investmentConsultantId,jdbcType=VARCHAR}, administrator_id = #{administratorId,jdbcType=VARCHAR}, legal_counsel_id = #{legalCounselId,jdbcType=VARCHAR}, auditor_id = #{auditorId,jdbcType=VARCHAR}, nav_frequency = #{navFrequency,jdbcType=INTEGER}, performance_disclosure_mark = #{performanceDisclosureMark,jdbcType=INTEGER}, register_number = #{registerNumber,jdbcType=VARCHAR}, register_date = #{registerDate,jdbcType=DATE}, isvisible = #{isvisible,jdbcType=INTEGER}, istiered = #{istiered,jdbcType=INTEGER}, is_ranking = #{isRanking,jdbcType=INTEGER}, is_rating = #{isRating,jdbcType=INTEGER}, special_tips = #{specialTips,jdbcType=VARCHAR}, amac_url = #{amacUrl,jdbcType=VARCHAR}, nav_source_type = #{navSourceType,jdbcType=INTEGER}, desc_info = #{descInfo,jdbcType=VARCHAR}, strategy = #{strategy,jdbcType=VARCHAR}, substrategy = #{substrategy,jdbcType=VARCHAR}, risk_level = #{riskLevel,jdbcType=INTEGER}, create_by = #{createBy,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, update_by = #{updateBy,jdbcType=VARCHAR}, update_time = #{updateTime,jdbcType=TIMESTAMP}, data_sources = #{dataSources,jdbcType=INTEGER}, `status` = #{status,jdbcType=INTEGER}, delete_tag = #{deleteTag,jdbcType=INTEGER}, sort = #{sort,jdbcType=INTEGER} where id = #{id,jdbcType=VARCHAR} </update> <update id="updateBatch" parameterType="java.util.List"> <!--@mbg.generated--> update tx_fund_info <trim prefix="set" suffixOverrides=","> <trim prefix="p_fund_id = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.pFundId,jdbcType=VARCHAR} </foreach> </trim> <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="fund_short_name = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.fundShortName,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="company_id = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.companyId,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="fund_structure = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.fundStructure,jdbcType=INTEGER} </foreach> </trim> <trim prefix="fund_status = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.fundStatus,jdbcType=INTEGER} </foreach> </trim> <trim prefix="fund_type = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.fundType,jdbcType=INTEGER} </foreach> </trim> <trim prefix="`type` = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.type,jdbcType=INTEGER} </foreach> </trim> <trim prefix="raise_type = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.raiseType,jdbcType=INTEGER} </foreach> </trim> <trim prefix="base_currency = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.baseCurrency,jdbcType=INTEGER} </foreach> </trim> <trim prefix="inception_date = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.inceptionDate,jdbcType=DATE} </foreach> </trim> <trim prefix="domicile = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.domicile,jdbcType=INTEGER} </foreach> </trim> <trim prefix="primary_benchmark_id = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.primaryBenchmarkId,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="lockup_period = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.lockupPeriod,jdbcType=INTEGER} </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="duration = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.duration,jdbcType=INTEGER} </foreach> </trim> <trim prefix="advisor_id = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.advisorId,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="custodian_id = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.custodianId,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="broker_id = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.brokerId,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="broker_future_id = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.brokerFutureId,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="liquidation_agency_id = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.liquidationAgencyId,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="trust_id = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.trustId,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="investment_consultant_id = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.investmentConsultantId,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="administrator_id = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.administratorId,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="legal_counsel_id = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.legalCounselId,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="auditor_id = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.auditorId,jdbcType=VARCHAR} </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="performance_disclosure_mark = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.performanceDisclosureMark,jdbcType=INTEGER} </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="register_date = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.registerDate,jdbcType=DATE} </foreach> </trim> <trim prefix="isvisible = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.isvisible,jdbcType=INTEGER} </foreach> </trim> <trim prefix="istiered = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.istiered,jdbcType=INTEGER} </foreach> </trim> <trim prefix="is_ranking = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.isRanking,jdbcType=INTEGER} </foreach> </trim> <trim prefix="is_rating = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.isRating,jdbcType=INTEGER} </foreach> </trim> <trim prefix="special_tips = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.specialTips,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="amac_url = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.amacUrl,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="nav_source_type = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.navSourceType,jdbcType=INTEGER} </foreach> </trim> <trim prefix="desc_info = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.descInfo,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="strategy = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.strategy,jdbcType=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=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=INTEGER} </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="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="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="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="data_sources = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.dataSources,jdbcType=INTEGER} </foreach> </trim> <trim prefix="`status` = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.status,jdbcType=INTEGER} </foreach> </trim> <trim prefix="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="sort = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.sort,jdbcType=INTEGER} </foreach> </trim> <trim prefix="fund_characteristic = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.fundCharacteristic,jdbcType=LONGVARCHAR} </foreach> </trim> <trim prefix="investment_scope = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.investmentScope,jdbcType=LONGVARCHAR} </foreach> </trim> <trim prefix="investment_restriction = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.investmentRestriction,jdbcType=LONGVARCHAR} </foreach> </trim> <trim prefix="fund_investment_philosophy = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.fundInvestmentPhilosophy,jdbcType=LONGVARCHAR} </foreach> </trim> <trim prefix="fund_strategy_description = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.fundStrategyDescription,jdbcType=LONGVARCHAR} </foreach> </trim> <trim prefix="combine_target = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.combineTarget,jdbcType=LONGVARCHAR} </foreach> </trim> <trim prefix="fit_group = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.fitGroup,jdbcType=LONGVARCHAR} </foreach> </trim> <trim prefix="combine_comment = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.combineComment,jdbcType=LONGVARCHAR} </foreach> </trim> <trim prefix="transfer_comment = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when id = #{item.id,jdbcType=VARCHAR} then #{item.transferComment,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 tx_fund_info (id, p_fund_id, fund_name, fund_short_name, company_id, company_name, fund_structure, fund_status, fund_type, `type`, raise_type, base_currency, inception_date, domicile, primary_benchmark_id, lockup_period, open_day, duration, advisor_id, custodian_id, broker_id, broker_future_id, liquidation_agency_id, trust_id, investment_consultant_id, administrator_id, legal_counsel_id, auditor_id, nav_frequency, performance_disclosure_mark, register_number, register_date, isvisible, istiered, is_ranking, is_rating, special_tips, amac_url, nav_source_type, desc_info, strategy, substrategy, risk_level, create_by, create_time, update_by, update_time, data_sources, `status`, delete_tag, sort, fund_characteristic, investment_scope, investment_restriction, fund_investment_philosophy, fund_strategy_description, combine_target, fit_group, combine_comment, transfer_comment ) values <foreach collection="list" item="item" separator=","> (#{item.id,jdbcType=VARCHAR}, #{item.pFundId,jdbcType=VARCHAR}, #{item.fundName,jdbcType=VARCHAR}, #{item.fundShortName,jdbcType=VARCHAR}, #{item.companyId,jdbcType=VARCHAR}, #{item.companyName,jdbcType=VARCHAR}, #{item.fundStructure,jdbcType=INTEGER}, #{item.fundStatus,jdbcType=INTEGER}, #{item.fundType,jdbcType=INTEGER}, #{item.type,jdbcType=INTEGER}, #{item.raiseType,jdbcType=INTEGER}, #{item.baseCurrency,jdbcType=INTEGER}, #{item.inceptionDate,jdbcType=DATE}, #{item.domicile,jdbcType=INTEGER}, #{item.primaryBenchmarkId,jdbcType=VARCHAR}, #{item.lockupPeriod,jdbcType=INTEGER}, #{item.openDay,jdbcType=VARCHAR}, #{item.duration,jdbcType=INTEGER}, #{item.advisorId,jdbcType=VARCHAR}, #{item.custodianId,jdbcType=VARCHAR}, #{item.brokerId,jdbcType=VARCHAR}, #{item.brokerFutureId,jdbcType=VARCHAR}, #{item.liquidationAgencyId,jdbcType=VARCHAR}, #{item.trustId,jdbcType=VARCHAR}, #{item.investmentConsultantId,jdbcType=VARCHAR}, #{item.administratorId,jdbcType=VARCHAR}, #{item.legalCounselId,jdbcType=VARCHAR}, #{item.auditorId,jdbcType=VARCHAR}, #{item.navFrequency,jdbcType=INTEGER}, #{item.performanceDisclosureMark,jdbcType=INTEGER}, #{item.registerNumber,jdbcType=VARCHAR}, #{item.registerDate,jdbcType=DATE}, #{item.isvisible,jdbcType=INTEGER}, #{item.istiered,jdbcType=INTEGER}, #{item.isRanking,jdbcType=INTEGER}, #{item.isRating,jdbcType=INTEGER}, #{item.specialTips,jdbcType=VARCHAR}, #{item.amacUrl,jdbcType=VARCHAR}, #{item.navSourceType,jdbcType=INTEGER}, #{item.descInfo,jdbcType=VARCHAR}, #{item.strategy,jdbcType=VARCHAR}, #{item.substrategy,jdbcType=VARCHAR}, #{item.riskLevel,jdbcType=INTEGER}, #{item.createBy,jdbcType=VARCHAR}, #{item.createTime,jdbcType=TIMESTAMP}, #{item.updateBy,jdbcType=VARCHAR}, #{item.updateTime,jdbcType=TIMESTAMP}, #{item.dataSources,jdbcType=INTEGER}, #{item.status,jdbcType=INTEGER}, #{item.deleteTag,jdbcType=INTEGER}, #{item.sort,jdbcType=INTEGER}, #{item.fundCharacteristic,jdbcType=LONGVARCHAR}, #{item.investmentScope,jdbcType=LONGVARCHAR}, #{item.investmentRestriction,jdbcType=LONGVARCHAR}, #{item.fundInvestmentPhilosophy,jdbcType=LONGVARCHAR}, #{item.fundStrategyDescription,jdbcType=LONGVARCHAR}, #{item.combineTarget,jdbcType=LONGVARCHAR}, #{item.fitGroup,jdbcType=LONGVARCHAR}, #{item.combineComment,jdbcType=LONGVARCHAR}, #{item.transferComment,jdbcType=LONGVARCHAR}) </foreach> </insert> <insert id="insertOrUpdate" parameterType="com.tanpu.fund.entity.generator.TxFundInfo"> <!--@mbg.generated--> insert into tx_fund_info (id, p_fund_id, fund_name, fund_short_name, company_id, company_name, fund_structure, fund_status, fund_type, `type`, raise_type, base_currency, inception_date, domicile, primary_benchmark_id, lockup_period, open_day, duration, advisor_id, custodian_id, broker_id, broker_future_id, liquidation_agency_id, trust_id, investment_consultant_id, administrator_id, legal_counsel_id, auditor_id, nav_frequency, performance_disclosure_mark, register_number, register_date, isvisible, istiered, is_ranking, is_rating, special_tips, amac_url, nav_source_type, desc_info, strategy, substrategy, risk_level, create_by, create_time, update_by, update_time, data_sources, `status`, delete_tag, sort) values (#{id,jdbcType=VARCHAR}, #{pFundId,jdbcType=VARCHAR}, #{fundName,jdbcType=VARCHAR}, #{fundShortName,jdbcType=VARCHAR}, #{companyId,jdbcType=VARCHAR}, #{companyName,jdbcType=VARCHAR}, #{fundStructure,jdbcType=INTEGER}, #{fundStatus,jdbcType=INTEGER}, #{fundType,jdbcType=INTEGER}, #{type,jdbcType=INTEGER}, #{raiseType,jdbcType=INTEGER}, #{baseCurrency,jdbcType=INTEGER}, #{inceptionDate,jdbcType=DATE}, #{domicile,jdbcType=INTEGER}, #{primaryBenchmarkId,jdbcType=VARCHAR}, #{lockupPeriod,jdbcType=INTEGER}, #{openDay,jdbcType=VARCHAR}, #{duration,jdbcType=INTEGER}, #{advisorId,jdbcType=VARCHAR}, #{custodianId,jdbcType=VARCHAR}, #{brokerId,jdbcType=VARCHAR}, #{brokerFutureId,jdbcType=VARCHAR}, #{liquidationAgencyId,jdbcType=VARCHAR}, #{trustId,jdbcType=VARCHAR}, #{investmentConsultantId,jdbcType=VARCHAR}, #{administratorId,jdbcType=VARCHAR}, #{legalCounselId,jdbcType=VARCHAR}, #{auditorId,jdbcType=VARCHAR}, #{navFrequency,jdbcType=INTEGER}, #{performanceDisclosureMark,jdbcType=INTEGER}, #{registerNumber,jdbcType=VARCHAR}, #{registerDate,jdbcType=DATE}, #{isvisible,jdbcType=INTEGER}, #{istiered,jdbcType=INTEGER}, #{isRanking,jdbcType=INTEGER}, #{isRating,jdbcType=INTEGER}, #{specialTips,jdbcType=VARCHAR}, #{amacUrl,jdbcType=VARCHAR}, #{navSourceType,jdbcType=INTEGER}, #{descInfo,jdbcType=VARCHAR}, #{strategy,jdbcType=VARCHAR}, #{substrategy,jdbcType=VARCHAR}, #{riskLevel,jdbcType=INTEGER}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{dataSources,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, #{deleteTag,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}) on duplicate key update id = #{id,jdbcType=VARCHAR}, p_fund_id = #{pFundId,jdbcType=VARCHAR}, fund_name = #{fundName,jdbcType=VARCHAR}, fund_short_name = #{fundShortName,jdbcType=VARCHAR}, company_id = #{companyId,jdbcType=VARCHAR}, company_name = #{companyName,jdbcType=VARCHAR}, fund_structure = #{fundStructure,jdbcType=INTEGER}, fund_status = #{fundStatus,jdbcType=INTEGER}, fund_type = #{fundType,jdbcType=INTEGER}, `type` = #{type,jdbcType=INTEGER}, raise_type = #{raiseType,jdbcType=INTEGER}, base_currency = #{baseCurrency,jdbcType=INTEGER}, inception_date = #{inceptionDate,jdbcType=DATE}, domicile = #{domicile,jdbcType=INTEGER}, primary_benchmark_id = #{primaryBenchmarkId,jdbcType=VARCHAR}, lockup_period = #{lockupPeriod,jdbcType=INTEGER}, open_day = #{openDay,jdbcType=VARCHAR}, duration = #{duration,jdbcType=INTEGER}, advisor_id = #{advisorId,jdbcType=VARCHAR}, custodian_id = #{custodianId,jdbcType=VARCHAR}, broker_id = #{brokerId,jdbcType=VARCHAR}, broker_future_id = #{brokerFutureId,jdbcType=VARCHAR}, liquidation_agency_id = #{liquidationAgencyId,jdbcType=VARCHAR}, trust_id = #{trustId,jdbcType=VARCHAR}, investment_consultant_id = #{investmentConsultantId,jdbcType=VARCHAR}, administrator_id = #{administratorId,jdbcType=VARCHAR}, legal_counsel_id = #{legalCounselId,jdbcType=VARCHAR}, auditor_id = #{auditorId,jdbcType=VARCHAR}, nav_frequency = #{navFrequency,jdbcType=INTEGER}, performance_disclosure_mark = #{performanceDisclosureMark,jdbcType=INTEGER}, register_number = #{registerNumber,jdbcType=VARCHAR}, register_date = #{registerDate,jdbcType=DATE}, isvisible = #{isvisible,jdbcType=INTEGER}, istiered = #{istiered,jdbcType=INTEGER}, is_ranking = #{isRanking,jdbcType=INTEGER}, is_rating = #{isRating,jdbcType=INTEGER}, special_tips = #{specialTips,jdbcType=VARCHAR}, amac_url = #{amacUrl,jdbcType=VARCHAR}, nav_source_type = #{navSourceType,jdbcType=INTEGER}, desc_info = #{descInfo,jdbcType=VARCHAR}, strategy = #{strategy,jdbcType=VARCHAR}, substrategy = #{substrategy,jdbcType=VARCHAR}, risk_level = #{riskLevel,jdbcType=INTEGER}, create_by = #{createBy,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, update_by = #{updateBy,jdbcType=VARCHAR}, update_time = #{updateTime,jdbcType=TIMESTAMP}, data_sources = #{dataSources,jdbcType=INTEGER}, `status` = #{status,jdbcType=INTEGER}, delete_tag = #{deleteTag,jdbcType=INTEGER}, sort = #{sort,jdbcType=INTEGER} </insert> <insert id="insertOrUpdateWithBLOBs" parameterType="com.tanpu.fund.entity.generator.TxFundInfo"> <!--@mbg.generated--> insert into tx_fund_info (id, p_fund_id, fund_name, fund_short_name, company_id, company_name, fund_structure, fund_status, fund_type, `type`, raise_type, base_currency, inception_date, domicile, primary_benchmark_id, lockup_period, open_day, duration, advisor_id, custodian_id, broker_id, broker_future_id, liquidation_agency_id, trust_id, investment_consultant_id, administrator_id, legal_counsel_id, auditor_id, nav_frequency, performance_disclosure_mark, register_number, register_date, isvisible, istiered, is_ranking, is_rating, special_tips, amac_url, nav_source_type, desc_info, strategy, substrategy, risk_level, create_by, create_time, update_by, update_time, data_sources, `status`, delete_tag, sort, fund_characteristic, investment_scope, investment_restriction, fund_investment_philosophy, fund_strategy_description, combine_target, fit_group, combine_comment, transfer_comment ) values (#{id,jdbcType=VARCHAR}, #{pFundId,jdbcType=VARCHAR}, #{fundName,jdbcType=VARCHAR}, #{fundShortName,jdbcType=VARCHAR}, #{companyId,jdbcType=VARCHAR}, #{companyName,jdbcType=VARCHAR}, #{fundStructure,jdbcType=INTEGER}, #{fundStatus,jdbcType=INTEGER}, #{fundType,jdbcType=INTEGER}, #{type,jdbcType=INTEGER}, #{raiseType,jdbcType=INTEGER}, #{baseCurrency,jdbcType=INTEGER}, #{inceptionDate,jdbcType=DATE}, #{domicile,jdbcType=INTEGER}, #{primaryBenchmarkId,jdbcType=VARCHAR}, #{lockupPeriod,jdbcType=INTEGER}, #{openDay,jdbcType=VARCHAR}, #{duration,jdbcType=INTEGER}, #{advisorId,jdbcType=VARCHAR}, #{custodianId,jdbcType=VARCHAR}, #{brokerId,jdbcType=VARCHAR}, #{brokerFutureId,jdbcType=VARCHAR}, #{liquidationAgencyId,jdbcType=VARCHAR}, #{trustId,jdbcType=VARCHAR}, #{investmentConsultantId,jdbcType=VARCHAR}, #{administratorId,jdbcType=VARCHAR}, #{legalCounselId,jdbcType=VARCHAR}, #{auditorId,jdbcType=VARCHAR}, #{navFrequency,jdbcType=INTEGER}, #{performanceDisclosureMark,jdbcType=INTEGER}, #{registerNumber,jdbcType=VARCHAR}, #{registerDate,jdbcType=DATE}, #{isvisible,jdbcType=INTEGER}, #{istiered,jdbcType=INTEGER}, #{isRanking,jdbcType=INTEGER}, #{isRating,jdbcType=INTEGER}, #{specialTips,jdbcType=VARCHAR}, #{amacUrl,jdbcType=VARCHAR}, #{navSourceType,jdbcType=INTEGER}, #{descInfo,jdbcType=VARCHAR}, #{strategy,jdbcType=VARCHAR}, #{substrategy,jdbcType=VARCHAR}, #{riskLevel,jdbcType=INTEGER}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{dataSources,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, #{deleteTag,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, #{fundCharacteristic,jdbcType=LONGVARCHAR}, #{investmentScope,jdbcType=LONGVARCHAR}, #{investmentRestriction,jdbcType=LONGVARCHAR}, #{fundInvestmentPhilosophy,jdbcType=LONGVARCHAR}, #{fundStrategyDescription,jdbcType=LONGVARCHAR}, #{combineTarget,jdbcType=LONGVARCHAR}, #{fitGroup,jdbcType=LONGVARCHAR}, #{combineComment,jdbcType=LONGVARCHAR}, #{transferComment,jdbcType=LONGVARCHAR}) on duplicate key update id = #{id,jdbcType=VARCHAR}, p_fund_id = #{pFundId,jdbcType=VARCHAR}, fund_name = #{fundName,jdbcType=VARCHAR}, fund_short_name = #{fundShortName,jdbcType=VARCHAR}, company_id = #{companyId,jdbcType=VARCHAR}, company_name = #{companyName,jdbcType=VARCHAR}, fund_structure = #{fundStructure,jdbcType=INTEGER}, fund_status = #{fundStatus,jdbcType=INTEGER}, fund_type = #{fundType,jdbcType=INTEGER}, `type` = #{type,jdbcType=INTEGER}, raise_type = #{raiseType,jdbcType=INTEGER}, base_currency = #{baseCurrency,jdbcType=INTEGER}, inception_date = #{inceptionDate,jdbcType=DATE}, domicile = #{domicile,jdbcType=INTEGER}, primary_benchmark_id = #{primaryBenchmarkId,jdbcType=VARCHAR}, lockup_period = #{lockupPeriod,jdbcType=INTEGER}, open_day = #{openDay,jdbcType=VARCHAR}, duration = #{duration,jdbcType=INTEGER}, advisor_id = #{advisorId,jdbcType=VARCHAR}, custodian_id = #{custodianId,jdbcType=VARCHAR}, broker_id = #{brokerId,jdbcType=VARCHAR}, broker_future_id = #{brokerFutureId,jdbcType=VARCHAR}, liquidation_agency_id = #{liquidationAgencyId,jdbcType=VARCHAR}, trust_id = #{trustId,jdbcType=VARCHAR}, investment_consultant_id = #{investmentConsultantId,jdbcType=VARCHAR}, administrator_id = #{administratorId,jdbcType=VARCHAR}, legal_counsel_id = #{legalCounselId,jdbcType=VARCHAR}, auditor_id = #{auditorId,jdbcType=VARCHAR}, nav_frequency = #{navFrequency,jdbcType=INTEGER}, performance_disclosure_mark = #{performanceDisclosureMark,jdbcType=INTEGER}, register_number = #{registerNumber,jdbcType=VARCHAR}, register_date = #{registerDate,jdbcType=DATE}, isvisible = #{isvisible,jdbcType=INTEGER}, istiered = #{istiered,jdbcType=INTEGER}, is_ranking = #{isRanking,jdbcType=INTEGER}, is_rating = #{isRating,jdbcType=INTEGER}, special_tips = #{specialTips,jdbcType=VARCHAR}, amac_url = #{amacUrl,jdbcType=VARCHAR}, nav_source_type = #{navSourceType,jdbcType=INTEGER}, desc_info = #{descInfo,jdbcType=VARCHAR}, strategy = #{strategy,jdbcType=VARCHAR}, substrategy = #{substrategy,jdbcType=VARCHAR}, risk_level = #{riskLevel,jdbcType=INTEGER}, create_by = #{createBy,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, update_by = #{updateBy,jdbcType=VARCHAR}, update_time = #{updateTime,jdbcType=TIMESTAMP}, data_sources = #{dataSources,jdbcType=INTEGER}, `status` = #{status,jdbcType=INTEGER}, delete_tag = #{deleteTag,jdbcType=INTEGER}, sort = #{sort,jdbcType=INTEGER}, fund_characteristic = #{fundCharacteristic,jdbcType=LONGVARCHAR}, investment_scope = #{investmentScope,jdbcType=LONGVARCHAR}, investment_restriction = #{investmentRestriction,jdbcType=LONGVARCHAR}, fund_investment_philosophy = #{fundInvestmentPhilosophy,jdbcType=LONGVARCHAR}, fund_strategy_description = #{fundStrategyDescription,jdbcType=LONGVARCHAR}, combine_target = #{combineTarget,jdbcType=LONGVARCHAR}, fit_group = #{fitGroup,jdbcType=LONGVARCHAR}, combine_comment = #{combineComment,jdbcType=LONGVARCHAR}, transfer_comment = #{transferComment,jdbcType=LONGVARCHAR} </insert> <insert id="insertOrUpdateSelective" parameterType="com.tanpu.fund.entity.generator.TxFundInfo"> <!--@mbg.generated--> insert into tx_fund_info <trim prefix="(" suffix=")" suffixOverrides=","> <if test="id != null"> id, </if> <if test="pFundId != null"> p_fund_id, </if> <if test="fundName != null"> fund_name, </if> <if test="fundShortName != null"> fund_short_name, </if> <if test="companyId != null"> company_id, </if> <if test="companyName != null"> company_name, </if> <if test="fundStructure != null"> fund_structure, </if> <if test="fundStatus != null"> fund_status, </if> <if test="fundType != null"> fund_type, </if> <if test="type != null"> `type`, </if> <if test="raiseType != null"> raise_type, </if> <if test="baseCurrency != null"> base_currency, </if> <if test="inceptionDate != null"> inception_date, </if> <if test="domicile != null"> domicile, </if> <if test="primaryBenchmarkId != null"> primary_benchmark_id, </if> <if test="lockupPeriod != null"> lockup_period, </if> <if test="openDay != null"> open_day, </if> <if test="duration != null"> duration, </if> <if test="advisorId != null"> advisor_id, </if> <if test="custodianId != null"> custodian_id, </if> <if test="brokerId != null"> broker_id, </if> <if test="brokerFutureId != null"> broker_future_id, </if> <if test="liquidationAgencyId != null"> liquidation_agency_id, </if> <if test="trustId != null"> trust_id, </if> <if test="investmentConsultantId != null"> investment_consultant_id, </if> <if test="administratorId != null"> administrator_id, </if> <if test="legalCounselId != null"> legal_counsel_id, </if> <if test="auditorId != null"> auditor_id, </if> <if test="navFrequency != null"> nav_frequency, </if> <if test="performanceDisclosureMark != null"> performance_disclosure_mark, </if> <if test="registerNumber != null"> register_number, </if> <if test="registerDate != null"> register_date, </if> <if test="isvisible != null"> isvisible, </if> <if test="istiered != null"> istiered, </if> <if test="isRanking != null"> is_ranking, </if> <if test="isRating != null"> is_rating, </if> <if test="specialTips != null"> special_tips, </if> <if test="amacUrl != null"> amac_url, </if> <if test="navSourceType != null"> nav_source_type, </if> <if test="descInfo != null"> desc_info, </if> <if test="strategy != null"> strategy, </if> <if test="substrategy != null"> substrategy, </if> <if test="riskLevel != null"> risk_level, </if> <if test="createBy != null"> create_by, </if> <if test="createTime != null"> create_time, </if> <if test="updateBy != null"> update_by, </if> <if test="updateTime != null"> update_time, </if> <if test="dataSources != null"> data_sources, </if> <if test="status != null"> `status`, </if> <if test="deleteTag != null"> delete_tag, </if> <if test="sort != null"> sort, </if> <if test="fundCharacteristic != null"> fund_characteristic, </if> <if test="investmentScope != null"> investment_scope, </if> <if test="investmentRestriction != null"> investment_restriction, </if> <if test="fundInvestmentPhilosophy != null"> fund_investment_philosophy, </if> <if test="fundStrategyDescription != null"> fund_strategy_description, </if> <if test="combineTarget != null"> combine_target, </if> <if test="fitGroup != null"> fit_group, </if> <if test="combineComment != null"> combine_comment, </if> <if test="transferComment != null"> transfer_comment, </if> </trim> values <trim prefix="(" suffix=")" suffixOverrides=","> <if test="id != null"> #{id,jdbcType=VARCHAR}, </if> <if test="pFundId != null"> #{pFundId,jdbcType=VARCHAR}, </if> <if test="fundName != null"> #{fundName,jdbcType=VARCHAR}, </if> <if test="fundShortName != null"> #{fundShortName,jdbcType=VARCHAR}, </if> <if test="companyId != null"> #{companyId,jdbcType=VARCHAR}, </if> <if test="companyName != null"> #{companyName,jdbcType=VARCHAR}, </if> <if test="fundStructure != null"> #{fundStructure,jdbcType=INTEGER}, </if> <if test="fundStatus != null"> #{fundStatus,jdbcType=INTEGER}, </if> <if test="fundType != null"> #{fundType,jdbcType=INTEGER}, </if> <if test="type != null"> #{type,jdbcType=INTEGER}, </if> <if test="raiseType != null"> #{raiseType,jdbcType=INTEGER}, </if> <if test="baseCurrency != null"> #{baseCurrency,jdbcType=INTEGER}, </if> <if test="inceptionDate != null"> #{inceptionDate,jdbcType=DATE}, </if> <if test="domicile != null"> #{domicile,jdbcType=INTEGER}, </if> <if test="primaryBenchmarkId != null"> #{primaryBenchmarkId,jdbcType=VARCHAR}, </if> <if test="lockupPeriod != null"> #{lockupPeriod,jdbcType=INTEGER}, </if> <if test="openDay != null"> #{openDay,jdbcType=VARCHAR}, </if> <if test="duration != null"> #{duration,jdbcType=INTEGER}, </if> <if test="advisorId != null"> #{advisorId,jdbcType=VARCHAR}, </if> <if test="custodianId != null"> #{custodianId,jdbcType=VARCHAR}, </if> <if test="brokerId != null"> #{brokerId,jdbcType=VARCHAR}, </if> <if test="brokerFutureId != null"> #{brokerFutureId,jdbcType=VARCHAR}, </if> <if test="liquidationAgencyId != null"> #{liquidationAgencyId,jdbcType=VARCHAR}, </if> <if test="trustId != null"> #{trustId,jdbcType=VARCHAR}, </if> <if test="investmentConsultantId != null"> #{investmentConsultantId,jdbcType=VARCHAR}, </if> <if test="administratorId != null"> #{administratorId,jdbcType=VARCHAR}, </if> <if test="legalCounselId != null"> #{legalCounselId,jdbcType=VARCHAR}, </if> <if test="auditorId != null"> #{auditorId,jdbcType=VARCHAR}, </if> <if test="navFrequency != null"> #{navFrequency,jdbcType=INTEGER}, </if> <if test="performanceDisclosureMark != null"> #{performanceDisclosureMark,jdbcType=INTEGER}, </if> <if test="registerNumber != null"> #{registerNumber,jdbcType=VARCHAR}, </if> <if test="registerDate != null"> #{registerDate,jdbcType=DATE}, </if> <if test="isvisible != null"> #{isvisible,jdbcType=INTEGER}, </if> <if test="istiered != null"> #{istiered,jdbcType=INTEGER}, </if> <if test="isRanking != null"> #{isRanking,jdbcType=INTEGER}, </if> <if test="isRating != null"> #{isRating,jdbcType=INTEGER}, </if> <if test="specialTips != null"> #{specialTips,jdbcType=VARCHAR}, </if> <if test="amacUrl != null"> #{amacUrl,jdbcType=VARCHAR}, </if> <if test="navSourceType != null"> #{navSourceType,jdbcType=INTEGER}, </if> <if test="descInfo != null"> #{descInfo,jdbcType=VARCHAR}, </if> <if test="strategy != null"> #{strategy,jdbcType=VARCHAR}, </if> <if test="substrategy != null"> #{substrategy,jdbcType=VARCHAR}, </if> <if test="riskLevel != null"> #{riskLevel,jdbcType=INTEGER}, </if> <if test="createBy != null"> #{createBy,jdbcType=VARCHAR}, </if> <if test="createTime != null"> #{createTime,jdbcType=TIMESTAMP}, </if> <if test="updateBy != null"> #{updateBy,jdbcType=VARCHAR}, </if> <if test="updateTime != null"> #{updateTime,jdbcType=TIMESTAMP}, </if> <if test="dataSources != null"> #{dataSources,jdbcType=INTEGER}, </if> <if test="status != null"> #{status,jdbcType=INTEGER}, </if> <if test="deleteTag != null"> #{deleteTag,jdbcType=INTEGER}, </if> <if test="sort != null"> #{sort,jdbcType=INTEGER}, </if> <if test="fundCharacteristic != null"> #{fundCharacteristic,jdbcType=LONGVARCHAR}, </if> <if test="investmentScope != null"> #{investmentScope,jdbcType=LONGVARCHAR}, </if> <if test="investmentRestriction != null"> #{investmentRestriction,jdbcType=LONGVARCHAR}, </if> <if test="fundInvestmentPhilosophy != null"> #{fundInvestmentPhilosophy,jdbcType=LONGVARCHAR}, </if> <if test="fundStrategyDescription != null"> #{fundStrategyDescription,jdbcType=LONGVARCHAR}, </if> <if test="combineTarget != null"> #{combineTarget,jdbcType=LONGVARCHAR}, </if> <if test="fitGroup != null"> #{fitGroup,jdbcType=LONGVARCHAR}, </if> <if test="combineComment != null"> #{combineComment,jdbcType=LONGVARCHAR}, </if> <if test="transferComment != null"> #{transferComment,jdbcType=LONGVARCHAR}, </if> </trim> on duplicate key update <trim suffixOverrides=","> <if test="id != null"> id = #{id,jdbcType=VARCHAR}, </if> <if test="pFundId != null"> p_fund_id = #{pFundId,jdbcType=VARCHAR}, </if> <if test="fundName != null"> fund_name = #{fundName,jdbcType=VARCHAR}, </if> <if test="fundShortName != null"> fund_short_name = #{fundShortName,jdbcType=VARCHAR}, </if> <if test="companyId != null"> company_id = #{companyId,jdbcType=VARCHAR}, </if> <if test="companyName != null"> company_name = #{companyName,jdbcType=VARCHAR}, </if> <if test="fundStructure != null"> fund_structure = #{fundStructure,jdbcType=INTEGER}, </if> <if test="fundStatus != null"> fund_status = #{fundStatus,jdbcType=INTEGER}, </if> <if test="fundType != null"> fund_type = #{fundType,jdbcType=INTEGER}, </if> <if test="type != null"> `type` = #{type,jdbcType=INTEGER}, </if> <if test="raiseType != null"> raise_type = #{raiseType,jdbcType=INTEGER}, </if> <if test="baseCurrency != null"> base_currency = #{baseCurrency,jdbcType=INTEGER}, </if> <if test="inceptionDate != null"> inception_date = #{inceptionDate,jdbcType=DATE}, </if> <if test="domicile != null"> domicile = #{domicile,jdbcType=INTEGER}, </if> <if test="primaryBenchmarkId != null"> primary_benchmark_id = #{primaryBenchmarkId,jdbcType=VARCHAR}, </if> <if test="lockupPeriod != null"> lockup_period = #{lockupPeriod,jdbcType=INTEGER}, </if> <if test="openDay != null"> open_day = #{openDay,jdbcType=VARCHAR}, </if> <if test="duration != null"> duration = #{duration,jdbcType=INTEGER}, </if> <if test="advisorId != null"> advisor_id = #{advisorId,jdbcType=VARCHAR}, </if> <if test="custodianId != null"> custodian_id = #{custodianId,jdbcType=VARCHAR}, </if> <if test="brokerId != null"> broker_id = #{brokerId,jdbcType=VARCHAR}, </if> <if test="brokerFutureId != null"> broker_future_id = #{brokerFutureId,jdbcType=VARCHAR}, </if> <if test="liquidationAgencyId != null"> liquidation_agency_id = #{liquidationAgencyId,jdbcType=VARCHAR}, </if> <if test="trustId != null"> trust_id = #{trustId,jdbcType=VARCHAR}, </if> <if test="investmentConsultantId != null"> investment_consultant_id = #{investmentConsultantId,jdbcType=VARCHAR}, </if> <if test="administratorId != null"> administrator_id = #{administratorId,jdbcType=VARCHAR}, </if> <if test="legalCounselId != null"> legal_counsel_id = #{legalCounselId,jdbcType=VARCHAR}, </if> <if test="auditorId != null"> auditor_id = #{auditorId,jdbcType=VARCHAR}, </if> <if test="navFrequency != null"> nav_frequency = #{navFrequency,jdbcType=INTEGER}, </if> <if test="performanceDisclosureMark != null"> performance_disclosure_mark = #{performanceDisclosureMark,jdbcType=INTEGER}, </if> <if test="registerNumber != null"> register_number = #{registerNumber,jdbcType=VARCHAR}, </if> <if test="registerDate != null"> register_date = #{registerDate,jdbcType=DATE}, </if> <if test="isvisible != null"> isvisible = #{isvisible,jdbcType=INTEGER}, </if> <if test="istiered != null"> istiered = #{istiered,jdbcType=INTEGER}, </if> <if test="isRanking != null"> is_ranking = #{isRanking,jdbcType=INTEGER}, </if> <if test="isRating != null"> is_rating = #{isRating,jdbcType=INTEGER}, </if> <if test="specialTips != null"> special_tips = #{specialTips,jdbcType=VARCHAR}, </if> <if test="amacUrl != null"> amac_url = #{amacUrl,jdbcType=VARCHAR}, </if> <if test="navSourceType != null"> nav_source_type = #{navSourceType,jdbcType=INTEGER}, </if> <if test="descInfo != null"> desc_info = #{descInfo,jdbcType=VARCHAR}, </if> <if test="strategy != null"> strategy = #{strategy,jdbcType=VARCHAR}, </if> <if test="substrategy != null"> substrategy = #{substrategy,jdbcType=VARCHAR}, </if> <if test="riskLevel != null"> risk_level = #{riskLevel,jdbcType=INTEGER}, </if> <if test="createBy != null"> create_by = #{createBy,jdbcType=VARCHAR}, </if> <if test="createTime != null"> create_time = #{createTime,jdbcType=TIMESTAMP}, </if> <if test="updateBy != null"> update_by = #{updateBy,jdbcType=VARCHAR}, </if> <if test="updateTime != null"> update_time = #{updateTime,jdbcType=TIMESTAMP}, </if> <if test="dataSources != null"> data_sources = #{dataSources,jdbcType=INTEGER}, </if> <if test="status != null"> `status` = #{status,jdbcType=INTEGER}, </if> <if test="deleteTag != null"> delete_tag = #{deleteTag,jdbcType=INTEGER}, </if> <if test="sort != null"> sort = #{sort,jdbcType=INTEGER}, </if> <if test="fundCharacteristic != null"> fund_characteristic = #{fundCharacteristic,jdbcType=LONGVARCHAR}, </if> <if test="investmentScope != null"> investment_scope = #{investmentScope,jdbcType=LONGVARCHAR}, </if> <if test="investmentRestriction != null"> investment_restriction = #{investmentRestriction,jdbcType=LONGVARCHAR}, </if> <if test="fundInvestmentPhilosophy != null"> fund_investment_philosophy = #{fundInvestmentPhilosophy,jdbcType=LONGVARCHAR}, </if> <if test="fundStrategyDescription != null"> fund_strategy_description = #{fundStrategyDescription,jdbcType=LONGVARCHAR}, </if> <if test="combineTarget != null"> combine_target = #{combineTarget,jdbcType=LONGVARCHAR}, </if> <if test="fitGroup != null"> fit_group = #{fitGroup,jdbcType=LONGVARCHAR}, </if> <if test="combineComment != null"> combine_comment = #{combineComment,jdbcType=LONGVARCHAR}, </if> <if test="transferComment != null"> transfer_comment = #{transferComment,jdbcType=LONGVARCHAR}, </if> </trim> </insert> </mapper>