|
@@ -399,4 +399,43 @@
|
|
|
#{fundId}
|
|
|
</foreach>
|
|
|
</select>
|
|
|
+
|
|
|
+ <select id="listPrivatelyFundInfo"
|
|
|
+ resultType="com.smppw.analysis.domain.dataobject.PrivatelyFundBaseInfoDo">
|
|
|
+ select t1.fund_id as fundId,
|
|
|
+ t1.fund_short_name as fundShortName,
|
|
|
+ t1.fund_name as fundName,
|
|
|
+ t1.fund_type as fundType,
|
|
|
+ t1.register_date as registerDate,
|
|
|
+ t2.first_strategy as strategy,
|
|
|
+ t2.second_strategy as substrategy,
|
|
|
+ t2.third_strategy as thirdStrategy,
|
|
|
+ t1.istiered as istiered,
|
|
|
+ t1.base_currency as baseCurrency,
|
|
|
+ t1.advisor_id as advisorId,
|
|
|
+ t1.trust_id as trustId,
|
|
|
+ t1.custodian_id as custodianId,
|
|
|
+ t3.umbrella_fund as umbrellaFund,
|
|
|
+ t1.register_number as registerNumber,
|
|
|
+ t1.lock_period as lockPeriod,
|
|
|
+ t1.open_day as openDay,
|
|
|
+ t1.nav_frequency as navFrequency,
|
|
|
+ t4.fund_status as fundStatus
|
|
|
+ from rz_hfdb_core.fund_information t1
|
|
|
+ join rz_hfdb_core.fund_strategy t2 on t1.fund_id = t2.fund_id and t2.isvalid = 1
|
|
|
+ join rz_hfdb_core.fund_attributes t3 on t1.fund_id = t3.fund_id and t3.isvalid = 1
|
|
|
+ join rz_hfdb_core.fund_status t4 on t1.fund_id = t4.fund_id and t4.isvalid = 1
|
|
|
+ where t1.isvalid = 1
|
|
|
+ and t1.fund_id = #{fundId}
|
|
|
+ </select>
|
|
|
+
|
|
|
+ <select id="listFundManagerByFundId" resultType="com.smppw.analysis.domain.dataobject.FundManagerInfoDo">
|
|
|
+ select t2.fund_manager_id as mnagerId, t3.personnel_name as managerName
|
|
|
+ from rz_hfdb_core.fund_information t1
|
|
|
+ join rz_hfdb_core.fund_manager_mapping t2 on t1.fund_id = t2.fund_id and t2.isvalid = 1 and t2.management_end_date is null
|
|
|
+ join rz_hfdb_core.personnel_information t3 on t2.fund_manager_id = t3.personnel_id and t3.isvalid = 1
|
|
|
+ where t1.isvalid = 1
|
|
|
+ and t1.fund_id = #{fundId}
|
|
|
+ </select>
|
|
|
+
|
|
|
</mapper>
|