完成增信措施
parent
cbc2ad0c8c
commit
0aea66be25
@ -0,0 +1,640 @@
|
||||
package com.sztzjy.digital_credit.entity;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public class StuCreditEnhanceMeasureExample {
|
||||
protected String orderByClause;
|
||||
|
||||
protected boolean distinct;
|
||||
|
||||
protected List<Criteria> oredCriteria;
|
||||
|
||||
public StuCreditEnhanceMeasureExample() {
|
||||
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 andTchScoreIsNull() {
|
||||
addCriterion("tch_score is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTchScoreIsNotNull() {
|
||||
addCriterion("tch_score is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTchScoreEqualTo(Integer value) {
|
||||
addCriterion("tch_score =", value, "tchScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTchScoreNotEqualTo(Integer value) {
|
||||
addCriterion("tch_score <>", value, "tchScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTchScoreGreaterThan(Integer value) {
|
||||
addCriterion("tch_score >", value, "tchScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTchScoreGreaterThanOrEqualTo(Integer value) {
|
||||
addCriterion("tch_score >=", value, "tchScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTchScoreLessThan(Integer value) {
|
||||
addCriterion("tch_score <", value, "tchScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTchScoreLessThanOrEqualTo(Integer value) {
|
||||
addCriterion("tch_score <=", value, "tchScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTchScoreIn(List<Integer> values) {
|
||||
addCriterion("tch_score in", values, "tchScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTchScoreNotIn(List<Integer> values) {
|
||||
addCriterion("tch_score not in", values, "tchScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTchScoreBetween(Integer value1, Integer value2) {
|
||||
addCriterion("tch_score between", value1, value2, "tchScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTchScoreNotBetween(Integer value1, Integer value2) {
|
||||
addCriterion("tch_score not between", value1, value2, "tchScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSysScoreIsNull() {
|
||||
addCriterion("sys_score is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSysScoreIsNotNull() {
|
||||
addCriterion("sys_score is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSysScoreEqualTo(Integer value) {
|
||||
addCriterion("sys_score =", value, "sysScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSysScoreNotEqualTo(Integer value) {
|
||||
addCriterion("sys_score <>", value, "sysScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSysScoreGreaterThan(Integer value) {
|
||||
addCriterion("sys_score >", value, "sysScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSysScoreGreaterThanOrEqualTo(Integer value) {
|
||||
addCriterion("sys_score >=", value, "sysScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSysScoreLessThan(Integer value) {
|
||||
addCriterion("sys_score <", value, "sysScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSysScoreLessThanOrEqualTo(Integer value) {
|
||||
addCriterion("sys_score <=", value, "sysScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSysScoreIn(List<Integer> values) {
|
||||
addCriterion("sys_score in", values, "sysScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSysScoreNotIn(List<Integer> values) {
|
||||
addCriterion("sys_score not in", values, "sysScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSysScoreBetween(Integer value1, Integer value2) {
|
||||
addCriterion("sys_score between", value1, value2, "sysScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSysScoreNotBetween(Integer value1, Integer value2) {
|
||||
addCriterion("sys_score not between", value1, value2, "sysScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdIsNull() {
|
||||
addCriterion("user_id is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdIsNotNull() {
|
||||
addCriterion("user_id is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdEqualTo(String value) {
|
||||
addCriterion("user_id =", value, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdNotEqualTo(String value) {
|
||||
addCriterion("user_id <>", value, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdGreaterThan(String value) {
|
||||
addCriterion("user_id >", value, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("user_id >=", value, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdLessThan(String value) {
|
||||
addCriterion("user_id <", value, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdLessThanOrEqualTo(String value) {
|
||||
addCriterion("user_id <=", value, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdLike(String value) {
|
||||
addCriterion("user_id like", value, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdNotLike(String value) {
|
||||
addCriterion("user_id not like", value, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdIn(List<String> values) {
|
||||
addCriterion("user_id in", values, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdNotIn(List<String> values) {
|
||||
addCriterion("user_id not in", values, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdBetween(String value1, String value2) {
|
||||
addCriterion("user_id between", value1, value2, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdNotBetween(String value1, String value2) {
|
||||
addCriterion("user_id not between", value1, value2, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeIsNull() {
|
||||
addCriterion("create_time is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeIsNotNull() {
|
||||
addCriterion("create_time is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeEqualTo(Date value) {
|
||||
addCriterion("create_time =", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeNotEqualTo(Date value) {
|
||||
addCriterion("create_time <>", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeGreaterThan(Date value) {
|
||||
addCriterion("create_time >", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
|
||||
addCriterion("create_time >=", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeLessThan(Date value) {
|
||||
addCriterion("create_time <", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
|
||||
addCriterion("create_time <=", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeIn(List<Date> values) {
|
||||
addCriterion("create_time in", values, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeNotIn(List<Date> values) {
|
||||
addCriterion("create_time not in", values, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeBetween(Date value1, Date value2) {
|
||||
addCriterion("create_time between", value1, value2, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
|
||||
addCriterion("create_time not between", value1, value2, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeIsNull() {
|
||||
addCriterion("update_time is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeIsNotNull() {
|
||||
addCriterion("update_time is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeEqualTo(Date value) {
|
||||
addCriterion("update_time =", value, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeNotEqualTo(Date value) {
|
||||
addCriterion("update_time <>", value, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeGreaterThan(Date value) {
|
||||
addCriterion("update_time >", value, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
|
||||
addCriterion("update_time >=", value, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeLessThan(Date value) {
|
||||
addCriterion("update_time <", value, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
|
||||
addCriterion("update_time <=", value, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeIn(List<Date> values) {
|
||||
addCriterion("update_time in", values, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeNotIn(List<Date> values) {
|
||||
addCriterion("update_time not in", values, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeBetween(Date value1, Date value2) {
|
||||
addCriterion("update_time between", value1, value2, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
|
||||
addCriterion("update_time not between", value1, value2, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andErrorNumberIsNull() {
|
||||
addCriterion("error_number is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andErrorNumberIsNotNull() {
|
||||
addCriterion("error_number is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andErrorNumberEqualTo(Integer value) {
|
||||
addCriterion("error_number =", value, "errorNumber");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andErrorNumberNotEqualTo(Integer value) {
|
||||
addCriterion("error_number <>", value, "errorNumber");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andErrorNumberGreaterThan(Integer value) {
|
||||
addCriterion("error_number >", value, "errorNumber");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andErrorNumberGreaterThanOrEqualTo(Integer value) {
|
||||
addCriterion("error_number >=", value, "errorNumber");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andErrorNumberLessThan(Integer value) {
|
||||
addCriterion("error_number <", value, "errorNumber");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andErrorNumberLessThanOrEqualTo(Integer value) {
|
||||
addCriterion("error_number <=", value, "errorNumber");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andErrorNumberIn(List<Integer> values) {
|
||||
addCriterion("error_number in", values, "errorNumber");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andErrorNumberNotIn(List<Integer> values) {
|
||||
addCriterion("error_number not in", values, "errorNumber");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andErrorNumberBetween(Integer value1, Integer value2) {
|
||||
addCriterion("error_number between", value1, value2, "errorNumber");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andErrorNumberNotBetween(Integer value1, Integer value2) {
|
||||
addCriterion("error_number not between", value1, value2, "errorNumber");
|
||||
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,118 @@
|
||||
package com.sztzjy.digital_credit.entity;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
/**
|
||||
*
|
||||
* @author whb
|
||||
* stu_rating_result
|
||||
*/
|
||||
public class StuRatingResult {
|
||||
private String id;
|
||||
|
||||
@ApiModelProperty("初步评级总分")
|
||||
private String preliminaryRatingTotalScore;
|
||||
|
||||
@ApiModelProperty("调整项总分")
|
||||
private String totalScoreOfAdjustItems;
|
||||
|
||||
@ApiModelProperty("最终总分")
|
||||
private String finalTotalScore;
|
||||
|
||||
@ApiModelProperty("信用等级")
|
||||
private String creditRating;
|
||||
|
||||
@ApiModelProperty("错误次数")
|
||||
private Integer errorNumber;
|
||||
|
||||
@ApiModelProperty("提交状态")
|
||||
private Integer subState;
|
||||
|
||||
@ApiModelProperty("用户ID")
|
||||
private String userId;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
private Date updateTime;
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id == null ? null : id.trim();
|
||||
}
|
||||
|
||||
public String getPreliminaryRatingTotalScore() {
|
||||
return preliminaryRatingTotalScore;
|
||||
}
|
||||
|
||||
public void setPreliminaryRatingTotalScore(String preliminaryRatingTotalScore) {
|
||||
this.preliminaryRatingTotalScore = preliminaryRatingTotalScore == null ? null : preliminaryRatingTotalScore.trim();
|
||||
}
|
||||
|
||||
public String getTotalScoreOfAdjustItems() {
|
||||
return totalScoreOfAdjustItems;
|
||||
}
|
||||
|
||||
public void setTotalScoreOfAdjustItems(String totalScoreOfAdjustItems) {
|
||||
this.totalScoreOfAdjustItems = totalScoreOfAdjustItems == null ? null : totalScoreOfAdjustItems.trim();
|
||||
}
|
||||
|
||||
public String getFinalTotalScore() {
|
||||
return finalTotalScore;
|
||||
}
|
||||
|
||||
public void setFinalTotalScore(String finalTotalScore) {
|
||||
this.finalTotalScore = finalTotalScore == null ? null : finalTotalScore.trim();
|
||||
}
|
||||
|
||||
public String getCreditRating() {
|
||||
return creditRating;
|
||||
}
|
||||
|
||||
public void setCreditRating(String creditRating) {
|
||||
this.creditRating = creditRating == null ? null : creditRating.trim();
|
||||
}
|
||||
|
||||
public Integer getErrorNumber() {
|
||||
return errorNumber;
|
||||
}
|
||||
|
||||
public void setErrorNumber(Integer errorNumber) {
|
||||
this.errorNumber = errorNumber;
|
||||
}
|
||||
|
||||
public Integer getSubState() {
|
||||
return subState;
|
||||
}
|
||||
|
||||
public void setSubState(Integer subState) {
|
||||
this.subState = subState;
|
||||
}
|
||||
|
||||
public String getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(String userId) {
|
||||
this.userId = userId == null ? null : userId.trim();
|
||||
}
|
||||
|
||||
public Date getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Date createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public Date getUpdateTime() {
|
||||
return updateTime;
|
||||
}
|
||||
|
||||
public void setUpdateTime(Date updateTime) {
|
||||
this.updateTime = updateTime;
|
||||
}
|
||||
}
|
@ -0,0 +1,860 @@
|
||||
package com.sztzjy.digital_credit.entity;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public class StuRatingResultExample {
|
||||
protected String orderByClause;
|
||||
|
||||
protected boolean distinct;
|
||||
|
||||
protected List<Criteria> oredCriteria;
|
||||
|
||||
public StuRatingResultExample() {
|
||||
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 andPreliminaryRatingTotalScoreIsNull() {
|
||||
addCriterion("preliminary_rating_total_score is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPreliminaryRatingTotalScoreIsNotNull() {
|
||||
addCriterion("preliminary_rating_total_score is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPreliminaryRatingTotalScoreEqualTo(String value) {
|
||||
addCriterion("preliminary_rating_total_score =", value, "preliminaryRatingTotalScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPreliminaryRatingTotalScoreNotEqualTo(String value) {
|
||||
addCriterion("preliminary_rating_total_score <>", value, "preliminaryRatingTotalScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPreliminaryRatingTotalScoreGreaterThan(String value) {
|
||||
addCriterion("preliminary_rating_total_score >", value, "preliminaryRatingTotalScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPreliminaryRatingTotalScoreGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("preliminary_rating_total_score >=", value, "preliminaryRatingTotalScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPreliminaryRatingTotalScoreLessThan(String value) {
|
||||
addCriterion("preliminary_rating_total_score <", value, "preliminaryRatingTotalScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPreliminaryRatingTotalScoreLessThanOrEqualTo(String value) {
|
||||
addCriterion("preliminary_rating_total_score <=", value, "preliminaryRatingTotalScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPreliminaryRatingTotalScoreLike(String value) {
|
||||
addCriterion("preliminary_rating_total_score like", value, "preliminaryRatingTotalScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPreliminaryRatingTotalScoreNotLike(String value) {
|
||||
addCriterion("preliminary_rating_total_score not like", value, "preliminaryRatingTotalScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPreliminaryRatingTotalScoreIn(List<String> values) {
|
||||
addCriterion("preliminary_rating_total_score in", values, "preliminaryRatingTotalScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPreliminaryRatingTotalScoreNotIn(List<String> values) {
|
||||
addCriterion("preliminary_rating_total_score not in", values, "preliminaryRatingTotalScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPreliminaryRatingTotalScoreBetween(String value1, String value2) {
|
||||
addCriterion("preliminary_rating_total_score between", value1, value2, "preliminaryRatingTotalScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPreliminaryRatingTotalScoreNotBetween(String value1, String value2) {
|
||||
addCriterion("preliminary_rating_total_score not between", value1, value2, "preliminaryRatingTotalScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTotalScoreOfAdjustItemsIsNull() {
|
||||
addCriterion("total_score_of_adjust_items is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTotalScoreOfAdjustItemsIsNotNull() {
|
||||
addCriterion("total_score_of_adjust_items is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTotalScoreOfAdjustItemsEqualTo(String value) {
|
||||
addCriterion("total_score_of_adjust_items =", value, "totalScoreOfAdjustItems");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTotalScoreOfAdjustItemsNotEqualTo(String value) {
|
||||
addCriterion("total_score_of_adjust_items <>", value, "totalScoreOfAdjustItems");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTotalScoreOfAdjustItemsGreaterThan(String value) {
|
||||
addCriterion("total_score_of_adjust_items >", value, "totalScoreOfAdjustItems");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTotalScoreOfAdjustItemsGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("total_score_of_adjust_items >=", value, "totalScoreOfAdjustItems");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTotalScoreOfAdjustItemsLessThan(String value) {
|
||||
addCriterion("total_score_of_adjust_items <", value, "totalScoreOfAdjustItems");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTotalScoreOfAdjustItemsLessThanOrEqualTo(String value) {
|
||||
addCriterion("total_score_of_adjust_items <=", value, "totalScoreOfAdjustItems");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTotalScoreOfAdjustItemsLike(String value) {
|
||||
addCriterion("total_score_of_adjust_items like", value, "totalScoreOfAdjustItems");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTotalScoreOfAdjustItemsNotLike(String value) {
|
||||
addCriterion("total_score_of_adjust_items not like", value, "totalScoreOfAdjustItems");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTotalScoreOfAdjustItemsIn(List<String> values) {
|
||||
addCriterion("total_score_of_adjust_items in", values, "totalScoreOfAdjustItems");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTotalScoreOfAdjustItemsNotIn(List<String> values) {
|
||||
addCriterion("total_score_of_adjust_items not in", values, "totalScoreOfAdjustItems");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTotalScoreOfAdjustItemsBetween(String value1, String value2) {
|
||||
addCriterion("total_score_of_adjust_items between", value1, value2, "totalScoreOfAdjustItems");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTotalScoreOfAdjustItemsNotBetween(String value1, String value2) {
|
||||
addCriterion("total_score_of_adjust_items not between", value1, value2, "totalScoreOfAdjustItems");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFinalTotalScoreIsNull() {
|
||||
addCriterion("final_total_score is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFinalTotalScoreIsNotNull() {
|
||||
addCriterion("final_total_score is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFinalTotalScoreEqualTo(String value) {
|
||||
addCriterion("final_total_score =", value, "finalTotalScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFinalTotalScoreNotEqualTo(String value) {
|
||||
addCriterion("final_total_score <>", value, "finalTotalScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFinalTotalScoreGreaterThan(String value) {
|
||||
addCriterion("final_total_score >", value, "finalTotalScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFinalTotalScoreGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("final_total_score >=", value, "finalTotalScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFinalTotalScoreLessThan(String value) {
|
||||
addCriterion("final_total_score <", value, "finalTotalScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFinalTotalScoreLessThanOrEqualTo(String value) {
|
||||
addCriterion("final_total_score <=", value, "finalTotalScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFinalTotalScoreLike(String value) {
|
||||
addCriterion("final_total_score like", value, "finalTotalScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFinalTotalScoreNotLike(String value) {
|
||||
addCriterion("final_total_score not like", value, "finalTotalScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFinalTotalScoreIn(List<String> values) {
|
||||
addCriterion("final_total_score in", values, "finalTotalScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFinalTotalScoreNotIn(List<String> values) {
|
||||
addCriterion("final_total_score not in", values, "finalTotalScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFinalTotalScoreBetween(String value1, String value2) {
|
||||
addCriterion("final_total_score between", value1, value2, "finalTotalScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFinalTotalScoreNotBetween(String value1, String value2) {
|
||||
addCriterion("final_total_score not between", value1, value2, "finalTotalScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreditRatingIsNull() {
|
||||
addCriterion("credit_rating is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreditRatingIsNotNull() {
|
||||
addCriterion("credit_rating is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreditRatingEqualTo(String value) {
|
||||
addCriterion("credit_rating =", value, "creditRating");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreditRatingNotEqualTo(String value) {
|
||||
addCriterion("credit_rating <>", value, "creditRating");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreditRatingGreaterThan(String value) {
|
||||
addCriterion("credit_rating >", value, "creditRating");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreditRatingGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("credit_rating >=", value, "creditRating");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreditRatingLessThan(String value) {
|
||||
addCriterion("credit_rating <", value, "creditRating");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreditRatingLessThanOrEqualTo(String value) {
|
||||
addCriterion("credit_rating <=", value, "creditRating");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreditRatingLike(String value) {
|
||||
addCriterion("credit_rating like", value, "creditRating");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreditRatingNotLike(String value) {
|
||||
addCriterion("credit_rating not like", value, "creditRating");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreditRatingIn(List<String> values) {
|
||||
addCriterion("credit_rating in", values, "creditRating");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreditRatingNotIn(List<String> values) {
|
||||
addCriterion("credit_rating not in", values, "creditRating");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreditRatingBetween(String value1, String value2) {
|
||||
addCriterion("credit_rating between", value1, value2, "creditRating");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreditRatingNotBetween(String value1, String value2) {
|
||||
addCriterion("credit_rating not between", value1, value2, "creditRating");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andErrorNumberIsNull() {
|
||||
addCriterion("error_number is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andErrorNumberIsNotNull() {
|
||||
addCriterion("error_number is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andErrorNumberEqualTo(Integer value) {
|
||||
addCriterion("error_number =", value, "errorNumber");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andErrorNumberNotEqualTo(Integer value) {
|
||||
addCriterion("error_number <>", value, "errorNumber");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andErrorNumberGreaterThan(Integer value) {
|
||||
addCriterion("error_number >", value, "errorNumber");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andErrorNumberGreaterThanOrEqualTo(Integer value) {
|
||||
addCriterion("error_number >=", value, "errorNumber");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andErrorNumberLessThan(Integer value) {
|
||||
addCriterion("error_number <", value, "errorNumber");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andErrorNumberLessThanOrEqualTo(Integer value) {
|
||||
addCriterion("error_number <=", value, "errorNumber");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andErrorNumberIn(List<Integer> values) {
|
||||
addCriterion("error_number in", values, "errorNumber");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andErrorNumberNotIn(List<Integer> values) {
|
||||
addCriterion("error_number not in", values, "errorNumber");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andErrorNumberBetween(Integer value1, Integer value2) {
|
||||
addCriterion("error_number between", value1, value2, "errorNumber");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andErrorNumberNotBetween(Integer value1, Integer value2) {
|
||||
addCriterion("error_number not between", value1, value2, "errorNumber");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubStateIsNull() {
|
||||
addCriterion("sub_state is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubStateIsNotNull() {
|
||||
addCriterion("sub_state is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubStateEqualTo(Integer value) {
|
||||
addCriterion("sub_state =", value, "subState");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubStateNotEqualTo(Integer value) {
|
||||
addCriterion("sub_state <>", value, "subState");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubStateGreaterThan(Integer value) {
|
||||
addCriterion("sub_state >", value, "subState");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubStateGreaterThanOrEqualTo(Integer value) {
|
||||
addCriterion("sub_state >=", value, "subState");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubStateLessThan(Integer value) {
|
||||
addCriterion("sub_state <", value, "subState");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubStateLessThanOrEqualTo(Integer value) {
|
||||
addCriterion("sub_state <=", value, "subState");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubStateIn(List<Integer> values) {
|
||||
addCriterion("sub_state in", values, "subState");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubStateNotIn(List<Integer> values) {
|
||||
addCriterion("sub_state not in", values, "subState");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubStateBetween(Integer value1, Integer value2) {
|
||||
addCriterion("sub_state between", value1, value2, "subState");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubStateNotBetween(Integer value1, Integer value2) {
|
||||
addCriterion("sub_state not between", value1, value2, "subState");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdIsNull() {
|
||||
addCriterion("user_id is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdIsNotNull() {
|
||||
addCriterion("user_id is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdEqualTo(String value) {
|
||||
addCriterion("user_id =", value, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdNotEqualTo(String value) {
|
||||
addCriterion("user_id <>", value, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdGreaterThan(String value) {
|
||||
addCriterion("user_id >", value, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("user_id >=", value, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdLessThan(String value) {
|
||||
addCriterion("user_id <", value, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdLessThanOrEqualTo(String value) {
|
||||
addCriterion("user_id <=", value, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdLike(String value) {
|
||||
addCriterion("user_id like", value, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdNotLike(String value) {
|
||||
addCriterion("user_id not like", value, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdIn(List<String> values) {
|
||||
addCriterion("user_id in", values, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdNotIn(List<String> values) {
|
||||
addCriterion("user_id not in", values, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdBetween(String value1, String value2) {
|
||||
addCriterion("user_id between", value1, value2, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdNotBetween(String value1, String value2) {
|
||||
addCriterion("user_id not between", value1, value2, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeIsNull() {
|
||||
addCriterion("create_time is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeIsNotNull() {
|
||||
addCriterion("create_time is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeEqualTo(Date value) {
|
||||
addCriterion("create_time =", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeNotEqualTo(Date value) {
|
||||
addCriterion("create_time <>", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeGreaterThan(Date value) {
|
||||
addCriterion("create_time >", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
|
||||
addCriterion("create_time >=", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeLessThan(Date value) {
|
||||
addCriterion("create_time <", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
|
||||
addCriterion("create_time <=", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeIn(List<Date> values) {
|
||||
addCriterion("create_time in", values, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeNotIn(List<Date> values) {
|
||||
addCriterion("create_time not in", values, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeBetween(Date value1, Date value2) {
|
||||
addCriterion("create_time between", value1, value2, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
|
||||
addCriterion("create_time not between", value1, value2, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeIsNull() {
|
||||
addCriterion("update_time is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeIsNotNull() {
|
||||
addCriterion("update_time is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeEqualTo(Date value) {
|
||||
addCriterion("update_time =", value, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeNotEqualTo(Date value) {
|
||||
addCriterion("update_time <>", value, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeGreaterThan(Date value) {
|
||||
addCriterion("update_time >", value, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
|
||||
addCriterion("update_time >=", value, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeLessThan(Date value) {
|
||||
addCriterion("update_time <", value, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
|
||||
addCriterion("update_time <=", value, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeIn(List<Date> values) {
|
||||
addCriterion("update_time in", values, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeNotIn(List<Date> values) {
|
||||
addCriterion("update_time not in", values, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeBetween(Date value1, Date value2) {
|
||||
addCriterion("update_time between", value1, value2, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
|
||||
addCriterion("update_time not between", value1, value2, "updateTime");
|
||||
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,36 @@
|
||||
package com.sztzjy.digital_credit.mapper;
|
||||
|
||||
import com.sztzjy.digital_credit.entity.StuCreditEnhanceMeasure;
|
||||
import com.sztzjy.digital_credit.entity.StuCreditEnhanceMeasureExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface StuCreditEnhanceMeasureMapper {
|
||||
long countByExample(StuCreditEnhanceMeasureExample example);
|
||||
|
||||
int deleteByExample(StuCreditEnhanceMeasureExample example);
|
||||
|
||||
int deleteByPrimaryKey(String id);
|
||||
|
||||
int insert(StuCreditEnhanceMeasure record);
|
||||
|
||||
int insertSelective(StuCreditEnhanceMeasure record);
|
||||
|
||||
List<StuCreditEnhanceMeasure> selectByExampleWithBLOBs(StuCreditEnhanceMeasureExample example);
|
||||
|
||||
List<StuCreditEnhanceMeasure> selectByExample(StuCreditEnhanceMeasureExample example);
|
||||
|
||||
StuCreditEnhanceMeasure selectByPrimaryKey(String id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") StuCreditEnhanceMeasure record, @Param("example") StuCreditEnhanceMeasureExample example);
|
||||
|
||||
int updateByExampleWithBLOBs(@Param("record") StuCreditEnhanceMeasure record, @Param("example") StuCreditEnhanceMeasureExample example);
|
||||
|
||||
int updateByExample(@Param("record") StuCreditEnhanceMeasure record, @Param("example") StuCreditEnhanceMeasureExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(StuCreditEnhanceMeasure record);
|
||||
|
||||
int updateByPrimaryKeyWithBLOBs(StuCreditEnhanceMeasure record);
|
||||
|
||||
int updateByPrimaryKey(StuCreditEnhanceMeasure record);
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
package com.sztzjy.digital_credit.mapper;
|
||||
|
||||
import com.sztzjy.digital_credit.entity.StuRatingResult;
|
||||
import com.sztzjy.digital_credit.entity.StuRatingResultExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface StuRatingResultMapper {
|
||||
long countByExample(StuRatingResultExample example);
|
||||
|
||||
int deleteByExample(StuRatingResultExample example);
|
||||
|
||||
int deleteByPrimaryKey(String id);
|
||||
|
||||
int insert(StuRatingResult record);
|
||||
|
||||
int insertSelective(StuRatingResult record);
|
||||
|
||||
List<StuRatingResult> selectByExample(StuRatingResultExample example);
|
||||
|
||||
StuRatingResult selectByPrimaryKey(String id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") StuRatingResult record, @Param("example") StuRatingResultExample example);
|
||||
|
||||
int updateByExample(@Param("record") StuRatingResult record, @Param("example") StuRatingResultExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(StuRatingResult record);
|
||||
|
||||
int updateByPrimaryKey(StuRatingResult record);
|
||||
}
|
@ -0,0 +1,304 @@
|
||||
<?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.digital_credit.mapper.StuCreditEnhanceMeasureMapper">
|
||||
<resultMap id="BaseResultMap" type="com.sztzjy.digital_credit.entity.StuCreditEnhanceMeasure">
|
||||
<id column="id" jdbcType="VARCHAR" property="id" />
|
||||
<result column="tch_score" jdbcType="INTEGER" property="tchScore" />
|
||||
<result column="sys_score" jdbcType="INTEGER" property="sysScore" />
|
||||
<result column="user_id" jdbcType="VARCHAR" property="userId" />
|
||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||
<result column="error_number" jdbcType="INTEGER" property="errorNumber" />
|
||||
</resultMap>
|
||||
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.sztzjy.digital_credit.entity.StuCreditEnhanceMeasure">
|
||||
<result column="enchance_plan" jdbcType="LONGVARCHAR" property="enchancePlan" />
|
||||
</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, tch_score, sys_score, user_id, create_time, update_time, error_number
|
||||
</sql>
|
||||
<sql id="Blob_Column_List">
|
||||
enchance_plan
|
||||
</sql>
|
||||
<select id="selectByExampleWithBLOBs" parameterType="com.sztzjy.digital_credit.entity.StuCreditEnhanceMeasureExample" resultMap="ResultMapWithBLOBs">
|
||||
select
|
||||
<if test="distinct">
|
||||
distinct
|
||||
</if>
|
||||
<include refid="Base_Column_List" />
|
||||
,
|
||||
<include refid="Blob_Column_List" />
|
||||
from stu_credit_enhance_measure
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByExample" parameterType="com.sztzjy.digital_credit.entity.StuCreditEnhanceMeasureExample" resultMap="BaseResultMap">
|
||||
select
|
||||
<if test="distinct">
|
||||
distinct
|
||||
</if>
|
||||
<include refid="Base_Column_List" />
|
||||
from stu_credit_enhance_measure
|
||||
<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="ResultMapWithBLOBs">
|
||||
select
|
||||
<include refid="Base_Column_List" />
|
||||
,
|
||||
<include refid="Blob_Column_List" />
|
||||
from stu_credit_enhance_measure
|
||||
where id = #{id,jdbcType=VARCHAR}
|
||||
</select>
|
||||
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
||||
delete from stu_credit_enhance_measure
|
||||
where id = #{id,jdbcType=VARCHAR}
|
||||
</delete>
|
||||
<delete id="deleteByExample" parameterType="com.sztzjy.digital_credit.entity.StuCreditEnhanceMeasureExample">
|
||||
delete from stu_credit_enhance_measure
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</delete>
|
||||
<insert id="insert" parameterType="com.sztzjy.digital_credit.entity.StuCreditEnhanceMeasure">
|
||||
insert into stu_credit_enhance_measure (id, tch_score, sys_score,
|
||||
user_id, create_time, update_time,
|
||||
error_number, enchance_plan)
|
||||
values (#{id,jdbcType=VARCHAR}, #{tchScore,jdbcType=INTEGER}, #{sysScore,jdbcType=INTEGER},
|
||||
#{userId,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP},
|
||||
#{errorNumber,jdbcType=INTEGER}, #{enchancePlan,jdbcType=LONGVARCHAR})
|
||||
</insert>
|
||||
<insert id="insertSelective" parameterType="com.sztzjy.digital_credit.entity.StuCreditEnhanceMeasure">
|
||||
insert into stu_credit_enhance_measure
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">
|
||||
id,
|
||||
</if>
|
||||
<if test="tchScore != null">
|
||||
tch_score,
|
||||
</if>
|
||||
<if test="sysScore != null">
|
||||
sys_score,
|
||||
</if>
|
||||
<if test="userId != null">
|
||||
user_id,
|
||||
</if>
|
||||
<if test="createTime != null">
|
||||
create_time,
|
||||
</if>
|
||||
<if test="updateTime != null">
|
||||
update_time,
|
||||
</if>
|
||||
<if test="errorNumber != null">
|
||||
error_number,
|
||||
</if>
|
||||
<if test="enchancePlan != null">
|
||||
enchance_plan,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">
|
||||
#{id,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="tchScore != null">
|
||||
#{tchScore,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="sysScore != null">
|
||||
#{sysScore,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="userId != null">
|
||||
#{userId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="createTime != null">
|
||||
#{createTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="updateTime != null">
|
||||
#{updateTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="errorNumber != null">
|
||||
#{errorNumber,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="enchancePlan != null">
|
||||
#{enchancePlan,jdbcType=LONGVARCHAR},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<select id="countByExample" parameterType="com.sztzjy.digital_credit.entity.StuCreditEnhanceMeasureExample" resultType="java.lang.Long">
|
||||
select count(*) from stu_credit_enhance_measure
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</select>
|
||||
<update id="updateByExampleSelective" parameterType="map">
|
||||
update stu_credit_enhance_measure
|
||||
<set>
|
||||
<if test="record.id != null">
|
||||
id = #{record.id,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.tchScore != null">
|
||||
tch_score = #{record.tchScore,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="record.sysScore != null">
|
||||
sys_score = #{record.sysScore,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="record.userId != null">
|
||||
user_id = #{record.userId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="record.errorNumber != null">
|
||||
error_number = #{record.errorNumber,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="record.enchancePlan != null">
|
||||
enchance_plan = #{record.enchancePlan,jdbcType=LONGVARCHAR},
|
||||
</if>
|
||||
</set>
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByExampleWithBLOBs" parameterType="map">
|
||||
update stu_credit_enhance_measure
|
||||
set id = #{record.id,jdbcType=VARCHAR},
|
||||
tch_score = #{record.tchScore,jdbcType=INTEGER},
|
||||
sys_score = #{record.sysScore,jdbcType=INTEGER},
|
||||
user_id = #{record.userId,jdbcType=VARCHAR},
|
||||
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
||||
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
||||
error_number = #{record.errorNumber,jdbcType=INTEGER},
|
||||
enchance_plan = #{record.enchancePlan,jdbcType=LONGVARCHAR}
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByExample" parameterType="map">
|
||||
update stu_credit_enhance_measure
|
||||
set id = #{record.id,jdbcType=VARCHAR},
|
||||
tch_score = #{record.tchScore,jdbcType=INTEGER},
|
||||
sys_score = #{record.sysScore,jdbcType=INTEGER},
|
||||
user_id = #{record.userId,jdbcType=VARCHAR},
|
||||
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
||||
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
||||
error_number = #{record.errorNumber,jdbcType=INTEGER}
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByPrimaryKeySelective" parameterType="com.sztzjy.digital_credit.entity.StuCreditEnhanceMeasure">
|
||||
update stu_credit_enhance_measure
|
||||
<set>
|
||||
<if test="tchScore != null">
|
||||
tch_score = #{tchScore,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="sysScore != null">
|
||||
sys_score = #{sysScore,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="userId != null">
|
||||
user_id = #{userId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="createTime != null">
|
||||
create_time = #{createTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="updateTime != null">
|
||||
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="errorNumber != null">
|
||||
error_number = #{errorNumber,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="enchancePlan != null">
|
||||
enchance_plan = #{enchancePlan,jdbcType=LONGVARCHAR},
|
||||
</if>
|
||||
</set>
|
||||
where id = #{id,jdbcType=VARCHAR}
|
||||
</update>
|
||||
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.sztzjy.digital_credit.entity.StuCreditEnhanceMeasure">
|
||||
update stu_credit_enhance_measure
|
||||
set tch_score = #{tchScore,jdbcType=INTEGER},
|
||||
sys_score = #{sysScore,jdbcType=INTEGER},
|
||||
user_id = #{userId,jdbcType=VARCHAR},
|
||||
create_time = #{createTime,jdbcType=TIMESTAMP},
|
||||
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
||||
error_number = #{errorNumber,jdbcType=INTEGER},
|
||||
enchance_plan = #{enchancePlan,jdbcType=LONGVARCHAR}
|
||||
where id = #{id,jdbcType=VARCHAR}
|
||||
</update>
|
||||
<update id="updateByPrimaryKey" parameterType="com.sztzjy.digital_credit.entity.StuCreditEnhanceMeasure">
|
||||
update stu_credit_enhance_measure
|
||||
set tch_score = #{tchScore,jdbcType=INTEGER},
|
||||
sys_score = #{sysScore,jdbcType=INTEGER},
|
||||
user_id = #{userId,jdbcType=VARCHAR},
|
||||
create_time = #{createTime,jdbcType=TIMESTAMP},
|
||||
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
||||
error_number = #{errorNumber,jdbcType=INTEGER}
|
||||
where id = #{id,jdbcType=VARCHAR}
|
||||
</update>
|
||||
</mapper>
|
@ -0,0 +1,293 @@
|
||||
<?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.digital_credit.mapper.StuRatingResultMapper">
|
||||
<resultMap id="BaseResultMap" type="com.sztzjy.digital_credit.entity.StuRatingResult">
|
||||
<id column="id" jdbcType="VARCHAR" property="id" />
|
||||
<result column="preliminary_rating_total_score" jdbcType="VARCHAR" property="preliminaryRatingTotalScore" />
|
||||
<result column="total_score_of_adjust_items" jdbcType="VARCHAR" property="totalScoreOfAdjustItems" />
|
||||
<result column="final_total_score" jdbcType="VARCHAR" property="finalTotalScore" />
|
||||
<result column="credit_rating" jdbcType="VARCHAR" property="creditRating" />
|
||||
<result column="error_number" jdbcType="INTEGER" property="errorNumber" />
|
||||
<result column="sub_state" jdbcType="INTEGER" property="subState" />
|
||||
<result column="user_id" jdbcType="VARCHAR" property="userId" />
|
||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||
</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, preliminary_rating_total_score, total_score_of_adjust_items, final_total_score,
|
||||
credit_rating, error_number, sub_state, user_id, create_time, update_time
|
||||
</sql>
|
||||
<select id="selectByExample" parameterType="com.sztzjy.digital_credit.entity.StuRatingResultExample" resultMap="BaseResultMap">
|
||||
select
|
||||
<if test="distinct">
|
||||
distinct
|
||||
</if>
|
||||
<include refid="Base_Column_List" />
|
||||
from stu_rating_result
|
||||
<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 stu_rating_result
|
||||
where id = #{id,jdbcType=VARCHAR}
|
||||
</select>
|
||||
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
||||
delete from stu_rating_result
|
||||
where id = #{id,jdbcType=VARCHAR}
|
||||
</delete>
|
||||
<delete id="deleteByExample" parameterType="com.sztzjy.digital_credit.entity.StuRatingResultExample">
|
||||
delete from stu_rating_result
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</delete>
|
||||
<insert id="insert" parameterType="com.sztzjy.digital_credit.entity.StuRatingResult">
|
||||
insert into stu_rating_result (id, preliminary_rating_total_score,
|
||||
total_score_of_adjust_items, final_total_score,
|
||||
credit_rating, error_number, sub_state,
|
||||
user_id, create_time, update_time
|
||||
)
|
||||
values (#{id,jdbcType=VARCHAR}, #{preliminaryRatingTotalScore,jdbcType=VARCHAR},
|
||||
#{totalScoreOfAdjustItems,jdbcType=VARCHAR}, #{finalTotalScore,jdbcType=VARCHAR},
|
||||
#{creditRating,jdbcType=VARCHAR}, #{errorNumber,jdbcType=INTEGER}, #{subState,jdbcType=INTEGER},
|
||||
#{userId,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}
|
||||
)
|
||||
</insert>
|
||||
<insert id="insertSelective" parameterType="com.sztzjy.digital_credit.entity.StuRatingResult">
|
||||
insert into stu_rating_result
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">
|
||||
id,
|
||||
</if>
|
||||
<if test="preliminaryRatingTotalScore != null">
|
||||
preliminary_rating_total_score,
|
||||
</if>
|
||||
<if test="totalScoreOfAdjustItems != null">
|
||||
total_score_of_adjust_items,
|
||||
</if>
|
||||
<if test="finalTotalScore != null">
|
||||
final_total_score,
|
||||
</if>
|
||||
<if test="creditRating != null">
|
||||
credit_rating,
|
||||
</if>
|
||||
<if test="errorNumber != null">
|
||||
error_number,
|
||||
</if>
|
||||
<if test="subState != null">
|
||||
sub_state,
|
||||
</if>
|
||||
<if test="userId != null">
|
||||
user_id,
|
||||
</if>
|
||||
<if test="createTime != null">
|
||||
create_time,
|
||||
</if>
|
||||
<if test="updateTime != null">
|
||||
update_time,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">
|
||||
#{id,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="preliminaryRatingTotalScore != null">
|
||||
#{preliminaryRatingTotalScore,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="totalScoreOfAdjustItems != null">
|
||||
#{totalScoreOfAdjustItems,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="finalTotalScore != null">
|
||||
#{finalTotalScore,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="creditRating != null">
|
||||
#{creditRating,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="errorNumber != null">
|
||||
#{errorNumber,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="subState != null">
|
||||
#{subState,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="userId != null">
|
||||
#{userId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="createTime != null">
|
||||
#{createTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="updateTime != null">
|
||||
#{updateTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<select id="countByExample" parameterType="com.sztzjy.digital_credit.entity.StuRatingResultExample" resultType="java.lang.Long">
|
||||
select count(*) from stu_rating_result
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</select>
|
||||
<update id="updateByExampleSelective" parameterType="map">
|
||||
update stu_rating_result
|
||||
<set>
|
||||
<if test="record.id != null">
|
||||
id = #{record.id,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.preliminaryRatingTotalScore != null">
|
||||
preliminary_rating_total_score = #{record.preliminaryRatingTotalScore,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.totalScoreOfAdjustItems != null">
|
||||
total_score_of_adjust_items = #{record.totalScoreOfAdjustItems,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.finalTotalScore != null">
|
||||
final_total_score = #{record.finalTotalScore,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.creditRating != null">
|
||||
credit_rating = #{record.creditRating,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.errorNumber != null">
|
||||
error_number = #{record.errorNumber,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="record.subState != null">
|
||||
sub_state = #{record.subState,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="record.userId != null">
|
||||
user_id = #{record.userId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
</set>
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByExample" parameterType="map">
|
||||
update stu_rating_result
|
||||
set id = #{record.id,jdbcType=VARCHAR},
|
||||
preliminary_rating_total_score = #{record.preliminaryRatingTotalScore,jdbcType=VARCHAR},
|
||||
total_score_of_adjust_items = #{record.totalScoreOfAdjustItems,jdbcType=VARCHAR},
|
||||
final_total_score = #{record.finalTotalScore,jdbcType=VARCHAR},
|
||||
credit_rating = #{record.creditRating,jdbcType=VARCHAR},
|
||||
error_number = #{record.errorNumber,jdbcType=INTEGER},
|
||||
sub_state = #{record.subState,jdbcType=INTEGER},
|
||||
user_id = #{record.userId,jdbcType=VARCHAR},
|
||||
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
||||
update_time = #{record.updateTime,jdbcType=TIMESTAMP}
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByPrimaryKeySelective" parameterType="com.sztzjy.digital_credit.entity.StuRatingResult">
|
||||
update stu_rating_result
|
||||
<set>
|
||||
<if test="preliminaryRatingTotalScore != null">
|
||||
preliminary_rating_total_score = #{preliminaryRatingTotalScore,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="totalScoreOfAdjustItems != null">
|
||||
total_score_of_adjust_items = #{totalScoreOfAdjustItems,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="finalTotalScore != null">
|
||||
final_total_score = #{finalTotalScore,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="creditRating != null">
|
||||
credit_rating = #{creditRating,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="errorNumber != null">
|
||||
error_number = #{errorNumber,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="subState != null">
|
||||
sub_state = #{subState,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="userId != null">
|
||||
user_id = #{userId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="createTime != null">
|
||||
create_time = #{createTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="updateTime != null">
|
||||
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
</set>
|
||||
where id = #{id,jdbcType=VARCHAR}
|
||||
</update>
|
||||
<update id="updateByPrimaryKey" parameterType="com.sztzjy.digital_credit.entity.StuRatingResult">
|
||||
update stu_rating_result
|
||||
set preliminary_rating_total_score = #{preliminaryRatingTotalScore,jdbcType=VARCHAR},
|
||||
total_score_of_adjust_items = #{totalScoreOfAdjustItems,jdbcType=VARCHAR},
|
||||
final_total_score = #{finalTotalScore,jdbcType=VARCHAR},
|
||||
credit_rating = #{creditRating,jdbcType=VARCHAR},
|
||||
error_number = #{errorNumber,jdbcType=INTEGER},
|
||||
sub_state = #{subState,jdbcType=INTEGER},
|
||||
user_id = #{userId,jdbcType=VARCHAR},
|
||||
create_time = #{createTime,jdbcType=TIMESTAMP},
|
||||
update_time = #{updateTime,jdbcType=TIMESTAMP}
|
||||
where id = #{id,jdbcType=VARCHAR}
|
||||
</update>
|
||||
</mapper>
|
Loading…
Reference in New Issue