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

基金搜索

parent a625e72e
......@@ -247,6 +247,11 @@ public class FundInfo {
private String redeemDay;
/**
* 1 有净值 0 没有净值
*/
private Integer hasNav;
/**
* 券商资管产品特点
*/
......
......@@ -3371,6 +3371,66 @@ public class FundInfoExample {
addCriterion("redeem_day not between", value1, value2, "redeemDay");
return (Criteria) this;
}
public Criteria andHasNavIsNull() {
addCriterion("has_nav is null");
return (Criteria) this;
}
public Criteria andHasNavIsNotNull() {
addCriterion("has_nav is not null");
return (Criteria) this;
}
public Criteria andHasNavEqualTo(Integer value) {
addCriterion("has_nav =", value, "hasNav");
return (Criteria) this;
}
public Criteria andHasNavNotEqualTo(Integer value) {
addCriterion("has_nav <>", value, "hasNav");
return (Criteria) this;
}
public Criteria andHasNavGreaterThan(Integer value) {
addCriterion("has_nav >", value, "hasNav");
return (Criteria) this;
}
public Criteria andHasNavGreaterThanOrEqualTo(Integer value) {
addCriterion("has_nav >=", value, "hasNav");
return (Criteria) this;
}
public Criteria andHasNavLessThan(Integer value) {
addCriterion("has_nav <", value, "hasNav");
return (Criteria) this;
}
public Criteria andHasNavLessThanOrEqualTo(Integer value) {
addCriterion("has_nav <=", value, "hasNav");
return (Criteria) this;
}
public Criteria andHasNavIn(List<Integer> values) {
addCriterion("has_nav in", values, "hasNav");
return (Criteria) this;
}
public Criteria andHasNavNotIn(List<Integer> values) {
addCriterion("has_nav not in", values, "hasNav");
return (Criteria) this;
}
public Criteria andHasNavBetween(Integer value1, Integer value2) {
addCriterion("has_nav between", value1, value2, "hasNav");
return (Criteria) this;
}
public Criteria andHasNavNotBetween(Integer value1, Integer value2) {
addCriterion("has_nav not between", value1, value2, "hasNav");
return (Criteria) this;
}
}
public static class Criteria extends GeneratedCriteria {
......
......@@ -12,20 +12,8 @@ public interface FundInfoMapper {
int deleteByExample(FundInfoExample example);
/**
* delete by primary key
*
* @param id primaryKey
* @return deleteCount
*/
int deleteByPrimaryKey(String id);
/**
* insert record to table
*
* @param record the record
* @return insert count
*/
int insert(FundInfo record);
int insertOrUpdate(FundInfo record);
......@@ -34,24 +22,12 @@ public interface FundInfoMapper {
int insertOrUpdateWithBLOBs(FundInfo record);
/**
* insert record to table selective
*
* @param record the record
* @return insert count
*/
int insertSelective(FundInfo record);
List<FundInfo> selectByExampleWithBLOBs(FundInfoExample example);
List<FundInfo> selectByExample(FundInfoExample example);
/**
* select by primary key
*
* @param id primary key
* @return object by primary key
*/
FundInfo selectByPrimaryKey(String id);
int updateByExampleSelective(@Param("record") FundInfo record, @Param("example") FundInfoExample example);
......@@ -60,25 +36,15 @@ public interface FundInfoMapper {
int updateByExample(@Param("record") FundInfo record, @Param("example") FundInfoExample example);
/**
* update record selective
*
* @param record the updated record
* @return update count
*/
int updateByPrimaryKeySelective(FundInfo record);
int updateByPrimaryKeyWithBLOBs(FundInfo record);
/**
* update record
*
* @param record the updated record
* @return update count
*/
int updateByPrimaryKey(FundInfo record);
int updateBatch(List<FundInfo> list);
int updateBatchSelective(List<FundInfo> list);
int batchInsert(@Param("list") List<FundInfo> 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