wuheng 1 year ago
parent
commit
8bf6928422

+ 0 - 32
mbg/src/main/java/com/koobietech/eas/mbg/mapper/EasEduClaRelationMapper.java

@@ -1,32 +0,0 @@
-package com.koobietech.eas.mbg.mapper;
-
-import com.fasterxml.jackson.annotation.JsonFormat;
-import com.koobietech.eas.mbg.model.EasEduClaRelation;
-import com.koobietech.eas.mbg.model.EasEduClaRelationExample;
-import io.swagger.v3.oas.annotations.media.Schema;
-import java.util.List;
-import org.apache.ibatis.annotations.Param;
-
-public interface EasEduClaRelationMapper {
-    long countByExample(EasEduClaRelationExample example);
-
-    int deleteByExample(EasEduClaRelationExample example);
-
-    int deleteByPrimaryKey(Integer id);
-
-    int insert(EasEduClaRelation record);
-
-    int insertSelective(EasEduClaRelation record);
-
-    List<EasEduClaRelation> selectByExample(EasEduClaRelationExample example);
-
-    EasEduClaRelation selectByPrimaryKey(Integer id);
-
-    int updateByExampleSelective(@Param("record") EasEduClaRelation record, @Param("example") EasEduClaRelationExample example);
-
-    int updateByExample(@Param("record") EasEduClaRelation record, @Param("example") EasEduClaRelationExample example);
-
-    int updateByPrimaryKeySelective(EasEduClaRelation record);
-
-    int updateByPrimaryKey(EasEduClaRelation record);
-}

+ 0 - 153
mbg/src/main/java/com/koobietech/eas/mbg/model/EasEduClaRelation.java

@@ -1,153 +0,0 @@
-package com.koobietech.eas.mbg.model;
-
-import com.fasterxml.jackson.annotation.JsonFormat;
-import io.swagger.v3.oas.annotations.media.Schema;
-import java.io.Serializable;
-import java.util.Date;
-
-public class EasEduClaRelation implements Serializable {
-    private Integer id;
-
-    /**
-     * 班级ID
-     *
-     * @mbg.generated
-     */
-    @Schema(description = "班级ID")
-    private Long classId;
-
-    /**
-     * 学习的课程
-     *
-     * @mbg.generated
-     */
-    @Schema(description = "学习的课程")
-    private Long categoryId;
-
-    /**
-     * 学习到当前课程的科目
-     *
-     * @mbg.generated
-     */
-    @Schema(description = "学习到当前课程的科目")
-    private Long subjectsId;
-
-    /**
-     * 学习进度百分比
-     *
-     * @mbg.generated
-     */
-    @Schema(description = "学习进度百分比")
-    private Integer progress;
-
-    /**
-     * 创建时间
-     *
-     * @mbg.generated
-     */
-    @Schema(description = "创建时间")
-    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
-    private Date createTime;
-
-    /**
-     * 修改时间
-     *
-     * @mbg.generated
-     */
-    @Schema(description = "修改时间")
-    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
-    private Date modifyTime;
-
-    /**
-     * 创建用户ID
-     *
-     * @mbg.generated
-     */
-    @Schema(description = "创建用户ID")
-    private Integer createUid;
-
-    private static final long serialVersionUID = 1L;
-
-    public Integer getId() {
-        return id;
-    }
-
-    public void setId(Integer id) {
-        this.id = id;
-    }
-
-    public Long getClassId() {
-        return classId;
-    }
-
-    public void setClassId(Long classId) {
-        this.classId = classId;
-    }
-
-    public Long getCategoryId() {
-        return categoryId;
-    }
-
-    public void setCategoryId(Long categoryId) {
-        this.categoryId = categoryId;
-    }
-
-    public Long getSubjectsId() {
-        return subjectsId;
-    }
-
-    public void setSubjectsId(Long subjectsId) {
-        this.subjectsId = subjectsId;
-    }
-
-    public Integer getProgress() {
-        return progress;
-    }
-
-    public void setProgress(Integer progress) {
-        this.progress = progress;
-    }
-
-    public Date getCreateTime() {
-        return createTime;
-    }
-
-    public void setCreateTime(Date createTime) {
-        this.createTime = createTime;
-    }
-
-    public Date getModifyTime() {
-        return modifyTime;
-    }
-
-    public void setModifyTime(Date modifyTime) {
-        this.modifyTime = modifyTime;
-    }
-
-    public Integer getCreateUid() {
-        return createUid;
-    }
-
-    public void setCreateUid(Integer createUid) {
-        this.createUid = createUid;
-    }
-
-    @Override
-    public String toString() {
-        StringBuilder sb = new StringBuilder();
-        sb.append(getClass().getSimpleName());
-        sb.append(" [");
-        sb.append("Hash = ").append(hashCode());
-        sb.append(", id=").append(id);
-        sb.append(", classId=").append(classId);
-        sb.append(", categoryId=").append(categoryId);
-        sb.append(", subjectsId=").append(subjectsId);
-        sb.append(", progress=").append(progress);
-        sb.append(", createTime=").append(createTime);
-        sb.append(", modifyTime=").append(modifyTime);
-        sb.append(", createUid=").append(createUid);
-        sb.append(", serialVersionUID=").append(serialVersionUID);
-        sb.append("]");
-        return sb.toString();
-    }
-}

