Commit f0dd9842 authored by 王亚雷's avatar 王亚雷

删除字段preNav

parent 1dd8546d
package com.tanpu.fund.entity.generator; package com.tanpu.fund.entity.generator;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.Date; import java.util.Date;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
...@@ -7,82 +9,78 @@ import lombok.Builder; ...@@ -7,82 +9,78 @@ import lombok.Builder;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
/**
* @author: zhoupeng
* <p>
* =========================================
* =========================================
* ======== ========
* ======= ========== ======= =======
* ====== ===== == ==== ======
* ===== ===== == === =====
* ===== ===== == === =====
* ===== ===== == === =====
* ====== ========== == ======
* ======= =======
* =========================================
* =========================================
* <p>
* @email: zhoupeng_08@163.com
*/
/** /**
* 基金净值 * 基金净值
*/ */
@ApiModel(value = "基金净值")
@Data @Data
@Builder @Builder
@AllArgsConstructor @AllArgsConstructor
@NoArgsConstructor @NoArgsConstructor
public class FundNav { public class FundNav {
@ApiModelProperty(value = "")
private String id; private String id;
/** /**
* 基金id,'HF'开头(后加36进制编码格式,不足8位长度左补零) 例:HF00000001 * 基金id,'HF'开头(后加36进制编码格式,不足8位长度左补零) 例:HF00000001
*/ */
@ApiModelProperty(value = "基金id,'HF'开头(后加36进制编码格式,不足8位长度左补零) 例:HF00000001")
private String fundId; private String fundId;
/** /**
* 净值日期 * 净值日期
*/ */
@ApiModelProperty(value = "净值日期")
private Date priceDate; private Date priceDate;
/** /**
* 单位净值 * 单位净值
*/ */
@ApiModelProperty(value = "单位净值")
private BigDecimal nav; private BigDecimal nav;
/** /**
* 考虑分红再投资的单位累计净值 * 考虑分红再投资的单位累计净值
*/ */
@ApiModelProperty(value = "考虑分红再投资的单位累计净值")
private BigDecimal cumulativeNav; private BigDecimal cumulativeNav;
/** /**
* 分红不投资的单位累计净值 * 分红不投资的单位累计净值
*/ */
@ApiModelProperty(value = "分红不投资的单位累计净值")
private BigDecimal cumulativeNavWithdrawal; private BigDecimal cumulativeNavWithdrawal;
/** /**
* 净值创新高或新低标志;1-创历史新高;2-创历史新低;3-既没有创历史新高也没有创历史新低;-1-其他 * 净值创新高或新低标志;1-创历史新高;2-创历史新低;3-既没有创历史新高也没有创历史新低;-1-其他
*/ */
@ApiModelProperty(value = "净值创新高或新低标志;1-创历史新高;2-创历史新低;3-既没有创历史新高也没有创历史新低;-1-其他")
private Integer ishighOrLow; private Integer ishighOrLow;
/** /**
* 距离历史新高的距离,(历史最高累计净值-最新累计净值)*100%/最新累计净值 * 距离历史新高的距离,(历史最高累计净值-最新累计净值)*100%/最新累计净值
*/ */
@ApiModelProperty(value = "距离历史新高的距离,(历史最高累计净值-最新累计净值)*100%/最新累计净值")
private BigDecimal tohighNavRatio; private BigDecimal tohighNavRatio;
@ApiModelProperty(value = "")
private String createBy; private String createBy;
@ApiModelProperty(value = "")
private Date createTime; private Date createTime;
@ApiModelProperty(value = "")
private String updateBy; private String updateBy;
@ApiModelProperty(value = "")
private Date updateTime; private Date updateTime;
@ApiModelProperty(value = "")
private Integer deleteTag; private Integer deleteTag;
/** /**
* 前一日单位净值 * 机构ID
*/ */
private BigDecimal preNav; @ApiModelProperty(value = "机构ID")
private String orgId;
} }
\ No newline at end of file
...@@ -6,24 +6,6 @@ import java.util.Date; ...@@ -6,24 +6,6 @@ import java.util.Date;
import java.util.Iterator; import java.util.Iterator;
import java.util.List; import java.util.List;
/**
* @author: zhoupeng
* <p>
* =========================================
* =========================================
* ======== ========
* ======= ========== ======= =======
* ====== ===== == ==== ======
* ===== ===== == === =====
* ===== ===== == === =====
* ===== ===== == === =====
* ====== ========== == ======
* ======= =======
* =========================================
* =========================================
* <p>
* @email: zhoupeng_08@163.com
*/
public class FundNavExample { public class FundNavExample {
protected String orderByClause; protected String orderByClause;
...@@ -971,63 +953,73 @@ public class FundNavExample { ...@@ -971,63 +953,73 @@ public class FundNavExample {
return (Criteria) this; return (Criteria) this;
} }
public Criteria andPreNavIsNull() { public Criteria andOrgIdIsNull() {
addCriterion("pre_nav is null"); addCriterion("org_id is null");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andPreNavIsNotNull() { public Criteria andOrgIdIsNotNull() {
addCriterion("pre_nav is not null"); addCriterion("org_id is not null");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andPreNavEqualTo(BigDecimal value) { public Criteria andOrgIdEqualTo(String value) {
addCriterion("pre_nav =", value, "preNav"); addCriterion("org_id =", value, "orgId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andPreNavNotEqualTo(BigDecimal value) { public Criteria andOrgIdNotEqualTo(String value) {
addCriterion("pre_nav <>", value, "preNav"); addCriterion("org_id <>", value, "orgId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andPreNavGreaterThan(BigDecimal value) { public Criteria andOrgIdGreaterThan(String value) {
addCriterion("pre_nav >", value, "preNav"); addCriterion("org_id >", value, "orgId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andPreNavGreaterThanOrEqualTo(BigDecimal value) { public Criteria andOrgIdGreaterThanOrEqualTo(String value) {
addCriterion("pre_nav >=", value, "preNav"); addCriterion("org_id >=", value, "orgId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andPreNavLessThan(BigDecimal value) { public Criteria andOrgIdLessThan(String value) {
addCriterion("pre_nav <", value, "preNav"); addCriterion("org_id <", value, "orgId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andPreNavLessThanOrEqualTo(BigDecimal value) { public Criteria andOrgIdLessThanOrEqualTo(String value) {
addCriterion("pre_nav <=", value, "preNav"); addCriterion("org_id <=", value, "orgId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andPreNavIn(List<BigDecimal> values) { public Criteria andOrgIdLike(String value) {
addCriterion("pre_nav in", values, "preNav"); addCriterion("org_id like", value, "orgId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andPreNavNotIn(List<BigDecimal> values) { public Criteria andOrgIdNotLike(String value) {
addCriterion("pre_nav not in", values, "preNav"); addCriterion("org_id not like", value, "orgId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andPreNavBetween(BigDecimal value1, BigDecimal value2) { public Criteria andOrgIdIn(List<String> values) {
addCriterion("pre_nav between", value1, value2, "preNav"); addCriterion("org_id in", values, "orgId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andPreNavNotBetween(BigDecimal value1, BigDecimal value2) { public Criteria andOrgIdNotIn(List<String> values) {
addCriterion("pre_nav not between", value1, value2, "preNav"); addCriterion("org_id not in", values, "orgId");
return (Criteria) this;
}
public Criteria andOrgIdBetween(String value1, String value2) {
addCriterion("org_id between", value1, value2, "orgId");
return (Criteria) this;
}
public Criteria andOrgIdNotBetween(String value1, String value2) {
addCriterion("org_id not between", value1, value2, "orgId");
return (Criteria) this; return (Criteria) this;
} }
} }
......
...@@ -6,50 +6,68 @@ import java.util.List; ...@@ -6,50 +6,68 @@ import java.util.List;
import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param;
/**
* @author: zhoupeng
* <p>
* =========================================
* =========================================
* ======== ========
* ======= ========== ======= =======
* ====== ===== == ==== ======
* ===== ===== == === =====
* ===== ===== == === =====
* ===== ===== == === =====
* ====== ========== == ======
* ======= =======
* =========================================
* =========================================
* <p>
* @email: zhoupeng_08@163.com
*/
@Mapper @Mapper
public interface FundNavMapper { public interface FundNavMapper {
long countByExample(FundNavExample example); long countByExample(FundNavExample example);
int deleteByExample(FundNavExample example); int deleteByExample(FundNavExample example);
/**
* delete by primary key
*
* @param id primaryKey
* @return deleteCount
*/
int deleteByPrimaryKey(String id); int deleteByPrimaryKey(String id);
/**
* insert record to table
*
* @param record the record
* @return insert count
*/
int insert(FundNav record); int insert(FundNav record);
int insertOrUpdate(FundNav record); int insertOrUpdate(FundNav record);
int insertOrUpdateSelective(FundNav record); int insertOrUpdateSelective(FundNav record);
/**
* insert record to table selective
*
* @param record the record
* @return insert count
*/
int insertSelective(FundNav record); int insertSelective(FundNav record);
List<FundNav> selectByExample(FundNavExample example); List<FundNav> selectByExample(FundNavExample example);
/**
* select by primary key
*
* @param id primary key
* @return object by primary key
*/
FundNav selectByPrimaryKey(String id); FundNav selectByPrimaryKey(String id);
int updateByExampleSelective(@Param("record") FundNav record, @Param("example") FundNavExample example); int updateByExampleSelective(@Param("record") FundNav record, @Param("example") FundNavExample example);
int updateByExample(@Param("record") FundNav record, @Param("example") FundNavExample example); int updateByExample(@Param("record") FundNav record, @Param("example") FundNavExample example);
/**
* update record selective
*
* @param record the updated record
* @return update count
*/
int updateByPrimaryKeySelective(FundNav record); int updateByPrimaryKeySelective(FundNav record);
/**
* update record
*
* @param record the updated record
* @return update count
*/
int updateByPrimaryKey(FundNav record); int updateByPrimaryKey(FundNav record);
int updateBatch(List<FundNav> list); int updateBatch(List<FundNav> list);
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<result column="update_by" jdbcType="VARCHAR" property="updateBy" /> <result column="update_by" jdbcType="VARCHAR" property="updateBy" />
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> <result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
<result column="delete_tag" jdbcType="INTEGER" property="deleteTag" /> <result column="delete_tag" jdbcType="INTEGER" property="deleteTag" />
<result column="pre_nav" jdbcType="DECIMAL" property="preNav" /> <result column="org_id" jdbcType="VARCHAR" property="orgId" />
</resultMap> </resultMap>
<sql id="Example_Where_Clause"> <sql id="Example_Where_Clause">
<!--@mbg.generated--> <!--@mbg.generated-->
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
<sql id="Base_Column_List"> <sql id="Base_Column_List">
<!--@mbg.generated--> <!--@mbg.generated-->
id, fund_id, price_date, nav, cumulative_nav, cumulative_nav_withdrawal, ishigh_or_low, id, fund_id, price_date, nav, cumulative_nav, cumulative_nav_withdrawal, ishigh_or_low,
tohigh_nav_ratio, create_by, create_time, update_by, update_time, delete_tag, pre_nav tohigh_nav_ratio, create_by, create_time, update_by, update_time, delete_tag, org_id
</sql> </sql>
<select id="selectByExample" parameterType="com.tanpu.fund.entity.generator.FundNavExample" resultMap="BaseResultMap"> <select id="selectByExample" parameterType="com.tanpu.fund.entity.generator.FundNavExample" resultMap="BaseResultMap">
<!--@mbg.generated--> <!--@mbg.generated-->
...@@ -124,12 +124,12 @@ ...@@ -124,12 +124,12 @@
nav, cumulative_nav, cumulative_nav_withdrawal, nav, cumulative_nav, cumulative_nav_withdrawal,
ishigh_or_low, tohigh_nav_ratio, create_by, ishigh_or_low, tohigh_nav_ratio, create_by,
create_time, update_by, update_time, create_time, update_by, update_time,
delete_tag, pre_nav) delete_tag, org_id)
values (#{id,jdbcType=VARCHAR}, #{fundId,jdbcType=VARCHAR}, #{priceDate,jdbcType=DATE}, values (#{id,jdbcType=VARCHAR}, #{fundId,jdbcType=VARCHAR}, #{priceDate,jdbcType=DATE},
#{nav,jdbcType=DECIMAL}, #{cumulativeNav,jdbcType=DECIMAL}, #{cumulativeNavWithdrawal,jdbcType=DECIMAL}, #{nav,jdbcType=DECIMAL}, #{cumulativeNav,jdbcType=DECIMAL}, #{cumulativeNavWithdrawal,jdbcType=DECIMAL},
#{ishighOrLow,jdbcType=INTEGER}, #{tohighNavRatio,jdbcType=DECIMAL}, #{createBy,jdbcType=VARCHAR}, #{ishighOrLow,jdbcType=INTEGER}, #{tohighNavRatio,jdbcType=DECIMAL}, #{createBy,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP},
#{deleteTag,jdbcType=INTEGER}, #{preNav,jdbcType=DECIMAL}) #{deleteTag,jdbcType=INTEGER}, #{orgId,jdbcType=VARCHAR})
</insert> </insert>
<insert id="insertSelective" parameterType="com.tanpu.fund.entity.generator.FundNav"> <insert id="insertSelective" parameterType="com.tanpu.fund.entity.generator.FundNav">
<!--@mbg.generated--> <!--@mbg.generated-->
...@@ -174,8 +174,8 @@ ...@@ -174,8 +174,8 @@
<if test="deleteTag != null"> <if test="deleteTag != null">
delete_tag, delete_tag,
</if> </if>
<if test="preNav != null"> <if test="orgId != null">
pre_nav, org_id,
</if> </if>
</trim> </trim>
<trim prefix="values (" suffix=")" suffixOverrides=","> <trim prefix="values (" suffix=")" suffixOverrides=",">
...@@ -218,8 +218,8 @@ ...@@ -218,8 +218,8 @@
<if test="deleteTag != null"> <if test="deleteTag != null">
#{deleteTag,jdbcType=INTEGER}, #{deleteTag,jdbcType=INTEGER},
</if> </if>
<if test="preNav != null"> <if test="orgId != null">
#{preNav,jdbcType=DECIMAL}, #{orgId,jdbcType=VARCHAR},
</if> </if>
</trim> </trim>
</insert> </insert>
...@@ -273,8 +273,8 @@ ...@@ -273,8 +273,8 @@
<if test="record.deleteTag != null"> <if test="record.deleteTag != null">
delete_tag = #{record.deleteTag,jdbcType=INTEGER}, delete_tag = #{record.deleteTag,jdbcType=INTEGER},
</if> </if>
<if test="record.preNav != null"> <if test="record.orgId != null">
pre_nav = #{record.preNav,jdbcType=DECIMAL}, org_id = #{record.orgId,jdbcType=VARCHAR},
</if> </if>
</set> </set>
<if test="_parameter != null"> <if test="_parameter != null">
...@@ -297,7 +297,7 @@ ...@@ -297,7 +297,7 @@
update_by = #{record.updateBy,jdbcType=VARCHAR}, update_by = #{record.updateBy,jdbcType=VARCHAR},
update_time = #{record.updateTime,jdbcType=TIMESTAMP}, update_time = #{record.updateTime,jdbcType=TIMESTAMP},
delete_tag = #{record.deleteTag,jdbcType=INTEGER}, delete_tag = #{record.deleteTag,jdbcType=INTEGER},
pre_nav = #{record.preNav,jdbcType=DECIMAL} org_id = #{record.orgId,jdbcType=VARCHAR}
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" /> <include refid="Update_By_Example_Where_Clause" />
</if> </if>
...@@ -342,8 +342,8 @@ ...@@ -342,8 +342,8 @@
<if test="deleteTag != null"> <if test="deleteTag != null">
delete_tag = #{deleteTag,jdbcType=INTEGER}, delete_tag = #{deleteTag,jdbcType=INTEGER},
</if> </if>
<if test="preNav != null"> <if test="orgId != null">
pre_nav = #{preNav,jdbcType=DECIMAL}, org_id = #{orgId,jdbcType=VARCHAR},
</if> </if>
</set> </set>
where id = #{id,jdbcType=VARCHAR} where id = #{id,jdbcType=VARCHAR}
...@@ -363,7 +363,7 @@ ...@@ -363,7 +363,7 @@
update_by = #{updateBy,jdbcType=VARCHAR}, update_by = #{updateBy,jdbcType=VARCHAR},
update_time = #{updateTime,jdbcType=TIMESTAMP}, update_time = #{updateTime,jdbcType=TIMESTAMP},
delete_tag = #{deleteTag,jdbcType=INTEGER}, delete_tag = #{deleteTag,jdbcType=INTEGER},
pre_nav = #{preNav,jdbcType=DECIMAL} org_id = #{orgId,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR} where id = #{id,jdbcType=VARCHAR}
</update> </update>
<update id="updateBatch" parameterType="java.util.List"> <update id="updateBatch" parameterType="java.util.List">
...@@ -430,9 +430,9 @@ ...@@ -430,9 +430,9 @@
when id = #{item.id,jdbcType=VARCHAR} then #{item.deleteTag,jdbcType=INTEGER} when id = #{item.id,jdbcType=VARCHAR} then #{item.deleteTag,jdbcType=INTEGER}
</foreach> </foreach>
</trim> </trim>
<trim prefix="pre_nav = case" suffix="end,"> <trim prefix="org_id = case" suffix="end,">
<foreach collection="list" index="index" item="item"> <foreach collection="list" index="index" item="item">
when id = #{item.id,jdbcType=VARCHAR} then #{item.preNav,jdbcType=DECIMAL} when id = #{item.id,jdbcType=VARCHAR} then #{item.orgId,jdbcType=VARCHAR}
</foreach> </foreach>
</trim> </trim>
</trim> </trim>
...@@ -529,10 +529,10 @@ ...@@ -529,10 +529,10 @@
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="pre_nav = case" suffix="end,"> <trim prefix="org_id = case" suffix="end,">
<foreach collection="list" index="index" item="item"> <foreach collection="list" index="index" item="item">
<if test="item.preNav != null"> <if test="item.orgId != null">
when id = #{item.id,jdbcType=VARCHAR} then #{item.preNav,jdbcType=DECIMAL} when id = #{item.id,jdbcType=VARCHAR} then #{item.orgId,jdbcType=VARCHAR}
</if> </if>
</foreach> </foreach>
</trim> </trim>
...@@ -546,7 +546,7 @@ ...@@ -546,7 +546,7 @@
<!--@mbg.generated--> <!--@mbg.generated-->
insert into fund_nav insert into fund_nav
(id, fund_id, price_date, nav, cumulative_nav, cumulative_nav_withdrawal, ishigh_or_low, (id, fund_id, price_date, nav, cumulative_nav, cumulative_nav_withdrawal, ishigh_or_low,
tohigh_nav_ratio, create_by, create_time, update_by, update_time, delete_tag, pre_nav tohigh_nav_ratio, create_by, create_time, update_by, update_time, delete_tag, org_id
) )
values values
<foreach collection="list" item="item" separator=","> <foreach collection="list" item="item" separator=",">
...@@ -554,7 +554,7 @@ ...@@ -554,7 +554,7 @@
#{item.nav,jdbcType=DECIMAL}, #{item.cumulativeNav,jdbcType=DECIMAL}, #{item.cumulativeNavWithdrawal,jdbcType=DECIMAL}, #{item.nav,jdbcType=DECIMAL}, #{item.cumulativeNav,jdbcType=DECIMAL}, #{item.cumulativeNavWithdrawal,jdbcType=DECIMAL},
#{item.ishighOrLow,jdbcType=INTEGER}, #{item.tohighNavRatio,jdbcType=DECIMAL}, #{item.ishighOrLow,jdbcType=INTEGER}, #{item.tohighNavRatio,jdbcType=DECIMAL},
#{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.deleteTag,jdbcType=INTEGER}, #{item.preNav,jdbcType=DECIMAL} #{item.updateTime,jdbcType=TIMESTAMP}, #{item.deleteTag,jdbcType=INTEGER}, #{item.orgId,jdbcType=VARCHAR}
) )
</foreach> </foreach>
</insert> </insert>
...@@ -562,14 +562,14 @@ ...@@ -562,14 +562,14 @@
<!--@mbg.generated--> <!--@mbg.generated-->
insert into fund_nav insert into fund_nav
(id, fund_id, price_date, nav, cumulative_nav, cumulative_nav_withdrawal, ishigh_or_low, (id, fund_id, price_date, nav, cumulative_nav, cumulative_nav_withdrawal, ishigh_or_low,
tohigh_nav_ratio, create_by, create_time, update_by, update_time, delete_tag, pre_nav tohigh_nav_ratio, create_by, create_time, update_by, update_time, delete_tag, org_id
) )
values values
(#{id,jdbcType=VARCHAR}, #{fundId,jdbcType=VARCHAR}, #{priceDate,jdbcType=DATE}, (#{id,jdbcType=VARCHAR}, #{fundId,jdbcType=VARCHAR}, #{priceDate,jdbcType=DATE},
#{nav,jdbcType=DECIMAL}, #{cumulativeNav,jdbcType=DECIMAL}, #{cumulativeNavWithdrawal,jdbcType=DECIMAL}, #{nav,jdbcType=DECIMAL}, #{cumulativeNav,jdbcType=DECIMAL}, #{cumulativeNavWithdrawal,jdbcType=DECIMAL},
#{ishighOrLow,jdbcType=INTEGER}, #{tohighNavRatio,jdbcType=DECIMAL}, #{createBy,jdbcType=VARCHAR}, #{ishighOrLow,jdbcType=INTEGER}, #{tohighNavRatio,jdbcType=DECIMAL}, #{createBy,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP},
#{deleteTag,jdbcType=INTEGER}, #{preNav,jdbcType=DECIMAL}) #{deleteTag,jdbcType=INTEGER}, #{orgId,jdbcType=VARCHAR})
on duplicate key update on duplicate key update
id = #{id,jdbcType=VARCHAR}, id = #{id,jdbcType=VARCHAR},
fund_id = #{fundId,jdbcType=VARCHAR}, fund_id = #{fundId,jdbcType=VARCHAR},
...@@ -584,7 +584,7 @@ ...@@ -584,7 +584,7 @@
update_by = #{updateBy,jdbcType=VARCHAR}, update_by = #{updateBy,jdbcType=VARCHAR},
update_time = #{updateTime,jdbcType=TIMESTAMP}, update_time = #{updateTime,jdbcType=TIMESTAMP},
delete_tag = #{deleteTag,jdbcType=INTEGER}, delete_tag = #{deleteTag,jdbcType=INTEGER},
pre_nav = #{preNav,jdbcType=DECIMAL} org_id = #{orgId,jdbcType=VARCHAR}
</insert> </insert>
<insert id="insertOrUpdateSelective" parameterType="com.tanpu.fund.entity.generator.FundNav"> <insert id="insertOrUpdateSelective" parameterType="com.tanpu.fund.entity.generator.FundNav">
<!--@mbg.generated--> <!--@mbg.generated-->
...@@ -629,8 +629,8 @@ ...@@ -629,8 +629,8 @@
<if test="deleteTag != null"> <if test="deleteTag != null">
delete_tag, delete_tag,
</if> </if>
<if test="preNav != null"> <if test="orgId != null">
pre_nav, org_id,
</if> </if>
</trim> </trim>
values values
...@@ -674,8 +674,8 @@ ...@@ -674,8 +674,8 @@
<if test="deleteTag != null"> <if test="deleteTag != null">
#{deleteTag,jdbcType=INTEGER}, #{deleteTag,jdbcType=INTEGER},
</if> </if>
<if test="preNav != null"> <if test="orgId != null">
#{preNav,jdbcType=DECIMAL}, #{orgId,jdbcType=VARCHAR},
</if> </if>
</trim> </trim>
on duplicate key update on duplicate key update
...@@ -719,8 +719,8 @@ ...@@ -719,8 +719,8 @@
<if test="deleteTag != null"> <if test="deleteTag != null">
delete_tag = #{deleteTag,jdbcType=INTEGER}, delete_tag = #{deleteTag,jdbcType=INTEGER},
</if> </if>
<if test="preNav != null"> <if test="orgId != null">
pre_nav = #{preNav,jdbcType=DECIMAL}, org_id = #{orgId,jdbcType=VARCHAR},
</if> </if>
</trim> </trim>
</insert> </insert>
......
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