自动生成配置文件和mapper xml
parent
6c56705c78
commit
db85b51715
@ -0,0 +1,78 @@
|
||||
package com.sztzjy.financial_bigdata.entity;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
/**
|
||||
* 学习数据统计分析表
|
||||
*
|
||||
* @author xcj
|
||||
* tea_learning_statistics
|
||||
*/
|
||||
public class TeaLearningStatistics {
|
||||
@ApiModelProperty("用户ID")
|
||||
private String userId;
|
||||
|
||||
@ApiModelProperty("实训演练已学任务数量")
|
||||
private Integer practiceTaskCount;
|
||||
|
||||
@ApiModelProperty("实训演练已学案例数量")
|
||||
private Integer practiceCaseCount;
|
||||
|
||||
@ApiModelProperty("实训演练学习时长")
|
||||
private Integer learningDuration;
|
||||
|
||||
@ApiModelProperty("实训演练任务进度")
|
||||
private BigDecimal taskProgress;
|
||||
|
||||
@ApiModelProperty("实战考核")
|
||||
private String practicalAssessment;
|
||||
|
||||
public String getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(String userId) {
|
||||
this.userId = userId == null ? null : userId.trim();
|
||||
}
|
||||
|
||||
public Integer getPracticeTaskCount() {
|
||||
return practiceTaskCount;
|
||||
}
|
||||
|
||||
public void setPracticeTaskCount(Integer practiceTaskCount) {
|
||||
this.practiceTaskCount = practiceTaskCount;
|
||||
}
|
||||
|
||||
public Integer getPracticeCaseCount() {
|
||||
return practiceCaseCount;
|
||||
}
|
||||
|
||||
public void setPracticeCaseCount(Integer practiceCaseCount) {
|
||||
this.practiceCaseCount = practiceCaseCount;
|
||||
}
|
||||
|
||||
public Integer getLearningDuration() {
|
||||
return learningDuration;
|
||||
}
|
||||
|
||||
public void setLearningDuration(Integer learningDuration) {
|
||||
this.learningDuration = learningDuration;
|
||||
}
|
||||
|
||||
public BigDecimal getTaskProgress() {
|
||||
return taskProgress;
|
||||
}
|
||||
|
||||
public void setTaskProgress(BigDecimal taskProgress) {
|
||||
this.taskProgress = taskProgress;
|
||||
}
|
||||
|
||||
public String getPracticalAssessment() {
|
||||
return practicalAssessment;
|
||||
}
|
||||
|
||||
public void setPracticalAssessment(String practicalAssessment) {
|
||||
this.practicalAssessment = practicalAssessment == null ? null : practicalAssessment.trim();
|
||||
}
|
||||
}
|
@ -0,0 +1,580 @@
|
||||
package com.sztzjy.financial_bigdata.entity;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class TeaLearningStatisticsExample {
|
||||
protected String orderByClause;
|
||||
|
||||
protected boolean distinct;
|
||||
|
||||
protected List<Criteria> oredCriteria;
|
||||
|
||||
public TeaLearningStatisticsExample() {
|
||||
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 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 andPracticeTaskCountIsNull() {
|
||||
addCriterion("practice_task_count is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPracticeTaskCountIsNotNull() {
|
||||
addCriterion("practice_task_count is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPracticeTaskCountEqualTo(Integer value) {
|
||||
addCriterion("practice_task_count =", value, "practiceTaskCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPracticeTaskCountNotEqualTo(Integer value) {
|
||||
addCriterion("practice_task_count <>", value, "practiceTaskCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPracticeTaskCountGreaterThan(Integer value) {
|
||||
addCriterion("practice_task_count >", value, "practiceTaskCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPracticeTaskCountGreaterThanOrEqualTo(Integer value) {
|
||||
addCriterion("practice_task_count >=", value, "practiceTaskCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPracticeTaskCountLessThan(Integer value) {
|
||||
addCriterion("practice_task_count <", value, "practiceTaskCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPracticeTaskCountLessThanOrEqualTo(Integer value) {
|
||||
addCriterion("practice_task_count <=", value, "practiceTaskCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPracticeTaskCountIn(List<Integer> values) {
|
||||
addCriterion("practice_task_count in", values, "practiceTaskCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPracticeTaskCountNotIn(List<Integer> values) {
|
||||
addCriterion("practice_task_count not in", values, "practiceTaskCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPracticeTaskCountBetween(Integer value1, Integer value2) {
|
||||
addCriterion("practice_task_count between", value1, value2, "practiceTaskCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPracticeTaskCountNotBetween(Integer value1, Integer value2) {
|
||||
addCriterion("practice_task_count not between", value1, value2, "practiceTaskCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPracticeCaseCountIsNull() {
|
||||
addCriterion("practice_case_count is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPracticeCaseCountIsNotNull() {
|
||||
addCriterion("practice_case_count is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPracticeCaseCountEqualTo(Integer value) {
|
||||
addCriterion("practice_case_count =", value, "practiceCaseCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPracticeCaseCountNotEqualTo(Integer value) {
|
||||
addCriterion("practice_case_count <>", value, "practiceCaseCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPracticeCaseCountGreaterThan(Integer value) {
|
||||
addCriterion("practice_case_count >", value, "practiceCaseCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPracticeCaseCountGreaterThanOrEqualTo(Integer value) {
|
||||
addCriterion("practice_case_count >=", value, "practiceCaseCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPracticeCaseCountLessThan(Integer value) {
|
||||
addCriterion("practice_case_count <", value, "practiceCaseCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPracticeCaseCountLessThanOrEqualTo(Integer value) {
|
||||
addCriterion("practice_case_count <=", value, "practiceCaseCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPracticeCaseCountIn(List<Integer> values) {
|
||||
addCriterion("practice_case_count in", values, "practiceCaseCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPracticeCaseCountNotIn(List<Integer> values) {
|
||||
addCriterion("practice_case_count not in", values, "practiceCaseCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPracticeCaseCountBetween(Integer value1, Integer value2) {
|
||||
addCriterion("practice_case_count between", value1, value2, "practiceCaseCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPracticeCaseCountNotBetween(Integer value1, Integer value2) {
|
||||
addCriterion("practice_case_count not between", value1, value2, "practiceCaseCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLearningDurationIsNull() {
|
||||
addCriterion("learning_duration is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLearningDurationIsNotNull() {
|
||||
addCriterion("learning_duration is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLearningDurationEqualTo(Integer value) {
|
||||
addCriterion("learning_duration =", value, "learningDuration");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLearningDurationNotEqualTo(Integer value) {
|
||||
addCriterion("learning_duration <>", value, "learningDuration");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLearningDurationGreaterThan(Integer value) {
|
||||
addCriterion("learning_duration >", value, "learningDuration");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLearningDurationGreaterThanOrEqualTo(Integer value) {
|
||||
addCriterion("learning_duration >=", value, "learningDuration");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLearningDurationLessThan(Integer value) {
|
||||
addCriterion("learning_duration <", value, "learningDuration");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLearningDurationLessThanOrEqualTo(Integer value) {
|
||||
addCriterion("learning_duration <=", value, "learningDuration");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLearningDurationIn(List<Integer> values) {
|
||||
addCriterion("learning_duration in", values, "learningDuration");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLearningDurationNotIn(List<Integer> values) {
|
||||
addCriterion("learning_duration not in", values, "learningDuration");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLearningDurationBetween(Integer value1, Integer value2) {
|
||||
addCriterion("learning_duration between", value1, value2, "learningDuration");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLearningDurationNotBetween(Integer value1, Integer value2) {
|
||||
addCriterion("learning_duration not between", value1, value2, "learningDuration");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTaskProgressIsNull() {
|
||||
addCriterion("task_progress is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTaskProgressIsNotNull() {
|
||||
addCriterion("task_progress is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTaskProgressEqualTo(BigDecimal value) {
|
||||
addCriterion("task_progress =", value, "taskProgress");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTaskProgressNotEqualTo(BigDecimal value) {
|
||||
addCriterion("task_progress <>", value, "taskProgress");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTaskProgressGreaterThan(BigDecimal value) {
|
||||
addCriterion("task_progress >", value, "taskProgress");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTaskProgressGreaterThanOrEqualTo(BigDecimal value) {
|
||||
addCriterion("task_progress >=", value, "taskProgress");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTaskProgressLessThan(BigDecimal value) {
|
||||
addCriterion("task_progress <", value, "taskProgress");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTaskProgressLessThanOrEqualTo(BigDecimal value) {
|
||||
addCriterion("task_progress <=", value, "taskProgress");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTaskProgressIn(List<BigDecimal> values) {
|
||||
addCriterion("task_progress in", values, "taskProgress");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTaskProgressNotIn(List<BigDecimal> values) {
|
||||
addCriterion("task_progress not in", values, "taskProgress");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTaskProgressBetween(BigDecimal value1, BigDecimal value2) {
|
||||
addCriterion("task_progress between", value1, value2, "taskProgress");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTaskProgressNotBetween(BigDecimal value1, BigDecimal value2) {
|
||||
addCriterion("task_progress not between", value1, value2, "taskProgress");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPracticalAssessmentIsNull() {
|
||||
addCriterion("practical_assessment is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPracticalAssessmentIsNotNull() {
|
||||
addCriterion("practical_assessment is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPracticalAssessmentEqualTo(String value) {
|
||||
addCriterion("practical_assessment =", value, "practicalAssessment");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPracticalAssessmentNotEqualTo(String value) {
|
||||
addCriterion("practical_assessment <>", value, "practicalAssessment");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPracticalAssessmentGreaterThan(String value) {
|
||||
addCriterion("practical_assessment >", value, "practicalAssessment");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPracticalAssessmentGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("practical_assessment >=", value, "practicalAssessment");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPracticalAssessmentLessThan(String value) {
|
||||
addCriterion("practical_assessment <", value, "practicalAssessment");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPracticalAssessmentLessThanOrEqualTo(String value) {
|
||||
addCriterion("practical_assessment <=", value, "practicalAssessment");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPracticalAssessmentLike(String value) {
|
||||
addCriterion("practical_assessment like", value, "practicalAssessment");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPracticalAssessmentNotLike(String value) {
|
||||
addCriterion("practical_assessment not like", value, "practicalAssessment");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPracticalAssessmentIn(List<String> values) {
|
||||
addCriterion("practical_assessment in", values, "practicalAssessment");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPracticalAssessmentNotIn(List<String> values) {
|
||||
addCriterion("practical_assessment not in", values, "practicalAssessment");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPracticalAssessmentBetween(String value1, String value2) {
|
||||
addCriterion("practical_assessment between", value1, value2, "practicalAssessment");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPracticalAssessmentNotBetween(String value1, String value2) {
|
||||
addCriterion("practical_assessment not between", value1, value2, "practicalAssessment");
|
||||
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,76 @@
|
||||
package com.sztzjy.financial_bigdata.entity;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
/**
|
||||
* 资源中心表
|
||||
*
|
||||
* @author xcj
|
||||
* tea_resource_center
|
||||
*/
|
||||
public class TeaResourceCenter {
|
||||
@ApiModelProperty("资源ID")
|
||||
private String resourceId;
|
||||
|
||||
@ApiModelProperty("章节ID")
|
||||
private String chapterId;
|
||||
|
||||
@ApiModelProperty("资源地址")
|
||||
private String resourceUrl;
|
||||
|
||||
@ApiModelProperty("图片地址")
|
||||
private String imageUrl;
|
||||
|
||||
@ApiModelProperty("资源名称")
|
||||
private String resourceName;
|
||||
|
||||
@ApiModelProperty("学校ID")
|
||||
private String schoolId;
|
||||
|
||||
public String getResourceId() {
|
||||
return resourceId;
|
||||
}
|
||||
|
||||
public void setResourceId(String resourceId) {
|
||||
this.resourceId = resourceId == null ? null : resourceId.trim();
|
||||
}
|
||||
|
||||
public String getChapterId() {
|
||||
return chapterId;
|
||||
}
|
||||
|
||||
public void setChapterId(String chapterId) {
|
||||
this.chapterId = chapterId == null ? null : chapterId.trim();
|
||||
}
|
||||
|
||||
public String getResourceUrl() {
|
||||
return resourceUrl;
|
||||
}
|
||||
|
||||
public void setResourceUrl(String resourceUrl) {
|
||||
this.resourceUrl = resourceUrl == null ? null : resourceUrl.trim();
|
||||
}
|
||||
|
||||
public String getImageUrl() {
|
||||
return imageUrl;
|
||||
}
|
||||
|
||||
public void setImageUrl(String imageUrl) {
|
||||
this.imageUrl = imageUrl == null ? null : imageUrl.trim();
|
||||
}
|
||||
|
||||
public String getResourceName() {
|
||||
return resourceName;
|
||||
}
|
||||
|
||||
public void setResourceName(String resourceName) {
|
||||
this.resourceName = resourceName == null ? null : resourceName.trim();
|
||||
}
|
||||
|
||||
public String getSchoolId() {
|
||||
return schoolId;
|
||||
}
|
||||
|
||||
public void setSchoolId(String schoolId) {
|
||||
this.schoolId = schoolId == null ? null : schoolId.trim();
|
||||
}
|
||||
}
|
@ -0,0 +1,619 @@
|
||||
package com.sztzjy.financial_bigdata.entity;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class TeaResourceCenterExample {
|
||||
protected String orderByClause;
|
||||
|
||||
protected boolean distinct;
|
||||
|
||||
protected List<Criteria> oredCriteria;
|
||||
|
||||
public TeaResourceCenterExample() {
|
||||
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 andResourceIdIsNull() {
|
||||
addCriterion("resource_id is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceIdIsNotNull() {
|
||||
addCriterion("resource_id is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceIdEqualTo(String value) {
|
||||
addCriterion("resource_id =", value, "resourceId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceIdNotEqualTo(String value) {
|
||||
addCriterion("resource_id <>", value, "resourceId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceIdGreaterThan(String value) {
|
||||
addCriterion("resource_id >", value, "resourceId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceIdGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("resource_id >=", value, "resourceId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceIdLessThan(String value) {
|
||||
addCriterion("resource_id <", value, "resourceId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceIdLessThanOrEqualTo(String value) {
|
||||
addCriterion("resource_id <=", value, "resourceId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceIdLike(String value) {
|
||||
addCriterion("resource_id like", value, "resourceId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceIdNotLike(String value) {
|
||||
addCriterion("resource_id not like", value, "resourceId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceIdIn(List<String> values) {
|
||||
addCriterion("resource_id in", values, "resourceId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceIdNotIn(List<String> values) {
|
||||
addCriterion("resource_id not in", values, "resourceId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceIdBetween(String value1, String value2) {
|
||||
addCriterion("resource_id between", value1, value2, "resourceId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceIdNotBetween(String value1, String value2) {
|
||||
addCriterion("resource_id not between", value1, value2, "resourceId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andChapterIdIsNull() {
|
||||
addCriterion("chapter_id is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andChapterIdIsNotNull() {
|
||||
addCriterion("chapter_id is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andChapterIdEqualTo(String value) {
|
||||
addCriterion("chapter_id =", value, "chapterId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andChapterIdNotEqualTo(String value) {
|
||||
addCriterion("chapter_id <>", value, "chapterId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andChapterIdGreaterThan(String value) {
|
||||
addCriterion("chapter_id >", value, "chapterId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andChapterIdGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("chapter_id >=", value, "chapterId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andChapterIdLessThan(String value) {
|
||||
addCriterion("chapter_id <", value, "chapterId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andChapterIdLessThanOrEqualTo(String value) {
|
||||
addCriterion("chapter_id <=", value, "chapterId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andChapterIdLike(String value) {
|
||||
addCriterion("chapter_id like", value, "chapterId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andChapterIdNotLike(String value) {
|
||||
addCriterion("chapter_id not like", value, "chapterId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andChapterIdIn(List<String> values) {
|
||||
addCriterion("chapter_id in", values, "chapterId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andChapterIdNotIn(List<String> values) {
|
||||
addCriterion("chapter_id not in", values, "chapterId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andChapterIdBetween(String value1, String value2) {
|
||||
addCriterion("chapter_id between", value1, value2, "chapterId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andChapterIdNotBetween(String value1, String value2) {
|
||||
addCriterion("chapter_id not between", value1, value2, "chapterId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceUrlIsNull() {
|
||||
addCriterion("resource_url is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceUrlIsNotNull() {
|
||||
addCriterion("resource_url is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceUrlEqualTo(String value) {
|
||||
addCriterion("resource_url =", value, "resourceUrl");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceUrlNotEqualTo(String value) {
|
||||
addCriterion("resource_url <>", value, "resourceUrl");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceUrlGreaterThan(String value) {
|
||||
addCriterion("resource_url >", value, "resourceUrl");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceUrlGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("resource_url >=", value, "resourceUrl");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceUrlLessThan(String value) {
|
||||
addCriterion("resource_url <", value, "resourceUrl");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceUrlLessThanOrEqualTo(String value) {
|
||||
addCriterion("resource_url <=", value, "resourceUrl");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceUrlLike(String value) {
|
||||
addCriterion("resource_url like", value, "resourceUrl");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceUrlNotLike(String value) {
|
||||
addCriterion("resource_url not like", value, "resourceUrl");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceUrlIn(List<String> values) {
|
||||
addCriterion("resource_url in", values, "resourceUrl");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceUrlNotIn(List<String> values) {
|
||||
addCriterion("resource_url not in", values, "resourceUrl");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceUrlBetween(String value1, String value2) {
|
||||
addCriterion("resource_url between", value1, value2, "resourceUrl");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceUrlNotBetween(String value1, String value2) {
|
||||
addCriterion("resource_url not between", value1, value2, "resourceUrl");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andImageUrlIsNull() {
|
||||
addCriterion("image_url is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andImageUrlIsNotNull() {
|
||||
addCriterion("image_url is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andImageUrlEqualTo(String value) {
|
||||
addCriterion("image_url =", value, "imageUrl");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andImageUrlNotEqualTo(String value) {
|
||||
addCriterion("image_url <>", value, "imageUrl");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andImageUrlGreaterThan(String value) {
|
||||
addCriterion("image_url >", value, "imageUrl");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andImageUrlGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("image_url >=", value, "imageUrl");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andImageUrlLessThan(String value) {
|
||||
addCriterion("image_url <", value, "imageUrl");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andImageUrlLessThanOrEqualTo(String value) {
|
||||
addCriterion("image_url <=", value, "imageUrl");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andImageUrlLike(String value) {
|
||||
addCriterion("image_url like", value, "imageUrl");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andImageUrlNotLike(String value) {
|
||||
addCriterion("image_url not like", value, "imageUrl");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andImageUrlIn(List<String> values) {
|
||||
addCriterion("image_url in", values, "imageUrl");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andImageUrlNotIn(List<String> values) {
|
||||
addCriterion("image_url not in", values, "imageUrl");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andImageUrlBetween(String value1, String value2) {
|
||||
addCriterion("image_url between", value1, value2, "imageUrl");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andImageUrlNotBetween(String value1, String value2) {
|
||||
addCriterion("image_url not between", value1, value2, "imageUrl");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceNameIsNull() {
|
||||
addCriterion("resource_name is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceNameIsNotNull() {
|
||||
addCriterion("resource_name is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceNameEqualTo(String value) {
|
||||
addCriterion("resource_name =", value, "resourceName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceNameNotEqualTo(String value) {
|
||||
addCriterion("resource_name <>", value, "resourceName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceNameGreaterThan(String value) {
|
||||
addCriterion("resource_name >", value, "resourceName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceNameGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("resource_name >=", value, "resourceName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceNameLessThan(String value) {
|
||||
addCriterion("resource_name <", value, "resourceName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceNameLessThanOrEqualTo(String value) {
|
||||
addCriterion("resource_name <=", value, "resourceName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceNameLike(String value) {
|
||||
addCriterion("resource_name like", value, "resourceName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceNameNotLike(String value) {
|
||||
addCriterion("resource_name not like", value, "resourceName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceNameIn(List<String> values) {
|
||||
addCriterion("resource_name in", values, "resourceName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceNameNotIn(List<String> values) {
|
||||
addCriterion("resource_name not in", values, "resourceName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceNameBetween(String value1, String value2) {
|
||||
addCriterion("resource_name between", value1, value2, "resourceName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andResourceNameNotBetween(String value1, String value2) {
|
||||
addCriterion("resource_name not between", value1, value2, "resourceName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdIsNull() {
|
||||
addCriterion("school_id is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdIsNotNull() {
|
||||
addCriterion("school_id is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdEqualTo(String value) {
|
||||
addCriterion("school_id =", value, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdNotEqualTo(String value) {
|
||||
addCriterion("school_id <>", value, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdGreaterThan(String value) {
|
||||
addCriterion("school_id >", value, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("school_id >=", value, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdLessThan(String value) {
|
||||
addCriterion("school_id <", value, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdLessThanOrEqualTo(String value) {
|
||||
addCriterion("school_id <=", value, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdLike(String value) {
|
||||
addCriterion("school_id like", value, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdNotLike(String value) {
|
||||
addCriterion("school_id not like", value, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdIn(List<String> values) {
|
||||
addCriterion("school_id in", values, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdNotIn(List<String> values) {
|
||||
addCriterion("school_id not in", values, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdBetween(String value1, String value2) {
|
||||
addCriterion("school_id between", value1, value2, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdNotBetween(String value1, String value2) {
|
||||
addCriterion("school_id not between", value1, value2, "schoolId");
|
||||
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,133 @@
|
||||
package com.sztzjy.financial_bigdata.entity;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
/**
|
||||
* 实训报告表
|
||||
*
|
||||
* @author xcj
|
||||
* training_report
|
||||
*/
|
||||
public class TrainingReport {
|
||||
private String id;
|
||||
|
||||
@ApiModelProperty("流程ID")
|
||||
private String flowId;
|
||||
|
||||
@ApiModelProperty("学校ID")
|
||||
private String schoolId;
|
||||
|
||||
@ApiModelProperty("报告URL")
|
||||
private String url;
|
||||
|
||||
@ApiModelProperty("报告名称")
|
||||
private String reportName;
|
||||
|
||||
@ApiModelProperty("所属步骤")
|
||||
private String step;
|
||||
|
||||
@ApiModelProperty("报告分数")
|
||||
private BigDecimal reportScore;
|
||||
|
||||
@ApiModelProperty("心得分数")
|
||||
private BigDecimal experienceScore;
|
||||
|
||||
@ApiModelProperty("上传时间")
|
||||
private Date uploadtime;
|
||||
|
||||
@ApiModelProperty("版本")
|
||||
private String version;
|
||||
|
||||
@ApiModelProperty("心得体会")
|
||||
private String experience;
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id == null ? null : id.trim();
|
||||
}
|
||||
|
||||
public String getFlowId() {
|
||||
return flowId;
|
||||
}
|
||||
|
||||
public void setFlowId(String flowId) {
|
||||
this.flowId = flowId == null ? null : flowId.trim();
|
||||
}
|
||||
|
||||
public String getSchoolId() {
|
||||
return schoolId;
|
||||
}
|
||||
|
||||
public void setSchoolId(String schoolId) {
|
||||
this.schoolId = schoolId == null ? null : schoolId.trim();
|
||||
}
|
||||
|
||||
public String getUrl() {
|
||||
return url;
|
||||
}
|
||||
|
||||
public void setUrl(String url) {
|
||||
this.url = url == null ? null : url.trim();
|
||||
}
|
||||
|
||||
public String getReportName() {
|
||||
return reportName;
|
||||
}
|
||||
|
||||
public void setReportName(String reportName) {
|
||||
this.reportName = reportName == null ? null : reportName.trim();
|
||||
}
|
||||
|
||||
public String getStep() {
|
||||
return step;
|
||||
}
|
||||
|
||||
public void setStep(String step) {
|
||||
this.step = step == null ? null : step.trim();
|
||||
}
|
||||
|
||||
public BigDecimal getReportScore() {
|
||||
return reportScore;
|
||||
}
|
||||
|
||||
public void setReportScore(BigDecimal reportScore) {
|
||||
this.reportScore = reportScore;
|
||||
}
|
||||
|
||||
public BigDecimal getExperienceScore() {
|
||||
return experienceScore;
|
||||
}
|
||||
|
||||
public void setExperienceScore(BigDecimal experienceScore) {
|
||||
this.experienceScore = experienceScore;
|
||||
}
|
||||
|
||||
public Date getUploadtime() {
|
||||
return uploadtime;
|
||||
}
|
||||
|
||||
public void setUploadtime(Date uploadtime) {
|
||||
this.uploadtime = uploadtime;
|
||||
}
|
||||
|
||||
public String getVersion() {
|
||||
return version;
|
||||
}
|
||||
|
||||
public void setVersion(String version) {
|
||||
this.version = version == null ? null : version.trim();
|
||||
}
|
||||
|
||||
public String getExperience() {
|
||||
return experience;
|
||||
}
|
||||
|
||||
public void setExperience(String experience) {
|
||||
this.experience = experience == null ? null : experience.trim();
|
||||
}
|
||||
}
|
@ -0,0 +1,898 @@
|
||||
package com.sztzjy.financial_bigdata.entity;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
|
||||
public class TrainingReportExample {
|
||||
protected String orderByClause;
|
||||
|
||||
protected boolean distinct;
|
||||
|
||||
protected List<Criteria> oredCriteria;
|
||||
|
||||
public TrainingReportExample() {
|
||||
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));
|
||||
}
|
||||
|
||||
protected void addCriterionForJDBCDate(String condition, Date value, String property) {
|
||||
if (value == null) {
|
||||
throw new RuntimeException("Value for " + property + " cannot be null");
|
||||
}
|
||||
addCriterion(condition, new java.sql.Date(value.getTime()), property);
|
||||
}
|
||||
|
||||
protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
|
||||
if (values == null || values.size() == 0) {
|
||||
throw new RuntimeException("Value list for " + property + " cannot be null or empty");
|
||||
}
|
||||
List<java.sql.Date> dateList = new ArrayList<>();
|
||||
Iterator<Date> iter = values.iterator();
|
||||
while (iter.hasNext()) {
|
||||
dateList.add(new java.sql.Date(iter.next().getTime()));
|
||||
}
|
||||
addCriterion(condition, dateList, property);
|
||||
}
|
||||
|
||||
protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
|
||||
if (value1 == null || value2 == null) {
|
||||
throw new RuntimeException("Between values for " + property + " cannot be null");
|
||||
}
|
||||
addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
|
||||
}
|
||||
|
||||
public Criteria andIdIsNull() {
|
||||
addCriterion("id is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdIsNotNull() {
|
||||
addCriterion("id is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdEqualTo(String value) {
|
||||
addCriterion("id =", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdNotEqualTo(String value) {
|
||||
addCriterion("id <>", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdGreaterThan(String value) {
|
||||
addCriterion("id >", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("id >=", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdLessThan(String value) {
|
||||
addCriterion("id <", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdLessThanOrEqualTo(String value) {
|
||||
addCriterion("id <=", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdLike(String value) {
|
||||
addCriterion("id like", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdNotLike(String value) {
|
||||
addCriterion("id not like", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdIn(List<String> values) {
|
||||
addCriterion("id in", values, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdNotIn(List<String> values) {
|
||||
addCriterion("id not in", values, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdBetween(String value1, String value2) {
|
||||
addCriterion("id between", value1, value2, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdNotBetween(String value1, String value2) {
|
||||
addCriterion("id not between", value1, value2, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFlowIdIsNull() {
|
||||
addCriterion("flow_id is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFlowIdIsNotNull() {
|
||||
addCriterion("flow_id is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFlowIdEqualTo(String value) {
|
||||
addCriterion("flow_id =", value, "flowId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFlowIdNotEqualTo(String value) {
|
||||
addCriterion("flow_id <>", value, "flowId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFlowIdGreaterThan(String value) {
|
||||
addCriterion("flow_id >", value, "flowId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFlowIdGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("flow_id >=", value, "flowId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFlowIdLessThan(String value) {
|
||||
addCriterion("flow_id <", value, "flowId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFlowIdLessThanOrEqualTo(String value) {
|
||||
addCriterion("flow_id <=", value, "flowId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFlowIdLike(String value) {
|
||||
addCriterion("flow_id like", value, "flowId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFlowIdNotLike(String value) {
|
||||
addCriterion("flow_id not like", value, "flowId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFlowIdIn(List<String> values) {
|
||||
addCriterion("flow_id in", values, "flowId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFlowIdNotIn(List<String> values) {
|
||||
addCriterion("flow_id not in", values, "flowId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFlowIdBetween(String value1, String value2) {
|
||||
addCriterion("flow_id between", value1, value2, "flowId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andFlowIdNotBetween(String value1, String value2) {
|
||||
addCriterion("flow_id not between", value1, value2, "flowId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdIsNull() {
|
||||
addCriterion("school_id is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdIsNotNull() {
|
||||
addCriterion("school_id is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdEqualTo(String value) {
|
||||
addCriterion("school_id =", value, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdNotEqualTo(String value) {
|
||||
addCriterion("school_id <>", value, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdGreaterThan(String value) {
|
||||
addCriterion("school_id >", value, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("school_id >=", value, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdLessThan(String value) {
|
||||
addCriterion("school_id <", value, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdLessThanOrEqualTo(String value) {
|
||||
addCriterion("school_id <=", value, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdLike(String value) {
|
||||
addCriterion("school_id like", value, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdNotLike(String value) {
|
||||
addCriterion("school_id not like", value, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdIn(List<String> values) {
|
||||
addCriterion("school_id in", values, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdNotIn(List<String> values) {
|
||||
addCriterion("school_id not in", values, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdBetween(String value1, String value2) {
|
||||
addCriterion("school_id between", value1, value2, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdNotBetween(String value1, String value2) {
|
||||
addCriterion("school_id not between", value1, value2, "schoolId");
|
||||
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 andReportNameIsNull() {
|
||||
addCriterion("report_name is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReportNameIsNotNull() {
|
||||
addCriterion("report_name is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReportNameEqualTo(String value) {
|
||||
addCriterion("report_name =", value, "reportName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReportNameNotEqualTo(String value) {
|
||||
addCriterion("report_name <>", value, "reportName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReportNameGreaterThan(String value) {
|
||||
addCriterion("report_name >", value, "reportName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReportNameGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("report_name >=", value, "reportName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReportNameLessThan(String value) {
|
||||
addCriterion("report_name <", value, "reportName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReportNameLessThanOrEqualTo(String value) {
|
||||
addCriterion("report_name <=", value, "reportName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReportNameLike(String value) {
|
||||
addCriterion("report_name like", value, "reportName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReportNameNotLike(String value) {
|
||||
addCriterion("report_name not like", value, "reportName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReportNameIn(List<String> values) {
|
||||
addCriterion("report_name in", values, "reportName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReportNameNotIn(List<String> values) {
|
||||
addCriterion("report_name not in", values, "reportName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReportNameBetween(String value1, String value2) {
|
||||
addCriterion("report_name between", value1, value2, "reportName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReportNameNotBetween(String value1, String value2) {
|
||||
addCriterion("report_name not between", value1, value2, "reportName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStepIsNull() {
|
||||
addCriterion("step is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStepIsNotNull() {
|
||||
addCriterion("step is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStepEqualTo(String value) {
|
||||
addCriterion("step =", value, "step");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStepNotEqualTo(String value) {
|
||||
addCriterion("step <>", value, "step");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStepGreaterThan(String value) {
|
||||
addCriterion("step >", value, "step");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStepGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("step >=", value, "step");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStepLessThan(String value) {
|
||||
addCriterion("step <", value, "step");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStepLessThanOrEqualTo(String value) {
|
||||
addCriterion("step <=", value, "step");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStepLike(String value) {
|
||||
addCriterion("step like", value, "step");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStepNotLike(String value) {
|
||||
addCriterion("step not like", value, "step");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStepIn(List<String> values) {
|
||||
addCriterion("step in", values, "step");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStepNotIn(List<String> values) {
|
||||
addCriterion("step not in", values, "step");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStepBetween(String value1, String value2) {
|
||||
addCriterion("step between", value1, value2, "step");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStepNotBetween(String value1, String value2) {
|
||||
addCriterion("step not between", value1, value2, "step");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReportScoreIsNull() {
|
||||
addCriterion("report_score is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReportScoreIsNotNull() {
|
||||
addCriterion("report_score is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReportScoreEqualTo(BigDecimal value) {
|
||||
addCriterion("report_score =", value, "reportScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReportScoreNotEqualTo(BigDecimal value) {
|
||||
addCriterion("report_score <>", value, "reportScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReportScoreGreaterThan(BigDecimal value) {
|
||||
addCriterion("report_score >", value, "reportScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReportScoreGreaterThanOrEqualTo(BigDecimal value) {
|
||||
addCriterion("report_score >=", value, "reportScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReportScoreLessThan(BigDecimal value) {
|
||||
addCriterion("report_score <", value, "reportScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReportScoreLessThanOrEqualTo(BigDecimal value) {
|
||||
addCriterion("report_score <=", value, "reportScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReportScoreIn(List<BigDecimal> values) {
|
||||
addCriterion("report_score in", values, "reportScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReportScoreNotIn(List<BigDecimal> values) {
|
||||
addCriterion("report_score not in", values, "reportScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReportScoreBetween(BigDecimal value1, BigDecimal value2) {
|
||||
addCriterion("report_score between", value1, value2, "reportScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReportScoreNotBetween(BigDecimal value1, BigDecimal value2) {
|
||||
addCriterion("report_score not between", value1, value2, "reportScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andExperienceScoreIsNull() {
|
||||
addCriterion("experience_score is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andExperienceScoreIsNotNull() {
|
||||
addCriterion("experience_score is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andExperienceScoreEqualTo(BigDecimal value) {
|
||||
addCriterion("experience_score =", value, "experienceScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andExperienceScoreNotEqualTo(BigDecimal value) {
|
||||
addCriterion("experience_score <>", value, "experienceScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andExperienceScoreGreaterThan(BigDecimal value) {
|
||||
addCriterion("experience_score >", value, "experienceScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andExperienceScoreGreaterThanOrEqualTo(BigDecimal value) {
|
||||
addCriterion("experience_score >=", value, "experienceScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andExperienceScoreLessThan(BigDecimal value) {
|
||||
addCriterion("experience_score <", value, "experienceScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andExperienceScoreLessThanOrEqualTo(BigDecimal value) {
|
||||
addCriterion("experience_score <=", value, "experienceScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andExperienceScoreIn(List<BigDecimal> values) {
|
||||
addCriterion("experience_score in", values, "experienceScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andExperienceScoreNotIn(List<BigDecimal> values) {
|
||||
addCriterion("experience_score not in", values, "experienceScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andExperienceScoreBetween(BigDecimal value1, BigDecimal value2) {
|
||||
addCriterion("experience_score between", value1, value2, "experienceScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andExperienceScoreNotBetween(BigDecimal value1, BigDecimal value2) {
|
||||
addCriterion("experience_score not between", value1, value2, "experienceScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUploadtimeIsNull() {
|
||||
addCriterion("uploadTime is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUploadtimeIsNotNull() {
|
||||
addCriterion("uploadTime is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUploadtimeEqualTo(Date value) {
|
||||
addCriterionForJDBCDate("uploadTime =", value, "uploadtime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUploadtimeNotEqualTo(Date value) {
|
||||
addCriterionForJDBCDate("uploadTime <>", value, "uploadtime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUploadtimeGreaterThan(Date value) {
|
||||
addCriterionForJDBCDate("uploadTime >", value, "uploadtime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUploadtimeGreaterThanOrEqualTo(Date value) {
|
||||
addCriterionForJDBCDate("uploadTime >=", value, "uploadtime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUploadtimeLessThan(Date value) {
|
||||
addCriterionForJDBCDate("uploadTime <", value, "uploadtime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUploadtimeLessThanOrEqualTo(Date value) {
|
||||
addCriterionForJDBCDate("uploadTime <=", value, "uploadtime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUploadtimeIn(List<Date> values) {
|
||||
addCriterionForJDBCDate("uploadTime in", values, "uploadtime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUploadtimeNotIn(List<Date> values) {
|
||||
addCriterionForJDBCDate("uploadTime not in", values, "uploadtime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUploadtimeBetween(Date value1, Date value2) {
|
||||
addCriterionForJDBCDate("uploadTime between", value1, value2, "uploadtime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUploadtimeNotBetween(Date value1, Date value2) {
|
||||
addCriterionForJDBCDate("uploadTime not between", value1, value2, "uploadtime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andVersionIsNull() {
|
||||
addCriterion("version is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andVersionIsNotNull() {
|
||||
addCriterion("version is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andVersionEqualTo(String value) {
|
||||
addCriterion("version =", value, "version");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andVersionNotEqualTo(String value) {
|
||||
addCriterion("version <>", value, "version");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andVersionGreaterThan(String value) {
|
||||
addCriterion("version >", value, "version");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andVersionGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("version >=", value, "version");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andVersionLessThan(String value) {
|
||||
addCriterion("version <", value, "version");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andVersionLessThanOrEqualTo(String value) {
|
||||
addCriterion("version <=", value, "version");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andVersionLike(String value) {
|
||||
addCriterion("version like", value, "version");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andVersionNotLike(String value) {
|
||||
addCriterion("version not like", value, "version");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andVersionIn(List<String> values) {
|
||||
addCriterion("version in", values, "version");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andVersionNotIn(List<String> values) {
|
||||
addCriterion("version not in", values, "version");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andVersionBetween(String value1, String value2) {
|
||||
addCriterion("version between", value1, value2, "version");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andVersionNotBetween(String value1, String value2) {
|
||||
addCriterion("version not between", value1, value2, "version");
|
||||
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.financial_bigdata.mapper;
|
||||
|
||||
import com.sztzjy.financial_bigdata.entity.TeaLearningStatistics;
|
||||
import com.sztzjy.financial_bigdata.entity.TeaLearningStatisticsExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface TeaLearningStatisticsMapper {
|
||||
long countByExample(TeaLearningStatisticsExample example);
|
||||
|
||||
int deleteByExample(TeaLearningStatisticsExample example);
|
||||
|
||||
int deleteByPrimaryKey(String userId);
|
||||
|
||||
int insert(TeaLearningStatistics record);
|
||||
|
||||
int insertSelective(TeaLearningStatistics record);
|
||||
|
||||
List<TeaLearningStatistics> selectByExample(TeaLearningStatisticsExample example);
|
||||
|
||||
TeaLearningStatistics selectByPrimaryKey(String userId);
|
||||
|
||||
int updateByExampleSelective(@Param("record") TeaLearningStatistics record, @Param("example") TeaLearningStatisticsExample example);
|
||||
|
||||
int updateByExample(@Param("record") TeaLearningStatistics record, @Param("example") TeaLearningStatisticsExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(TeaLearningStatistics record);
|
||||
|
||||
int updateByPrimaryKey(TeaLearningStatistics record);
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
package com.sztzjy.financial_bigdata.mapper;
|
||||
|
||||
import com.sztzjy.financial_bigdata.entity.TeaResourceCenter;
|
||||
import com.sztzjy.financial_bigdata.entity.TeaResourceCenterExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface TeaResourceCenterMapper {
|
||||
long countByExample(TeaResourceCenterExample example);
|
||||
|
||||
int deleteByExample(TeaResourceCenterExample example);
|
||||
|
||||
int deleteByPrimaryKey(String resourceId);
|
||||
|
||||
int insert(TeaResourceCenter record);
|
||||
|
||||
int insertSelective(TeaResourceCenter record);
|
||||
|
||||
List<TeaResourceCenter> selectByExample(TeaResourceCenterExample example);
|
||||
|
||||
TeaResourceCenter selectByPrimaryKey(String resourceId);
|
||||
|
||||
int updateByExampleSelective(@Param("record") TeaResourceCenter record, @Param("example") TeaResourceCenterExample example);
|
||||
|
||||
int updateByExample(@Param("record") TeaResourceCenter record, @Param("example") TeaResourceCenterExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(TeaResourceCenter record);
|
||||
|
||||
int updateByPrimaryKey(TeaResourceCenter record);
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
package com.sztzjy.financial_bigdata.mapper;
|
||||
|
||||
import com.sztzjy.financial_bigdata.entity.TrainingReport;
|
||||
import com.sztzjy.financial_bigdata.entity.TrainingReportExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface TrainingReportMapper {
|
||||
long countByExample(TrainingReportExample example);
|
||||
|
||||
int deleteByExample(TrainingReportExample example);
|
||||
|
||||
int deleteByPrimaryKey(String id);
|
||||
|
||||
int insert(TrainingReport record);
|
||||
|
||||
int insertSelective(TrainingReport record);
|
||||
|
||||
List<TrainingReport> selectByExampleWithBLOBs(TrainingReportExample example);
|
||||
|
||||
List<TrainingReport> selectByExample(TrainingReportExample example);
|
||||
|
||||
TrainingReport selectByPrimaryKey(String id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") TrainingReport record, @Param("example") TrainingReportExample example);
|
||||
|
||||
int updateByExampleWithBLOBs(@Param("record") TrainingReport record, @Param("example") TrainingReportExample example);
|
||||
|
||||
int updateByExample(@Param("record") TrainingReport record, @Param("example") TrainingReportExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(TrainingReport record);
|
||||
|
||||
int updateByPrimaryKeyWithBLOBs(TrainingReport record);
|
||||
|
||||
int updateByPrimaryKey(TrainingReport record);
|
||||
}
|
@ -0,0 +1,229 @@
|
||||
<?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.financial_bigdata.mapper.TeaLearningStatisticsMapper">
|
||||
<resultMap id="BaseResultMap" type="com.sztzjy.financial_bigdata.entity.TeaLearningStatistics">
|
||||
<id column="user_id" jdbcType="VARCHAR" property="userId" />
|
||||
<result column="practice_task_count" jdbcType="INTEGER" property="practiceTaskCount" />
|
||||
<result column="practice_case_count" jdbcType="INTEGER" property="practiceCaseCount" />
|
||||
<result column="learning_duration" jdbcType="INTEGER" property="learningDuration" />
|
||||
<result column="task_progress" jdbcType="DECIMAL" property="taskProgress" />
|
||||
<result column="practical_assessment" jdbcType="VARCHAR" property="practicalAssessment" />
|
||||
</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">
|
||||
user_id, practice_task_count, practice_case_count, learning_duration, task_progress,
|
||||
practical_assessment
|
||||
</sql>
|
||||
<select id="selectByExample" parameterType="com.sztzjy.financial_bigdata.entity.TeaLearningStatisticsExample" resultMap="BaseResultMap">
|
||||
select
|
||||
<if test="distinct">
|
||||
distinct
|
||||
</if>
|
||||
<include refid="Base_Column_List" />
|
||||
from tea_learning_statistics
|
||||
<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 tea_learning_statistics
|
||||
where user_id = #{userId,jdbcType=VARCHAR}
|
||||
</select>
|
||||
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
||||
delete from tea_learning_statistics
|
||||
where user_id = #{userId,jdbcType=VARCHAR}
|
||||
</delete>
|
||||
<delete id="deleteByExample" parameterType="com.sztzjy.financial_bigdata.entity.TeaLearningStatisticsExample">
|
||||
delete from tea_learning_statistics
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</delete>
|
||||
<insert id="insert" parameterType="com.sztzjy.financial_bigdata.entity.TeaLearningStatistics">
|
||||
insert into tea_learning_statistics (user_id, practice_task_count, practice_case_count,
|
||||
learning_duration, task_progress, practical_assessment
|
||||
)
|
||||
values (#{userId,jdbcType=VARCHAR}, #{practiceTaskCount,jdbcType=INTEGER}, #{practiceCaseCount,jdbcType=INTEGER},
|
||||
#{learningDuration,jdbcType=INTEGER}, #{taskProgress,jdbcType=DECIMAL}, #{practicalAssessment,jdbcType=VARCHAR}
|
||||
)
|
||||
</insert>
|
||||
<insert id="insertSelective" parameterType="com.sztzjy.financial_bigdata.entity.TeaLearningStatistics">
|
||||
insert into tea_learning_statistics
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="userId != null">
|
||||
user_id,
|
||||
</if>
|
||||
<if test="practiceTaskCount != null">
|
||||
practice_task_count,
|
||||
</if>
|
||||
<if test="practiceCaseCount != null">
|
||||
practice_case_count,
|
||||
</if>
|
||||
<if test="learningDuration != null">
|
||||
learning_duration,
|
||||
</if>
|
||||
<if test="taskProgress != null">
|
||||
task_progress,
|
||||
</if>
|
||||
<if test="practicalAssessment != null">
|
||||
practical_assessment,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="userId != null">
|
||||
#{userId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="practiceTaskCount != null">
|
||||
#{practiceTaskCount,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="practiceCaseCount != null">
|
||||
#{practiceCaseCount,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="learningDuration != null">
|
||||
#{learningDuration,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="taskProgress != null">
|
||||
#{taskProgress,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="practicalAssessment != null">
|
||||
#{practicalAssessment,jdbcType=VARCHAR},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<select id="countByExample" parameterType="com.sztzjy.financial_bigdata.entity.TeaLearningStatisticsExample" resultType="java.lang.Long">
|
||||
select count(*) from tea_learning_statistics
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</select>
|
||||
<update id="updateByExampleSelective" parameterType="map">
|
||||
update tea_learning_statistics
|
||||
<set>
|
||||
<if test="record.userId != null">
|
||||
user_id = #{record.userId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.practiceTaskCount != null">
|
||||
practice_task_count = #{record.practiceTaskCount,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="record.practiceCaseCount != null">
|
||||
practice_case_count = #{record.practiceCaseCount,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="record.learningDuration != null">
|
||||
learning_duration = #{record.learningDuration,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="record.taskProgress != null">
|
||||
task_progress = #{record.taskProgress,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="record.practicalAssessment != null">
|
||||
practical_assessment = #{record.practicalAssessment,jdbcType=VARCHAR},
|
||||
</if>
|
||||
</set>
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByExample" parameterType="map">
|
||||
update tea_learning_statistics
|
||||
set user_id = #{record.userId,jdbcType=VARCHAR},
|
||||
practice_task_count = #{record.practiceTaskCount,jdbcType=INTEGER},
|
||||
practice_case_count = #{record.practiceCaseCount,jdbcType=INTEGER},
|
||||
learning_duration = #{record.learningDuration,jdbcType=INTEGER},
|
||||
task_progress = #{record.taskProgress,jdbcType=DECIMAL},
|
||||
practical_assessment = #{record.practicalAssessment,jdbcType=VARCHAR}
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByPrimaryKeySelective" parameterType="com.sztzjy.financial_bigdata.entity.TeaLearningStatistics">
|
||||
update tea_learning_statistics
|
||||
<set>
|
||||
<if test="practiceTaskCount != null">
|
||||
practice_task_count = #{practiceTaskCount,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="practiceCaseCount != null">
|
||||
practice_case_count = #{practiceCaseCount,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="learningDuration != null">
|
||||
learning_duration = #{learningDuration,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="taskProgress != null">
|
||||
task_progress = #{taskProgress,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="practicalAssessment != null">
|
||||
practical_assessment = #{practicalAssessment,jdbcType=VARCHAR},
|
||||
</if>
|
||||
</set>
|
||||
where user_id = #{userId,jdbcType=VARCHAR}
|
||||
</update>
|
||||
<update id="updateByPrimaryKey" parameterType="com.sztzjy.financial_bigdata.entity.TeaLearningStatistics">
|
||||
update tea_learning_statistics
|
||||
set practice_task_count = #{practiceTaskCount,jdbcType=INTEGER},
|
||||
practice_case_count = #{practiceCaseCount,jdbcType=INTEGER},
|
||||
learning_duration = #{learningDuration,jdbcType=INTEGER},
|
||||
task_progress = #{taskProgress,jdbcType=DECIMAL},
|
||||
practical_assessment = #{practicalAssessment,jdbcType=VARCHAR}
|
||||
where user_id = #{userId,jdbcType=VARCHAR}
|
||||
</update>
|
||||
</mapper>
|
@ -0,0 +1,228 @@
|
||||
<?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.financial_bigdata.mapper.TeaResourceCenterMapper">
|
||||
<resultMap id="BaseResultMap" type="com.sztzjy.financial_bigdata.entity.TeaResourceCenter">
|
||||
<id column="resource_id" jdbcType="VARCHAR" property="resourceId" />
|
||||
<result column="chapter_id" jdbcType="VARCHAR" property="chapterId" />
|
||||
<result column="resource_url" jdbcType="VARCHAR" property="resourceUrl" />
|
||||
<result column="image_url" jdbcType="VARCHAR" property="imageUrl" />
|
||||
<result column="resource_name" jdbcType="VARCHAR" property="resourceName" />
|
||||
<result column="school_id" jdbcType="VARCHAR" property="schoolId" />
|
||||
</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">
|
||||
resource_id, chapter_id, resource_url, image_url, resource_name, school_id
|
||||
</sql>
|
||||
<select id="selectByExample" parameterType="com.sztzjy.financial_bigdata.entity.TeaResourceCenterExample" resultMap="BaseResultMap">
|
||||
select
|
||||
<if test="distinct">
|
||||
distinct
|
||||
</if>
|
||||
<include refid="Base_Column_List" />
|
||||
from tea_resource_center
|
||||
<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 tea_resource_center
|
||||
where resource_id = #{resourceId,jdbcType=VARCHAR}
|
||||
</select>
|
||||
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
||||
delete from tea_resource_center
|
||||
where resource_id = #{resourceId,jdbcType=VARCHAR}
|
||||
</delete>
|
||||
<delete id="deleteByExample" parameterType="com.sztzjy.financial_bigdata.entity.TeaResourceCenterExample">
|
||||
delete from tea_resource_center
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</delete>
|
||||
<insert id="insert" parameterType="com.sztzjy.financial_bigdata.entity.TeaResourceCenter">
|
||||
insert into tea_resource_center (resource_id, chapter_id, resource_url,
|
||||
image_url, resource_name, school_id
|
||||
)
|
||||
values (#{resourceId,jdbcType=VARCHAR}, #{chapterId,jdbcType=VARCHAR}, #{resourceUrl,jdbcType=VARCHAR},
|
||||
#{imageUrl,jdbcType=VARCHAR}, #{resourceName,jdbcType=VARCHAR}, #{schoolId,jdbcType=VARCHAR}
|
||||
)
|
||||
</insert>
|
||||
<insert id="insertSelective" parameterType="com.sztzjy.financial_bigdata.entity.TeaResourceCenter">
|
||||
insert into tea_resource_center
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="resourceId != null">
|
||||
resource_id,
|
||||
</if>
|
||||
<if test="chapterId != null">
|
||||
chapter_id,
|
||||
</if>
|
||||
<if test="resourceUrl != null">
|
||||
resource_url,
|
||||
</if>
|
||||
<if test="imageUrl != null">
|
||||
image_url,
|
||||
</if>
|
||||
<if test="resourceName != null">
|
||||
resource_name,
|
||||
</if>
|
||||
<if test="schoolId != null">
|
||||
school_id,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="resourceId != null">
|
||||
#{resourceId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="chapterId != null">
|
||||
#{chapterId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="resourceUrl != null">
|
||||
#{resourceUrl,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="imageUrl != null">
|
||||
#{imageUrl,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="resourceName != null">
|
||||
#{resourceName,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="schoolId != null">
|
||||
#{schoolId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<select id="countByExample" parameterType="com.sztzjy.financial_bigdata.entity.TeaResourceCenterExample" resultType="java.lang.Long">
|
||||
select count(*) from tea_resource_center
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</select>
|
||||
<update id="updateByExampleSelective" parameterType="map">
|
||||
update tea_resource_center
|
||||
<set>
|
||||
<if test="record.resourceId != null">
|
||||
resource_id = #{record.resourceId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.chapterId != null">
|
||||
chapter_id = #{record.chapterId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.resourceUrl != null">
|
||||
resource_url = #{record.resourceUrl,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.imageUrl != null">
|
||||
image_url = #{record.imageUrl,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.resourceName != null">
|
||||
resource_name = #{record.resourceName,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.schoolId != null">
|
||||
school_id = #{record.schoolId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
</set>
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByExample" parameterType="map">
|
||||
update tea_resource_center
|
||||
set resource_id = #{record.resourceId,jdbcType=VARCHAR},
|
||||
chapter_id = #{record.chapterId,jdbcType=VARCHAR},
|
||||
resource_url = #{record.resourceUrl,jdbcType=VARCHAR},
|
||||
image_url = #{record.imageUrl,jdbcType=VARCHAR},
|
||||
resource_name = #{record.resourceName,jdbcType=VARCHAR},
|
||||
school_id = #{record.schoolId,jdbcType=VARCHAR}
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByPrimaryKeySelective" parameterType="com.sztzjy.financial_bigdata.entity.TeaResourceCenter">
|
||||
update tea_resource_center
|
||||
<set>
|
||||
<if test="chapterId != null">
|
||||
chapter_id = #{chapterId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="resourceUrl != null">
|
||||
resource_url = #{resourceUrl,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="imageUrl != null">
|
||||
image_url = #{imageUrl,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="resourceName != null">
|
||||
resource_name = #{resourceName,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="schoolId != null">
|
||||
school_id = #{schoolId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
</set>
|
||||
where resource_id = #{resourceId,jdbcType=VARCHAR}
|
||||
</update>
|
||||
<update id="updateByPrimaryKey" parameterType="com.sztzjy.financial_bigdata.entity.TeaResourceCenter">
|
||||
update tea_resource_center
|
||||
set chapter_id = #{chapterId,jdbcType=VARCHAR},
|
||||
resource_url = #{resourceUrl,jdbcType=VARCHAR},
|
||||
image_url = #{imageUrl,jdbcType=VARCHAR},
|
||||
resource_name = #{resourceName,jdbcType=VARCHAR},
|
||||
school_id = #{schoolId,jdbcType=VARCHAR}
|
||||
where resource_id = #{resourceId,jdbcType=VARCHAR}
|
||||
</update>
|
||||
</mapper>
|
@ -0,0 +1,637 @@
|
||||
<?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.financial_bigdata.mapper.TrainingReportMapper">
|
||||
<resultMap id="BaseResultMap" type="com.sztzjy.financial_bigdata.entity.TrainingReport">
|
||||
<id column="id" jdbcType="VARCHAR" property="id" />
|
||||
<result column="flow_id" jdbcType="VARCHAR" property="flowId" />
|
||||
<result column="school_id" jdbcType="VARCHAR" property="schoolId" />
|
||||
<result column="url" jdbcType="VARCHAR" property="url" />
|
||||
<result column="report_name" jdbcType="VARCHAR" property="reportName" />
|
||||
<result column="step" jdbcType="VARCHAR" property="step" />
|
||||
<result column="report_score" jdbcType="DECIMAL" property="reportScore" />
|
||||
<result column="experience_score" jdbcType="DECIMAL" property="experienceScore" />
|
||||
<result column="uploadTime" jdbcType="DATE" property="uploadtime" />
|
||||
<result column="version" jdbcType="VARCHAR" property="version" />
|
||||
</resultMap>
|
||||
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.sztzjy.financial_bigdata.entity.TrainingReport">
|
||||
<result column="experience" jdbcType="LONGVARCHAR" property="experience" />
|
||||
</resultMap>
|
||||
<sql id="Example_Where_Clause">
|
||||
<where>
|
||||
<foreach collection="oredCriteria" item="criteria" separator="or">
|
||||
<if test="criteria.valid">
|
||||
<trim prefix="(" prefixOverrides="and" suffix=")">
|
||||
<foreach collection="criteria.criteria" item="criterion">
|
||||
<choose>
|
||||
<when test="criterion.noValue">
|
||||
and ${criterion.condition}
|
||||
</when>
|
||||
<when test="criterion.singleValue">
|
||||
and ${criterion.condition} #{criterion.value}
|
||||
</when>
|
||||
<when test="criterion.betweenValue">
|
||||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
||||
</when>
|
||||
<when test="criterion.listValue">
|
||||
and ${criterion.condition}
|
||||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
||||
#{listItem}
|
||||
</foreach>
|
||||
</when>
|
||||
</choose>
|
||||
</foreach>
|
||||
</trim>
|
||||
</if>
|
||||
</foreach>
|
||||
</where>
|
||||
</sql>
|
||||
<sql id="Update_By_Example_Where_Clause">
|
||||
<where>
|
||||
<foreach collection="example.oredCriteria" item="criteria" separator="or">
|
||||
<if test="criteria.valid">
|
||||
<trim prefix="(" prefixOverrides="and" suffix=")">
|
||||
<foreach collection="criteria.criteria" item="criterion">
|
||||
<choose>
|
||||
<when test="criterion.noValue">
|
||||
and ${criterion.condition}
|
||||
</when>
|
||||
<when test="criterion.singleValue">
|
||||
and ${criterion.condition} #{criterion.value}
|
||||
</when>
|
||||
<when test="criterion.betweenValue">
|
||||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
||||
</when>
|
||||
<when test="criterion.listValue">
|
||||
and ${criterion.condition}
|
||||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
||||
#{listItem}
|
||||
</foreach>
|
||||
</when>
|
||||
</choose>
|
||||
</foreach>
|
||||
</trim>
|
||||
</if>
|
||||
</foreach>
|
||||
</where>
|
||||
</sql>
|
||||
<sql id="Base_Column_List">
|
||||
id, flow_id, school_id, url, report_name, step, report_score, experience_score, uploadTime,
|
||||
version
|
||||
</sql>
|
||||
<sql id="Blob_Column_List">
|
||||
experience
|
||||
</sql>
|
||||
<select id="selectByExampleWithBLOBs" parameterType="com.sztzjy.financial_bigdata.entity.TrainingReportExample" resultMap="ResultMapWithBLOBs">
|
||||
select
|
||||
<if test="distinct">
|
||||
distinct
|
||||
</if>
|
||||
<include refid="Base_Column_List" />
|
||||
,
|
||||
<include refid="Blob_Column_List" />
|
||||
from training_report
|
||||
<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.financial_bigdata.entity.TrainingReportExample" resultMap="BaseResultMap">
|
||||
select
|
||||
<if test="distinct">
|
||||
distinct
|
||||
</if>
|
||||
<include refid="Base_Column_List" />
|
||||
from training_report
|
||||
<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 training_report
|
||||
where id = #{id,jdbcType=VARCHAR}
|
||||
</select>
|
||||
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
||||
delete from training_report
|
||||
where id = #{id,jdbcType=VARCHAR}
|
||||
</delete>
|
||||
<delete id="deleteByExample" parameterType="com.sztzjy.financial_bigdata.entity.TrainingReportExample">
|
||||
delete from training_report
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</delete>
|
||||
<insert id="insert" parameterType="com.sztzjy.financial_bigdata.entity.TrainingReport">
|
||||
insert into training_report (id, flow_id, school_id,
|
||||
url, report_name, step,
|
||||
report_score, experience_score, uploadTime,
|
||||
version, experience)
|
||||
values (#{id,jdbcType=VARCHAR}, #{flowId,jdbcType=VARCHAR}, #{schoolId,jdbcType=VARCHAR},
|
||||
#{url,jdbcType=VARCHAR}, #{reportName,jdbcType=VARCHAR}, #{step,jdbcType=VARCHAR},
|
||||
#{reportScore,jdbcType=DECIMAL}, #{experienceScore,jdbcType=DECIMAL}, #{uploadtime,jdbcType=DATE},
|
||||
#{version,jdbcType=VARCHAR}, #{experience,jdbcType=LONGVARCHAR})
|
||||
</insert>
|
||||
<insert id="insertSelective" parameterType="com.sztzjy.financial_bigdata.entity.TrainingReport">
|
||||
insert into training_report
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">
|
||||
id,
|
||||
</if>
|
||||
<if test="flowId != null">
|
||||
flow_id,
|
||||
</if>
|
||||
<if test="schoolId != null">
|
||||
school_id,
|
||||
</if>
|
||||
<if test="url != null">
|
||||
url,
|
||||
</if>
|
||||
<if test="reportName != null">
|
||||
report_name,
|
||||
</if>
|
||||
<if test="step != null">
|
||||
step,
|
||||
</if>
|
||||
<if test="reportScore != null">
|
||||
report_score,
|
||||
</if>
|
||||
<if test="experienceScore != null">
|
||||
experience_score,
|
||||
</if>
|
||||
<if test="uploadtime != null">
|
||||
uploadTime,
|
||||
</if>
|
||||
<if test="version != null">
|
||||
version,
|
||||
</if>
|
||||
<if test="experience != null">
|
||||
experience,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">
|
||||
#{id,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="flowId != null">
|
||||
#{flowId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="schoolId != null">
|
||||
#{schoolId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="url != null">
|
||||
#{url,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="reportName != null">
|
||||
#{reportName,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="step != null">
|
||||
#{step,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="reportScore != null">
|
||||
#{reportScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="experienceScore != null">
|
||||
#{experienceScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="uploadtime != null">
|
||||
#{uploadtime,jdbcType=DATE},
|
||||
</if>
|
||||
<if test="version != null">
|
||||
#{version,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="experience != null">
|
||||
#{experience,jdbcType=LONGVARCHAR},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<select id="countByExample" parameterType="com.sztzjy.financial_bigdata.entity.TrainingReportExample" resultType="java.lang.Long">
|
||||
select count(*) from training_report
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</select>
|
||||
<update id="updateByExampleSelective" parameterType="map">
|
||||
update training_report
|
||||
<set>
|
||||
<if test="record.id != null">
|
||||
id = #{record.id,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.flowId != null">
|
||||
flow_id = #{record.flowId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.schoolId != null">
|
||||
school_id = #{record.schoolId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.url != null">
|
||||
url = #{record.url,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.reportName != null">
|
||||
report_name = #{record.reportName,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.step != null">
|
||||
step = #{record.step,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.reportScore != null">
|
||||
report_score = #{record.reportScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="record.experienceScore != null">
|
||||
experience_score = #{record.experienceScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="record.uploadtime != null">
|
||||
uploadTime = #{record.uploadtime,jdbcType=DATE},
|
||||
</if>
|
||||
<if test="record.version != null">
|
||||
version = #{record.version,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.experience != null">
|
||||
experience = #{record.experience,jdbcType=LONGVARCHAR},
|
||||
</if>
|
||||
</set>
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByExampleWithBLOBs" parameterType="map">
|
||||
update training_report
|
||||
set id = #{record.id,jdbcType=VARCHAR},
|
||||
flow_id = #{record.flowId,jdbcType=VARCHAR},
|
||||
school_id = #{record.schoolId,jdbcType=VARCHAR},
|
||||
url = #{record.url,jdbcType=VARCHAR},
|
||||
report_name = #{record.reportName,jdbcType=VARCHAR},
|
||||
step = #{record.step,jdbcType=VARCHAR},
|
||||
report_score = #{record.reportScore,jdbcType=DECIMAL},
|
||||
experience_score = #{record.experienceScore,jdbcType=DECIMAL},
|
||||
uploadTime = #{record.uploadtime,jdbcType=DATE},
|
||||
version = #{record.version,jdbcType=VARCHAR},
|
||||
experience = #{record.experience,jdbcType=LONGVARCHAR}
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByExample" parameterType="map">
|
||||
update training_report
|
||||
set id = #{record.id,jdbcType=VARCHAR},
|
||||
flow_id = #{record.flowId,jdbcType=VARCHAR},
|
||||
school_id = #{record.schoolId,jdbcType=VARCHAR},
|
||||
url = #{record.url,jdbcType=VARCHAR},
|
||||
report_name = #{record.reportName,jdbcType=VARCHAR},
|
||||
step = #{record.step,jdbcType=VARCHAR},
|
||||
report_score = #{record.reportScore,jdbcType=DECIMAL},
|
||||
experience_score = #{record.experienceScore,jdbcType=DECIMAL},
|
||||
uploadTime = #{record.uploadtime,jdbcType=DATE},
|
||||
version = #{record.version,jdbcType=VARCHAR}
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByPrimaryKeySelective" parameterType="com.sztzjy.financial_bigdata.entity.TrainingReport">
|
||||
update training_report
|
||||
<set>
|
||||
<if test="flowId != null">
|
||||
flow_id = #{flowId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="schoolId != null">
|
||||
school_id = #{schoolId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="url != null">
|
||||
url = #{url,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="reportName != null">
|
||||
report_name = #{reportName,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="step != null">
|
||||
step = #{step,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="reportScore != null">
|
||||
report_score = #{reportScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="experienceScore != null">
|
||||
experience_score = #{experienceScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="uploadtime != null">
|
||||
uploadTime = #{uploadtime,jdbcType=DATE},
|
||||
</if>
|
||||
<if test="version != null">
|
||||
version = #{version,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="experience != null">
|
||||
experience = #{experience,jdbcType=LONGVARCHAR},
|
||||
</if>
|
||||
</set>
|
||||
where id = #{id,jdbcType=VARCHAR}
|
||||
</update>
|
||||
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.sztzjy.financial_bigdata.entity.TrainingReport">
|
||||
update training_report
|
||||
set flow_id = #{flowId,jdbcType=VARCHAR},
|
||||
school_id = #{schoolId,jdbcType=VARCHAR},
|
||||
url = #{url,jdbcType=VARCHAR},
|
||||
report_name = #{reportName,jdbcType=VARCHAR},
|
||||
step = #{step,jdbcType=VARCHAR},
|
||||
report_score = #{reportScore,jdbcType=DECIMAL},
|
||||
experience_score = #{experienceScore,jdbcType=DECIMAL},
|
||||
uploadTime = #{uploadtime,jdbcType=DATE},
|
||||
version = #{version,jdbcType=VARCHAR},
|
||||
experience = #{experience,jdbcType=LONGVARCHAR}
|
||||
where id = #{id,jdbcType=VARCHAR}
|
||||
</update>
|
||||
<update id="updateByPrimaryKey" parameterType="com.sztzjy.financial_bigdata.entity.TrainingReport">
|
||||
update training_report
|
||||
set flow_id = #{flowId,jdbcType=VARCHAR},
|
||||
school_id = #{schoolId,jdbcType=VARCHAR},
|
||||
url = #{url,jdbcType=VARCHAR},
|
||||
report_name = #{reportName,jdbcType=VARCHAR},
|
||||
step = #{step,jdbcType=VARCHAR},
|
||||
report_score = #{reportScore,jdbcType=DECIMAL},
|
||||
experience_score = #{experienceScore,jdbcType=DECIMAL},
|
||||
uploadTime = #{uploadtime,jdbcType=DATE},
|
||||
version = #{version,jdbcType=VARCHAR}
|
||||
where id = #{id,jdbcType=VARCHAR}
|
||||
</update>
|
||||
<resultMap id="BaseResultMap" type="com.sztzjy.financial_bigdata.entity.TrainingReport">
|
||||
<result column="report_id" jdbcType="VARCHAR" property="reportId" />
|
||||
<result column="chapter_id" jdbcType="VARCHAR" property="chapterId" />
|
||||
<result column="chapter_name" jdbcType="VARCHAR" property="chapterName" />
|
||||
<result column="user_id" jdbcType="VARCHAR" property="userId" />
|
||||
<result column="report_name" jdbcType="VARCHAR" property="reportName" />
|
||||
<result column="upload_time" jdbcType="TIMESTAMP" property="uploadTime" />
|
||||
<result column="report_size" jdbcType="INTEGER" property="reportSize" />
|
||||
<result column="teacher_score" jdbcType="DECIMAL" property="teacherScore" />
|
||||
<result column="file_path" jdbcType="VARCHAR" property="filePath" />
|
||||
<result column="school_id" jdbcType="VARCHAR" property="schoolId" />
|
||||
</resultMap>
|
||||
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.sztzjy.financial_bigdata.entity.TrainingReport">
|
||||
<result column="teacher_comment" jdbcType="LONGVARCHAR" property="teacherComment" />
|
||||
</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">
|
||||
report_id, chapter_id, chapter_name, user_id, report_name, upload_time, report_size,
|
||||
teacher_score, file_path, school_id
|
||||
</sql>
|
||||
<sql id="Blob_Column_List">
|
||||
teacher_comment
|
||||
</sql>
|
||||
<select id="selectByExampleWithBLOBs" parameterType="com.sztzjy.financial_bigdata.entity.TrainingReportExample" resultMap="ResultMapWithBLOBs">
|
||||
select
|
||||
<if test="distinct">
|
||||
distinct
|
||||
</if>
|
||||
<include refid="Base_Column_List" />
|
||||
,
|
||||
<include refid="Blob_Column_List" />
|
||||
from training_report
|
||||
<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.financial_bigdata.entity.TrainingReportExample" resultMap="BaseResultMap">
|
||||
select
|
||||
<if test="distinct">
|
||||
distinct
|
||||
</if>
|
||||
<include refid="Base_Column_List" />
|
||||
from training_report
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
</select>
|
||||
<delete id="deleteByExample" parameterType="com.sztzjy.financial_bigdata.entity.TrainingReportExample">
|
||||
delete from training_report
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</delete>
|
||||
<insert id="insert" parameterType="com.sztzjy.financial_bigdata.entity.TrainingReport">
|
||||
insert into training_report (report_id, chapter_id, chapter_name,
|
||||
user_id, report_name, upload_time,
|
||||
report_size, teacher_score, file_path,
|
||||
school_id, teacher_comment)
|
||||
values (#{reportId,jdbcType=VARCHAR}, #{chapterId,jdbcType=VARCHAR}, #{chapterName,jdbcType=VARCHAR},
|
||||
#{userId,jdbcType=VARCHAR}, #{reportName,jdbcType=VARCHAR}, #{uploadTime,jdbcType=TIMESTAMP},
|
||||
#{reportSize,jdbcType=INTEGER}, #{teacherScore,jdbcType=DECIMAL}, #{filePath,jdbcType=VARCHAR},
|
||||
#{schoolId,jdbcType=VARCHAR}, #{teacherComment,jdbcType=LONGVARCHAR})
|
||||
</insert>
|
||||
<insert id="insertSelective" parameterType="com.sztzjy.financial_bigdata.entity.TrainingReport">
|
||||
insert into training_report
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="reportId != null">
|
||||
report_id,
|
||||
</if>
|
||||
<if test="chapterId != null">
|
||||
chapter_id,
|
||||
</if>
|
||||
<if test="chapterName != null">
|
||||
chapter_name,
|
||||
</if>
|
||||
<if test="userId != null">
|
||||
user_id,
|
||||
</if>
|
||||
<if test="reportName != null">
|
||||
report_name,
|
||||
</if>
|
||||
<if test="uploadTime != null">
|
||||
upload_time,
|
||||
</if>
|
||||
<if test="reportSize != null">
|
||||
report_size,
|
||||
</if>
|
||||
<if test="teacherScore != null">
|
||||
teacher_score,
|
||||
</if>
|
||||
<if test="filePath != null">
|
||||
file_path,
|
||||
</if>
|
||||
<if test="schoolId != null">
|
||||
school_id,
|
||||
</if>
|
||||
<if test="teacherComment != null">
|
||||
teacher_comment,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="reportId != null">
|
||||
#{reportId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="chapterId != null">
|
||||
#{chapterId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="chapterName != null">
|
||||
#{chapterName,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="userId != null">
|
||||
#{userId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="reportName != null">
|
||||
#{reportName,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="uploadTime != null">
|
||||
#{uploadTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="reportSize != null">
|
||||
#{reportSize,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="teacherScore != null">
|
||||
#{teacherScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="filePath != null">
|
||||
#{filePath,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="schoolId != null">
|
||||
#{schoolId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="teacherComment != null">
|
||||
#{teacherComment,jdbcType=LONGVARCHAR},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<select id="countByExample" parameterType="com.sztzjy.financial_bigdata.entity.TrainingReportExample" resultType="java.lang.Long">
|
||||
select count(*) from training_report
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</select>
|
||||
<update id="updateByExampleSelective" parameterType="map">
|
||||
update training_report
|
||||
<set>
|
||||
<if test="record.reportId != null">
|
||||
report_id = #{record.reportId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.chapterId != null">
|
||||
chapter_id = #{record.chapterId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.chapterName != null">
|
||||
chapter_name = #{record.chapterName,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.userId != null">
|
||||
user_id = #{record.userId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.reportName != null">
|
||||
report_name = #{record.reportName,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.uploadTime != null">
|
||||
upload_time = #{record.uploadTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="record.reportSize != null">
|
||||
report_size = #{record.reportSize,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="record.teacherScore != null">
|
||||
teacher_score = #{record.teacherScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="record.filePath != null">
|
||||
file_path = #{record.filePath,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.schoolId != null">
|
||||
school_id = #{record.schoolId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.teacherComment != null">
|
||||
teacher_comment = #{record.teacherComment,jdbcType=LONGVARCHAR},
|
||||
</if>
|
||||
</set>
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByExampleWithBLOBs" parameterType="map">
|
||||
update training_report
|
||||
set report_id = #{record.reportId,jdbcType=VARCHAR},
|
||||
chapter_id = #{record.chapterId,jdbcType=VARCHAR},
|
||||
chapter_name = #{record.chapterName,jdbcType=VARCHAR},
|
||||
user_id = #{record.userId,jdbcType=VARCHAR},
|
||||
report_name = #{record.reportName,jdbcType=VARCHAR},
|
||||
upload_time = #{record.uploadTime,jdbcType=TIMESTAMP},
|
||||
report_size = #{record.reportSize,jdbcType=INTEGER},
|
||||
teacher_score = #{record.teacherScore,jdbcType=DECIMAL},
|
||||
file_path = #{record.filePath,jdbcType=VARCHAR},
|
||||
school_id = #{record.schoolId,jdbcType=VARCHAR},
|
||||
teacher_comment = #{record.teacherComment,jdbcType=LONGVARCHAR}
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByExample" parameterType="map">
|
||||
update training_report
|
||||
set report_id = #{record.reportId,jdbcType=VARCHAR},
|
||||
chapter_id = #{record.chapterId,jdbcType=VARCHAR},
|
||||
chapter_name = #{record.chapterName,jdbcType=VARCHAR},
|
||||
user_id = #{record.userId,jdbcType=VARCHAR},
|
||||
report_name = #{record.reportName,jdbcType=VARCHAR},
|
||||
upload_time = #{record.uploadTime,jdbcType=TIMESTAMP},
|
||||
report_size = #{record.reportSize,jdbcType=INTEGER},
|
||||
teacher_score = #{record.teacherScore,jdbcType=DECIMAL},
|
||||
file_path = #{record.filePath,jdbcType=VARCHAR},
|
||||
school_id = #{record.schoolId,jdbcType=VARCHAR}
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
</mapper>
|
Loading…
Reference in New Issue