1.新增首页接口

2.修改数据库时间格式为string,上传重新生成的相关xml和类
pull/1/head
xiaoCJ 2 years ago
parent bbdc7334ea
commit 7021b66893

@ -9,7 +9,7 @@ public class TrainingExample {
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database table sys_training * This field corresponds to the database table sys_training
* *
* @mbg.generated Thu Jun 29 18:43:01 CST 2023 * @mbg.generated Fri Jun 30 14:37:06 CST 2023
*/ */
protected String orderByClause; protected String orderByClause;
@ -17,7 +17,7 @@ public class TrainingExample {
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database table sys_training * This field corresponds to the database table sys_training
* *
* @mbg.generated Thu Jun 29 18:43:01 CST 2023 * @mbg.generated Fri Jun 30 14:37:06 CST 2023
*/ */
protected boolean distinct; protected boolean distinct;
@ -25,7 +25,7 @@ public class TrainingExample {
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database table sys_training * This field corresponds to the database table sys_training
* *
* @mbg.generated Thu Jun 29 18:43:01 CST 2023 * @mbg.generated Fri Jun 30 14:37:06 CST 2023
*/ */
protected List<Criteria> oredCriteria; protected List<Criteria> oredCriteria;
@ -33,7 +33,7 @@ public class TrainingExample {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training * This method corresponds to the database table sys_training
* *
* @mbg.generated Thu Jun 29 18:43:01 CST 2023 * @mbg.generated Fri Jun 30 14:37:06 CST 2023
*/ */
public TrainingExample() { public TrainingExample() {
oredCriteria = new ArrayList<>(); oredCriteria = new ArrayList<>();
@ -43,7 +43,7 @@ public class TrainingExample {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training * This method corresponds to the database table sys_training
* *
* @mbg.generated Thu Jun 29 18:43:01 CST 2023 * @mbg.generated Fri Jun 30 14:37:06 CST 2023
*/ */
public void setOrderByClause(String orderByClause) { public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause; this.orderByClause = orderByClause;
@ -53,7 +53,7 @@ public class TrainingExample {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training * This method corresponds to the database table sys_training
* *
* @mbg.generated Thu Jun 29 18:43:01 CST 2023 * @mbg.generated Fri Jun 30 14:37:06 CST 2023
*/ */
public String getOrderByClause() { public String getOrderByClause() {
return orderByClause; return orderByClause;
@ -63,7 +63,7 @@ public class TrainingExample {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training * This method corresponds to the database table sys_training
* *
* @mbg.generated Thu Jun 29 18:43:01 CST 2023 * @mbg.generated Fri Jun 30 14:37:06 CST 2023
*/ */
public void setDistinct(boolean distinct) { public void setDistinct(boolean distinct) {
this.distinct = distinct; this.distinct = distinct;
@ -73,7 +73,7 @@ public class TrainingExample {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training * This method corresponds to the database table sys_training
* *
* @mbg.generated Thu Jun 29 18:43:01 CST 2023 * @mbg.generated Fri Jun 30 14:37:06 CST 2023
*/ */
public boolean isDistinct() { public boolean isDistinct() {
return distinct; return distinct;
@ -83,7 +83,7 @@ public class TrainingExample {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training * This method corresponds to the database table sys_training
* *
* @mbg.generated Thu Jun 29 18:43:01 CST 2023 * @mbg.generated Fri Jun 30 14:37:06 CST 2023
*/ */
public List<Criteria> getOredCriteria() { public List<Criteria> getOredCriteria() {
return oredCriteria; return oredCriteria;
@ -93,7 +93,7 @@ public class TrainingExample {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training * This method corresponds to the database table sys_training
* *
* @mbg.generated Thu Jun 29 18:43:01 CST 2023 * @mbg.generated Fri Jun 30 14:37:06 CST 2023
*/ */
public void or(Criteria criteria) { public void or(Criteria criteria) {
oredCriteria.add(criteria); oredCriteria.add(criteria);
@ -103,7 +103,7 @@ public class TrainingExample {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training * This method corresponds to the database table sys_training
* *
* @mbg.generated Thu Jun 29 18:43:01 CST 2023 * @mbg.generated Fri Jun 30 14:37:06 CST 2023
*/ */
public Criteria or() { public Criteria or() {
Criteria criteria = createCriteriaInternal(); Criteria criteria = createCriteriaInternal();
@ -115,7 +115,7 @@ public class TrainingExample {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training * This method corresponds to the database table sys_training
* *
* @mbg.generated Thu Jun 29 18:43:01 CST 2023 * @mbg.generated Fri Jun 30 14:37:06 CST 2023
*/ */
public Criteria createCriteria() { public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal(); Criteria criteria = createCriteriaInternal();
@ -129,7 +129,7 @@ public class TrainingExample {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training * This method corresponds to the database table sys_training
* *
* @mbg.generated Thu Jun 29 18:43:01 CST 2023 * @mbg.generated Fri Jun 30 14:37:06 CST 2023
*/ */
protected Criteria createCriteriaInternal() { protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria(); Criteria criteria = new Criteria();
@ -140,7 +140,7 @@ public class TrainingExample {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training * This method corresponds to the database table sys_training
* *
* @mbg.generated Thu Jun 29 18:43:01 CST 2023 * @mbg.generated Fri Jun 30 14:37:06 CST 2023
*/ */
public void clear() { public void clear() {
oredCriteria.clear(); oredCriteria.clear();
@ -152,7 +152,7 @@ public class TrainingExample {
* This class was generated by MyBatis Generator. * This class was generated by MyBatis Generator.
* This class corresponds to the database table sys_training * This class corresponds to the database table sys_training
* *
* @mbg.generated Thu Jun 29 18:43:01 CST 2023 * @mbg.generated Fri Jun 30 14:37:06 CST 2023
*/ */
protected abstract static class GeneratedCriteria { protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria; protected List<Criterion> criteria;
@ -205,52 +205,62 @@ public class TrainingExample {
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTrainingIdEqualTo(Integer value) { public Criteria andTrainingIdEqualTo(String value) {
addCriterion("training_id =", value, "trainingId"); addCriterion("training_id =", value, "trainingId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTrainingIdNotEqualTo(Integer value) { public Criteria andTrainingIdNotEqualTo(String value) {
addCriterion("training_id <>", value, "trainingId"); addCriterion("training_id <>", value, "trainingId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTrainingIdGreaterThan(Integer value) { public Criteria andTrainingIdGreaterThan(String value) {
addCriterion("training_id >", value, "trainingId"); addCriterion("training_id >", value, "trainingId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTrainingIdGreaterThanOrEqualTo(Integer value) { public Criteria andTrainingIdGreaterThanOrEqualTo(String value) {
addCriterion("training_id >=", value, "trainingId"); addCriterion("training_id >=", value, "trainingId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTrainingIdLessThan(Integer value) { public Criteria andTrainingIdLessThan(String value) {
addCriterion("training_id <", value, "trainingId"); addCriterion("training_id <", value, "trainingId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTrainingIdLessThanOrEqualTo(Integer value) { public Criteria andTrainingIdLessThanOrEqualTo(String value) {
addCriterion("training_id <=", value, "trainingId"); addCriterion("training_id <=", value, "trainingId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTrainingIdIn(List<Integer> values) { public Criteria andTrainingIdLike(String value) {
addCriterion("training_id like", value, "trainingId");
return (Criteria) this;
}
public Criteria andTrainingIdNotLike(String value) {
addCriterion("training_id not like", value, "trainingId");
return (Criteria) this;
}
public Criteria andTrainingIdIn(List<String> values) {
addCriterion("training_id in", values, "trainingId"); addCriterion("training_id in", values, "trainingId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTrainingIdNotIn(List<Integer> values) { public Criteria andTrainingIdNotIn(List<String> values) {
addCriterion("training_id not in", values, "trainingId"); addCriterion("training_id not in", values, "trainingId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTrainingIdBetween(Integer value1, Integer value2) { public Criteria andTrainingIdBetween(String value1, String value2) {
addCriterion("training_id between", value1, value2, "trainingId"); addCriterion("training_id between", value1, value2, "trainingId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTrainingIdNotBetween(Integer value1, Integer value2) { public Criteria andTrainingIdNotBetween(String value1, String value2) {
addCriterion("training_id not between", value1, value2, "trainingId"); addCriterion("training_id not between", value1, value2, "trainingId");
return (Criteria) this; return (Criteria) this;
} }
@ -395,52 +405,62 @@ public class TrainingExample {
return (Criteria) this; return (Criteria) this;
} }
public Criteria andEndTimeEqualTo(Date value) { public Criteria andEndTimeEqualTo(String value) {
addCriterion("end_time =", value, "endTime"); addCriterion("end_time =", value, "endTime");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andEndTimeNotEqualTo(Date value) { public Criteria andEndTimeNotEqualTo(String value) {
addCriterion("end_time <>", value, "endTime"); addCriterion("end_time <>", value, "endTime");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andEndTimeGreaterThan(Date value) { public Criteria andEndTimeGreaterThan(String value) {
addCriterion("end_time >", value, "endTime"); addCriterion("end_time >", value, "endTime");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andEndTimeGreaterThanOrEqualTo(Date value) { public Criteria andEndTimeGreaterThanOrEqualTo(String value) {
addCriterion("end_time >=", value, "endTime"); addCriterion("end_time >=", value, "endTime");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andEndTimeLessThan(Date value) { public Criteria andEndTimeLessThan(String value) {
addCriterion("end_time <", value, "endTime"); addCriterion("end_time <", value, "endTime");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andEndTimeLessThanOrEqualTo(Date value) { public Criteria andEndTimeLessThanOrEqualTo(String value) {
addCriterion("end_time <=", value, "endTime"); addCriterion("end_time <=", value, "endTime");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andEndTimeIn(List<Date> values) { public Criteria andEndTimeLike(String value) {
addCriterion("end_time like", value, "endTime");
return (Criteria) this;
}
public Criteria andEndTimeNotLike(String value) {
addCriterion("end_time not like", value, "endTime");
return (Criteria) this;
}
public Criteria andEndTimeIn(List<String> values) {
addCriterion("end_time in", values, "endTime"); addCriterion("end_time in", values, "endTime");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andEndTimeNotIn(List<Date> values) { public Criteria andEndTimeNotIn(List<String> values) {
addCriterion("end_time not in", values, "endTime"); addCriterion("end_time not in", values, "endTime");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andEndTimeBetween(Date value1, Date value2) { public Criteria andEndTimeBetween(String value1, String value2) {
addCriterion("end_time between", value1, value2, "endTime"); addCriterion("end_time between", value1, value2, "endTime");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andEndTimeNotBetween(Date value1, Date value2) { public Criteria andEndTimeNotBetween(String value1, String value2) {
addCriterion("end_time not between", value1, value2, "endTime"); addCriterion("end_time not between", value1, value2, "endTime");
return (Criteria) this; return (Criteria) this;
} }
@ -905,63 +925,63 @@ public class TrainingExample {
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCreateSchoolIdIsNull() { public Criteria andSchoolIdIsNull() {
addCriterion("create_school_id is null"); addCriterion("school_id is null");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCreateSchoolIdIsNotNull() { public Criteria andSchoolIdIsNotNull() {
addCriterion("create_school_id is not null"); addCriterion("school_id is not null");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCreateSchoolIdEqualTo(Integer value) { public Criteria andSchoolIdEqualTo(Integer value) {
addCriterion("create_school_id =", value, "createSchoolId"); addCriterion("school_id =", value, "schoolId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCreateSchoolIdNotEqualTo(Integer value) { public Criteria andSchoolIdNotEqualTo(Integer value) {
addCriterion("create_school_id <>", value, "createSchoolId"); addCriterion("school_id <>", value, "schoolId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCreateSchoolIdGreaterThan(Integer value) { public Criteria andSchoolIdGreaterThan(Integer value) {
addCriterion("create_school_id >", value, "createSchoolId"); addCriterion("school_id >", value, "schoolId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCreateSchoolIdGreaterThanOrEqualTo(Integer value) { public Criteria andSchoolIdGreaterThanOrEqualTo(Integer value) {
addCriterion("create_school_id >=", value, "createSchoolId"); addCriterion("school_id >=", value, "schoolId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCreateSchoolIdLessThan(Integer value) { public Criteria andSchoolIdLessThan(Integer value) {
addCriterion("create_school_id <", value, "createSchoolId"); addCriterion("school_id <", value, "schoolId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCreateSchoolIdLessThanOrEqualTo(Integer value) { public Criteria andSchoolIdLessThanOrEqualTo(Integer value) {
addCriterion("create_school_id <=", value, "createSchoolId"); addCriterion("school_id <=", value, "schoolId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCreateSchoolIdIn(List<Integer> values) { public Criteria andSchoolIdIn(List<Integer> values) {
addCriterion("create_school_id in", values, "createSchoolId"); addCriterion("school_id in", values, "schoolId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCreateSchoolIdNotIn(List<Integer> values) { public Criteria andSchoolIdNotIn(List<Integer> values) {
addCriterion("create_school_id not in", values, "createSchoolId"); addCriterion("school_id not in", values, "schoolId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCreateSchoolIdBetween(Integer value1, Integer value2) { public Criteria andSchoolIdBetween(Integer value1, Integer value2) {
addCriterion("create_school_id between", value1, value2, "createSchoolId"); addCriterion("school_id between", value1, value2, "schoolId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCreateSchoolIdNotBetween(Integer value1, Integer value2) { public Criteria andSchoolIdNotBetween(Integer value1, Integer value2) {
addCriterion("create_school_id not between", value1, value2, "createSchoolId"); addCriterion("school_id not between", value1, value2, "schoolId");
return (Criteria) this; return (Criteria) this;
} }
} }
@ -970,7 +990,7 @@ public class TrainingExample {
* This class was generated by MyBatis Generator. * This class was generated by MyBatis Generator.
* This class corresponds to the database table sys_training * This class corresponds to the database table sys_training
* *
* @mbg.generated do_not_delete_during_merge Thu Jun 29 18:43:01 CST 2023 * @mbg.generated do_not_delete_during_merge Fri Jun 30 14:37:06 CST 2023
*/ */
public static class Criteria extends GeneratedCriteria { public static class Criteria extends GeneratedCriteria {
protected Criteria() { protected Criteria() {
@ -982,7 +1002,7 @@ public class TrainingExample {
* This class was generated by MyBatis Generator. * This class was generated by MyBatis Generator.
* This class corresponds to the database table sys_training * This class corresponds to the database table sys_training
* *
* @mbg.generated Thu Jun 29 18:43:01 CST 2023 * @mbg.generated Fri Jun 30 14:37:06 CST 2023
*/ */
public static class Criterion { public static class Criterion {
private String condition; private String condition;

Loading…
Cancel
Save