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
Hide 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
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/main/resources/mybatis/generator/FundInfoMapper.xml
View file @
cc94695e
...
@@ -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"
/>
...
@@ -131,18 +131,18 @@
...
@@ -131,18 +131,18 @@
</sql>
</sql>
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
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,
trust_id, investment_consultant_id, administrator_id, legal_counsel_id, auditor_id,
trust_id, investment_consultant_id, administrator_id, legal_counsel_id, auditor_id,
nav_frequency, performance_disclosure_mark, register_number, register_date, isvisible,
nav_frequency, performance_disclosure_mark, register_number, register_date, isvisible,
istiered, is_ranking, is_rating, special_tips, amac_url, nav_source_type, desc_info,
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,
strategy, substrategy, risk_level, create_by, create_time, update_by, update_time,
data_sources, `status`, delete_tag, sort, apply_day, redeem_day, has_nav
data_sources, `status`, delete_tag, sort, apply_day, redeem_day, has_nav
</sql>
</sql>
<sql
id=
"Blob_Column_List"
>
<sql
id=
"Blob_Column_List"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
fund_characteristic, investment_scope, investment_restriction, fund_investment_philosophy,
fund_characteristic, investment_scope, investment_restriction, fund_investment_philosophy,
fund_strategy_description, combine_target, fit_group, combine_comment, transfer_comment
fund_strategy_description, combine_target, fit_group, combine_comment, transfer_comment
</sql>
</sql>
<select
id=
"selectByExampleWithBLOBs"
parameterType=
"com.tanpu.fund.entity.generator.FundInfoExample"
resultMap=
"ResultMapWithBLOBs"
>
<select
id=
"selectByExampleWithBLOBs"
parameterType=
"com.tanpu.fund.entity.generator.FundInfoExample"
resultMap=
"ResultMapWithBLOBs"
>
...
@@ -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>
...
@@ -179,75 +179,75 @@
...
@@ -179,75 +179,75 @@
</select>
</select>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.String"
resultMap=
"ResultMapWithBLOBs"
>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.String"
resultMap=
"ResultMapWithBLOBs"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
select
select
<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,
lockup_period, open_day, duration,
lockup_period, open_day, duration,
advisor_id, custodian_id, broker_id,
advisor_id, custodian_id, broker_id,
broker_future_id, liquidation_agency_id, trust_id,
broker_future_id, liquidation_agency_id, trust_id,
investment_consultant_id, administrator_id,
investment_consultant_id, administrator_id,
legal_counsel_id, auditor_id, nav_frequency,
legal_counsel_id, auditor_id, nav_frequency,
performance_disclosure_mark, register_number,
performance_disclosure_mark, register_number,
register_date, isvisible, istiered,
register_date, isvisible, istiered,
is_ranking, is_rating, special_tips,
is_ranking, is_rating, special_tips,
amac_url, nav_source_type, desc_info,
amac_url, nav_source_type, desc_info,
strategy, substrategy, risk_level,
strategy, substrategy, risk_level,
create_by, create_time, update_by,
create_by, create_time, update_by,
update_time, data_sources, `status`,
update_time, data_sources, `status`,
delete_tag, sort, apply_day,
delete_tag, sort, apply_day,
redeem_day, has_nav, fund_characteristic,
redeem_day, has_nav, fund_characteristic,
investment_scope, investment_restriction,
investment_scope, investment_restriction,
fund_investment_philosophy, fund_strategy_description,
fund_investment_philosophy, fund_strategy_description,
combine_target, fit_group, combine_comment,
combine_target, fit_group, combine_comment,
transfer_comment)
transfer_comment)
values (#{id,jdbcType=VARCHAR}, #{pFundId,jdbcType=VARCHAR}, #{fundName,jdbcType=VARCHAR},
values (#{id,jdbcType=VARCHAR}, #{pFundId,jdbcType=VARCHAR}, #{fundName,jdbcType=VARCHAR},
#{fundShortName,jdbcType=VARCHAR}, #{fundStructure,jdbcType=INTEGER}, #{fundType,jdbcType=INTEGER},
#{fundShortName,jdbcType=VARCHAR}, #{fundStructure,jdbcType=INTEGER}, #{fundType,jdbcType=INTEGER},
#{type,jdbcType=INTEGER}, #{raiseType,jdbcType=INTEGER}, #{baseCurrency,jdbcType=INTEGER},
#{type,jdbcType=INTEGER}, #{raiseType,jdbcType=INTEGER}, #{baseCurrency,jdbcType=INTEGER},
#{inceptionDate,jdbcType=DATE}, #{domicile,jdbcType=INTEGER}, #{primaryBenchmarkId,jdbcType=VARCHAR},
#{inceptionDate,jdbcType=DATE}, #{domicile,jdbcType=INTEGER}, #{primaryBenchmarkId,jdbcType=VARCHAR},
#{lockupPeriod,jdbcType=INTEGER}, #{openDay,jdbcType=VARCHAR}, #{duration,jdbcType=INTEGER},
#{lockupPeriod,jdbcType=INTEGER}, #{openDay,jdbcType=VARCHAR}, #{duration,jdbcType=INTEGER},
#{advisorId,jdbcType=VARCHAR}, #{custodianId,jdbcType=VARCHAR}, #{brokerId,jdbcType=VARCHAR},
#{advisorId,jdbcType=VARCHAR}, #{custodianId,jdbcType=VARCHAR}, #{brokerId,jdbcType=VARCHAR},
#{brokerFutureId,jdbcType=VARCHAR}, #{liquidationAgencyId,jdbcType=VARCHAR}, #{trustId,jdbcType=VARCHAR},
#{brokerFutureId,jdbcType=VARCHAR}, #{liquidationAgencyId,jdbcType=VARCHAR}, #{trustId,jdbcType=VARCHAR},
#{investmentConsultantId,jdbcType=VARCHAR}, #{administratorId,jdbcType=VARCHAR},
#{investmentConsultantId,jdbcType=VARCHAR}, #{administratorId,jdbcType=VARCHAR},
#{legalCounselId,jdbcType=VARCHAR}, #{auditorId,jdbcType=VARCHAR}, #{navFrequency,jdbcType=INTEGER},
#{legalCounselId,jdbcType=VARCHAR}, #{auditorId,jdbcType=VARCHAR}, #{navFrequency,jdbcType=INTEGER},
#{performanceDisclosureMark,jdbcType=INTEGER}, #{registerNumber,jdbcType=VARCHAR},
#{performanceDisclosureMark,jdbcType=INTEGER}, #{registerNumber,jdbcType=VARCHAR},
#{registerDate,jdbcType=DATE}, #{isvisible,jdbcType=INTEGER}, #{istiered,jdbcType=INTEGER},
#{registerDate,jdbcType=DATE}, #{isvisible,jdbcType=INTEGER}, #{istiered,jdbcType=INTEGER},
#{isRanking,jdbcType=INTEGER}, #{isRating,jdbcType=INTEGER}, #{specialTips,jdbcType=VARCHAR},
#{isRanking,jdbcType=INTEGER}, #{isRating,jdbcType=INTEGER}, #{specialTips,jdbcType=VARCHAR},
#{amacUrl,jdbcType=VARCHAR}, #{navSourceType,jdbcType=INTEGER}, #{descInfo,jdbcType=VARCHAR},
#{amacUrl,jdbcType=VARCHAR}, #{navSourceType,jdbcType=INTEGER}, #{descInfo,jdbcType=VARCHAR},
#{strategy,jdbcType=INTEGER}, #{substrategy,jdbcType=INTEGER}, #{riskLevel,jdbcType=INTEGER},
#{strategy,jdbcType=INTEGER}, #{substrategy,jdbcType=INTEGER}, #{riskLevel,jdbcType=INTEGER},
#{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR},
#{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR},
#{updateTime,jdbcType=TIMESTAMP}, #{dataSources,jdbcType=INTEGER}, #{status,jdbcType=INTEGER},
#{updateTime,jdbcType=TIMESTAMP}, #{dataSources,jdbcType=INTEGER}, #{status,jdbcType=INTEGER},
#{deleteTag,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, #{applyDay,jdbcType=VARCHAR},
#{deleteTag,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, #{applyDay,jdbcType=VARCHAR},
#{redeemDay,jdbcType=VARCHAR}, #{hasNav,jdbcType=INTEGER}, #{fundCharacteristic,jdbcType=LONGVARCHAR},
#{redeemDay,jdbcType=VARCHAR}, #{hasNav,jdbcType=INTEGER}, #{fundCharacteristic,jdbcType=LONGVARCHAR},
#{investmentScope,jdbcType=LONGVARCHAR}, #{investmentRestriction,jdbcType=LONGVARCHAR},
#{investmentScope,jdbcType=LONGVARCHAR}, #{investmentRestriction,jdbcType=LONGVARCHAR},
#{fundInvestmentPhilosophy,jdbcType=LONGVARCHAR}, #{fundStrategyDescription,jdbcType=LONGVARCHAR},
#{fundInvestmentPhilosophy,jdbcType=LONGVARCHAR}, #{fundStrategyDescription,jdbcType=LONGVARCHAR},
#{combineTarget,jdbcType=LONGVARCHAR}, #{fitGroup,jdbcType=LONGVARCHAR}, #{combineComment,jdbcType=LONGVARCHAR},
#{combineTarget,jdbcType=LONGVARCHAR}, #{fitGroup,jdbcType=LONGVARCHAR}, #{combineComment,jdbcType=LONGVARCHAR},
#{transferComment,jdbcType=LONGVARCHAR})
#{transferComment,jdbcType=LONGVARCHAR})
</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,229 +1967,229 @@
...
@@ -1967,229 +1967,229 @@
</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,
trust_id, investment_consultant_id, administrator_id, legal_counsel_id, auditor_id,
trust_id, investment_consultant_id, administrator_id, legal_counsel_id, auditor_id,
nav_frequency, performance_disclosure_mark, register_number, register_date, isvisible,
nav_frequency, performance_disclosure_mark, register_number, register_date, isvisible,
istiered, is_ranking, is_rating, special_tips, amac_url, nav_source_type, desc_info,
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,
strategy, substrategy, risk_level, create_by, create_time, update_by, update_time,
data_sources, `status`, delete_tag, sort, apply_day, redeem_day, has_nav, fund_characteristic,
data_sources, `status`, delete_tag, sort, apply_day, redeem_day, has_nav, fund_characteristic,
investment_scope, investment_restriction, fund_investment_philosophy, fund_strategy_description,
investment_scope, investment_restriction, fund_investment_philosophy, fund_strategy_description,
combine_target, fit_group, combine_comment, transfer_comment)
combine_target, fit_group, combine_comment, transfer_comment)
values
values
<foreach
collection=
"list"
item=
"item"
separator=
","
>
<foreach
collection=
"list"
item=
"item"
separator=
","
>
(#{item.id,jdbcType=VARCHAR}, #{item.pFundId,jdbcType=VARCHAR}, #{item.fundName,jdbcType=VARCHAR},
(#{item.id,jdbcType=VARCHAR}, #{item.pFundId,jdbcType=VARCHAR}, #{item.fundName,jdbcType=VARCHAR},
#{item.fundShortName,jdbcType=VARCHAR}, #{item.fundStructure,jdbcType=INTEGER},
#{item.fundShortName,jdbcType=VARCHAR}, #{item.fundStructure,jdbcType=INTEGER},
#{item.fundType,jdbcType=INTEGER}, #{item.type,jdbcType=INTEGER}, #{item.raiseType,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.baseCurrency,jdbcType=INTEGER}, #{item.inceptionDate,jdbcType=DATE}, #{item.domicile,jdbcType=INTEGER},
#{item.primaryBenchmarkId,jdbcType=VARCHAR}, #{item.lockupPeriod,jdbcType=INTEGER},
#{item.primaryBenchmarkId,jdbcType=VARCHAR}, #{item.lockupPeriod,jdbcType=INTEGER},
#{item.openDay,jdbcType=VARCHAR}, #{item.duration,jdbcType=INTEGER}, #{item.advisorId,jdbcType=VARCHAR},
#{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.custodianId,jdbcType=VARCHAR}, #{item.brokerId,jdbcType=VARCHAR}, #{item.brokerFutureId,jdbcType=VARCHAR},
#{item.liquidationAgencyId,jdbcType=VARCHAR}, #{item.trustId,jdbcType=VARCHAR},
#{item.liquidationAgencyId,jdbcType=VARCHAR}, #{item.trustId,jdbcType=VARCHAR},
#{item.investmentConsultantId,jdbcType=VARCHAR}, #{item.administratorId,jdbcType=VARCHAR},
#{item.investmentConsultantId,jdbcType=VARCHAR}, #{item.administratorId,jdbcType=VARCHAR},
#{item.legalCounselId,jdbcType=VARCHAR}, #{item.auditorId,jdbcType=VARCHAR}, #{item.navFrequency,jdbcType=INTEGER},
#{item.legalCounselId,jdbcType=VARCHAR}, #{item.auditorId,jdbcType=VARCHAR}, #{item.navFrequency,jdbcType=INTEGER},
#{item.performanceDisclosureMark,jdbcType=INTEGER}, #{item.registerNumber,jdbcType=VARCHAR},
#{item.performanceDisclosureMark,jdbcType=INTEGER}, #{item.registerNumber,jdbcType=VARCHAR},
#{item.registerDate,jdbcType=DATE}, #{item.isvisible,jdbcType=INTEGER}, #{item.istiered,jdbcType=INTEGER},
#{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.isRanking,jdbcType=INTEGER}, #{item.isRating,jdbcType=INTEGER}, #{item.specialTips,jdbcType=VARCHAR},
#{item.amacUrl,jdbcType=VARCHAR}, #{item.navSourceType,jdbcType=INTEGER}, #{item.descInfo,jdbcType=VARCHAR},
#{item.amacUrl,jdbcType=VARCHAR}, #{item.navSourceType,jdbcType=INTEGER}, #{item.descInfo,jdbcType=VARCHAR},
#{item.strategy,jdbcType=INTEGER}, #{item.substrategy,jdbcType=INTEGER}, #{item.riskLevel,jdbcType=INTEGER},
#{item.strategy,jdbcType=INTEGER}, #{item.substrategy,jdbcType=INTEGER}, #{item.riskLevel,jdbcType=INTEGER},
#{item.createBy,jdbcType=VARCHAR}, #{item.createTime,jdbcType=TIMESTAMP}, #{item.updateBy,jdbcType=VARCHAR},
#{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.updateTime,jdbcType=TIMESTAMP}, #{item.dataSources,jdbcType=INTEGER}, #{item.status,jdbcType=INTEGER},
#{item.deleteTag,jdbcType=INTEGER}, #{item.sort,jdbcType=INTEGER}, #{item.applyDay,jdbcType=VARCHAR},
#{item.deleteTag,jdbcType=INTEGER}, #{item.sort,jdbcType=INTEGER}, #{item.applyDay,jdbcType=VARCHAR},
#{item.redeemDay,jdbcType=VARCHAR}, #{item.hasNav,jdbcType=INTEGER}, #{item.fundCharacteristic,jdbcType=LONGVARCHAR},
#{item.redeemDay,jdbcType=VARCHAR}, #{item.hasNav,jdbcType=INTEGER}, #{item.fundCharacteristic,jdbcType=LONGVARCHAR},
#{item.investmentScope,jdbcType=LONGVARCHAR}, #{item.investmentRestriction,jdbcType=LONGVARCHAR},
#{item.investmentScope,jdbcType=LONGVARCHAR}, #{item.investmentRestriction,jdbcType=LONGVARCHAR},
#{item.fundInvestmentPhilosophy,jdbcType=LONGVARCHAR}, #{item.fundStrategyDescription,jdbcType=LONGVARCHAR},
#{item.fundInvestmentPhilosophy,jdbcType=LONGVARCHAR}, #{item.fundStrategyDescription,jdbcType=LONGVARCHAR},
#{item.combineTarget,jdbcType=LONGVARCHAR}, #{item.fitGroup,jdbcType=LONGVARCHAR},
#{item.combineTarget,jdbcType=LONGVARCHAR}, #{item.fitGroup,jdbcType=LONGVARCHAR},
#{item.combineComment,jdbcType=LONGVARCHAR}, #{item.transferComment,jdbcType=LONGVARCHAR}
#{item.combineComment,jdbcType=LONGVARCHAR}, #{item.transferComment,jdbcType=LONGVARCHAR}
)
)
</foreach>
</foreach>
</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,
trust_id, investment_consultant_id, administrator_id, legal_counsel_id, auditor_id,
trust_id, investment_consultant_id, administrator_id, legal_counsel_id, auditor_id,
nav_frequency, performance_disclosure_mark, register_number, register_date, isvisible,
nav_frequency, performance_disclosure_mark, register_number, register_date, isvisible,
istiered, is_ranking, is_rating, special_tips, amac_url, nav_source_type, desc_info,
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,
strategy, substrategy, risk_level, create_by, create_time, update_by, update_time,
data_sources, `status`, delete_tag, sort, apply_day, redeem_day, has_nav)
data_sources, `status`, delete_tag, sort, apply_day, redeem_day, has_nav)
values
values
(#{id,jdbcType=VARCHAR}, #{pFundId,jdbcType=VARCHAR}, #{fundName,jdbcType=VARCHAR},
(#{id,jdbcType=VARCHAR}, #{pFundId,jdbcType=VARCHAR}, #{fundName,jdbcType=VARCHAR},
#{fundShortName,jdbcType=VARCHAR}, #{fundStructure,jdbcType=INTEGER}, #{fundType,jdbcType=INTEGER},
#{fundShortName,jdbcType=VARCHAR}, #{fundStructure,jdbcType=INTEGER}, #{fundType,jdbcType=INTEGER},
#{type,jdbcType=INTEGER}, #{raiseType,jdbcType=INTEGER}, #{baseCurrency,jdbcType=INTEGER},
#{type,jdbcType=INTEGER}, #{raiseType,jdbcType=INTEGER}, #{baseCurrency,jdbcType=INTEGER},
#{inceptionDate,jdbcType=DATE}, #{domicile,jdbcType=INTEGER}, #{primaryBenchmarkId,jdbcType=VARCHAR},
#{inceptionDate,jdbcType=DATE}, #{domicile,jdbcType=INTEGER}, #{primaryBenchmarkId,jdbcType=VARCHAR},
#{lockupPeriod,jdbcType=INTEGER}, #{openDay,jdbcType=VARCHAR}, #{duration,jdbcType=INTEGER},
#{lockupPeriod,jdbcType=INTEGER}, #{openDay,jdbcType=VARCHAR}, #{duration,jdbcType=INTEGER},
#{advisorId,jdbcType=VARCHAR}, #{custodianId,jdbcType=VARCHAR}, #{brokerId,jdbcType=VARCHAR},
#{advisorId,jdbcType=VARCHAR}, #{custodianId,jdbcType=VARCHAR}, #{brokerId,jdbcType=VARCHAR},
#{brokerFutureId,jdbcType=VARCHAR}, #{liquidationAgencyId,jdbcType=VARCHAR}, #{trustId,jdbcType=VARCHAR},
#{brokerFutureId,jdbcType=VARCHAR}, #{liquidationAgencyId,jdbcType=VARCHAR}, #{trustId,jdbcType=VARCHAR},
#{investmentConsultantId,jdbcType=VARCHAR}, #{administratorId,jdbcType=VARCHAR},
#{investmentConsultantId,jdbcType=VARCHAR}, #{administratorId,jdbcType=VARCHAR},
#{legalCounselId,jdbcType=VARCHAR}, #{auditorId,jdbcType=VARCHAR}, #{navFrequency,jdbcType=INTEGER},
#{legalCounselId,jdbcType=VARCHAR}, #{auditorId,jdbcType=VARCHAR}, #{navFrequency,jdbcType=INTEGER},
#{performanceDisclosureMark,jdbcType=INTEGER}, #{registerNumber,jdbcType=VARCHAR},
#{performanceDisclosureMark,jdbcType=INTEGER}, #{registerNumber,jdbcType=VARCHAR},
#{registerDate,jdbcType=DATE}, #{isvisible,jdbcType=INTEGER}, #{istiered,jdbcType=INTEGER},
#{registerDate,jdbcType=DATE}, #{isvisible,jdbcType=INTEGER}, #{istiered,jdbcType=INTEGER},
#{isRanking,jdbcType=INTEGER}, #{isRating,jdbcType=INTEGER}, #{specialTips,jdbcType=VARCHAR},
#{isRanking,jdbcType=INTEGER}, #{isRating,jdbcType=INTEGER}, #{specialTips,jdbcType=VARCHAR},
#{amacUrl,jdbcType=VARCHAR}, #{navSourceType,jdbcType=INTEGER}, #{descInfo,jdbcType=VARCHAR},
#{amacUrl,jdbcType=VARCHAR}, #{navSourceType,jdbcType=INTEGER}, #{descInfo,jdbcType=VARCHAR},
#{strategy,jdbcType=INTEGER}, #{substrategy,jdbcType=INTEGER}, #{riskLevel,jdbcType=INTEGER},
#{strategy,jdbcType=INTEGER}, #{substrategy,jdbcType=INTEGER}, #{riskLevel,jdbcType=INTEGER},
#{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR},
#{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR},
#{updateTime,jdbcType=TIMESTAMP}, #{dataSources,jdbcType=INTEGER}, #{status,jdbcType=INTEGER},
#{updateTime,jdbcType=TIMESTAMP}, #{dataSources,jdbcType=INTEGER}, #{status,jdbcType=INTEGER},
#{deleteTag,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, #{applyDay,jdbcType=VARCHAR},
#{deleteTag,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, #{applyDay,jdbcType=VARCHAR},
#{redeemDay,jdbcType=VARCHAR}, #{hasNav,jdbcType=INTEGER})
#{redeemDay,jdbcType=VARCHAR}, #{hasNav,jdbcType=INTEGER})
on duplicate key update
on duplicate key update
id = #{id,jdbcType=VARCHAR},
id = #{id,jdbcType=VARCHAR},
p_fund_id = #{pFundId,jdbcType=VARCHAR},
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},
fund_structure = #{fundStructure,jdbcType=INTEGER},
fund_structure = #{fundStructure,jdbcType=INTEGER},
fund_type = #{fundType,jdbcType=INTEGER},
fund_type = #{fundType,jdbcType=INTEGER},
`type` = #{type,jdbcType=INTEGER},
`type` = #{type,jdbcType=INTEGER},
raise_type = #{raiseType,jdbcType=INTEGER},
raise_type = #{raiseType,jdbcType=INTEGER},
base_currency = #{baseCurrency,jdbcType=INTEGER},
base_currency = #{baseCurrency,jdbcType=INTEGER},
inception_date = #{inceptionDate,jdbcType=DATE},
inception_date = #{inceptionDate,jdbcType=DATE},
domicile = #{domicile,jdbcType=INTEGER},
domicile = #{domicile,jdbcType=INTEGER},
primary_benchmark_id = #{primaryBenchmarkId,jdbcType=VARCHAR},
primary_benchmark_id = #{primaryBenchmarkId,jdbcType=VARCHAR},
lockup_period = #{lockupPeriod,jdbcType=INTEGER},
lockup_period = #{lockupPeriod,jdbcType=INTEGER},
open_day = #{openDay,jdbcType=VARCHAR},
open_day = #{openDay,jdbcType=VARCHAR},
duration = #{duration,jdbcType=INTEGER},
duration = #{duration,jdbcType=INTEGER},
advisor_id = #{advisorId,jdbcType=VARCHAR},
advisor_id = #{advisorId,jdbcType=VARCHAR},
custodian_id = #{custodianId,jdbcType=VARCHAR},
custodian_id = #{custodianId,jdbcType=VARCHAR},
broker_id = #{brokerId,jdbcType=VARCHAR},
broker_id = #{brokerId,jdbcType=VARCHAR},
broker_future_id = #{brokerFutureId,jdbcType=VARCHAR},
broker_future_id = #{brokerFutureId,jdbcType=VARCHAR},
liquidation_agency_id = #{liquidationAgencyId,jdbcType=VARCHAR},
liquidation_agency_id = #{liquidationAgencyId,jdbcType=VARCHAR},
trust_id = #{trustId,jdbcType=VARCHAR},
trust_id = #{trustId,jdbcType=VARCHAR},
investment_consultant_id = #{investmentConsultantId,jdbcType=VARCHAR},
investment_consultant_id = #{investmentConsultantId,jdbcType=VARCHAR},
administrator_id = #{administratorId,jdbcType=VARCHAR},
administrator_id = #{administratorId,jdbcType=VARCHAR},
legal_counsel_id = #{legalCounselId,jdbcType=VARCHAR},
legal_counsel_id = #{legalCounselId,jdbcType=VARCHAR},
auditor_id = #{auditorId,jdbcType=VARCHAR},
auditor_id = #{auditorId,jdbcType=VARCHAR},
nav_frequency = #{navFrequency,jdbcType=INTEGER},
nav_frequency = #{navFrequency,jdbcType=INTEGER},
performance_disclosure_mark = #{performanceDisclosureMark,jdbcType=INTEGER},
performance_disclosure_mark = #{performanceDisclosureMark,jdbcType=INTEGER},
register_number = #{registerNumber,jdbcType=VARCHAR},
register_number = #{registerNumber,jdbcType=VARCHAR},
register_date = #{registerDate,jdbcType=DATE},
register_date = #{registerDate,jdbcType=DATE},
isvisible = #{isvisible,jdbcType=INTEGER},
isvisible = #{isvisible,jdbcType=INTEGER},
istiered = #{istiered,jdbcType=INTEGER},
istiered = #{istiered,jdbcType=INTEGER},
is_ranking = #{isRanking,jdbcType=INTEGER},
is_ranking = #{isRanking,jdbcType=INTEGER},
is_rating = #{isRating,jdbcType=INTEGER},
is_rating = #{isRating,jdbcType=INTEGER},
special_tips = #{specialTips,jdbcType=VARCHAR},
special_tips = #{specialTips,jdbcType=VARCHAR},
amac_url = #{amacUrl,jdbcType=VARCHAR},
amac_url = #{amacUrl,jdbcType=VARCHAR},
nav_source_type = #{navSourceType,jdbcType=INTEGER},
nav_source_type = #{navSourceType,jdbcType=INTEGER},
desc_info = #{descInfo,jdbcType=VARCHAR},
desc_info = #{descInfo,jdbcType=VARCHAR},
strategy = #{strategy,jdbcType=INTEGER},
strategy = #{strategy,jdbcType=INTEGER},
substrategy = #{substrategy,jdbcType=INTEGER},
substrategy = #{substrategy,jdbcType=INTEGER},
risk_level = #{riskLevel,jdbcType=INTEGER},
risk_level = #{riskLevel,jdbcType=INTEGER},
create_by = #{createBy,jdbcType=VARCHAR},
create_by = #{createBy,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_by = #{updateBy,jdbcType=VARCHAR},
update_by = #{updateBy,jdbcType=VARCHAR},
update_time = #{updateTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
data_sources = #{dataSources,jdbcType=INTEGER},
data_sources = #{dataSources,jdbcType=INTEGER},
`status` = #{status,jdbcType=INTEGER},
`status` = #{status,jdbcType=INTEGER},
delete_tag = #{deleteTag,jdbcType=INTEGER},
delete_tag = #{deleteTag,jdbcType=INTEGER},
sort = #{sort,jdbcType=INTEGER},
sort = #{sort,jdbcType=INTEGER},
apply_day = #{applyDay,jdbcType=VARCHAR},
apply_day = #{applyDay,jdbcType=VARCHAR},
redeem_day = #{redeemDay,jdbcType=VARCHAR},
redeem_day = #{redeemDay,jdbcType=VARCHAR},
has_nav = #{hasNav,jdbcType=INTEGER}
has_nav = #{hasNav,jdbcType=INTEGER}
</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,
trust_id, investment_consultant_id, administrator_id, legal_counsel_id, auditor_id,
trust_id, investment_consultant_id, administrator_id, legal_counsel_id, auditor_id,
nav_frequency, performance_disclosure_mark, register_number, register_date, isvisible,
nav_frequency, performance_disclosure_mark, register_number, register_date, isvisible,
istiered, is_ranking, is_rating, special_tips, amac_url, nav_source_type, desc_info,
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,
strategy, substrategy, risk_level, create_by, create_time, update_by, update_time,
data_sources, `status`, delete_tag, sort, apply_day, redeem_day, has_nav, fund_characteristic,
data_sources, `status`, delete_tag, sort, apply_day, redeem_day, has_nav, fund_characteristic,
investment_scope, investment_restriction, fund_investment_philosophy, fund_strategy_description,
investment_scope, investment_restriction, fund_investment_philosophy, fund_strategy_description,
combine_target, fit_group, combine_comment, transfer_comment)
combine_target, fit_group, combine_comment, transfer_comment)
values
values
(#{id,jdbcType=VARCHAR}, #{pFundId,jdbcType=VARCHAR}, #{fundName,jdbcType=VARCHAR},
(#{id,jdbcType=VARCHAR}, #{pFundId,jdbcType=VARCHAR}, #{fundName,jdbcType=VARCHAR},
#{fundShortName,jdbcType=VARCHAR}, #{fundStructure,jdbcType=INTEGER}, #{fundType,jdbcType=INTEGER},
#{fundShortName,jdbcType=VARCHAR}, #{fundStructure,jdbcType=INTEGER}, #{fundType,jdbcType=INTEGER},
#{type,jdbcType=INTEGER}, #{raiseType,jdbcType=INTEGER}, #{baseCurrency,jdbcType=INTEGER},
#{type,jdbcType=INTEGER}, #{raiseType,jdbcType=INTEGER}, #{baseCurrency,jdbcType=INTEGER},
#{inceptionDate,jdbcType=DATE}, #{domicile,jdbcType=INTEGER}, #{primaryBenchmarkId,jdbcType=VARCHAR},
#{inceptionDate,jdbcType=DATE}, #{domicile,jdbcType=INTEGER}, #{primaryBenchmarkId,jdbcType=VARCHAR},
#{lockupPeriod,jdbcType=INTEGER}, #{openDay,jdbcType=VARCHAR}, #{duration,jdbcType=INTEGER},
#{lockupPeriod,jdbcType=INTEGER}, #{openDay,jdbcType=VARCHAR}, #{duration,jdbcType=INTEGER},
#{advisorId,jdbcType=VARCHAR}, #{custodianId,jdbcType=VARCHAR}, #{brokerId,jdbcType=VARCHAR},
#{advisorId,jdbcType=VARCHAR}, #{custodianId,jdbcType=VARCHAR}, #{brokerId,jdbcType=VARCHAR},
#{brokerFutureId,jdbcType=VARCHAR}, #{liquidationAgencyId,jdbcType=VARCHAR}, #{trustId,jdbcType=VARCHAR},
#{brokerFutureId,jdbcType=VARCHAR}, #{liquidationAgencyId,jdbcType=VARCHAR}, #{trustId,jdbcType=VARCHAR},
#{investmentConsultantId,jdbcType=VARCHAR}, #{administratorId,jdbcType=VARCHAR},
#{investmentConsultantId,jdbcType=VARCHAR}, #{administratorId,jdbcType=VARCHAR},
#{legalCounselId,jdbcType=VARCHAR}, #{auditorId,jdbcType=VARCHAR}, #{navFrequency,jdbcType=INTEGER},
#{legalCounselId,jdbcType=VARCHAR}, #{auditorId,jdbcType=VARCHAR}, #{navFrequency,jdbcType=INTEGER},
#{performanceDisclosureMark,jdbcType=INTEGER}, #{registerNumber,jdbcType=VARCHAR},
#{performanceDisclosureMark,jdbcType=INTEGER}, #{registerNumber,jdbcType=VARCHAR},
#{registerDate,jdbcType=DATE}, #{isvisible,jdbcType=INTEGER}, #{istiered,jdbcType=INTEGER},
#{registerDate,jdbcType=DATE}, #{isvisible,jdbcType=INTEGER}, #{istiered,jdbcType=INTEGER},
#{isRanking,jdbcType=INTEGER}, #{isRating,jdbcType=INTEGER}, #{specialTips,jdbcType=VARCHAR},
#{isRanking,jdbcType=INTEGER}, #{isRating,jdbcType=INTEGER}, #{specialTips,jdbcType=VARCHAR},
#{amacUrl,jdbcType=VARCHAR}, #{navSourceType,jdbcType=INTEGER}, #{descInfo,jdbcType=VARCHAR},
#{amacUrl,jdbcType=VARCHAR}, #{navSourceType,jdbcType=INTEGER}, #{descInfo,jdbcType=VARCHAR},
#{strategy,jdbcType=INTEGER}, #{substrategy,jdbcType=INTEGER}, #{riskLevel,jdbcType=INTEGER},
#{strategy,jdbcType=INTEGER}, #{substrategy,jdbcType=INTEGER}, #{riskLevel,jdbcType=INTEGER},
#{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR},
#{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR},
#{updateTime,jdbcType=TIMESTAMP}, #{dataSources,jdbcType=INTEGER}, #{status,jdbcType=INTEGER},
#{updateTime,jdbcType=TIMESTAMP}, #{dataSources,jdbcType=INTEGER}, #{status,jdbcType=INTEGER},
#{deleteTag,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, #{applyDay,jdbcType=VARCHAR},
#{deleteTag,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, #{applyDay,jdbcType=VARCHAR},
#{redeemDay,jdbcType=VARCHAR}, #{hasNav,jdbcType=INTEGER}, #{fundCharacteristic,jdbcType=LONGVARCHAR},
#{redeemDay,jdbcType=VARCHAR}, #{hasNav,jdbcType=INTEGER}, #{fundCharacteristic,jdbcType=LONGVARCHAR},
#{investmentScope,jdbcType=LONGVARCHAR}, #{investmentRestriction,jdbcType=LONGVARCHAR},
#{investmentScope,jdbcType=LONGVARCHAR}, #{investmentRestriction,jdbcType=LONGVARCHAR},
#{fundInvestmentPhilosophy,jdbcType=LONGVARCHAR}, #{fundStrategyDescription,jdbcType=LONGVARCHAR},
#{fundInvestmentPhilosophy,jdbcType=LONGVARCHAR}, #{fundStrategyDescription,jdbcType=LONGVARCHAR},
#{combineTarget,jdbcType=LONGVARCHAR}, #{fitGroup,jdbcType=LONGVARCHAR}, #{combineComment,jdbcType=LONGVARCHAR},
#{combineTarget,jdbcType=LONGVARCHAR}, #{fitGroup,jdbcType=LONGVARCHAR}, #{combineComment,jdbcType=LONGVARCHAR},
#{transferComment,jdbcType=LONGVARCHAR})
#{transferComment,jdbcType=LONGVARCHAR})
on duplicate key update
on duplicate key update
id = #{id,jdbcType=VARCHAR},
id = #{id,jdbcType=VARCHAR},
p_fund_id = #{pFundId,jdbcType=VARCHAR},
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},
fund_structure = #{fundStructure,jdbcType=INTEGER},
fund_structure = #{fundStructure,jdbcType=INTEGER},
fund_type = #{fundType,jdbcType=INTEGER},
fund_type = #{fundType,jdbcType=INTEGER},
`type` = #{type,jdbcType=INTEGER},
`type` = #{type,jdbcType=INTEGER},
raise_type = #{raiseType,jdbcType=INTEGER},
raise_type = #{raiseType,jdbcType=INTEGER},
base_currency = #{baseCurrency,jdbcType=INTEGER},
base_currency = #{baseCurrency,jdbcType=INTEGER},
inception_date = #{inceptionDate,jdbcType=DATE},
inception_date = #{inceptionDate,jdbcType=DATE},
domicile = #{domicile,jdbcType=INTEGER},
domicile = #{domicile,jdbcType=INTEGER},
primary_benchmark_id = #{primaryBenchmarkId,jdbcType=VARCHAR},
primary_benchmark_id = #{primaryBenchmarkId,jdbcType=VARCHAR},
lockup_period = #{lockupPeriod,jdbcType=INTEGER},
lockup_period = #{lockupPeriod,jdbcType=INTEGER},
open_day = #{openDay,jdbcType=VARCHAR},
open_day = #{openDay,jdbcType=VARCHAR},
duration = #{duration,jdbcType=INTEGER},
duration = #{duration,jdbcType=INTEGER},
advisor_id = #{advisorId,jdbcType=VARCHAR},
advisor_id = #{advisorId,jdbcType=VARCHAR},
custodian_id = #{custodianId,jdbcType=VARCHAR},
custodian_id = #{custodianId,jdbcType=VARCHAR},
broker_id = #{brokerId,jdbcType=VARCHAR},
broker_id = #{brokerId,jdbcType=VARCHAR},
broker_future_id = #{brokerFutureId,jdbcType=VARCHAR},
broker_future_id = #{brokerFutureId,jdbcType=VARCHAR},
liquidation_agency_id = #{liquidationAgencyId,jdbcType=VARCHAR},
liquidation_agency_id = #{liquidationAgencyId,jdbcType=VARCHAR},
trust_id = #{trustId,jdbcType=VARCHAR},
trust_id = #{trustId,jdbcType=VARCHAR},
investment_consultant_id = #{investmentConsultantId,jdbcType=VARCHAR},
investment_consultant_id = #{investmentConsultantId,jdbcType=VARCHAR},
administrator_id = #{administratorId,jdbcType=VARCHAR},
administrator_id = #{administratorId,jdbcType=VARCHAR},
legal_counsel_id = #{legalCounselId,jdbcType=VARCHAR},
legal_counsel_id = #{legalCounselId,jdbcType=VARCHAR},
auditor_id = #{auditorId,jdbcType=VARCHAR},
auditor_id = #{auditorId,jdbcType=VARCHAR},
nav_frequency = #{navFrequency,jdbcType=INTEGER},
nav_frequency = #{navFrequency,jdbcType=INTEGER},
performance_disclosure_mark = #{performanceDisclosureMark,jdbcType=INTEGER},
performance_disclosure_mark = #{performanceDisclosureMark,jdbcType=INTEGER},
register_number = #{registerNumber,jdbcType=VARCHAR},
register_number = #{registerNumber,jdbcType=VARCHAR},
register_date = #{registerDate,jdbcType=DATE},
register_date = #{registerDate,jdbcType=DATE},
isvisible = #{isvisible,jdbcType=INTEGER},
isvisible = #{isvisible,jdbcType=INTEGER},
istiered = #{istiered,jdbcType=INTEGER},
istiered = #{istiered,jdbcType=INTEGER},
is_ranking = #{isRanking,jdbcType=INTEGER},
is_ranking = #{isRanking,jdbcType=INTEGER},
is_rating = #{isRating,jdbcType=INTEGER},
is_rating = #{isRating,jdbcType=INTEGER},
special_tips = #{specialTips,jdbcType=VARCHAR},
special_tips = #{specialTips,jdbcType=VARCHAR},
amac_url = #{amacUrl,jdbcType=VARCHAR},
amac_url = #{amacUrl,jdbcType=VARCHAR},
nav_source_type = #{navSourceType,jdbcType=INTEGER},
nav_source_type = #{navSourceType,jdbcType=INTEGER},
desc_info = #{descInfo,jdbcType=VARCHAR},
desc_info = #{descInfo,jdbcType=VARCHAR},
strategy = #{strategy,jdbcType=INTEGER},
strategy = #{strategy,jdbcType=INTEGER},
substrategy = #{substrategy,jdbcType=INTEGER},
substrategy = #{substrategy,jdbcType=INTEGER},
risk_level = #{riskLevel,jdbcType=INTEGER},
risk_level = #{riskLevel,jdbcType=INTEGER},
create_by = #{createBy,jdbcType=VARCHAR},
create_by = #{createBy,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_by = #{updateBy,jdbcType=VARCHAR},
update_by = #{updateBy,jdbcType=VARCHAR},
update_time = #{updateTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
data_sources = #{dataSources,jdbcType=INTEGER},
data_sources = #{dataSources,jdbcType=INTEGER},
`status` = #{status,jdbcType=INTEGER},
`status` = #{status,jdbcType=INTEGER},
delete_tag = #{deleteTag,jdbcType=INTEGER},
delete_tag = #{deleteTag,jdbcType=INTEGER},
sort = #{sort,jdbcType=INTEGER},
sort = #{sort,jdbcType=INTEGER},
apply_day = #{applyDay,jdbcType=VARCHAR},
apply_day = #{applyDay,jdbcType=VARCHAR},
redeem_day = #{redeemDay,jdbcType=VARCHAR},
redeem_day = #{redeemDay,jdbcType=VARCHAR},
has_nav = #{hasNav,jdbcType=INTEGER},
has_nav = #{hasNav,jdbcType=INTEGER},
fund_characteristic = #{fundCharacteristic,jdbcType=LONGVARCHAR},
fund_characteristic = #{fundCharacteristic,jdbcType=LONGVARCHAR},
investment_scope = #{investmentScope,jdbcType=LONGVARCHAR},
investment_scope = #{investmentScope,jdbcType=LONGVARCHAR},
investment_restriction = #{investmentRestriction,jdbcType=LONGVARCHAR},
investment_restriction = #{investmentRestriction,jdbcType=LONGVARCHAR},
fund_investment_philosophy = #{fundInvestmentPhilosophy,jdbcType=LONGVARCHAR},
fund_investment_philosophy = #{fundInvestmentPhilosophy,jdbcType=LONGVARCHAR},
fund_strategy_description = #{fundStrategyDescription,jdbcType=LONGVARCHAR},
fund_strategy_description = #{fundStrategyDescription,jdbcType=LONGVARCHAR},
combine_target = #{combineTarget,jdbcType=LONGVARCHAR},
combine_target = #{combineTarget,jdbcType=LONGVARCHAR},
fit_group = #{fitGroup,jdbcType=LONGVARCHAR},
fit_group = #{fitGroup,jdbcType=LONGVARCHAR},
combine_comment = #{combineComment,jdbcType=LONGVARCHAR},
combine_comment = #{combineComment,jdbcType=LONGVARCHAR},
transfer_comment = #{transferComment,jdbcType=LONGVARCHAR}
transfer_comment = #{transferComment,jdbcType=LONGVARCHAR}
</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,
...
@@ -2555,7 +2555,7 @@
...
@@ -2555,7 +2555,7 @@
#{transferComment,jdbcType=LONGVARCHAR},
#{transferComment,jdbcType=LONGVARCHAR},
</if>
</if>
</trim>
</trim>
on duplicate key update
on duplicate key update
<trim
suffixOverrides=
","
>
<trim
suffixOverrides=
","
>
<if
test=
"id != null"
>
<if
test=
"id != null"
>
id = #{id,jdbcType=VARCHAR},
id = #{id,jdbcType=VARCHAR},
...
@@ -2739,4 +2739,4 @@
...
@@ -2739,4 +2739,4 @@
</if>
</if>
</trim>
</trim>
</insert>
</insert>
</mapper>
</mapper>
\ No newline at end of file
src/main/resources/mybatis/generator/TxFundDistributionMapper.xml
View file @
cc94695e
...
@@ -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 t
amp_fund.t
x_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 t
amp_fund.t
x_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"
/>
...
@@ -29,11 +29,11 @@
...
@@ -29,11 +29,11 @@
</resultMap>
</resultMap>
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
id, fund_id, fund_code, fund_short_name, ann_date, register_date, distribute_date,
id, fund_id, fund_code, fund_short_name, ann_date, register_date, distribute_date,
ex_date, confirm_date, distribution, update_time, delete_tag
ex_date, confirm_date, distribution, update_time, delete_tag
</sql>
</sql>
<sql
id=
"Blob_Column_List"
>
<sql
id=
"Blob_Column_List"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
distribute_type, create_by, create_time, update_by, org_id, org
distribute_type, create_by, create_time, update_by, org_id, org
</sql>
</sql>
</mapper>
</mapper>
\ No newline at end of file
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