Commit 2586dc34 authored by zp's avatar zp

成立时间

parent fd562a28
...@@ -7,6 +7,25 @@ import lombok.Builder; ...@@ -7,6 +7,25 @@ import lombok.Builder;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
/**
* @author: zhoupeng
* <p>
* =========================================
* =========================================
* ======== ========
* ======= ========== ======= =======
* ====== ===== == ==== ======
* ===== ===== == === =====
* ===== ===== == === =====
* ===== ===== == === =====
* ====== ========== == ======
* ======= =======
* =========================================
* =========================================
* <p>
* @email: zhoupeng_08@163.com
*/
/** /**
* 基金历史业绩 * 基金历史业绩
*/ */
...@@ -32,6 +51,11 @@ public class FundCount { ...@@ -32,6 +51,11 @@ public class FundCount {
*/ */
private Integer substrategy; private Integer substrategy;
/**
* 基金成立日期
*/
private Date inceptionDate;
/** /**
* 是否可预约 0:不可预约 1:可预约 * 是否可预约 0:不可预约 1:可预约
*/ */
......
...@@ -6,6 +6,24 @@ import java.util.Date; ...@@ -6,6 +6,24 @@ 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 FundCountExample { public class FundCountExample {
protected String orderByClause; protected String orderByClause;
...@@ -393,6 +411,66 @@ public class FundCountExample { ...@@ -393,6 +411,66 @@ public class FundCountExample {
return (Criteria) this; return (Criteria) this;
} }
public Criteria andInceptionDateIsNull() {
addCriterion("inception_date is null");
return (Criteria) this;
}
public Criteria andInceptionDateIsNotNull() {
addCriterion("inception_date is not null");
return (Criteria) this;
}
public Criteria andInceptionDateEqualTo(Date value) {
addCriterionForJDBCDate("inception_date =", value, "inceptionDate");
return (Criteria) this;
}
public Criteria andInceptionDateNotEqualTo(Date value) {
addCriterionForJDBCDate("inception_date <>", value, "inceptionDate");
return (Criteria) this;
}
public Criteria andInceptionDateGreaterThan(Date value) {
addCriterionForJDBCDate("inception_date >", value, "inceptionDate");
return (Criteria) this;
}
public Criteria andInceptionDateGreaterThanOrEqualTo(Date value) {
addCriterionForJDBCDate("inception_date >=", value, "inceptionDate");
return (Criteria) this;
}
public Criteria andInceptionDateLessThan(Date value) {
addCriterionForJDBCDate("inception_date <", value, "inceptionDate");
return (Criteria) this;
}
public Criteria andInceptionDateLessThanOrEqualTo(Date value) {
addCriterionForJDBCDate("inception_date <=", value, "inceptionDate");
return (Criteria) this;
}
public Criteria andInceptionDateIn(List<Date> values) {
addCriterionForJDBCDate("inception_date in", values, "inceptionDate");
return (Criteria) this;
}
public Criteria andInceptionDateNotIn(List<Date> values) {
addCriterionForJDBCDate("inception_date not in", values, "inceptionDate");
return (Criteria) this;
}
public Criteria andInceptionDateBetween(Date value1, Date value2) {
addCriterionForJDBCDate("inception_date between", value1, value2, "inceptionDate");
return (Criteria) this;
}
public Criteria andInceptionDateNotBetween(Date value1, Date value2) {
addCriterionForJDBCDate("inception_date not between", value1, value2, "inceptionDate");
return (Criteria) this;
}
public Criteria andTypeIsNull() { public Criteria andTypeIsNull() {
addCriterion("`type` is null"); addCriterion("`type` is null");
return (Criteria) this; return (Criteria) this;
......
...@@ -6,71 +6,55 @@ import java.util.List; ...@@ -6,71 +6,55 @@ 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 FundCountMapper { public interface FundCountMapper {
long countByExample(FundCountExample example); long countByExample(FundCountExample example);
int deleteByExample(FundCountExample example); int deleteByExample(FundCountExample 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(FundCount record); int insert(FundCount record);
int insertOrUpdate(FundCount record); int insertOrUpdate(FundCount record);
int insertOrUpdateSelective(FundCount record); int insertOrUpdateSelective(FundCount record);
/**
* insert record to table selective
*
* @param record the record
* @return insert count
*/
int insertSelective(FundCount record); int insertSelective(FundCount record);
List<FundCount> selectByExample(FundCountExample example); List<FundCount> selectByExample(FundCountExample example);
/**
* select by primary key
*
* @param id primary key
* @return object by primary key
*/
FundCount selectByPrimaryKey(String id); FundCount selectByPrimaryKey(String id);
int updateByExampleSelective(@Param("record") FundCount record, @Param("example") FundCountExample example); int updateByExampleSelective(@Param("record") FundCount record, @Param("example") FundCountExample example);
int updateByExample(@Param("record") FundCount record, @Param("example") FundCountExample example); int updateByExample(@Param("record") FundCount record, @Param("example") FundCountExample example);
/**
* update record selective
*
* @param record the updated record
* @return update count
*/
int updateByPrimaryKeySelective(FundCount record); int updateByPrimaryKeySelective(FundCount record);
/**
* update record
*
* @param record the updated record
* @return update count
*/
int updateByPrimaryKey(FundCount record); int updateByPrimaryKey(FundCount record);
int updateBatch(List<FundCount> list); int updateBatch(List<FundCount> list);
int updateBatchSelective(List<FundCount> list);
int batchInsert(@Param("list") List<FundCount> list); int batchInsert(@Param("list") List<FundCount> list);
} }
\ 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