Merge remote-tracking branch 'origin/master'
commit
7a4cf5b359
@ -0,0 +1,53 @@
|
|||||||
|
package com.sztzjy.block_finance.entity;
|
||||||
|
|
||||||
|
public class StuDebtInvestigationInfo {
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
private String debtInvestigationMatters;
|
||||||
|
|
||||||
|
private String url;
|
||||||
|
|
||||||
|
private Integer onAnalysis;
|
||||||
|
|
||||||
|
private String analyzeReferenceMaterials;
|
||||||
|
|
||||||
|
public Integer getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Integer id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDebtInvestigationMatters() {
|
||||||
|
return debtInvestigationMatters;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDebtInvestigationMatters(String debtInvestigationMatters) {
|
||||||
|
this.debtInvestigationMatters = debtInvestigationMatters == null ? null : debtInvestigationMatters.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getUrl() {
|
||||||
|
return url;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUrl(String url) {
|
||||||
|
this.url = url == null ? null : url.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getOnAnalysis() {
|
||||||
|
return onAnalysis;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setOnAnalysis(Integer onAnalysis) {
|
||||||
|
this.onAnalysis = onAnalysis;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getAnalyzeReferenceMaterials() {
|
||||||
|
return analyzeReferenceMaterials;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setAnalyzeReferenceMaterials(String analyzeReferenceMaterials) {
|
||||||
|
this.analyzeReferenceMaterials = analyzeReferenceMaterials == null ? null : analyzeReferenceMaterials.trim();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,529 @@
|
|||||||
|
package com.sztzjy.block_finance.entity;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
public class StuDebtInvestigationInfoExample {
|
||||||
|
protected String orderByClause;
|
||||||
|
|
||||||
|
protected boolean distinct;
|
||||||
|
|
||||||
|
protected List<Criteria> oredCriteria;
|
||||||
|
|
||||||
|
public StuDebtInvestigationInfoExample() {
|
||||||
|
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(Integer value) {
|
||||||
|
addCriterion("id =", value, "id");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andIdNotEqualTo(Integer value) {
|
||||||
|
addCriterion("id <>", value, "id");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andIdGreaterThan(Integer value) {
|
||||||
|
addCriterion("id >", value, "id");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
|
||||||
|
addCriterion("id >=", value, "id");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andIdLessThan(Integer value) {
|
||||||
|
addCriterion("id <", value, "id");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andIdLessThanOrEqualTo(Integer value) {
|
||||||
|
addCriterion("id <=", value, "id");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andIdIn(List<Integer> values) {
|
||||||
|
addCriterion("id in", values, "id");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andIdNotIn(List<Integer> values) {
|
||||||
|
addCriterion("id not in", values, "id");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andIdBetween(Integer value1, Integer value2) {
|
||||||
|
addCriterion("id between", value1, value2, "id");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andIdNotBetween(Integer value1, Integer value2) {
|
||||||
|
addCriterion("id not between", value1, value2, "id");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtInvestigationMattersIsNull() {
|
||||||
|
addCriterion("debt_investigation_matters is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtInvestigationMattersIsNotNull() {
|
||||||
|
addCriterion("debt_investigation_matters is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtInvestigationMattersEqualTo(String value) {
|
||||||
|
addCriterion("debt_investigation_matters =", value, "debtInvestigationMatters");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtInvestigationMattersNotEqualTo(String value) {
|
||||||
|
addCriterion("debt_investigation_matters <>", value, "debtInvestigationMatters");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtInvestigationMattersGreaterThan(String value) {
|
||||||
|
addCriterion("debt_investigation_matters >", value, "debtInvestigationMatters");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtInvestigationMattersGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("debt_investigation_matters >=", value, "debtInvestigationMatters");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtInvestigationMattersLessThan(String value) {
|
||||||
|
addCriterion("debt_investigation_matters <", value, "debtInvestigationMatters");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtInvestigationMattersLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("debt_investigation_matters <=", value, "debtInvestigationMatters");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtInvestigationMattersLike(String value) {
|
||||||
|
addCriterion("debt_investigation_matters like", value, "debtInvestigationMatters");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtInvestigationMattersNotLike(String value) {
|
||||||
|
addCriterion("debt_investigation_matters not like", value, "debtInvestigationMatters");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtInvestigationMattersIn(List<String> values) {
|
||||||
|
addCriterion("debt_investigation_matters in", values, "debtInvestigationMatters");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtInvestigationMattersNotIn(List<String> values) {
|
||||||
|
addCriterion("debt_investigation_matters not in", values, "debtInvestigationMatters");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtInvestigationMattersBetween(String value1, String value2) {
|
||||||
|
addCriterion("debt_investigation_matters between", value1, value2, "debtInvestigationMatters");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtInvestigationMattersNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("debt_investigation_matters not between", value1, value2, "debtInvestigationMatters");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUrlIsNull() {
|
||||||
|
addCriterion("url is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUrlIsNotNull() {
|
||||||
|
addCriterion("url is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUrlEqualTo(String value) {
|
||||||
|
addCriterion("url =", value, "url");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUrlNotEqualTo(String value) {
|
||||||
|
addCriterion("url <>", value, "url");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUrlGreaterThan(String value) {
|
||||||
|
addCriterion("url >", value, "url");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUrlGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("url >=", value, "url");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUrlLessThan(String value) {
|
||||||
|
addCriterion("url <", value, "url");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUrlLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("url <=", value, "url");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUrlLike(String value) {
|
||||||
|
addCriterion("url like", value, "url");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUrlNotLike(String value) {
|
||||||
|
addCriterion("url not like", value, "url");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUrlIn(List<String> values) {
|
||||||
|
addCriterion("url in", values, "url");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUrlNotIn(List<String> values) {
|
||||||
|
addCriterion("url not in", values, "url");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUrlBetween(String value1, String value2) {
|
||||||
|
addCriterion("url between", value1, value2, "url");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUrlNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("url not between", value1, value2, "url");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andOnAnalysisIsNull() {
|
||||||
|
addCriterion("on_analysis is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andOnAnalysisIsNotNull() {
|
||||||
|
addCriterion("on_analysis is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andOnAnalysisEqualTo(Integer value) {
|
||||||
|
addCriterion("on_analysis =", value, "onAnalysis");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andOnAnalysisNotEqualTo(Integer value) {
|
||||||
|
addCriterion("on_analysis <>", value, "onAnalysis");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andOnAnalysisGreaterThan(Integer value) {
|
||||||
|
addCriterion("on_analysis >", value, "onAnalysis");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andOnAnalysisGreaterThanOrEqualTo(Integer value) {
|
||||||
|
addCriterion("on_analysis >=", value, "onAnalysis");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andOnAnalysisLessThan(Integer value) {
|
||||||
|
addCriterion("on_analysis <", value, "onAnalysis");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andOnAnalysisLessThanOrEqualTo(Integer value) {
|
||||||
|
addCriterion("on_analysis <=", value, "onAnalysis");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andOnAnalysisIn(List<Integer> values) {
|
||||||
|
addCriterion("on_analysis in", values, "onAnalysis");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andOnAnalysisNotIn(List<Integer> values) {
|
||||||
|
addCriterion("on_analysis not in", values, "onAnalysis");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andOnAnalysisBetween(Integer value1, Integer value2) {
|
||||||
|
addCriterion("on_analysis between", value1, value2, "onAnalysis");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andOnAnalysisNotBetween(Integer value1, Integer value2) {
|
||||||
|
addCriterion("on_analysis not between", value1, value2, "onAnalysis");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andAnalyzeReferenceMaterialsIsNull() {
|
||||||
|
addCriterion("analyze_reference_materials is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andAnalyzeReferenceMaterialsIsNotNull() {
|
||||||
|
addCriterion("analyze_reference_materials is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andAnalyzeReferenceMaterialsEqualTo(String value) {
|
||||||
|
addCriterion("analyze_reference_materials =", value, "analyzeReferenceMaterials");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andAnalyzeReferenceMaterialsNotEqualTo(String value) {
|
||||||
|
addCriterion("analyze_reference_materials <>", value, "analyzeReferenceMaterials");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andAnalyzeReferenceMaterialsGreaterThan(String value) {
|
||||||
|
addCriterion("analyze_reference_materials >", value, "analyzeReferenceMaterials");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andAnalyzeReferenceMaterialsGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("analyze_reference_materials >=", value, "analyzeReferenceMaterials");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andAnalyzeReferenceMaterialsLessThan(String value) {
|
||||||
|
addCriterion("analyze_reference_materials <", value, "analyzeReferenceMaterials");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andAnalyzeReferenceMaterialsLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("analyze_reference_materials <=", value, "analyzeReferenceMaterials");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andAnalyzeReferenceMaterialsLike(String value) {
|
||||||
|
addCriterion("analyze_reference_materials like", value, "analyzeReferenceMaterials");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andAnalyzeReferenceMaterialsNotLike(String value) {
|
||||||
|
addCriterion("analyze_reference_materials not like", value, "analyzeReferenceMaterials");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andAnalyzeReferenceMaterialsIn(List<String> values) {
|
||||||
|
addCriterion("analyze_reference_materials in", values, "analyzeReferenceMaterials");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andAnalyzeReferenceMaterialsNotIn(List<String> values) {
|
||||||
|
addCriterion("analyze_reference_materials not in", values, "analyzeReferenceMaterials");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andAnalyzeReferenceMaterialsBetween(String value1, String value2) {
|
||||||
|
addCriterion("analyze_reference_materials between", value1, value2, "analyzeReferenceMaterials");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andAnalyzeReferenceMaterialsNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("analyze_reference_materials not between", value1, value2, "analyzeReferenceMaterials");
|
||||||
|
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,30 @@
|
|||||||
|
package com.sztzjy.block_finance.mappers;
|
||||||
|
|
||||||
|
import com.sztzjy.block_finance.entity.StuDebtInvestigationInfo;
|
||||||
|
import com.sztzjy.block_finance.entity.StuDebtInvestigationInfoExample;
|
||||||
|
import java.util.List;
|
||||||
|
import org.apache.ibatis.annotations.Param;
|
||||||
|
|
||||||
|
public interface StuDebtInvestigationInfoMapper {
|
||||||
|
long countByExample(StuDebtInvestigationInfoExample example);
|
||||||
|
|
||||||
|
int deleteByExample(StuDebtInvestigationInfoExample example);
|
||||||
|
|
||||||
|
int deleteByPrimaryKey(Integer id);
|
||||||
|
|
||||||
|
int insert(StuDebtInvestigationInfo record);
|
||||||
|
|
||||||
|
int insertSelective(StuDebtInvestigationInfo record);
|
||||||
|
|
||||||
|
List<StuDebtInvestigationInfo> selectByExample(StuDebtInvestigationInfoExample example);
|
||||||
|
|
||||||
|
StuDebtInvestigationInfo selectByPrimaryKey(Integer id);
|
||||||
|
|
||||||
|
int updateByExampleSelective(@Param("record") StuDebtInvestigationInfo record, @Param("example") StuDebtInvestigationInfoExample example);
|
||||||
|
|
||||||
|
int updateByExample(@Param("record") StuDebtInvestigationInfo record, @Param("example") StuDebtInvestigationInfoExample example);
|
||||||
|
|
||||||
|
int updateByPrimaryKeySelective(StuDebtInvestigationInfo record);
|
||||||
|
|
||||||
|
int updateByPrimaryKey(StuDebtInvestigationInfo record);
|
||||||
|
}
|
@ -0,0 +1,211 @@
|
|||||||
|
<?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.block_finance.mappers.StuDebtInvestigationInfoMapper">
|
||||||
|
<resultMap id="BaseResultMap" type="com.sztzjy.block_finance.entity.StuDebtInvestigationInfo">
|
||||||
|
<id column="id" jdbcType="INTEGER" property="id" />
|
||||||
|
<result column="debt_investigation_matters" jdbcType="VARCHAR" property="debtInvestigationMatters" />
|
||||||
|
<result column="url" jdbcType="VARCHAR" property="url" />
|
||||||
|
<result column="on_analysis" jdbcType="INTEGER" property="onAnalysis" />
|
||||||
|
<result column="analyze_reference_materials" jdbcType="VARCHAR" property="analyzeReferenceMaterials" />
|
||||||
|
</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, debt_investigation_matters, url, on_analysis, analyze_reference_materials
|
||||||
|
</sql>
|
||||||
|
<select id="selectByExample" parameterType="com.sztzjy.block_finance.entity.StuDebtInvestigationInfoExample" resultMap="BaseResultMap">
|
||||||
|
select
|
||||||
|
<if test="distinct">
|
||||||
|
distinct
|
||||||
|
</if>
|
||||||
|
<include refid="Base_Column_List" />
|
||||||
|
from stu_debt_investigation_info
|
||||||
|
<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.Integer" resultMap="BaseResultMap">
|
||||||
|
select
|
||||||
|
<include refid="Base_Column_List" />
|
||||||
|
from stu_debt_investigation_info
|
||||||
|
where id = #{id,jdbcType=INTEGER}
|
||||||
|
</select>
|
||||||
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
|
||||||
|
delete from stu_debt_investigation_info
|
||||||
|
where id = #{id,jdbcType=INTEGER}
|
||||||
|
</delete>
|
||||||
|
<delete id="deleteByExample" parameterType="com.sztzjy.block_finance.entity.StuDebtInvestigationInfoExample">
|
||||||
|
delete from stu_debt_investigation_info
|
||||||
|
<if test="_parameter != null">
|
||||||
|
<include refid="Example_Where_Clause" />
|
||||||
|
</if>
|
||||||
|
</delete>
|
||||||
|
<insert id="insert" parameterType="com.sztzjy.block_finance.entity.StuDebtInvestigationInfo">
|
||||||
|
insert into stu_debt_investigation_info (id, debt_investigation_matters, url,
|
||||||
|
on_analysis, analyze_reference_materials)
|
||||||
|
values (#{id,jdbcType=INTEGER}, #{debtInvestigationMatters,jdbcType=VARCHAR}, #{url,jdbcType=VARCHAR},
|
||||||
|
#{onAnalysis,jdbcType=INTEGER}, #{analyzeReferenceMaterials,jdbcType=VARCHAR})
|
||||||
|
</insert>
|
||||||
|
<insert id="insertSelective" parameterType="com.sztzjy.block_finance.entity.StuDebtInvestigationInfo">
|
||||||
|
insert into stu_debt_investigation_info
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="id != null">
|
||||||
|
id,
|
||||||
|
</if>
|
||||||
|
<if test="debtInvestigationMatters != null">
|
||||||
|
debt_investigation_matters,
|
||||||
|
</if>
|
||||||
|
<if test="url != null">
|
||||||
|
url,
|
||||||
|
</if>
|
||||||
|
<if test="onAnalysis != null">
|
||||||
|
on_analysis,
|
||||||
|
</if>
|
||||||
|
<if test="analyzeReferenceMaterials != null">
|
||||||
|
analyze_reference_materials,
|
||||||
|
</if>
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="id != null">
|
||||||
|
#{id,jdbcType=INTEGER},
|
||||||
|
</if>
|
||||||
|
<if test="debtInvestigationMatters != null">
|
||||||
|
#{debtInvestigationMatters,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="url != null">
|
||||||
|
#{url,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="onAnalysis != null">
|
||||||
|
#{onAnalysis,jdbcType=INTEGER},
|
||||||
|
</if>
|
||||||
|
<if test="analyzeReferenceMaterials != null">
|
||||||
|
#{analyzeReferenceMaterials,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
<select id="countByExample" parameterType="com.sztzjy.block_finance.entity.StuDebtInvestigationInfoExample" resultType="java.lang.Long">
|
||||||
|
select count(*) from stu_debt_investigation_info
|
||||||
|
<if test="_parameter != null">
|
||||||
|
<include refid="Example_Where_Clause" />
|
||||||
|
</if>
|
||||||
|
</select>
|
||||||
|
<update id="updateByExampleSelective" parameterType="map">
|
||||||
|
update stu_debt_investigation_info
|
||||||
|
<set>
|
||||||
|
<if test="record.id != null">
|
||||||
|
id = #{record.id,jdbcType=INTEGER},
|
||||||
|
</if>
|
||||||
|
<if test="record.debtInvestigationMatters != null">
|
||||||
|
debt_investigation_matters = #{record.debtInvestigationMatters,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.url != null">
|
||||||
|
url = #{record.url,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.onAnalysis != null">
|
||||||
|
on_analysis = #{record.onAnalysis,jdbcType=INTEGER},
|
||||||
|
</if>
|
||||||
|
<if test="record.analyzeReferenceMaterials != null">
|
||||||
|
analyze_reference_materials = #{record.analyzeReferenceMaterials,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
</set>
|
||||||
|
<if test="_parameter != null">
|
||||||
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
|
</if>
|
||||||
|
</update>
|
||||||
|
<update id="updateByExample" parameterType="map">
|
||||||
|
update stu_debt_investigation_info
|
||||||
|
set id = #{record.id,jdbcType=INTEGER},
|
||||||
|
debt_investigation_matters = #{record.debtInvestigationMatters,jdbcType=VARCHAR},
|
||||||
|
url = #{record.url,jdbcType=VARCHAR},
|
||||||
|
on_analysis = #{record.onAnalysis,jdbcType=INTEGER},
|
||||||
|
analyze_reference_materials = #{record.analyzeReferenceMaterials,jdbcType=VARCHAR}
|
||||||
|
<if test="_parameter != null">
|
||||||
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
|
</if>
|
||||||
|
</update>
|
||||||
|
<update id="updateByPrimaryKeySelective" parameterType="com.sztzjy.block_finance.entity.StuDebtInvestigationInfo">
|
||||||
|
update stu_debt_investigation_info
|
||||||
|
<set>
|
||||||
|
<if test="debtInvestigationMatters != null">
|
||||||
|
debt_investigation_matters = #{debtInvestigationMatters,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="url != null">
|
||||||
|
url = #{url,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="onAnalysis != null">
|
||||||
|
on_analysis = #{onAnalysis,jdbcType=INTEGER},
|
||||||
|
</if>
|
||||||
|
<if test="analyzeReferenceMaterials != null">
|
||||||
|
analyze_reference_materials = #{analyzeReferenceMaterials,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
</set>
|
||||||
|
where id = #{id,jdbcType=INTEGER}
|
||||||
|
</update>
|
||||||
|
<update id="updateByPrimaryKey" parameterType="com.sztzjy.block_finance.entity.StuDebtInvestigationInfo">
|
||||||
|
update stu_debt_investigation_info
|
||||||
|
set debt_investigation_matters = #{debtInvestigationMatters,jdbcType=VARCHAR},
|
||||||
|
url = #{url,jdbcType=VARCHAR},
|
||||||
|
on_analysis = #{onAnalysis,jdbcType=INTEGER},
|
||||||
|
analyze_reference_materials = #{analyzeReferenceMaterials,jdbcType=VARCHAR}
|
||||||
|
where id = #{id,jdbcType=INTEGER}
|
||||||
|
</update>
|
||||||
|
</mapper>
|
Loading…
Reference in New Issue