+ 0 - 680
mbg/src/main/java/com/koobietech/eas/mbg/model/EasEduClaRelationExample.java

@@ -1,680 +0,0 @@
-package com.koobietech.eas.mbg.model;
-
-import java.util.ArrayList;
-import java.util.Date;
-import java.util.List;
-
-public class EasEduClaRelationExample {
-    protected String orderByClause;
-
-    protected boolean distinct;
-
-    protected List<Criteria> oredCriteria;
-
-    public EasEduClaRelationExample() {
-        oredCriteria = new ArrayList<>();
-    }
-
-    public void setOrderByClause(String orderByClause) {
-        this.orderByClause = orderByClause;
-    }
-
-    public String getOrderByClause() {
-        return orderByClause;
-    }
-
-    public void setDistinct(boolean distinct) {
-        this.distinct = distinct;
-    }
-
-    public boolean isDistinct() {
-        return distinct;
-    }
-
-    public List<Criteria> getOredCriteria() {
-        return oredCriteria;
-    }
-
-    public void or(Criteria criteria) {
-        oredCriteria.add(criteria);
-    }
-
-    public Criteria or() {
-        Criteria criteria = createCriteriaInternal();
-        oredCriteria.add(criteria);
-        return criteria;
-    }
-
-    public Criteria createCriteria() {
-        Criteria criteria = createCriteriaInternal();
-        if (oredCriteria.size() == 0) {
-            oredCriteria.add(criteria);
-        }
-        return criteria;
-    }
-
-    protected Criteria createCriteriaInternal() {
-        Criteria criteria = new Criteria();
-        return criteria;
-    }
-
-    public void clear() {
-        oredCriteria.clear();
-        orderByClause = null;
-        distinct = false;
-    }
-
-    protected abstract static class GeneratedCriteria {
-        protected List<Criterion> criteria;
-
-        protected GeneratedCriteria() {
-            super();
-            criteria = new ArrayList<>();
-        }
-
-        public boolean isValid() {
-            return criteria.size() > 0;
-        }
-
-        public List<Criterion> getAllCriteria() {
-            return criteria;
-        }
-
-        public List<Criterion> getCriteria() {
-            return criteria;
-        }
-
-        protected void addCriterion(String condition) {
-            if (condition == null) {
-                throw new RuntimeException("Value for condition cannot be null");
-            }
-            criteria.add(new Criterion(condition));
-        }
-
-        protected void addCriterion(String condition, Object value, String property) {
-            if (value == null) {
-                throw new RuntimeException("Value for " + property + " cannot be null");
-            }
-            criteria.add(new Criterion(condition, value));
-        }
-
-        protected void addCriterion(String condition, Object value1, Object value2, String property) {
-            if (value1 == null || value2 == null) {
-                throw new RuntimeException("Between values for " + property + " cannot be null");
-            }
-            criteria.add(new Criterion(condition, value1, value2));
-        }
-
-        public Criteria andIdIsNull() {
-            addCriterion("id is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdIsNotNull() {
-            addCriterion("id is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdEqualTo(Integer value) {
-            addCriterion("id =", value, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdNotEqualTo(Integer value) {
-            addCriterion("id <>", value, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdGreaterThan(Integer value) {
-            addCriterion("id >", value, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
-            addCriterion("id >=", value, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdLessThan(Integer value) {
-            addCriterion("id <", value, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdLessThanOrEqualTo(Integer value) {
-            addCriterion("id <=", value, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdIn(List<Integer> values) {
-            addCriterion("id in", values, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdNotIn(List<Integer> values) {
-            addCriterion("id not in", values, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdBetween(Integer value1, Integer value2) {
-            addCriterion("id between", value1, value2, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdNotBetween(Integer value1, Integer value2) {
-            addCriterion("id not between", value1, value2, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andClassIdIsNull() {
-            addCriterion("class_id is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andClassIdIsNotNull() {
-            addCriterion("class_id is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andClassIdEqualTo(Long value) {
-            addCriterion("class_id =", value, "classId");
-            return (Criteria) this;
-        }
-
-        public Criteria andClassIdNotEqualTo(Long value) {
-            addCriterion("class_id <>", value, "classId");
-            return (Criteria) this;
-        }
-
-        public Criteria andClassIdGreaterThan(Long value) {
-            addCriterion("class_id >", value, "classId");
-            return (Criteria) this;
-        }
-
-        public Criteria andClassIdGreaterThanOrEqualTo(Long value) {
-            addCriterion("class_id >=", value, "classId");
-            return (Criteria) this;
-        }
-
-        public Criteria andClassIdLessThan(Long value) {
-            addCriterion("class_id <", value, "classId");
-            return (Criteria) this;
-        }
-
-        public Criteria andClassIdLessThanOrEqualTo(Long value) {
-            addCriterion("class_id <=", value, "classId");
-            return (Criteria) this;
-        }
-
-        public Criteria andClassIdIn(List<Long> values) {
-            addCriterion("class_id in", values, "classId");
-            return (Criteria) this;
-        }
-
-        public Criteria andClassIdNotIn(List<Long> values) {
-            addCriterion("class_id not in", values, "classId");
-            return (Criteria) this;
-        }
-
-        public Criteria andClassIdBetween(Long value1, Long value2) {
-            addCriterion("class_id between", value1, value2, "classId");
-            return (Criteria) this;
-        }
-
-        public Criteria andClassIdNotBetween(Long value1, Long value2) {
-            addCriterion("class_id not between", value1, value2, "classId");
-            return (Criteria) this;
-        }
-
-        public Criteria andCategoryIdIsNull() {
-            addCriterion("category_id is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andCategoryIdIsNotNull() {
-            addCriterion("category_id is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andCategoryIdEqualTo(Long value) {
-            addCriterion("category_id =", value, "categoryId");
-            return (Criteria) this;
-        }
-
-        public Criteria andCategoryIdNotEqualTo(Long value) {
-            addCriterion("category_id <>", value, "categoryId");
-            return (Criteria) this;
-        }
-
-        public Criteria andCategoryIdGreaterThan(Long value) {
-            addCriterion("category_id >", value, "categoryId");
-            return (Criteria) this;
-        }
-
-        public Criteria andCategoryIdGreaterThanOrEqualTo(Long value) {
-            addCriterion("category_id >=", value, "categoryId");
-            return (Criteria) this;
-        }
-
-        public Criteria andCategoryIdLessThan(Long value) {
-            addCriterion("category_id <", value, "categoryId");
-            return (Criteria) this;
-        }
-
-        public Criteria andCategoryIdLessThanOrEqualTo(Long value) {
-            addCriterion("category_id <=", value, "categoryId");
-            return (Criteria) this;
-        }
-
-        public Criteria andCategoryIdIn(List<Long> values) {
-            addCriterion("category_id in", values, "categoryId");
-            return (Criteria) this;
-        }
-
-        public Criteria andCategoryIdNotIn(List<Long> values) {
-            addCriterion("category_id not in", values, "categoryId");
-            return (Criteria) this;
-        }
-
-        public Criteria andCategoryIdBetween(Long value1, Long value2) {
-            addCriterion("category_id between", value1, value2, "categoryId");
-            return (Criteria) this;
-        }
-
-        public Criteria andCategoryIdNotBetween(Long value1, Long value2) {
-            addCriterion("category_id not between", value1, value2, "categoryId");
-            return (Criteria) this;
-        }
-
-        public Criteria andSubjectsIdIsNull() {
-            addCriterion("subjects_id is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andSubjectsIdIsNotNull() {
-            addCriterion("subjects_id is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andSubjectsIdEqualTo(Long value) {
-            addCriterion("subjects_id =", value, "subjectsId");
-            return (Criteria) this;
-        }
-
-        public Criteria andSubjectsIdNotEqualTo(Long value) {
-            addCriterion("subjects_id <>", value, "subjectsId");
-            return (Criteria) this;
-        }
-
-        public Criteria andSubjectsIdGreaterThan(Long value) {
-            addCriterion("subjects_id >", value, "subjectsId");
-            return (Criteria) this;
-        }
-
-        public Criteria andSubjectsIdGreaterThanOrEqualTo(Long value) {
-            addCriterion("subjects_id >=", value, "subjectsId");
-            return (Criteria) this;
-        }
-
-        public Criteria andSubjectsIdLessThan(Long value) {
-            addCriterion("subjects_id <", value, "subjectsId");
-            return (Criteria) this;
-        }
-
-        public Criteria andSubjectsIdLessThanOrEqualTo(Long value) {
-            addCriterion("subjects_id <=", value, "subjectsId");
-            return (Criteria) this;
-        }
-
-        public Criteria andSubjectsIdIn(List<Long> values) {
-            addCriterion("subjects_id in", values, "subjectsId");
-            return (Criteria) this;
-        }
-
-        public Criteria andSubjectsIdNotIn(List<Long> values) {
-            addCriterion("subjects_id not in", values, "subjectsId");
-            return (Criteria) this;
-        }
-
-        public Criteria andSubjectsIdBetween(Long value1, Long value2) {
-            addCriterion("subjects_id between", value1, value2, "subjectsId");
-            return (Criteria) this;
-        }
-
-        public Criteria andSubjectsIdNotBetween(Long value1, Long value2) {
-            addCriterion("subjects_id not between", value1, value2, "subjectsId");
-            return (Criteria) this;
-        }
-
-        public Criteria andProgressIsNull() {
-            addCriterion("progress is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andProgressIsNotNull() {
-            addCriterion("progress is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andProgressEqualTo(Integer value) {
-            addCriterion("progress =", value, "progress");
-            return (Criteria) this;
-        }
-
-        public Criteria andProgressNotEqualTo(Integer value) {
-            addCriterion("progress <>", value, "progress");
-            return (Criteria) this;
-        }
-
-        public Criteria andProgressGreaterThan(Integer value) {
-            addCriterion("progress >", value, "progress");
-            return (Criteria) this;
-        }
-
-        public Criteria andProgressGreaterThanOrEqualTo(Integer value) {
-            addCriterion("progress >=", value, "progress");
-            return (Criteria) this;
-        }
-
-        public Criteria andProgressLessThan(Integer value) {
-            addCriterion("progress <", value, "progress");
-            return (Criteria) this;
-        }
-
-        public Criteria andProgressLessThanOrEqualTo(Integer value) {
-            addCriterion("progress <=", value, "progress");
-            return (Criteria) this;
-        }
-
-        public Criteria andProgressIn(List<Integer> values) {
-            addCriterion("progress in", values, "progress");
-            return (Criteria) this;
-        }
-
-        public Criteria andProgressNotIn(List<Integer> values) {
-            addCriterion("progress not in", values, "progress");
-            return (Criteria) this;
-        }
-
-        public Criteria andProgressBetween(Integer value1, Integer value2) {
-            addCriterion("progress between", value1, value2, "progress");
-            return (Criteria) this;
-        }
-
-        public Criteria andProgressNotBetween(Integer value1, Integer value2) {
-            addCriterion("progress not between", value1, value2, "progress");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateTimeIsNull() {
-            addCriterion("create_time is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateTimeIsNotNull() {
-            addCriterion("create_time is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateTimeEqualTo(Date value) {
-            addCriterion("create_time =", value, "createTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateTimeNotEqualTo(Date value) {
-            addCriterion("create_time <>", value, "createTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateTimeGreaterThan(Date value) {
-            addCriterion("create_time >", value, "createTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
-            addCriterion("create_time >=", value, "createTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateTimeLessThan(Date value) {
-            addCriterion("create_time <", value, "createTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
-            addCriterion("create_time <=", value, "createTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateTimeIn(List<Date> values) {
-            addCriterion("create_time in", values, "createTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateTimeNotIn(List<Date> values) {
-            addCriterion("create_time not in", values, "createTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateTimeBetween(Date value1, Date value2) {
-            addCriterion("create_time between", value1, value2, "createTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
-            addCriterion("create_time not between", value1, value2, "createTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andModifyTimeIsNull() {
-            addCriterion("modify_time is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andModifyTimeIsNotNull() {
-            addCriterion("modify_time is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andModifyTimeEqualTo(Date value) {
-            addCriterion("modify_time =", value, "modifyTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andModifyTimeNotEqualTo(Date value) {
-            addCriterion("modify_time <>", value, "modifyTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andModifyTimeGreaterThan(Date value) {
-            addCriterion("modify_time >", value, "modifyTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andModifyTimeGreaterThanOrEqualTo(Date value) {
-            addCriterion("modify_time >=", value, "modifyTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andModifyTimeLessThan(Date value) {
-            addCriterion("modify_time <", value, "modifyTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andModifyTimeLessThanOrEqualTo(Date value) {
-            addCriterion("modify_time <=", value, "modifyTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andModifyTimeIn(List<Date> values) {
-            addCriterion("modify_time in", values, "modifyTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andModifyTimeNotIn(List<Date> values) {
-            addCriterion("modify_time not in", values, "modifyTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andModifyTimeBetween(Date value1, Date value2) {
-            addCriterion("modify_time between", value1, value2, "modifyTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andModifyTimeNotBetween(Date value1, Date value2) {
-            addCriterion("modify_time not between", value1, value2, "modifyTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateUidIsNull() {
-            addCriterion("create_uid is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateUidIsNotNull() {
-            addCriterion("create_uid is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateUidEqualTo(Integer value) {
-            addCriterion("create_uid =", value, "createUid");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateUidNotEqualTo(Integer value) {
-            addCriterion("create_uid <>", value, "createUid");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateUidGreaterThan(Integer value) {
-            addCriterion("create_uid >", value, "createUid");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateUidGreaterThanOrEqualTo(Integer value) {
-            addCriterion("create_uid >=", value, "createUid");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateUidLessThan(Integer value) {
-            addCriterion("create_uid <", value, "createUid");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateUidLessThanOrEqualTo(Integer value) {
-            addCriterion("create_uid <=", value, "createUid");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateUidIn(List<Integer> values) {
-            addCriterion("create_uid in", values, "createUid");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateUidNotIn(List<Integer> values) {
-            addCriterion("create_uid not in", values, "createUid");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateUidBetween(Integer value1, Integer value2) {
-            addCriterion("create_uid between", value1, value2, "createUid");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateUidNotBetween(Integer value1, Integer value2) {
-            addCriterion("create_uid not between", value1, value2, "createUid");
-            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 - 258
mbg/src/main/resources/com/koobietech/eas/mbg/mapper/EasEduClaRelationMapper.xml

@@ -1,258 +0,0 @@
-<?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.koobietech.eas.mbg.mapper.EasEduClaRelationMapper">
-  <resultMap id="BaseResultMap" type="com.koobietech.eas.mbg.model.EasEduClaRelation">
-    <id column="id" jdbcType="INTEGER" property="id" />
-    <result column="class_id" jdbcType="BIGINT" property="classId" />
-    <result column="category_id" jdbcType="BIGINT" property="categoryId" />
-    <result column="subjects_id" jdbcType="BIGINT" property="subjectsId" />
-    <result column="progress" jdbcType="INTEGER" property="progress" />
-    <result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
-    <result column="modify_time" jdbcType="TIMESTAMP" property="modifyTime" />
-    <result column="create_uid" jdbcType="INTEGER" property="createUid" />
-  </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, class_id, category_id, subjects_id, progress, create_time, modify_time, create_uid
-  </sql>
-  <select id="selectByExample" parameterType="com.koobietech.eas.mbg.model.EasEduClaRelationExample" resultMap="BaseResultMap">
-    select
-    <if test="distinct">
-      distinct
-    </if>
-    <include refid="Base_Column_List" />
-    from eas_edu_cla_relation
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-    <if test="orderByClause != null">
-      order by ${orderByClause}
-    </if>
-  </select>
-  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
-    select 
-    <include refid="Base_Column_List" />
-    from eas_edu_cla_relation
-    where id = #{id,jdbcType=INTEGER}
-  </select>
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
-    delete from eas_edu_cla_relation
-    where id = #{id,jdbcType=INTEGER}
-  </delete>
-  <delete id="deleteByExample" parameterType="com.koobietech.eas.mbg.model.EasEduClaRelationExample">
-    delete from eas_edu_cla_relation
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </delete>
-  <insert id="insert" parameterType="com.koobietech.eas.mbg.model.EasEduClaRelation">
-    <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Integer">
-      SELECT LAST_INSERT_ID()
-    </selectKey>
-    insert into eas_edu_cla_relation (class_id, category_id, subjects_id, 
-      progress, create_time, modify_time, 
-      create_uid)
-    values (#{classId,jdbcType=BIGINT}, #{categoryId,jdbcType=BIGINT}, #{subjectsId,jdbcType=BIGINT}, 
-      #{progress,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{modifyTime,jdbcType=TIMESTAMP}, 
-      #{createUid,jdbcType=INTEGER})
-  </insert>
-  <insert id="insertSelective" parameterType="com.koobietech.eas.mbg.model.EasEduClaRelation">
-    <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Integer">
-      SELECT LAST_INSERT_ID()
-    </selectKey>
-    insert into eas_edu_cla_relation
-    <trim prefix="(" suffix=")" suffixOverrides=",">
-      <if test="classId != null">
-        class_id,
-      </if>
-      <if test="categoryId != null">
-        category_id,
-      </if>
-      <if test="subjectsId != null">
-        subjects_id,
-      </if>
-      <if test="progress != null">
-        progress,
-      </if>
-      <if test="createTime != null">
-        create_time,
-      </if>
-      <if test="modifyTime != null">
-        modify_time,
-      </if>
-      <if test="createUid != null">
-        create_uid,
-      </if>
-    </trim>
-    <trim prefix="values (" suffix=")" suffixOverrides=",">
-      <if test="classId != null">
-        #{classId,jdbcType=BIGINT},
-      </if>
-      <if test="categoryId != null">
-        #{categoryId,jdbcType=BIGINT},
-      </if>
-      <if test="subjectsId != null">
-        #{subjectsId,jdbcType=BIGINT},
-      </if>
-      <if test="progress != null">
-        #{progress,jdbcType=INTEGER},
-      </if>
-      <if test="createTime != null">
-        #{createTime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="modifyTime != null">
-        #{modifyTime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="createUid != null">
-        #{createUid,jdbcType=INTEGER},
-      </if>
-    </trim>
-  </insert>
-  <select id="countByExample" parameterType="com.koobietech.eas.mbg.model.EasEduClaRelationExample" resultType="java.lang.Long">
-    select count(*) from eas_edu_cla_relation
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </select>
-  <update id="updateByExampleSelective" parameterType="map">
-    update eas_edu_cla_relation
-    <set>
-      <if test="record.id != null">
-        id = #{record.id,jdbcType=INTEGER},
-      </if>
-      <if test="record.classId != null">
-        class_id = #{record.classId,jdbcType=BIGINT},
-      </if>
-      <if test="record.categoryId != null">
-        category_id = #{record.categoryId,jdbcType=BIGINT},
-      </if>
-      <if test="record.subjectsId != null">
-        subjects_id = #{record.subjectsId,jdbcType=BIGINT},
-      </if>
-      <if test="record.progress != null">
-        progress = #{record.progress,jdbcType=INTEGER},
-      </if>
-      <if test="record.createTime != null">
-        create_time = #{record.createTime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="record.modifyTime != null">
-        modify_time = #{record.modifyTime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="record.createUid != null">
-        create_uid = #{record.createUid,jdbcType=INTEGER},
-      </if>
-    </set>
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByExample" parameterType="map">
-    update eas_edu_cla_relation
-    set id = #{record.id,jdbcType=INTEGER},
-      class_id = #{record.classId,jdbcType=BIGINT},
-      category_id = #{record.categoryId,jdbcType=BIGINT},
-      subjects_id = #{record.subjectsId,jdbcType=BIGINT},
-      progress = #{record.progress,jdbcType=INTEGER},
-      create_time = #{record.createTime,jdbcType=TIMESTAMP},
-      modify_time = #{record.modifyTime,jdbcType=TIMESTAMP},
-      create_uid = #{record.createUid,jdbcType=INTEGER}
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByPrimaryKeySelective" parameterType="com.koobietech.eas.mbg.model.EasEduClaRelation">
-    update eas_edu_cla_relation
-    <set>
-      <if test="classId != null">
-        class_id = #{classId,jdbcType=BIGINT},
-      </if>
-      <if test="categoryId != null">
-        category_id = #{categoryId,jdbcType=BIGINT},
-      </if>
-      <if test="subjectsId != null">
-        subjects_id = #{subjectsId,jdbcType=BIGINT},
-      </if>
-      <if test="progress != null">
-        progress = #{progress,jdbcType=INTEGER},
-      </if>
-      <if test="createTime != null">
-        create_time = #{createTime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="modifyTime != null">
-        modify_time = #{modifyTime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="createUid != null">
-        create_uid = #{createUid,jdbcType=INTEGER},
-      </if>
-    </set>
-    where id = #{id,jdbcType=INTEGER}
-  </update>
-  <update id="updateByPrimaryKey" parameterType="com.koobietech.eas.mbg.model.EasEduClaRelation">
-    update eas_edu_cla_relation
-    set class_id = #{classId,jdbcType=BIGINT},
-      category_id = #{categoryId,jdbcType=BIGINT},
-      subjects_id = #{subjectsId,jdbcType=BIGINT},
-      progress = #{progress,jdbcType=INTEGER},
-      create_time = #{createTime,jdbcType=TIMESTAMP},
-      modify_time = #{modifyTime,jdbcType=TIMESTAMP},
-      create_uid = #{createUid,jdbcType=INTEGER}
-    where id = #{id,jdbcType=INTEGER}
-  </update>
-</mapper>