更新BUG
parent
a0da41015a
commit
84a6cdc1cc
@ -0,0 +1,111 @@
|
||||
package com.sztzjy.fund_investment.entity;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author xcj
|
||||
* pro_financial_index_detail_user
|
||||
*/
|
||||
public class ProFinancialIndexDetailUser {
|
||||
@ApiModelProperty("财务指标保存id")
|
||||
private String id;
|
||||
|
||||
@ApiModelProperty("流程id")
|
||||
private String flowId;
|
||||
|
||||
@ApiModelProperty("项目池ID")
|
||||
private String projectPoolId;
|
||||
|
||||
@ApiModelProperty("财务指标选取ID")
|
||||
private String financialIndexId;
|
||||
|
||||
@ApiModelProperty("财务指标选取详情名")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty("去年数值")
|
||||
private String lastYearValue;
|
||||
|
||||
@ApiModelProperty("前年数值")
|
||||
private String lastTowYearValue;
|
||||
|
||||
@ApiModelProperty("大前年数值")
|
||||
private String lastThreeYearValue;
|
||||
|
||||
public ProFinancialIndexDetailUser(ProFinancialIndexDetail proFinancialIndexDetail,String flowId) {
|
||||
this.id= String.valueOf(UUID.randomUUID());
|
||||
this.flowId=flowId;
|
||||
this.projectPoolId=proFinancialIndexDetail.getProjectPoolId();
|
||||
this.financialIndexId=proFinancialIndexDetail.getFinancialIndexId();
|
||||
this.name=proFinancialIndexDetail.getName();
|
||||
this.lastYearValue=proFinancialIndexDetail.getLastYearValue();
|
||||
this.lastTowYearValue=proFinancialIndexDetail.getLastTowYearValue();
|
||||
this.lastThreeYearValue=proFinancialIndexDetail.getLastThreeYearValue();
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id == null ? null : id.trim();
|
||||
}
|
||||
|
||||
public String getFlowId() {
|
||||
return flowId;
|
||||
}
|
||||
|
||||
public void setFlowId(String flowId) {
|
||||
this.flowId = flowId == null ? null : flowId.trim();
|
||||
}
|
||||
|
||||
public String getProjectPoolId() {
|
||||
return projectPoolId;
|
||||
}
|
||||
|
||||
public void setProjectPoolId(String projectPoolId) {
|
||||
this.projectPoolId = projectPoolId == null ? null : projectPoolId.trim();
|
||||
}
|
||||
|
||||
public String getFinancialIndexId() {
|
||||
return financialIndexId;
|
||||
}
|
||||
|
||||
public void setFinancialIndexId(String financialIndexId) {
|
||||
this.financialIndexId = financialIndexId == null ? null : financialIndexId.trim();
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name == null ? null : name.trim();
|
||||
}
|
||||
|
||||
public String getLastYearValue() {
|
||||
return lastYearValue;
|
||||
}
|
||||
|
||||
public void setLastYearValue(String lastYearValue) {
|
||||
this.lastYearValue = lastYearValue == null ? null : lastYearValue.trim();
|
||||
}
|
||||
|
||||
public String getLastTowYearValue() {
|
||||
return lastTowYearValue;
|
||||
}
|
||||
|
||||
public void setLastTowYearValue(String lastTowYearValue) {
|
||||
this.lastTowYearValue = lastTowYearValue == null ? null : lastTowYearValue.trim();
|
||||
}
|
||||
|
||||
public String getLastThreeYearValue() {
|
||||
return lastThreeYearValue;
|
||||
}
|
||||
|
||||
public void setLastThreeYearValue(String lastThreeYearValue) {
|
||||
this.lastThreeYearValue = lastThreeYearValue == null ? null : lastThreeYearValue.trim();
|
||||
}
|
||||
}
|
@ -0,0 +1,759 @@
|
||||
package com.sztzjy.fund_investment.entity;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class ProFinancialIndexDetailUserExample {
|
||||
protected String orderByClause;
|
||||
|
||||
protected boolean distinct;
|
||||
|
||||
protected List<Criteria> oredCriteria;
|
||||
|
||||
public ProFinancialIndexDetailUserExample() {
|
||||
oredCriteria = new ArrayList<>();
|
||||
}
|
||||
|
||||
public void setOrderByClause(String orderByClause) {
|
||||
this.orderByClause = orderByClause;
|
||||
}
|
||||
|
||||
public String getOrderByClause() {
|
||||
return orderByClause;
|
||||
}
|
||||
|
||||
public void setDistinct(boolean distinct) {
|
||||
this.distinct = distinct;
|
||||
}
|
||||
|
||||
public boolean isDistinct() {
|
||||
return distinct;
|
||||
}
|
||||
|
||||
public List<Criteria> getOredCriteria() {
|
||||
return oredCriteria;
|
||||
}
|
||||
|
||||
public void or(Criteria criteria) {
|
||||
oredCriteria.add(criteria);
|
||||
}
|
||||
|
||||
public Criteria or() {
|
||||
Criteria criteria = createCriteriaInternal();
|
||||
oredCriteria.add(criteria);
|
||||
return criteria;
|
||||
}
|
||||
|
||||
public Criteria createCriteria() {
|
||||
Criteria criteria = createCriteriaInternal();
|
||||
if (oredCriteria.size() == 0) {
|
||||
oredCriteria.add(criteria);
|
||||
}
|
||||
return criteria;
|
||||
}
|
||||
|
||||
protected Criteria createCriteriaInternal() {
|
||||
Criteria criteria = new Criteria();
|
||||
return criteria;
|
||||
}
|
||||
|
||||
public void clear() {
|
||||
oredCriteria.clear();
|
||||
orderByClause = null;
|
||||
distinct = false;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
protected GeneratedCriteria() {
|
||||
super();
|
||||
criteria = new ArrayList<>();
|
||||
}
|
||||
|
||||
public boolean isValid() {
|
||||
return criteria.size() > 0;
|
||||
}
|
||||
|
||||
public List<Criterion> getAllCriteria() {
|
||||
return criteria;
|
||||
}
|
||||
|
||||
public List<Criterion> getCriteria() {
|
||||
return criteria;
|
||||
}
|
||||
|
||||
protected void addCriterion(String condition) {
|
||||
if (condition == null) {
|
||||
throw new RuntimeException("Value for condition cannot be null");
|
||||
}
|
||||
criteria.add(new Criterion(condition));
|
||||
}
|
||||
|
||||
protected void addCriterion(String condition, Object value, String property) {
|
||||
if (value == null) {
|
||||
throw new RuntimeException("Value for " + property + " cannot be null");
|
||||
}
|
||||
criteria.add(new Criterion(condition, value));
|
||||
}
|
||||
|
||||
protected void addCriterion(String condition, Object value1, Object value2, String property) {
|
||||
if (value1 == null || value2 == null) {
|
||||
throw new RuntimeException("Between values for " + property + " cannot be null");
|
||||
}
|
||||
criteria.add(new Criterion(condition, value1, value2));
|
||||
}
|
||||
|
||||
public Criteria andIdIsNull() {
|
||||
addCriterion("id is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdIsNotNull() {
|
||||
addCriterion("id is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdEqualTo(String value) {
|
||||
addCriterion("id =", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdNotEqualTo(String value) {
|
||||
addCriterion("id <>", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdGreaterThan(String value) {
|
||||
addCriterion("id >", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("id >=", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdLessThan(String value) {
|
||||
addCriterion("id <", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdLessThanOrEqualTo(String value) {
|
||||
addCriterion("id <=", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdLike(String value) {
|
||||
addCriterion("id like", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdNotLike(String value) {
|
||||
addCriterion("id not like", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdIn(List<String> values) {
|
||||
addCriterion("id in", values, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdNotIn(List<String> values) {
|
||||
addCriterion("id not in", values, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdBetween(String value1, String value2) {
|
||||
addCriterion("id between", value1, value2, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdNotBetween(String value1, String value2) {
|
||||
addCriterion("id not between", value1, value2, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFlowIdIsNull() {
|
||||
addCriterion("flow_id is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFlowIdIsNotNull() {
|
||||
addCriterion("flow_id is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFlowIdEqualTo(String value) {
|
||||
addCriterion("flow_id =", value, "flowId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFlowIdNotEqualTo(String value) {
|
||||
addCriterion("flow_id <>", value, "flowId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFlowIdGreaterThan(String value) {
|
||||
addCriterion("flow_id >", value, "flowId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFlowIdGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("flow_id >=", value, "flowId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFlowIdLessThan(String value) {
|
||||
addCriterion("flow_id <", value, "flowId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFlowIdLessThanOrEqualTo(String value) {
|
||||
addCriterion("flow_id <=", value, "flowId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFlowIdLike(String value) {
|
||||
addCriterion("flow_id like", value, "flowId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFlowIdNotLike(String value) {
|
||||
addCriterion("flow_id not like", value, "flowId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFlowIdIn(List<String> values) {
|
||||
addCriterion("flow_id in", values, "flowId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFlowIdNotIn(List<String> values) {
|
||||
addCriterion("flow_id not in", values, "flowId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFlowIdBetween(String value1, String value2) {
|
||||
addCriterion("flow_id between", value1, value2, "flowId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFlowIdNotBetween(String value1, String value2) {
|
||||
addCriterion("flow_id not between", value1, value2, "flowId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectPoolIdIsNull() {
|
||||
addCriterion("project_pool_id is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectPoolIdIsNotNull() {
|
||||
addCriterion("project_pool_id is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectPoolIdEqualTo(String value) {
|
||||
addCriterion("project_pool_id =", value, "projectPoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectPoolIdNotEqualTo(String value) {
|
||||
addCriterion("project_pool_id <>", value, "projectPoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectPoolIdGreaterThan(String value) {
|
||||
addCriterion("project_pool_id >", value, "projectPoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectPoolIdGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("project_pool_id >=", value, "projectPoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectPoolIdLessThan(String value) {
|
||||
addCriterion("project_pool_id <", value, "projectPoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectPoolIdLessThanOrEqualTo(String value) {
|
||||
addCriterion("project_pool_id <=", value, "projectPoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectPoolIdLike(String value) {
|
||||
addCriterion("project_pool_id like", value, "projectPoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectPoolIdNotLike(String value) {
|
||||
addCriterion("project_pool_id not like", value, "projectPoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectPoolIdIn(List<String> values) {
|
||||
addCriterion("project_pool_id in", values, "projectPoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectPoolIdNotIn(List<String> values) {
|
||||
addCriterion("project_pool_id not in", values, "projectPoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectPoolIdBetween(String value1, String value2) {
|
||||
addCriterion("project_pool_id between", value1, value2, "projectPoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectPoolIdNotBetween(String value1, String value2) {
|
||||
addCriterion("project_pool_id not between", value1, value2, "projectPoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFinancialIndexIdIsNull() {
|
||||
addCriterion("financial_index_id is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFinancialIndexIdIsNotNull() {
|
||||
addCriterion("financial_index_id is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFinancialIndexIdEqualTo(String value) {
|
||||
addCriterion("financial_index_id =", value, "financialIndexId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFinancialIndexIdNotEqualTo(String value) {
|
||||
addCriterion("financial_index_id <>", value, "financialIndexId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFinancialIndexIdGreaterThan(String value) {
|
||||
addCriterion("financial_index_id >", value, "financialIndexId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFinancialIndexIdGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("financial_index_id >=", value, "financialIndexId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFinancialIndexIdLessThan(String value) {
|
||||
addCriterion("financial_index_id <", value, "financialIndexId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFinancialIndexIdLessThanOrEqualTo(String value) {
|
||||
addCriterion("financial_index_id <=", value, "financialIndexId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFinancialIndexIdLike(String value) {
|
||||
addCriterion("financial_index_id like", value, "financialIndexId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFinancialIndexIdNotLike(String value) {
|
||||
addCriterion("financial_index_id not like", value, "financialIndexId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFinancialIndexIdIn(List<String> values) {
|
||||
addCriterion("financial_index_id in", values, "financialIndexId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFinancialIndexIdNotIn(List<String> values) {
|
||||
addCriterion("financial_index_id not in", values, "financialIndexId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFinancialIndexIdBetween(String value1, String value2) {
|
||||
addCriterion("financial_index_id between", value1, value2, "financialIndexId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFinancialIndexIdNotBetween(String value1, String value2) {
|
||||
addCriterion("financial_index_id not between", value1, value2, "financialIndexId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNameIsNull() {
|
||||
addCriterion("name is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNameIsNotNull() {
|
||||
addCriterion("name is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNameEqualTo(String value) {
|
||||
addCriterion("name =", value, "name");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNameNotEqualTo(String value) {
|
||||
addCriterion("name <>", value, "name");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNameGreaterThan(String value) {
|
||||
addCriterion("name >", value, "name");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNameGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("name >=", value, "name");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNameLessThan(String value) {
|
||||
addCriterion("name <", value, "name");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNameLessThanOrEqualTo(String value) {
|
||||
addCriterion("name <=", value, "name");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNameLike(String value) {
|
||||
addCriterion("name like", value, "name");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNameNotLike(String value) {
|
||||
addCriterion("name not like", value, "name");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNameIn(List<String> values) {
|
||||
addCriterion("name in", values, "name");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNameNotIn(List<String> values) {
|
||||
addCriterion("name not in", values, "name");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNameBetween(String value1, String value2) {
|
||||
addCriterion("name between", value1, value2, "name");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNameNotBetween(String value1, String value2) {
|
||||
addCriterion("name not between", value1, value2, "name");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastYearValueIsNull() {
|
||||
addCriterion("last_year_value is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastYearValueIsNotNull() {
|
||||
addCriterion("last_year_value is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastYearValueEqualTo(String value) {
|
||||
addCriterion("last_year_value =", value, "lastYearValue");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastYearValueNotEqualTo(String value) {
|
||||
addCriterion("last_year_value <>", value, "lastYearValue");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastYearValueGreaterThan(String value) {
|
||||
addCriterion("last_year_value >", value, "lastYearValue");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastYearValueGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("last_year_value >=", value, "lastYearValue");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastYearValueLessThan(String value) {
|
||||
addCriterion("last_year_value <", value, "lastYearValue");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastYearValueLessThanOrEqualTo(String value) {
|
||||
addCriterion("last_year_value <=", value, "lastYearValue");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastYearValueLike(String value) {
|
||||
addCriterion("last_year_value like", value, "lastYearValue");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastYearValueNotLike(String value) {
|
||||
addCriterion("last_year_value not like", value, "lastYearValue");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastYearValueIn(List<String> values) {
|
||||
addCriterion("last_year_value in", values, "lastYearValue");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastYearValueNotIn(List<String> values) {
|
||||
addCriterion("last_year_value not in", values, "lastYearValue");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastYearValueBetween(String value1, String value2) {
|
||||
addCriterion("last_year_value between", value1, value2, "lastYearValue");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastYearValueNotBetween(String value1, String value2) {
|
||||
addCriterion("last_year_value not between", value1, value2, "lastYearValue");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastTowYearValueIsNull() {
|
||||
addCriterion("last_tow_year_value is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastTowYearValueIsNotNull() {
|
||||
addCriterion("last_tow_year_value is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastTowYearValueEqualTo(String value) {
|
||||
addCriterion("last_tow_year_value =", value, "lastTowYearValue");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastTowYearValueNotEqualTo(String value) {
|
||||
addCriterion("last_tow_year_value <>", value, "lastTowYearValue");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastTowYearValueGreaterThan(String value) {
|
||||
addCriterion("last_tow_year_value >", value, "lastTowYearValue");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastTowYearValueGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("last_tow_year_value >=", value, "lastTowYearValue");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastTowYearValueLessThan(String value) {
|
||||
addCriterion("last_tow_year_value <", value, "lastTowYearValue");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastTowYearValueLessThanOrEqualTo(String value) {
|
||||
addCriterion("last_tow_year_value <=", value, "lastTowYearValue");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastTowYearValueLike(String value) {
|
||||
addCriterion("last_tow_year_value like", value, "lastTowYearValue");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastTowYearValueNotLike(String value) {
|
||||
addCriterion("last_tow_year_value not like", value, "lastTowYearValue");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastTowYearValueIn(List<String> values) {
|
||||
addCriterion("last_tow_year_value in", values, "lastTowYearValue");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastTowYearValueNotIn(List<String> values) {
|
||||
addCriterion("last_tow_year_value not in", values, "lastTowYearValue");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastTowYearValueBetween(String value1, String value2) {
|
||||
addCriterion("last_tow_year_value between", value1, value2, "lastTowYearValue");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastTowYearValueNotBetween(String value1, String value2) {
|
||||
addCriterion("last_tow_year_value not between", value1, value2, "lastTowYearValue");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastThreeYearValueIsNull() {
|
||||
addCriterion("last_three_year_value is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastThreeYearValueIsNotNull() {
|
||||
addCriterion("last_three_year_value is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastThreeYearValueEqualTo(String value) {
|
||||
addCriterion("last_three_year_value =", value, "lastThreeYearValue");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastThreeYearValueNotEqualTo(String value) {
|
||||
addCriterion("last_three_year_value <>", value, "lastThreeYearValue");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastThreeYearValueGreaterThan(String value) {
|
||||
addCriterion("last_three_year_value >", value, "lastThreeYearValue");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastThreeYearValueGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("last_three_year_value >=", value, "lastThreeYearValue");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastThreeYearValueLessThan(String value) {
|
||||
addCriterion("last_three_year_value <", value, "lastThreeYearValue");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastThreeYearValueLessThanOrEqualTo(String value) {
|
||||
addCriterion("last_three_year_value <=", value, "lastThreeYearValue");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastThreeYearValueLike(String value) {
|
||||
addCriterion("last_three_year_value like", value, "lastThreeYearValue");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastThreeYearValueNotLike(String value) {
|
||||
addCriterion("last_three_year_value not like", value, "lastThreeYearValue");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastThreeYearValueIn(List<String> values) {
|
||||
addCriterion("last_three_year_value in", values, "lastThreeYearValue");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastThreeYearValueNotIn(List<String> values) {
|
||||
addCriterion("last_three_year_value not in", values, "lastThreeYearValue");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastThreeYearValueBetween(String value1, String value2) {
|
||||
addCriterion("last_three_year_value between", value1, value2, "lastThreeYearValue");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLastThreeYearValueNotBetween(String value1, String value2) {
|
||||
addCriterion("last_three_year_value not between", value1, value2, "lastThreeYearValue");
|
||||
return (Criteria) this;
|
||||
}
|
||||
}
|
||||
|
||||
public static class Criteria extends GeneratedCriteria {
|
||||
protected Criteria() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
||||
public static class Criterion {
|
||||
private String condition;
|
||||
|
||||
private Object value;
|
||||
|
||||
private Object secondValue;
|
||||
|
||||
private boolean noValue;
|
||||
|
||||
private boolean singleValue;
|
||||
|
||||
private boolean betweenValue;
|
||||
|
||||
private boolean listValue;
|
||||
|
||||
private String typeHandler;
|
||||
|
||||
public String getCondition() {
|
||||
return condition;
|
||||
}
|
||||
|
||||
public Object getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public Object getSecondValue() {
|
||||
return secondValue;
|
||||
}
|
||||
|
||||
public boolean isNoValue() {
|
||||
return noValue;
|
||||
}
|
||||
|
||||
public boolean isSingleValue() {
|
||||
return singleValue;
|
||||
}
|
||||
|
||||
public boolean isBetweenValue() {
|
||||
return betweenValue;
|
||||
}
|
||||
|
||||
public boolean isListValue() {
|
||||
return listValue;
|
||||
}
|
||||
|
||||
public String getTypeHandler() {
|
||||
return typeHandler;
|
||||
}
|
||||
|
||||
protected Criterion(String condition) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.typeHandler = null;
|
||||
this.noValue = true;
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, String typeHandler) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.value = value;
|
||||
this.typeHandler = typeHandler;
|
||||
if (value instanceof List<?>) {
|
||||
this.listValue = true;
|
||||
} else {
|
||||
this.singleValue = true;
|
||||
}
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value) {
|
||||
this(condition, value, null);
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.value = value;
|
||||
this.secondValue = secondValue;
|
||||
this.typeHandler = typeHandler;
|
||||
this.betweenValue = true;
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, Object secondValue) {
|
||||
this(condition, value, secondValue, null);
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
package com.sztzjy.fund_investment.mapper;
|
||||
|
||||
import com.sztzjy.fund_investment.entity.ProFinancialIndexDetailUser;
|
||||
import com.sztzjy.fund_investment.entity.ProFinancialIndexDetailUserExample;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
@Mapper
|
||||
public interface ProFinancialIndexDetailUserMapper {
|
||||
long countByExample(ProFinancialIndexDetailUserExample example);
|
||||
|
||||
int deleteByExample(ProFinancialIndexDetailUserExample example);
|
||||
|
||||
int deleteByPrimaryKey(String id);
|
||||
|
||||
int insert(ProFinancialIndexDetailUser record);
|
||||
|
||||
int insertSelective(ProFinancialIndexDetailUser record);
|
||||
|
||||
List<ProFinancialIndexDetailUser> selectByExample(ProFinancialIndexDetailUserExample example);
|
||||
|
||||
ProFinancialIndexDetailUser selectByPrimaryKey(String id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") ProFinancialIndexDetailUser record, @Param("example") ProFinancialIndexDetailUserExample example);
|
||||
|
||||
int updateByExample(@Param("record") ProFinancialIndexDetailUser record, @Param("example") ProFinancialIndexDetailUserExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(ProFinancialIndexDetailUser record);
|
||||
|
||||
int updateByPrimaryKey(ProFinancialIndexDetailUser record);
|
||||
}
|
@ -0,0 +1,259 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.sztzjy.fund_investment.mapper.ProFinancialIndexDetailUserMapper">
|
||||
<resultMap id="BaseResultMap" type="com.sztzjy.fund_investment.entity.ProFinancialIndexDetailUser">
|
||||
<id column="id" jdbcType="VARCHAR" property="id" />
|
||||
<result column="flow_id" jdbcType="VARCHAR" property="flowId" />
|
||||
<result column="project_pool_id" jdbcType="VARCHAR" property="projectPoolId" />
|
||||
<result column="financial_index_id" jdbcType="VARCHAR" property="financialIndexId" />
|
||||
<result column="name" jdbcType="VARCHAR" property="name" />
|
||||
<result column="last_year_value" jdbcType="VARCHAR" property="lastYearValue" />
|
||||
<result column="last_tow_year_value" jdbcType="VARCHAR" property="lastTowYearValue" />
|
||||
<result column="last_three_year_value" jdbcType="VARCHAR" property="lastThreeYearValue" />
|
||||
</resultMap>
|
||||
<sql id="Example_Where_Clause">
|
||||
<where>
|
||||
<foreach collection="oredCriteria" item="criteria" separator="or">
|
||||
<if test="criteria.valid">
|
||||
<trim prefix="(" prefixOverrides="and" suffix=")">
|
||||
<foreach collection="criteria.criteria" item="criterion">
|
||||
<choose>
|
||||
<when test="criterion.noValue">
|
||||
and ${criterion.condition}
|
||||
</when>
|
||||
<when test="criterion.singleValue">
|
||||
and ${criterion.condition} #{criterion.value}
|
||||
</when>
|
||||
<when test="criterion.betweenValue">
|
||||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
||||
</when>
|
||||
<when test="criterion.listValue">
|
||||
and ${criterion.condition}
|
||||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
||||
#{listItem}
|
||||
</foreach>
|
||||
</when>
|
||||
</choose>
|
||||
</foreach>
|
||||
</trim>
|
||||
</if>
|
||||
</foreach>
|
||||
</where>
|
||||
</sql>
|
||||
<sql id="Update_By_Example_Where_Clause">
|
||||
<where>
|
||||
<foreach collection="example.oredCriteria" item="criteria" separator="or">
|
||||
<if test="criteria.valid">
|
||||
<trim prefix="(" prefixOverrides="and" suffix=")">
|
||||
<foreach collection="criteria.criteria" item="criterion">
|
||||
<choose>
|
||||
<when test="criterion.noValue">
|
||||
and ${criterion.condition}
|
||||
</when>
|
||||
<when test="criterion.singleValue">
|
||||
and ${criterion.condition} #{criterion.value}
|
||||
</when>
|
||||
<when test="criterion.betweenValue">
|
||||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
||||
</when>
|
||||
<when test="criterion.listValue">
|
||||
and ${criterion.condition}
|
||||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
||||
#{listItem}
|
||||
</foreach>
|
||||
</when>
|
||||
</choose>
|
||||
</foreach>
|
||||
</trim>
|
||||
</if>
|
||||
</foreach>
|
||||
</where>
|
||||
</sql>
|
||||
<sql id="Base_Column_List">
|
||||
id, flow_id, project_pool_id, financial_index_id, name, last_year_value, last_tow_year_value,
|
||||
last_three_year_value
|
||||
</sql>
|
||||
<select id="selectByExample" parameterType="com.sztzjy.fund_investment.entity.ProFinancialIndexDetailUserExample" resultMap="BaseResultMap">
|
||||
select
|
||||
<if test="distinct">
|
||||
distinct
|
||||
</if>
|
||||
<include refid="Base_Column_List" />
|
||||
from pro_financial_index_detail_user
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
|
||||
select
|
||||
<include refid="Base_Column_List" />
|
||||
from pro_financial_index_detail_user
|
||||
where id = #{id,jdbcType=VARCHAR}
|
||||
</select>
|
||||
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
||||
delete from pro_financial_index_detail_user
|
||||
where id = #{id,jdbcType=VARCHAR}
|
||||
</delete>
|
||||
<delete id="deleteByExample" parameterType="com.sztzjy.fund_investment.entity.ProFinancialIndexDetailUserExample">
|
||||
delete from pro_financial_index_detail_user
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</delete>
|
||||
<insert id="insert" parameterType="com.sztzjy.fund_investment.entity.ProFinancialIndexDetailUser">
|
||||
insert into pro_financial_index_detail_user (id, flow_id, project_pool_id,
|
||||
financial_index_id, name, last_year_value,
|
||||
last_tow_year_value, last_three_year_value)
|
||||
values (#{id,jdbcType=VARCHAR}, #{flowId,jdbcType=VARCHAR}, #{projectPoolId,jdbcType=VARCHAR},
|
||||
#{financialIndexId,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{lastYearValue,jdbcType=VARCHAR},
|
||||
#{lastTowYearValue,jdbcType=VARCHAR}, #{lastThreeYearValue,jdbcType=VARCHAR})
|
||||
</insert>
|
||||
<insert id="insertSelective" parameterType="com.sztzjy.fund_investment.entity.ProFinancialIndexDetailUser">
|
||||
insert into pro_financial_index_detail_user
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">
|
||||
id,
|
||||
</if>
|
||||
<if test="flowId != null">
|
||||
flow_id,
|
||||
</if>
|
||||
<if test="projectPoolId != null">
|
||||
project_pool_id,
|
||||
</if>
|
||||
<if test="financialIndexId != null">
|
||||
financial_index_id,
|
||||
</if>
|
||||
<if test="name != null">
|
||||
name,
|
||||
</if>
|
||||
<if test="lastYearValue != null">
|
||||
last_year_value,
|
||||
</if>
|
||||
<if test="lastTowYearValue != null">
|
||||
last_tow_year_value,
|
||||
</if>
|
||||
<if test="lastThreeYearValue != null">
|
||||
last_three_year_value,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">
|
||||
#{id,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="flowId != null">
|
||||
#{flowId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="projectPoolId != null">
|
||||
#{projectPoolId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="financialIndexId != null">
|
||||
#{financialIndexId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="name != null">
|
||||
#{name,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="lastYearValue != null">
|
||||
#{lastYearValue,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="lastTowYearValue != null">
|
||||
#{lastTowYearValue,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="lastThreeYearValue != null">
|
||||
#{lastThreeYearValue,jdbcType=VARCHAR},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<select id="countByExample" parameterType="com.sztzjy.fund_investment.entity.ProFinancialIndexDetailUserExample" resultType="java.lang.Long">
|
||||
select count(*) from pro_financial_index_detail_user
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</select>
|
||||
<update id="updateByExampleSelective" parameterType="map">
|
||||
update pro_financial_index_detail_user
|
||||
<set>
|
||||
<if test="record.id != null">
|
||||
id = #{record.id,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.flowId != null">
|
||||
flow_id = #{record.flowId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.projectPoolId != null">
|
||||
project_pool_id = #{record.projectPoolId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.financialIndexId != null">
|
||||
financial_index_id = #{record.financialIndexId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.name != null">
|
||||
name = #{record.name,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.lastYearValue != null">
|
||||
last_year_value = #{record.lastYearValue,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.lastTowYearValue != null">
|
||||
last_tow_year_value = #{record.lastTowYearValue,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.lastThreeYearValue != null">
|
||||
last_three_year_value = #{record.lastThreeYearValue,jdbcType=VARCHAR},
|
||||
</if>
|
||||
</set>
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByExample" parameterType="map">
|
||||
update pro_financial_index_detail_user
|
||||
set id = #{record.id,jdbcType=VARCHAR},
|
||||
flow_id = #{record.flowId,jdbcType=VARCHAR},
|
||||
project_pool_id = #{record.projectPoolId,jdbcType=VARCHAR},
|
||||
financial_index_id = #{record.financialIndexId,jdbcType=VARCHAR},
|
||||
name = #{record.name,jdbcType=VARCHAR},
|
||||
last_year_value = #{record.lastYearValue,jdbcType=VARCHAR},
|
||||
last_tow_year_value = #{record.lastTowYearValue,jdbcType=VARCHAR},
|
||||
last_three_year_value = #{record.lastThreeYearValue,jdbcType=VARCHAR}
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByPrimaryKeySelective" parameterType="com.sztzjy.fund_investment.entity.ProFinancialIndexDetailUser">
|
||||
update pro_financial_index_detail_user
|
||||
<set>
|
||||
<if test="flowId != null">
|
||||
flow_id = #{flowId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="projectPoolId != null">
|
||||
project_pool_id = #{projectPoolId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="financialIndexId != null">
|
||||
financial_index_id = #{financialIndexId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="name != null">
|
||||
name = #{name,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="lastYearValue != null">
|
||||
last_year_value = #{lastYearValue,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="lastTowYearValue != null">
|
||||
last_tow_year_value = #{lastTowYearValue,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="lastThreeYearValue != null">
|
||||
last_three_year_value = #{lastThreeYearValue,jdbcType=VARCHAR},
|
||||
</if>
|
||||
</set>
|
||||
where id = #{id,jdbcType=VARCHAR}
|
||||
</update>
|
||||
<update id="updateByPrimaryKey" parameterType="com.sztzjy.fund_investment.entity.ProFinancialIndexDetailUser">
|
||||
update pro_financial_index_detail_user
|
||||
set flow_id = #{flowId,jdbcType=VARCHAR},
|
||||
project_pool_id = #{projectPoolId,jdbcType=VARCHAR},
|
||||
financial_index_id = #{financialIndexId,jdbcType=VARCHAR},
|
||||
name = #{name,jdbcType=VARCHAR},
|
||||
last_year_value = #{lastYearValue,jdbcType=VARCHAR},
|
||||
last_tow_year_value = #{lastTowYearValue,jdbcType=VARCHAR},
|
||||
last_three_year_value = #{lastThreeYearValue,jdbcType=VARCHAR}
|
||||
where id = #{id,jdbcType=VARCHAR}
|
||||
</update>
|
||||
</mapper>
|
Loading…
Reference in New Issue