Commit cc94695e authored by 王亚雷's avatar 王亚雷

生成的sql语句中去掉库名

parent a91f0c9c
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<mapper namespace="com.tanpu.fund.mapper.generator.FundCountMapper"> <mapper namespace="com.tanpu.fund.mapper.generator.FundCountMapper">
<resultMap id="BaseResultMap" type="com.tanpu.fund.entity.generator.FundCount"> <resultMap id="BaseResultMap" type="com.tanpu.fund.entity.generator.FundCount">
<!--@mbg.generated--> <!--@mbg.generated-->
<!--@Table tamp_fund.fund_count--> <!--@Table fund_count-->
<id column="id" jdbcType="VARCHAR" property="id" /> <id column="id" jdbcType="VARCHAR" property="id" />
<result column="fund_id" jdbcType="VARCHAR" property="fundId" /> <result column="fund_id" jdbcType="VARCHAR" property="fundId" />
<result column="strategy" jdbcType="INTEGER" property="strategy" /> <result column="strategy" jdbcType="INTEGER" property="strategy" />
...@@ -156,7 +156,7 @@ ...@@ -156,7 +156,7 @@
</resultMap> </resultMap>
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.tanpu.fund.entity.generator.FundCount"> <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.tanpu.fund.entity.generator.FundCount">
<!--@mbg.generated--> <!--@mbg.generated-->
<!--@Table tamp_fund.fund_count--> <!--@Table fund_count-->
<result column="annual_ret" jdbcType="LONGVARCHAR" property="annualRet" /> <result column="annual_ret" jdbcType="LONGVARCHAR" property="annualRet" />
<result column="monthly_ret" jdbcType="LONGVARCHAR" property="monthlyRet" /> <result column="monthly_ret" jdbcType="LONGVARCHAR" property="monthlyRet" />
<result column="annual_maxdrawdown" jdbcType="LONGVARCHAR" property="annualMaxdrawdown" /> <result column="annual_maxdrawdown" jdbcType="LONGVARCHAR" property="annualMaxdrawdown" />
...@@ -260,7 +260,7 @@ ...@@ -260,7 +260,7 @@
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
, ,
<include refid="Blob_Column_List" /> <include refid="Blob_Column_List" />
from tamp_fund.fund_count from fund_count
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
...@@ -275,7 +275,7 @@ ...@@ -275,7 +275,7 @@
distinct distinct
</if> </if>
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
from tamp_fund.fund_count from fund_count
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
...@@ -289,24 +289,24 @@ ...@@ -289,24 +289,24 @@
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
, ,
<include refid="Blob_Column_List" /> <include refid="Blob_Column_List" />
from tamp_fund.fund_count from fund_count
where id = #{id,jdbcType=VARCHAR} where id = #{id,jdbcType=VARCHAR}
</select> </select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.String"> <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
<!--@mbg.generated--> <!--@mbg.generated-->
delete from tamp_fund.fund_count delete from fund_count
where id = #{id,jdbcType=VARCHAR} where id = #{id,jdbcType=VARCHAR}
</delete> </delete>
<delete id="deleteByExample" parameterType="com.tanpu.fund.entity.generator.FundCountExample"> <delete id="deleteByExample" parameterType="com.tanpu.fund.entity.generator.FundCountExample">
<!--@mbg.generated--> <!--@mbg.generated-->
delete from tamp_fund.fund_count delete from fund_count
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
</delete> </delete>
<insert id="insert" parameterType="com.tanpu.fund.entity.generator.FundCount"> <insert id="insert" parameterType="com.tanpu.fund.entity.generator.FundCount">
<!--@mbg.generated--> <!--@mbg.generated-->
insert into tamp_fund.fund_count (id, fund_id, strategy, insert into fund_count (id, fund_id, strategy,
substrategy, inception_date, `type`, substrategy, inception_date, `type`,
end_date, price_date, net_nav, end_date, price_date, net_nav,
cumulative_nav, ret_1day, ret_1day_bm1, cumulative_nav, ret_1day, ret_1day_bm1,
...@@ -415,7 +415,7 @@ ...@@ -415,7 +415,7 @@
</insert> </insert>
<insert id="insertSelective" parameterType="com.tanpu.fund.entity.generator.FundCount"> <insert id="insertSelective" parameterType="com.tanpu.fund.entity.generator.FundCount">
<!--@mbg.generated--> <!--@mbg.generated-->
insert into tamp_fund.fund_count insert into fund_count
<trim prefix="(" suffix=")" suffixOverrides=","> <trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null"> <if test="id != null">
id, id,
...@@ -1335,14 +1335,14 @@ ...@@ -1335,14 +1335,14 @@
</insert> </insert>
<select id="countByExample" parameterType="com.tanpu.fund.entity.generator.FundCountExample" resultType="java.lang.Long"> <select id="countByExample" parameterType="com.tanpu.fund.entity.generator.FundCountExample" resultType="java.lang.Long">
<!--@mbg.generated--> <!--@mbg.generated-->
select count(*) from tamp_fund.fund_count select count(*) from fund_count
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
</select> </select>
<update id="updateByExampleSelective" parameterType="map"> <update id="updateByExampleSelective" parameterType="map">
<!--@mbg.generated--> <!--@mbg.generated-->
update tamp_fund.fund_count update fund_count
<set> <set>
<if test="record.id != null"> <if test="record.id != null">
id = #{record.id,jdbcType=VARCHAR}, id = #{record.id,jdbcType=VARCHAR},
...@@ -1807,7 +1807,7 @@ ...@@ -1807,7 +1807,7 @@
</update> </update>
<update id="updateByExampleWithBLOBs" parameterType="map"> <update id="updateByExampleWithBLOBs" parameterType="map">
<!--@mbg.generated--> <!--@mbg.generated-->
update tamp_fund.fund_count update fund_count
set id = #{record.id,jdbcType=VARCHAR}, set id = #{record.id,jdbcType=VARCHAR},
fund_id = #{record.fundId,jdbcType=VARCHAR}, fund_id = #{record.fundId,jdbcType=VARCHAR},
strategy = #{record.strategy,jdbcType=INTEGER}, strategy = #{record.strategy,jdbcType=INTEGER},
...@@ -1966,7 +1966,7 @@ ...@@ -1966,7 +1966,7 @@
</update> </update>
<update id="updateByExample" parameterType="map"> <update id="updateByExample" parameterType="map">
<!--@mbg.generated--> <!--@mbg.generated-->
update tamp_fund.fund_count update fund_count
set id = #{record.id,jdbcType=VARCHAR}, set id = #{record.id,jdbcType=VARCHAR},
fund_id = #{record.fundId,jdbcType=VARCHAR}, fund_id = #{record.fundId,jdbcType=VARCHAR},
strategy = #{record.strategy,jdbcType=INTEGER}, strategy = #{record.strategy,jdbcType=INTEGER},
...@@ -2122,7 +2122,7 @@ ...@@ -2122,7 +2122,7 @@
</update> </update>
<update id="updateByPrimaryKeySelective" parameterType="com.tanpu.fund.entity.generator.FundCount"> <update id="updateByPrimaryKeySelective" parameterType="com.tanpu.fund.entity.generator.FundCount">
<!--@mbg.generated--> <!--@mbg.generated-->
update tamp_fund.fund_count update fund_count
<set> <set>
<if test="fundId != null"> <if test="fundId != null">
fund_id = #{fundId,jdbcType=VARCHAR}, fund_id = #{fundId,jdbcType=VARCHAR},
...@@ -2582,7 +2582,7 @@ ...@@ -2582,7 +2582,7 @@
</update> </update>
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.tanpu.fund.entity.generator.FundCount"> <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.tanpu.fund.entity.generator.FundCount">
<!--@mbg.generated--> <!--@mbg.generated-->
update tamp_fund.fund_count update fund_count
set fund_id = #{fundId,jdbcType=VARCHAR}, set fund_id = #{fundId,jdbcType=VARCHAR},
strategy = #{strategy,jdbcType=INTEGER}, strategy = #{strategy,jdbcType=INTEGER},
substrategy = #{substrategy,jdbcType=INTEGER}, substrategy = #{substrategy,jdbcType=INTEGER},
...@@ -2738,7 +2738,7 @@ ...@@ -2738,7 +2738,7 @@
</update> </update>
<update id="updateByPrimaryKey" parameterType="com.tanpu.fund.entity.generator.FundCount"> <update id="updateByPrimaryKey" parameterType="com.tanpu.fund.entity.generator.FundCount">
<!--@mbg.generated--> <!--@mbg.generated-->
update tamp_fund.fund_count update fund_count
set fund_id = #{fundId,jdbcType=VARCHAR}, set fund_id = #{fundId,jdbcType=VARCHAR},
strategy = #{strategy,jdbcType=INTEGER}, strategy = #{strategy,jdbcType=INTEGER},
substrategy = #{substrategy,jdbcType=INTEGER}, substrategy = #{substrategy,jdbcType=INTEGER},
...@@ -2891,7 +2891,7 @@ ...@@ -2891,7 +2891,7 @@
</update> </update>
<update id="updateBatch" parameterType="java.util.List"> <update id="updateBatch" parameterType="java.util.List">
<!--@mbg.generated--> <!--@mbg.generated-->
update tamp_fund.fund_count update fund_count
<trim prefix="set" suffixOverrides=","> <trim prefix="set" suffixOverrides=",">
<trim prefix="fund_id = case" suffix="end,"> <trim prefix="fund_id = case" suffix="end,">
<foreach collection="list" index="index" item="item"> <foreach collection="list" index="index" item="item">
...@@ -3656,7 +3656,7 @@ ...@@ -3656,7 +3656,7 @@
</update> </update>
<update id="updateBatchSelective" parameterType="java.util.List"> <update id="updateBatchSelective" parameterType="java.util.List">
<!--@mbg.generated--> <!--@mbg.generated-->
update tamp_fund.fund_count update fund_count
<trim prefix="set" suffixOverrides=","> <trim prefix="set" suffixOverrides=",">
<trim prefix="fund_id = case" suffix="end,"> <trim prefix="fund_id = case" suffix="end,">
<foreach collection="list" index="index" item="item"> <foreach collection="list" index="index" item="item">
...@@ -4723,7 +4723,7 @@ ...@@ -4723,7 +4723,7 @@
</update> </update>
<insert id="batchInsert" parameterType="map"> <insert id="batchInsert" parameterType="map">
<!--@mbg.generated--> <!--@mbg.generated-->
insert into tamp_fund.fund_count insert into fund_count
(id, fund_id, strategy, substrategy, inception_date, `type`, end_date, price_date, (id, fund_id, strategy, substrategy, inception_date, `type`, end_date, price_date,
net_nav, cumulative_nav, ret_1day, ret_1day_bm1, ret_1w, ret_1w_bm1, ret_1m, ret_1m_bm1, net_nav, cumulative_nav, ret_1day, ret_1day_bm1, ret_1w, ret_1w_bm1, ret_1m, ret_1m_bm1,
ret_3m, ret_3m_bm1, ret_6m, ret_6m_bm1, ret_1y, ret_1y_bm1, ret_2y, ret_2y_bm1, ret_3m, ret_3m_bm1, ret_6m, ret_6m_bm1, ret_1y, ret_1y_bm1, ret_2y, ret_2y_bm1,
...@@ -4816,7 +4816,7 @@ ...@@ -4816,7 +4816,7 @@
</insert> </insert>
<insert id="insertOrUpdate" parameterType="com.tanpu.fund.entity.generator.FundCount"> <insert id="insertOrUpdate" parameterType="com.tanpu.fund.entity.generator.FundCount">
<!--@mbg.generated--> <!--@mbg.generated-->
insert into tamp_fund.fund_count insert into fund_count
(id, fund_id, strategy, substrategy, inception_date, `type`, end_date, price_date, (id, fund_id, strategy, substrategy, inception_date, `type`, end_date, price_date,
net_nav, cumulative_nav, ret_1day, ret_1day_bm1, ret_1w, ret_1w_bm1, ret_1m, ret_1m_bm1, net_nav, cumulative_nav, ret_1day, ret_1day_bm1, ret_1w, ret_1w_bm1, ret_1m, ret_1m_bm1,
ret_3m, ret_3m_bm1, ret_6m, ret_6m_bm1, ret_1y, ret_1y_bm1, ret_2y, ret_2y_bm1, ret_3m, ret_3m_bm1, ret_6m, ret_6m_bm1, ret_1y, ret_1y_bm1, ret_2y, ret_2y_bm1,
...@@ -5047,7 +5047,7 @@ ...@@ -5047,7 +5047,7 @@
</insert> </insert>
<insert id="insertOrUpdateWithBLOBs" parameterType="com.tanpu.fund.entity.generator.FundCount"> <insert id="insertOrUpdateWithBLOBs" parameterType="com.tanpu.fund.entity.generator.FundCount">
<!--@mbg.generated--> <!--@mbg.generated-->
insert into tamp_fund.fund_count insert into fund_count
(id, fund_id, strategy, substrategy, inception_date, `type`, end_date, price_date, (id, fund_id, strategy, substrategy, inception_date, `type`, end_date, price_date,
net_nav, cumulative_nav, ret_1day, ret_1day_bm1, ret_1w, ret_1w_bm1, ret_1m, ret_1m_bm1, net_nav, cumulative_nav, ret_1day, ret_1day_bm1, ret_1w, ret_1w_bm1, ret_1m, ret_1m_bm1,
ret_3m, ret_3m_bm1, ret_6m, ret_6m_bm1, ret_1y, ret_1y_bm1, ret_2y, ret_2y_bm1, ret_3m, ret_3m_bm1, ret_6m, ret_6m_bm1, ret_1y, ret_1y_bm1, ret_2y, ret_2y_bm1,
...@@ -5283,7 +5283,7 @@ ...@@ -5283,7 +5283,7 @@
</insert> </insert>
<insert id="insertOrUpdateSelective" parameterType="com.tanpu.fund.entity.generator.FundCount"> <insert id="insertOrUpdateSelective" parameterType="com.tanpu.fund.entity.generator.FundCount">
<!--@mbg.generated--> <!--@mbg.generated-->
insert into tamp_fund.fund_count insert into fund_count
<trim prefix="(" suffix=")" suffixOverrides=","> <trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null"> <if test="id != null">
id, id,
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<mapper namespace="com.tanpu.fund.mapper.generator.FundInfoMapper"> <mapper namespace="com.tanpu.fund.mapper.generator.FundInfoMapper">
<resultMap id="BaseResultMap" type="com.tanpu.fund.entity.generator.FundInfo"> <resultMap id="BaseResultMap" type="com.tanpu.fund.entity.generator.FundInfo">
<!--@mbg.generated--> <!--@mbg.generated-->
<!--@Table tamp_fund.fund_info--> <!--@Table fund_info-->
<id column="id" jdbcType="VARCHAR" property="id" /> <id column="id" jdbcType="VARCHAR" property="id" />
<result column="p_fund_id" jdbcType="VARCHAR" property="pFundId" /> <result column="p_fund_id" jdbcType="VARCHAR" property="pFundId" />
<result column="fund_name" jdbcType="VARCHAR" property="fundName" /> <result column="fund_name" jdbcType="VARCHAR" property="fundName" />
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
</resultMap> </resultMap>
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.tanpu.fund.entity.generator.FundInfo"> <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.tanpu.fund.entity.generator.FundInfo">
<!--@mbg.generated--> <!--@mbg.generated-->
<!--@Table tamp_fund.fund_info--> <!--@Table fund_info-->
<result column="fund_characteristic" jdbcType="LONGVARCHAR" property="fundCharacteristic" /> <result column="fund_characteristic" jdbcType="LONGVARCHAR" property="fundCharacteristic" />
<result column="investment_scope" jdbcType="LONGVARCHAR" property="investmentScope" /> <result column="investment_scope" jdbcType="LONGVARCHAR" property="investmentScope" />
<result column="investment_restriction" jdbcType="LONGVARCHAR" property="investmentRestriction" /> <result column="investment_restriction" jdbcType="LONGVARCHAR" property="investmentRestriction" />
...@@ -154,7 +154,7 @@ ...@@ -154,7 +154,7 @@
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
, ,
<include refid="Blob_Column_List" /> <include refid="Blob_Column_List" />
from tamp_fund.fund_info from fund_info
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
...@@ -169,7 +169,7 @@ ...@@ -169,7 +169,7 @@
distinct distinct
</if> </if>
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
from tamp_fund.fund_info from fund_info
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
...@@ -183,24 +183,24 @@ ...@@ -183,24 +183,24 @@
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
, ,
<include refid="Blob_Column_List" /> <include refid="Blob_Column_List" />
from tamp_fund.fund_info from fund_info
where id = #{id,jdbcType=VARCHAR} where id = #{id,jdbcType=VARCHAR}
</select> </select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.String"> <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
<!--@mbg.generated--> <!--@mbg.generated-->
delete from tamp_fund.fund_info delete from fund_info
where id = #{id,jdbcType=VARCHAR} where id = #{id,jdbcType=VARCHAR}
</delete> </delete>
<delete id="deleteByExample" parameterType="com.tanpu.fund.entity.generator.FundInfoExample"> <delete id="deleteByExample" parameterType="com.tanpu.fund.entity.generator.FundInfoExample">
<!--@mbg.generated--> <!--@mbg.generated-->
delete from tamp_fund.fund_info delete from fund_info
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
</delete> </delete>
<insert id="insert" parameterType="com.tanpu.fund.entity.generator.FundInfo"> <insert id="insert" parameterType="com.tanpu.fund.entity.generator.FundInfo">
<!--@mbg.generated--> <!--@mbg.generated-->
insert into tamp_fund.fund_info (id, p_fund_id, fund_name, insert into fund_info (id, p_fund_id, fund_name,
fund_short_name, fund_structure, fund_type, fund_short_name, fund_structure, fund_type,
`type`, raise_type, base_currency, `type`, raise_type, base_currency,
inception_date, domicile, primary_benchmark_id, inception_date, domicile, primary_benchmark_id,
...@@ -247,7 +247,7 @@ ...@@ -247,7 +247,7 @@
</insert> </insert>
<insert id="insertSelective" parameterType="com.tanpu.fund.entity.generator.FundInfo"> <insert id="insertSelective" parameterType="com.tanpu.fund.entity.generator.FundInfo">
<!--@mbg.generated--> <!--@mbg.generated-->
insert into tamp_fund.fund_info insert into fund_info
<trim prefix="(" suffix=")" suffixOverrides=","> <trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null"> <if test="id != null">
id, id,
...@@ -615,14 +615,14 @@ ...@@ -615,14 +615,14 @@
</insert> </insert>
<select id="countByExample" parameterType="com.tanpu.fund.entity.generator.FundInfoExample" resultType="java.lang.Long"> <select id="countByExample" parameterType="com.tanpu.fund.entity.generator.FundInfoExample" resultType="java.lang.Long">
<!--@mbg.generated--> <!--@mbg.generated-->
select count(*) from tamp_fund.fund_info select count(*) from fund_info
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
</select> </select>
<update id="updateByExampleSelective" parameterType="map"> <update id="updateByExampleSelective" parameterType="map">
<!--@mbg.generated--> <!--@mbg.generated-->
update tamp_fund.fund_info update fund_info
<set> <set>
<if test="record.id != null"> <if test="record.id != null">
id = #{record.id,jdbcType=VARCHAR}, id = #{record.id,jdbcType=VARCHAR},
...@@ -811,7 +811,7 @@ ...@@ -811,7 +811,7 @@
</update> </update>
<update id="updateByExampleWithBLOBs" parameterType="map"> <update id="updateByExampleWithBLOBs" parameterType="map">
<!--@mbg.generated--> <!--@mbg.generated-->
update tamp_fund.fund_info update fund_info
set id = #{record.id,jdbcType=VARCHAR}, set id = #{record.id,jdbcType=VARCHAR},
p_fund_id = #{record.pFundId,jdbcType=VARCHAR}, p_fund_id = #{record.pFundId,jdbcType=VARCHAR},
fund_name = #{record.fundName,jdbcType=VARCHAR}, fund_name = #{record.fundName,jdbcType=VARCHAR},
...@@ -878,7 +878,7 @@ ...@@ -878,7 +878,7 @@
</update> </update>
<update id="updateByExample" parameterType="map"> <update id="updateByExample" parameterType="map">
<!--@mbg.generated--> <!--@mbg.generated-->
update tamp_fund.fund_info update fund_info
set id = #{record.id,jdbcType=VARCHAR}, set id = #{record.id,jdbcType=VARCHAR},
p_fund_id = #{record.pFundId,jdbcType=VARCHAR}, p_fund_id = #{record.pFundId,jdbcType=VARCHAR},
fund_name = #{record.fundName,jdbcType=VARCHAR}, fund_name = #{record.fundName,jdbcType=VARCHAR},
...@@ -936,7 +936,7 @@ ...@@ -936,7 +936,7 @@
</update> </update>
<update id="updateByPrimaryKeySelective" parameterType="com.tanpu.fund.entity.generator.FundInfo"> <update id="updateByPrimaryKeySelective" parameterType="com.tanpu.fund.entity.generator.FundInfo">
<!--@mbg.generated--> <!--@mbg.generated-->
update tamp_fund.fund_info update fund_info
<set> <set>
<if test="pFundId != null"> <if test="pFundId != null">
p_fund_id = #{pFundId,jdbcType=VARCHAR}, p_fund_id = #{pFundId,jdbcType=VARCHAR},
...@@ -1120,7 +1120,7 @@ ...@@ -1120,7 +1120,7 @@
</update> </update>
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.tanpu.fund.entity.generator.FundInfo"> <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.tanpu.fund.entity.generator.FundInfo">
<!--@mbg.generated--> <!--@mbg.generated-->
update tamp_fund.fund_info update fund_info
set p_fund_id = #{pFundId,jdbcType=VARCHAR}, set p_fund_id = #{pFundId,jdbcType=VARCHAR},
fund_name = #{fundName,jdbcType=VARCHAR}, fund_name = #{fundName,jdbcType=VARCHAR},
fund_short_name = #{fundShortName,jdbcType=VARCHAR}, fund_short_name = #{fundShortName,jdbcType=VARCHAR},
...@@ -1184,7 +1184,7 @@ ...@@ -1184,7 +1184,7 @@
</update> </update>
<update id="updateByPrimaryKey" parameterType="com.tanpu.fund.entity.generator.FundInfo"> <update id="updateByPrimaryKey" parameterType="com.tanpu.fund.entity.generator.FundInfo">
<!--@mbg.generated--> <!--@mbg.generated-->
update tamp_fund.fund_info update fund_info
set p_fund_id = #{pFundId,jdbcType=VARCHAR}, set p_fund_id = #{pFundId,jdbcType=VARCHAR},
fund_name = #{fundName,jdbcType=VARCHAR}, fund_name = #{fundName,jdbcType=VARCHAR},
fund_short_name = #{fundShortName,jdbcType=VARCHAR}, fund_short_name = #{fundShortName,jdbcType=VARCHAR},
...@@ -1239,7 +1239,7 @@ ...@@ -1239,7 +1239,7 @@
</update> </update>
<update id="updateBatch" parameterType="java.util.List"> <update id="updateBatch" parameterType="java.util.List">
<!--@mbg.generated--> <!--@mbg.generated-->
update tamp_fund.fund_info update fund_info
<trim prefix="set" suffixOverrides=","> <trim prefix="set" suffixOverrides=",">
<trim prefix="p_fund_id = case" suffix="end,"> <trim prefix="p_fund_id = case" suffix="end,">
<foreach collection="list" index="index" item="item"> <foreach collection="list" index="index" item="item">
...@@ -1544,7 +1544,7 @@ ...@@ -1544,7 +1544,7 @@
</update> </update>
<update id="updateBatchSelective" parameterType="java.util.List"> <update id="updateBatchSelective" parameterType="java.util.List">
<!--@mbg.generated--> <!--@mbg.generated-->
update tamp_fund.fund_info update fund_info
<trim prefix="set" suffixOverrides=","> <trim prefix="set" suffixOverrides=",">
<trim prefix="p_fund_id = case" suffix="end,"> <trim prefix="p_fund_id = case" suffix="end,">
<foreach collection="list" index="index" item="item"> <foreach collection="list" index="index" item="item">
...@@ -1967,7 +1967,7 @@ ...@@ -1967,7 +1967,7 @@
</update> </update>
<insert id="batchInsert" parameterType="map"> <insert id="batchInsert" parameterType="map">
<!--@mbg.generated--> <!--@mbg.generated-->
insert into tamp_fund.fund_info insert into fund_info
(id, p_fund_id, fund_name, fund_short_name, fund_structure, fund_type, `type`, raise_type, (id, p_fund_id, fund_name, fund_short_name, fund_structure, fund_type, `type`, raise_type,
base_currency, inception_date, domicile, primary_benchmark_id, lockup_period, open_day, 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, duration, advisor_id, custodian_id, broker_id, broker_future_id, liquidation_agency_id,
...@@ -2008,7 +2008,7 @@ ...@@ -2008,7 +2008,7 @@
</insert> </insert>
<insert id="insertOrUpdate" parameterType="com.tanpu.fund.entity.generator.FundInfo"> <insert id="insertOrUpdate" parameterType="com.tanpu.fund.entity.generator.FundInfo">
<!--@mbg.generated--> <!--@mbg.generated-->
insert into tamp_fund.fund_info insert into fund_info
(id, p_fund_id, fund_name, fund_short_name, fund_structure, fund_type, `type`, raise_type, (id, p_fund_id, fund_name, fund_short_name, fund_structure, fund_type, `type`, raise_type,
base_currency, inception_date, domicile, primary_benchmark_id, lockup_period, open_day, 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, duration, advisor_id, custodian_id, broker_id, broker_future_id, liquidation_agency_id,
...@@ -2091,7 +2091,7 @@ ...@@ -2091,7 +2091,7 @@
</insert> </insert>
<insert id="insertOrUpdateWithBLOBs" parameterType="com.tanpu.fund.entity.generator.FundInfo"> <insert id="insertOrUpdateWithBLOBs" parameterType="com.tanpu.fund.entity.generator.FundInfo">
<!--@mbg.generated--> <!--@mbg.generated-->
insert into tamp_fund.fund_info insert into fund_info
(id, p_fund_id, fund_name, fund_short_name, fund_structure, fund_type, `type`, raise_type, (id, p_fund_id, fund_name, fund_short_name, fund_structure, fund_type, `type`, raise_type,
base_currency, inception_date, domicile, primary_benchmark_id, lockup_period, open_day, 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, duration, advisor_id, custodian_id, broker_id, broker_future_id, liquidation_agency_id,
...@@ -2189,7 +2189,7 @@ ...@@ -2189,7 +2189,7 @@
</insert> </insert>
<insert id="insertOrUpdateSelective" parameterType="com.tanpu.fund.entity.generator.FundInfo"> <insert id="insertOrUpdateSelective" parameterType="com.tanpu.fund.entity.generator.FundInfo">
<!--@mbg.generated--> <!--@mbg.generated-->
insert into tamp_fund.fund_info insert into fund_info
<trim prefix="(" suffix=")" suffixOverrides=","> <trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null"> <if test="id != null">
id, id,
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<mapper namespace="com.tanpu.fund.mapper.generator.TxFundDistributionMapper"> <mapper namespace="com.tanpu.fund.mapper.generator.TxFundDistributionMapper">
<resultMap id="BaseResultMap" type="com.tanpu.fund.entity.generator.TxFundDistribution"> <resultMap id="BaseResultMap" type="com.tanpu.fund.entity.generator.TxFundDistribution">
<!--@mbg.generated--> <!--@mbg.generated-->
<!--@Table tamp_fund.tx_fund_distribution--> <!--@Table tx_fund_distribution-->
<result column="id" jdbcType="BIGINT" property="id" /> <result column="id" jdbcType="BIGINT" property="id" />
<result column="fund_id" jdbcType="BIGINT" property="fundId" /> <result column="fund_id" jdbcType="BIGINT" property="fundId" />
<result column="fund_code" jdbcType="VARCHAR" property="fundCode" /> <result column="fund_code" jdbcType="VARCHAR" property="fundCode" />
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
</resultMap> </resultMap>
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.tanpu.fund.entity.generator.TxFundDistribution"> <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.tanpu.fund.entity.generator.TxFundDistribution">
<!--@mbg.generated--> <!--@mbg.generated-->
<!--@Table tamp_fund.tx_fund_distribution--> <!--@Table tx_fund_distribution-->
<result column="distribute_type" jdbcType="VARBINARY" property="distributeType" /> <result column="distribute_type" jdbcType="VARBINARY" property="distributeType" />
<result column="create_by" jdbcType="VARBINARY" property="createBy" /> <result column="create_by" jdbcType="VARBINARY" property="createBy" />
<result column="create_time" jdbcType="VARBINARY" property="createTime" /> <result column="create_time" jdbcType="VARBINARY" property="createTime" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment