Commit b05f30dd authored by 张亚辉's avatar 张亚辉

我的自选产品

parent 37803487
...@@ -31,7 +31,16 @@ ...@@ -31,7 +31,16 @@
</select> </select>
<select id="getFundInfoNewNet" parameterType="java.lang.String" resultType="com.tanpu.fund.entity.generator.FundNav"> <select id="getFundInfoNewNet" parameterType="java.lang.String" resultType="com.tanpu.fund.entity.generator.FundNav">
select res.* from select
res.id as id,
res.fund_id as fundId,
res.price_date as priceDate,
res.nav as nav,
res.cumulative_nav as cumulativeNav,
res.cumulative_nav_withdrawal as cumulativeNavWithdrawal,
res.ishigh_or_low as ishighOrLow,
res.tohigh_nav_ratio as tohighNavRatio
from
(SELECT * FROM fund_nav WHERE fund_id in (SELECT * FROM fund_nav WHERE fund_id in
<foreach close=")" collection="list" item="fundId" open="(" separator=","> <foreach close=")" collection="list" item="fundId" open="(" separator=",">
#{fundId} #{fundId}
...@@ -41,7 +50,16 @@ ...@@ -41,7 +50,16 @@
</select> </select>
<select id="getPrivateFundInfoNewNet" parameterType="java.lang.String" resultType="com.tanpu.fund.entity.generator.FundNav"> <select id="getPrivateFundInfoNewNet" parameterType="java.lang.String" resultType="com.tanpu.fund.entity.generator.FundNav">
select res.* from select
res.id as id,
res.fund_id as fundId,
res.price_date as priceDate,
res.nav as nav,
res.cumulative_nav as cumulativeNav,
res.cumulative_nav_withdrawal as cumulativeNavWithdrawal,
res.ishigh_or_low as ishighOrLow,
res.tohigh_nav_ratio as tohighNavRatio
from
(SELECT * FROM ifa_imported_fund_nav WHERE fund_id in (SELECT * FROM ifa_imported_fund_nav WHERE fund_id in
<foreach close=")" collection="list" item="fundId" open="(" separator=","> <foreach close=")" collection="list" item="fundId" open="(" separator=",">
#{fundId} #{fundId}
......
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