Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
T
tamp_fund
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
周鹏
tamp_fund
Commits
cc94695e
Commit
cc94695e
authored
Dec 13, 2023
by
王亚雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
生成的sql语句中去掉库名
parent
a91f0c9c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
955 additions
and
955 deletions
+955
-955
FundCountMapper.xml
src/main/resources/mybatis/generator/FundCountMapper.xml
+681
-681
FundInfoMapper.xml
src/main/resources/mybatis/generator/FundInfoMapper.xml
+270
-270
TxFundDistributionMapper.xml
.../resources/mybatis/generator/TxFundDistributionMapper.xml
+4
-4
No files found.
src/main/resources/mybatis/generator/FundCountMapper.xml
View file @
cc94695e
...
...
@@ -3,7 +3,7 @@
<mapper
namespace=
"com.tanpu.fund.mapper.generator.FundCountMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.tanpu.fund.entity.generator.FundCount"
>
<!--@mbg.generated-->
<!--@Table
tamp_fund.
fund_count-->
<!--@Table fund_count-->
<id
column=
"id"
jdbcType=
"VARCHAR"
property=
"id"
/>
<result
column=
"fund_id"
jdbcType=
"VARCHAR"
property=
"fundId"
/>
<result
column=
"strategy"
jdbcType=
"INTEGER"
property=
"strategy"
/>
...
...
@@ -156,7 +156,7 @@
</resultMap>
<resultMap
extends=
"BaseResultMap"
id=
"ResultMapWithBLOBs"
type=
"com.tanpu.fund.entity.generator.FundCount"
>
<!--@mbg.generated-->
<!--@Table
tamp_fund.
fund_count-->
<!--@Table fund_count-->
<result
column=
"annual_ret"
jdbcType=
"LONGVARCHAR"
property=
"annualRet"
/>
<result
column=
"monthly_ret"
jdbcType=
"LONGVARCHAR"
property=
"monthlyRet"
/>
<result
column=
"annual_maxdrawdown"
jdbcType=
"LONGVARCHAR"
property=
"annualMaxdrawdown"
/>
...
...
@@ -260,7 +260,7 @@
<include
refid=
"Base_Column_List"
/>
,
<include
refid=
"Blob_Column_List"
/>
from
tamp_fund.
fund_count
from fund_count
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
...
...
@@ -275,7 +275,7 @@
distinct
</if>
<include
refid=
"Base_Column_List"
/>
from
tamp_fund.
fund_count
from fund_count
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
...
...
@@ -289,24 +289,24 @@
<include
refid=
"Base_Column_List"
/>
,
<include
refid=
"Blob_Column_List"
/>
from
tamp_fund.
fund_count
from fund_count
where id = #{id,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.String"
>
<!--@mbg.generated-->
delete from
tamp_fund.
fund_count
delete from fund_count
where id = #{id,jdbcType=VARCHAR}
</delete>
<delete
id=
"deleteByExample"
parameterType=
"com.tanpu.fund.entity.generator.FundCountExample"
>
<!--@mbg.generated-->
delete from
tamp_fund.
fund_count
delete from fund_count
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</delete>
<insert
id=
"insert"
parameterType=
"com.tanpu.fund.entity.generator.FundCount"
>
<!--@mbg.generated-->
insert into
tamp_fund.fund_count (id, fund_id, strategy,
insert into
fund_count (id, fund_id, strategy,
substrategy, inception_date, `type`,
end_date, price_date, net_nav,
cumulative_nav, ret_1day, ret_1day_bm1,
...
...
@@ -415,7 +415,7 @@
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.tanpu.fund.entity.generator.FundCount"
>
<!--@mbg.generated-->
insert into
tamp_fund.
fund_count
insert into fund_count
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
id,
...
...
@@ -1335,14 +1335,14 @@
</insert>
<select
id=
"countByExample"
parameterType=
"com.tanpu.fund.entity.generator.FundCountExample"
resultType=
"java.lang.Long"
>
<!--@mbg.generated-->
select count(*) from
tamp_fund.
fund_count
select count(*) from fund_count
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</select>
<update
id=
"updateByExampleSelective"
parameterType=
"map"
>
<!--@mbg.generated-->
update
tamp_fund.
fund_count
update fund_count
<set>
<if
test=
"record.id != null"
>
id = #{record.id,jdbcType=VARCHAR},
...
...
@@ -1807,7 +1807,7 @@
</update>
<update
id=
"updateByExampleWithBLOBs"
parameterType=
"map"
>
<!--@mbg.generated-->
update
tamp_fund.
fund_count
update fund_count
set id = #{record.id,jdbcType=VARCHAR},
fund_id = #{record.fundId,jdbcType=VARCHAR},
strategy = #{record.strategy,jdbcType=INTEGER},
...
...
@@ -1966,7 +1966,7 @@
</update>
<update
id=
"updateByExample"
parameterType=
"map"
>
<!--@mbg.generated-->
update
tamp_fund.
fund_count
update fund_count
set id = #{record.id,jdbcType=VARCHAR},
fund_id = #{record.fundId,jdbcType=VARCHAR},
strategy = #{record.strategy,jdbcType=INTEGER},
...
...
@@ -2122,7 +2122,7 @@
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"com.tanpu.fund.entity.generator.FundCount"
>
<!--@mbg.generated-->
update
tamp_fund.
fund_count
update fund_count
<set>
<if
test=
"fundId != null"
>
fund_id = #{fundId,jdbcType=VARCHAR},
...
...
@@ -2582,7 +2582,7 @@
</update>
<update
id=
"updateByPrimaryKeyWithBLOBs"
parameterType=
"com.tanpu.fund.entity.generator.FundCount"
>
<!--@mbg.generated-->
update
tamp_fund.
fund_count
update fund_count
set fund_id = #{fundId,jdbcType=VARCHAR},
strategy = #{strategy,jdbcType=INTEGER},
substrategy = #{substrategy,jdbcType=INTEGER},
...
...
@@ -2738,7 +2738,7 @@
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.tanpu.fund.entity.generator.FundCount"
>
<!--@mbg.generated-->
update
tamp_fund.
fund_count
update fund_count
set fund_id = #{fundId,jdbcType=VARCHAR},
strategy = #{strategy,jdbcType=INTEGER},
substrategy = #{substrategy,jdbcType=INTEGER},
...
...
@@ -2891,7 +2891,7 @@
</update>
<update
id=
"updateBatch"
parameterType=
"java.util.List"
>
<!--@mbg.generated-->
update
tamp_fund.
fund_count
update fund_count
<trim
prefix=
"set"
suffixOverrides=
","
>
<trim
prefix=
"fund_id = case"
suffix=
"end,"
>
<foreach
collection=
"list"
index=
"index"
item=
"item"
>
...
...
@@ -3656,7 +3656,7 @@
</update>
<update
id=
"updateBatchSelective"
parameterType=
"java.util.List"
>
<!--@mbg.generated-->
update
tamp_fund.
fund_count
update fund_count
<trim
prefix=
"set"
suffixOverrides=
","
>
<trim
prefix=
"fund_id = case"
suffix=
"end,"
>
<foreach
collection=
"list"
index=
"index"
item=
"item"
>
...
...
@@ -4723,7 +4723,7 @@
</update>
<insert
id=
"batchInsert"
parameterType=
"map"
>
<!--@mbg.generated-->
insert into
tamp_fund.
fund_count
insert into fund_count
(id, fund_id, strategy, substrategy, inception_date, `type`, end_date, price_date,
net_nav, cumulative_nav, ret_1day, ret_1day_bm1, ret_1w, ret_1w_bm1, ret_1m, ret_1m_bm1,
ret_3m, ret_3m_bm1, ret_6m, ret_6m_bm1, ret_1y, ret_1y_bm1, ret_2y, ret_2y_bm1,
...
...
@@ -4816,7 +4816,7 @@
</insert>
<insert
id=
"insertOrUpdate"
parameterType=
"com.tanpu.fund.entity.generator.FundCount"
>
<!--@mbg.generated-->
insert into
tamp_fund.
fund_count
insert into fund_count
(id, fund_id, strategy, substrategy, inception_date, `type`, end_date, price_date,
net_nav, cumulative_nav, ret_1day, ret_1day_bm1, ret_1w, ret_1w_bm1, ret_1m, ret_1m_bm1,
ret_3m, ret_3m_bm1, ret_6m, ret_6m_bm1, ret_1y, ret_1y_bm1, ret_2y, ret_2y_bm1,
...
...
@@ -5047,7 +5047,7 @@
</insert>
<insert
id=
"insertOrUpdateWithBLOBs"
parameterType=
"com.tanpu.fund.entity.generator.FundCount"
>
<!--@mbg.generated-->
insert into
tamp_fund.
fund_count
insert into fund_count
(id, fund_id, strategy, substrategy, inception_date, `type`, end_date, price_date,
net_nav, cumulative_nav, ret_1day, ret_1day_bm1, ret_1w, ret_1w_bm1, ret_1m, ret_1m_bm1,
ret_3m, ret_3m_bm1, ret_6m, ret_6m_bm1, ret_1y, ret_1y_bm1, ret_2y, ret_2y_bm1,
...
...
@@ -5283,7 +5283,7 @@
</insert>
<insert
id=
"insertOrUpdateSelective"
parameterType=
"com.tanpu.fund.entity.generator.FundCount"
>
<!--@mbg.generated-->
insert into
tamp_fund.
fund_count
insert into fund_count
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
id,
...
...
src/main/resources/mybatis/generator/FundInfoMapper.xml
View file @
cc94695e
...
...
@@ -3,7 +3,7 @@
<mapper
namespace=
"com.tanpu.fund.mapper.generator.FundInfoMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.tanpu.fund.entity.generator.FundInfo"
>
<!--@mbg.generated-->
<!--@Table
tamp_fund.
fund_info-->
<!--@Table 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"
/>
...
...
@@ -58,7 +58,7 @@
</resultMap>
<resultMap
extends=
"BaseResultMap"
id=
"ResultMapWithBLOBs"
type=
"com.tanpu.fund.entity.generator.FundInfo"
>
<!--@mbg.generated-->
<!--@Table
tamp_fund.
fund_info-->
<!--@Table 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"
/>
...
...
@@ -154,7 +154,7 @@
<include
refid=
"Base_Column_List"
/>
,
<include
refid=
"Blob_Column_List"
/>
from
tamp_fund.
fund_info
from fund_info
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
...
...
@@ -169,7 +169,7 @@
distinct
</if>
<include
refid=
"Base_Column_List"
/>
from
tamp_fund.
fund_info
from fund_info
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
...
...
@@ -183,24 +183,24 @@
<include
refid=
"Base_Column_List"
/>
,
<include
refid=
"Blob_Column_List"
/>
from
tamp_fund.
fund_info
from fund_info
where id = #{id,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.String"
>
<!--@mbg.generated-->
delete from
tamp_fund.
fund_info
delete from fund_info
where id = #{id,jdbcType=VARCHAR}
</delete>
<delete
id=
"deleteByExample"
parameterType=
"com.tanpu.fund.entity.generator.FundInfoExample"
>
<!--@mbg.generated-->
delete from
tamp_fund.
fund_info
delete from fund_info
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</delete>
<insert
id=
"insert"
parameterType=
"com.tanpu.fund.entity.generator.FundInfo"
>
<!--@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,
`type`, raise_type, base_currency,
inception_date, domicile, primary_benchmark_id,
...
...
@@ -247,7 +247,7 @@
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.tanpu.fund.entity.generator.FundInfo"
>
<!--@mbg.generated-->
insert into
tamp_fund.
fund_info
insert into fund_info
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
id,
...
...
@@ -615,14 +615,14 @@
</insert>
<select
id=
"countByExample"
parameterType=
"com.tanpu.fund.entity.generator.FundInfoExample"
resultType=
"java.lang.Long"
>
<!--@mbg.generated-->
select count(*) from
tamp_fund.
fund_info
select count(*) from fund_info
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</select>
<update
id=
"updateByExampleSelective"
parameterType=
"map"
>
<!--@mbg.generated-->
update
tamp_fund.
fund_info
update fund_info
<set>
<if
test=
"record.id != null"
>
id = #{record.id,jdbcType=VARCHAR},
...
...
@@ -811,7 +811,7 @@
</update>
<update
id=
"updateByExampleWithBLOBs"
parameterType=
"map"
>
<!--@mbg.generated-->
update
tamp_fund.
fund_info
update fund_info
set id = #{record.id,jdbcType=VARCHAR},
p_fund_id = #{record.pFundId,jdbcType=VARCHAR},
fund_name = #{record.fundName,jdbcType=VARCHAR},
...
...
@@ -878,7 +878,7 @@
</update>
<update
id=
"updateByExample"
parameterType=
"map"
>
<!--@mbg.generated-->
update
tamp_fund.
fund_info
update fund_info
set id = #{record.id,jdbcType=VARCHAR},
p_fund_id = #{record.pFundId,jdbcType=VARCHAR},
fund_name = #{record.fundName,jdbcType=VARCHAR},
...
...
@@ -936,7 +936,7 @@
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"com.tanpu.fund.entity.generator.FundInfo"
>
<!--@mbg.generated-->
update
tamp_fund.
fund_info
update fund_info
<set>
<if
test=
"pFundId != null"
>
p_fund_id = #{pFundId,jdbcType=VARCHAR},
...
...
@@ -1120,7 +1120,7 @@
</update>
<update
id=
"updateByPrimaryKeyWithBLOBs"
parameterType=
"com.tanpu.fund.entity.generator.FundInfo"
>
<!--@mbg.generated-->
update
tamp_fund.
fund_info
update fund_info
set p_fund_id = #{pFundId,jdbcType=VARCHAR},
fund_name = #{fundName,jdbcType=VARCHAR},
fund_short_name = #{fundShortName,jdbcType=VARCHAR},
...
...
@@ -1184,7 +1184,7 @@
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.tanpu.fund.entity.generator.FundInfo"
>
<!--@mbg.generated-->
update
tamp_fund.
fund_info
update fund_info
set p_fund_id = #{pFundId,jdbcType=VARCHAR},
fund_name = #{fundName,jdbcType=VARCHAR},
fund_short_name = #{fundShortName,jdbcType=VARCHAR},
...
...
@@ -1239,7 +1239,7 @@
</update>
<update
id=
"updateBatch"
parameterType=
"java.util.List"
>
<!--@mbg.generated-->
update
tamp_fund.
fund_info
update fund_info
<trim
prefix=
"set"
suffixOverrides=
","
>
<trim
prefix=
"p_fund_id = case"
suffix=
"end,"
>
<foreach
collection=
"list"
index=
"index"
item=
"item"
>
...
...
@@ -1544,7 +1544,7 @@
</update>
<update
id=
"updateBatchSelective"
parameterType=
"java.util.List"
>
<!--@mbg.generated-->
update
tamp_fund.
fund_info
update fund_info
<trim
prefix=
"set"
suffixOverrides=
","
>
<trim
prefix=
"p_fund_id = case"
suffix=
"end,"
>
<foreach
collection=
"list"
index=
"index"
item=
"item"
>
...
...
@@ -1967,7 +1967,7 @@
</update>
<insert
id=
"batchInsert"
parameterType=
"map"
>
<!--@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,
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,
...
...
@@ -2008,7 +2008,7 @@
</insert>
<insert
id=
"insertOrUpdate"
parameterType=
"com.tanpu.fund.entity.generator.FundInfo"
>
<!--@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,
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,
...
...
@@ -2091,7 +2091,7 @@
</insert>
<insert
id=
"insertOrUpdateWithBLOBs"
parameterType=
"com.tanpu.fund.entity.generator.FundInfo"
>
<!--@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,
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,
...
...
@@ -2189,7 +2189,7 @@
</insert>
<insert
id=
"insertOrUpdateSelective"
parameterType=
"com.tanpu.fund.entity.generator.FundInfo"
>
<!--@mbg.generated-->
insert into
tamp_fund.
fund_info
insert into fund_info
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
id,
...
...
src/main/resources/mybatis/generator/TxFundDistributionMapper.xml
View file @
cc94695e
...
...
@@ -3,7 +3,7 @@
<mapper
namespace=
"com.tanpu.fund.mapper.generator.TxFundDistributionMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.tanpu.fund.entity.generator.TxFundDistribution"
>
<!--@mbg.generated-->
<!--@Table t
amp_fund.t
x_fund_distribution-->
<!--@Table tx_fund_distribution-->
<result
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
<result
column=
"fund_id"
jdbcType=
"BIGINT"
property=
"fundId"
/>
<result
column=
"fund_code"
jdbcType=
"VARCHAR"
property=
"fundCode"
/>
...
...
@@ -19,7 +19,7 @@
</resultMap>
<resultMap
extends=
"BaseResultMap"
id=
"ResultMapWithBLOBs"
type=
"com.tanpu.fund.entity.generator.TxFundDistribution"
>
<!--@mbg.generated-->
<!--@Table t
amp_fund.t
x_fund_distribution-->
<!--@Table tx_fund_distribution-->
<result
column=
"distribute_type"
jdbcType=
"VARBINARY"
property=
"distributeType"
/>
<result
column=
"create_by"
jdbcType=
"VARBINARY"
property=
"createBy"
/>
<result
column=
"create_time"
jdbcType=
"VARBINARY"
property=
"createTime"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment