Commit 42c1589a authored by 张亚辉's avatar 张亚辉

merge

parents 5525b8fd 16577bf7
...@@ -88,4 +88,4 @@ public class IfaImportedNonavFund { ...@@ -88,4 +88,4 @@ public class IfaImportedNonavFund {
* 基金图片 * 基金图片
*/ */
private String fundPng; private String fundPng;
} }
\ No newline at end of file
...@@ -1026,4 +1026,4 @@ public class IfaImportedNonavFundExample { ...@@ -1026,4 +1026,4 @@ public class IfaImportedNonavFundExample {
this(condition, value, secondValue, null); this(condition, value, secondValue, null);
} }
} }
} }
\ No newline at end of file
...@@ -57,4 +57,4 @@ public interface IfaImportedNonavFundMapper { ...@@ -57,4 +57,4 @@ public interface IfaImportedNonavFundMapper {
int updateBatchSelective(List<IfaImportedNonavFund> list); int updateBatchSelective(List<IfaImportedNonavFund> list);
int batchInsert(@Param("list") List<IfaImportedNonavFund> list); int batchInsert(@Param("list") List<IfaImportedNonavFund> list);
} }
\ No newline at end of file
...@@ -841,7 +841,7 @@ public class ProductServiceImpl implements ProductService, Constant { ...@@ -841,7 +841,7 @@ public class ProductServiceImpl implements ProductService, Constant {
new RiskRatingVO("最近五年", multiply100(fundCount.getMaxdrawdown5y()), new RiskRatingVO("最近五年", multiply100(fundCount.getMaxdrawdown5y()),
multiply100(fundCount.getStddev5y()), BigDecimalUtil.toString(fundCount.getSharperatio5y()), multiply100(fundCount.getRet5yA())), multiply100(fundCount.getStddev5y()), BigDecimalUtil.toString(fundCount.getSharperatio5y()), multiply100(fundCount.getRet5yA())),
new RiskRatingVO("成立以来", multiply100(fundCount.getMaxdrawdownIncep()), new RiskRatingVO("成立以来", multiply100(fundCount.getMaxdrawdownIncep()),
multiply100(fundCount.getStddevIncep()), BigDecimalUtil.toString(fundCount.getSharperatioIncep()), multiply100(fundCount.getRetIncepA()))); multiply100(fundCount.getStddevIncep()), BigDecimalUtil.toString(fundCount.getSharperatioIncep(), 2), multiply100(fundCount.getRetIncepA())));
} }
@Override @Override
...@@ -1553,7 +1553,7 @@ public class ProductServiceImpl implements ProductService, Constant { ...@@ -1553,7 +1553,7 @@ public class ProductServiceImpl implements ProductService, Constant {
new RiskRatingVO("最近五年", multiply100(fundCount.getMaxdrawdown5y()), new RiskRatingVO("最近五年", multiply100(fundCount.getMaxdrawdown5y()),
multiply100(fundCount.getStddev5y()), multiply100(fundCount.getSharperatio5y()), multiply100(fundCount.getRet5yA())), multiply100(fundCount.getStddev5y()), multiply100(fundCount.getSharperatio5y()), multiply100(fundCount.getRet5yA())),
new RiskRatingVO("成立以来", multiply100(fundCount.getMaxdrawdownIncep()), new RiskRatingVO("成立以来", multiply100(fundCount.getMaxdrawdownIncep()),
multiply100(fundCount.getStddevIncep()), multiply100(fundCount.getSharperatioIncep()), multiply100(fundCount.getRetIncepA()))); multiply100(fundCount.getStddevIncep()), BigDecimalUtil.toString(fundCount.getSharperatioIncep(), 2), multiply100(fundCount.getRetIncepA())));
} }
@Override @Override
......
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
</sql> </sql>
<sql id="Base_Column_List"> <sql id="Base_Column_List">
<!--@mbg.generated--> <!--@mbg.generated-->
id, fund_name, start_end_date, summary, detail, create_time, update_time, delete_tag, id, fund_name, start_end_date, summary, detail, create_time, update_time, delete_tag,
ifa_id, org_id, fund_file, fund_png ifa_id, org_id, fund_file, fund_png
</sql> </sql>
<select id="selectByExample" parameterType="com.tanpu.fund.entity.generator.IfaImportedNonavFundExample" resultMap="BaseResultMap"> <select id="selectByExample" parameterType="com.tanpu.fund.entity.generator.IfaImportedNonavFundExample" resultMap="BaseResultMap">
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
</select> </select>
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap"> <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
<!--@mbg.generated--> <!--@mbg.generated-->
select select
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
from ifa_imported_nonav_fund from ifa_imported_nonav_fund
where id = #{id,jdbcType=VARCHAR} where id = #{id,jdbcType=VARCHAR}
...@@ -118,14 +118,14 @@ ...@@ -118,14 +118,14 @@
</delete> </delete>
<insert id="insert" parameterType="com.tanpu.fund.entity.generator.IfaImportedNonavFund"> <insert id="insert" parameterType="com.tanpu.fund.entity.generator.IfaImportedNonavFund">
<!--@mbg.generated--> <!--@mbg.generated-->
insert into ifa_imported_nonav_fund (id, fund_name, start_end_date, insert into ifa_imported_nonav_fund (id, fund_name, start_end_date,
summary, detail, create_time, summary, detail, create_time,
update_time, delete_tag, ifa_id, update_time, delete_tag, ifa_id,
org_id, fund_file, fund_png org_id, fund_file, fund_png
) )
values (#{id,jdbcType=VARCHAR}, #{fundName,jdbcType=VARCHAR}, #{startEndDate,jdbcType=VARCHAR}, values (#{id,jdbcType=VARCHAR}, #{fundName,jdbcType=VARCHAR}, #{startEndDate,jdbcType=VARCHAR},
#{summary,jdbcType=LONGVARCHAR}, #{detail,jdbcType=LONGVARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{summary,jdbcType=LONGVARCHAR}, #{detail,jdbcType=LONGVARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP}, #{deleteTag,jdbcType=INTEGER}, #{ifaId,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{deleteTag,jdbcType=INTEGER}, #{ifaId,jdbcType=VARCHAR},
#{orgId,jdbcType=VARCHAR}, #{fundFile,jdbcType=LONGVARCHAR}, #{fundPng,jdbcType=LONGVARCHAR} #{orgId,jdbcType=VARCHAR}, #{fundFile,jdbcType=LONGVARCHAR}, #{fundPng,jdbcType=LONGVARCHAR}
) )
</insert> </insert>
...@@ -491,13 +491,13 @@ ...@@ -491,13 +491,13 @@
<insert id="batchInsert" parameterType="map"> <insert id="batchInsert" parameterType="map">
<!--@mbg.generated--> <!--@mbg.generated-->
insert into ifa_imported_nonav_fund insert into ifa_imported_nonav_fund
(id, fund_name, start_end_date, summary, detail, create_time, update_time, delete_tag, (id, fund_name, start_end_date, summary, detail, create_time, update_time, delete_tag,
ifa_id, org_id, fund_file, fund_png) ifa_id, org_id, fund_file, fund_png)
values values
<foreach collection="list" item="item" separator=","> <foreach collection="list" item="item" separator=",">
(#{item.id,jdbcType=VARCHAR}, #{item.fundName,jdbcType=VARCHAR}, #{item.startEndDate,jdbcType=VARCHAR}, (#{item.id,jdbcType=VARCHAR}, #{item.fundName,jdbcType=VARCHAR}, #{item.startEndDate,jdbcType=VARCHAR},
#{item.summary,jdbcType=LONGVARCHAR}, #{item.detail,jdbcType=LONGVARCHAR}, #{item.createTime,jdbcType=TIMESTAMP}, #{item.summary,jdbcType=LONGVARCHAR}, #{item.detail,jdbcType=LONGVARCHAR}, #{item.createTime,jdbcType=TIMESTAMP},
#{item.updateTime,jdbcType=TIMESTAMP}, #{item.deleteTag,jdbcType=INTEGER}, #{item.ifaId,jdbcType=VARCHAR}, #{item.updateTime,jdbcType=TIMESTAMP}, #{item.deleteTag,jdbcType=INTEGER}, #{item.ifaId,jdbcType=VARCHAR},
#{item.orgId,jdbcType=VARCHAR}, #{item.fundFile,jdbcType=LONGVARCHAR}, #{item.fundPng,jdbcType=LONGVARCHAR} #{item.orgId,jdbcType=VARCHAR}, #{item.fundFile,jdbcType=LONGVARCHAR}, #{item.fundPng,jdbcType=LONGVARCHAR}
) )
</foreach> </foreach>
...@@ -505,26 +505,26 @@ ...@@ -505,26 +505,26 @@
<insert id="insertOrUpdate" parameterType="com.tanpu.fund.entity.generator.IfaImportedNonavFund"> <insert id="insertOrUpdate" parameterType="com.tanpu.fund.entity.generator.IfaImportedNonavFund">
<!--@mbg.generated--> <!--@mbg.generated-->
insert into ifa_imported_nonav_fund insert into ifa_imported_nonav_fund
(id, fund_name, start_end_date, summary, detail, create_time, update_time, delete_tag, (id, fund_name, start_end_date, summary, detail, create_time, update_time, delete_tag,
ifa_id, org_id, fund_file, fund_png) ifa_id, org_id, fund_file, fund_png)
values values
(#{id,jdbcType=VARCHAR}, #{fundName,jdbcType=VARCHAR}, #{startEndDate,jdbcType=VARCHAR}, (#{id,jdbcType=VARCHAR}, #{fundName,jdbcType=VARCHAR}, #{startEndDate,jdbcType=VARCHAR},
#{summary,jdbcType=LONGVARCHAR}, #{detail,jdbcType=LONGVARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{summary,jdbcType=LONGVARCHAR}, #{detail,jdbcType=LONGVARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP}, #{deleteTag,jdbcType=INTEGER}, #{ifaId,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{deleteTag,jdbcType=INTEGER}, #{ifaId,jdbcType=VARCHAR},
#{orgId,jdbcType=VARCHAR}, #{fundFile,jdbcType=LONGVARCHAR}, #{fundPng,jdbcType=LONGVARCHAR} #{orgId,jdbcType=VARCHAR}, #{fundFile,jdbcType=LONGVARCHAR}, #{fundPng,jdbcType=LONGVARCHAR}
) )
on duplicate key update on duplicate key update
id = #{id,jdbcType=VARCHAR}, id = #{id,jdbcType=VARCHAR},
fund_name = #{fundName,jdbcType=VARCHAR}, fund_name = #{fundName,jdbcType=VARCHAR},
start_end_date = #{startEndDate,jdbcType=VARCHAR}, start_end_date = #{startEndDate,jdbcType=VARCHAR},
summary = #{summary,jdbcType=LONGVARCHAR}, summary = #{summary,jdbcType=LONGVARCHAR},
detail = #{detail,jdbcType=LONGVARCHAR}, detail = #{detail,jdbcType=LONGVARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP}, create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP}, update_time = #{updateTime,jdbcType=TIMESTAMP},
delete_tag = #{deleteTag,jdbcType=INTEGER}, delete_tag = #{deleteTag,jdbcType=INTEGER},
ifa_id = #{ifaId,jdbcType=VARCHAR}, ifa_id = #{ifaId,jdbcType=VARCHAR},
org_id = #{orgId,jdbcType=VARCHAR}, org_id = #{orgId,jdbcType=VARCHAR},
fund_file = #{fundFile,jdbcType=LONGVARCHAR}, fund_file = #{fundFile,jdbcType=LONGVARCHAR},
fund_png = #{fundPng,jdbcType=LONGVARCHAR} fund_png = #{fundPng,jdbcType=LONGVARCHAR}
</insert> </insert>
<insert id="insertOrUpdateSelective" parameterType="com.tanpu.fund.entity.generator.IfaImportedNonavFund"> <insert id="insertOrUpdateSelective" parameterType="com.tanpu.fund.entity.generator.IfaImportedNonavFund">
...@@ -607,7 +607,7 @@ ...@@ -607,7 +607,7 @@
#{fundPng,jdbcType=LONGVARCHAR}, #{fundPng,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},
...@@ -647,4 +647,4 @@ ...@@ -647,4 +647,4 @@
</if> </if>
</trim> </trim>
</insert> </insert>
</mapper> </mapper>
\ No newline at end of file
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