From e757c7f1331c45ada51238e08d264d82065353e7 Mon Sep 17 00:00:00 2001 From: zhangye <654600784@qq.com> Date: Sat, 7 May 2022 10:19:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=BB=BA=E4=BA=8C=E6=9C=9F=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ccsens/delivery/bean/po/RecordHealth.java | 117 ++ .../delivery/bean/po/RecordHealthExample.java | 751 +++++++++ .../delivery/bean/po/RecordMaterial.java | 139 ++ .../bean/po/RecordMaterialDetail.java | 106 ++ .../bean/po/RecordMaterialDetailExample.java | 681 ++++++++ .../bean/po/RecordMaterialExample.java | 871 +++++++++++ .../ccsens/delivery/bean/po/RecordTrails.java | 117 ++ .../delivery/bean/po/RecordTrailsDetail.java | 139 ++ .../bean/po/RecordTrailsDetailExample.java | 881 +++++++++++ .../delivery/bean/po/RecordTrailsExample.java | 761 +++++++++ .../ccsens/delivery/bean/po/SysMaterial.java | 117 ++ .../delivery/bean/po/SysMaterialExample.java | 761 +++++++++ .../ccsens/delivery/bean/po/SysUserInfo.java | 216 +++ .../delivery/bean/po/SysUserInfoExample.java | 1371 +++++++++++++++++ .../persist/mapper/RecordHealthMapper.java | 30 + .../mapper/RecordMaterialDetailMapper.java | 30 + .../persist/mapper/RecordMaterialMapper.java | 30 + .../mapper/RecordTrailsDetailMapper.java | 30 + .../persist/mapper/RecordTrailsMapper.java | 30 + .../persist/mapper/SysMaterialMapper.java | 30 + .../persist/mapper/SysUserInfoMapper.java | 30 + .../mapper_raw/RecordHealthMapper.xml | 275 ++++ .../mapper_raw/RecordMaterialDetailMapper.xml | 258 ++++ .../mapper_raw/RecordMaterialMapper.xml | 306 ++++ .../mapper_raw/RecordTrailsDetailMapper.xml | 306 ++++ .../mapper_raw/RecordTrailsMapper.xml | 276 ++++ .../mapper_raw/SysMaterialMapper.xml | 275 ++++ .../mapper_raw/SysUserInfoMapper.xml | 417 +++++ src/main/resources/mbg.xml | 9 +- 29 files changed, 9359 insertions(+), 1 deletion(-) create mode 100644 src/main/java/com/ccsens/delivery/bean/po/RecordHealth.java create mode 100644 src/main/java/com/ccsens/delivery/bean/po/RecordHealthExample.java create mode 100644 src/main/java/com/ccsens/delivery/bean/po/RecordMaterial.java create mode 100644 src/main/java/com/ccsens/delivery/bean/po/RecordMaterialDetail.java create mode 100644 src/main/java/com/ccsens/delivery/bean/po/RecordMaterialDetailExample.java create mode 100644 src/main/java/com/ccsens/delivery/bean/po/RecordMaterialExample.java create mode 100644 src/main/java/com/ccsens/delivery/bean/po/RecordTrails.java create mode 100644 src/main/java/com/ccsens/delivery/bean/po/RecordTrailsDetail.java create mode 100644 src/main/java/com/ccsens/delivery/bean/po/RecordTrailsDetailExample.java create mode 100644 src/main/java/com/ccsens/delivery/bean/po/RecordTrailsExample.java create mode 100644 src/main/java/com/ccsens/delivery/bean/po/SysMaterial.java create mode 100644 src/main/java/com/ccsens/delivery/bean/po/SysMaterialExample.java create mode 100644 src/main/java/com/ccsens/delivery/bean/po/SysUserInfo.java create mode 100644 src/main/java/com/ccsens/delivery/bean/po/SysUserInfoExample.java create mode 100644 src/main/java/com/ccsens/delivery/persist/mapper/RecordHealthMapper.java create mode 100644 src/main/java/com/ccsens/delivery/persist/mapper/RecordMaterialDetailMapper.java create mode 100644 src/main/java/com/ccsens/delivery/persist/mapper/RecordMaterialMapper.java create mode 100644 src/main/java/com/ccsens/delivery/persist/mapper/RecordTrailsDetailMapper.java create mode 100644 src/main/java/com/ccsens/delivery/persist/mapper/RecordTrailsMapper.java create mode 100644 src/main/java/com/ccsens/delivery/persist/mapper/SysMaterialMapper.java create mode 100644 src/main/java/com/ccsens/delivery/persist/mapper/SysUserInfoMapper.java create mode 100644 src/main/resources/mapper_raw/RecordHealthMapper.xml create mode 100644 src/main/resources/mapper_raw/RecordMaterialDetailMapper.xml create mode 100644 src/main/resources/mapper_raw/RecordMaterialMapper.xml create mode 100644 src/main/resources/mapper_raw/RecordTrailsDetailMapper.xml create mode 100644 src/main/resources/mapper_raw/RecordTrailsMapper.xml create mode 100644 src/main/resources/mapper_raw/SysMaterialMapper.xml create mode 100644 src/main/resources/mapper_raw/SysUserInfoMapper.xml diff --git a/src/main/java/com/ccsens/delivery/bean/po/RecordHealth.java b/src/main/java/com/ccsens/delivery/bean/po/RecordHealth.java new file mode 100644 index 0000000..0d31852 --- /dev/null +++ b/src/main/java/com/ccsens/delivery/bean/po/RecordHealth.java @@ -0,0 +1,117 @@ +package com.ccsens.delivery.bean.po; + +import java.io.Serializable; +import java.util.Date; + +public class RecordHealth implements Serializable { + private Long id; + + private Long userId; + + private Byte type; + + private String fileId; + + private Long submitTime; + + private Long operator; + + private Date createdAt; + + private Date updatedAt; + + private Byte recStatus; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getUserId() { + return userId; + } + + public void setUserId(Long userId) { + this.userId = userId; + } + + public Byte getType() { + return type; + } + + public void setType(Byte type) { + this.type = type; + } + + public String getFileId() { + return fileId; + } + + public void setFileId(String fileId) { + this.fileId = fileId == null ? null : fileId.trim(); + } + + public Long getSubmitTime() { + return submitTime; + } + + public void setSubmitTime(Long submitTime) { + this.submitTime = submitTime; + } + + public Long getOperator() { + return operator; + } + + public void setOperator(Long operator) { + this.operator = operator; + } + + public Date getCreatedAt() { + return createdAt; + } + + public void setCreatedAt(Date createdAt) { + this.createdAt = createdAt; + } + + public Date getUpdatedAt() { + return updatedAt; + } + + public void setUpdatedAt(Date updatedAt) { + this.updatedAt = updatedAt; + } + + public Byte getRecStatus() { + return recStatus; + } + + public void setRecStatus(Byte recStatus) { + this.recStatus = recStatus; + } + + @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(", userId=").append(userId); + sb.append(", type=").append(type); + sb.append(", fileId=").append(fileId); + sb.append(", submitTime=").append(submitTime); + sb.append(", operator=").append(operator); + sb.append(", createdAt=").append(createdAt); + sb.append(", updatedAt=").append(updatedAt); + sb.append(", recStatus=").append(recStatus); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/src/main/java/com/ccsens/delivery/bean/po/RecordHealthExample.java b/src/main/java/com/ccsens/delivery/bean/po/RecordHealthExample.java new file mode 100644 index 0000000..0ee9d1d --- /dev/null +++ b/src/main/java/com/ccsens/delivery/bean/po/RecordHealthExample.java @@ -0,0 +1,751 @@ +package com.ccsens.delivery.bean.po; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class RecordHealthExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public RecordHealthExample() { + 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 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 criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List 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(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andUserIdIsNull() { + addCriterion("user_id is null"); + return (Criteria) this; + } + + public Criteria andUserIdIsNotNull() { + addCriterion("user_id is not null"); + return (Criteria) this; + } + + public Criteria andUserIdEqualTo(Long value) { + addCriterion("user_id =", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdNotEqualTo(Long value) { + addCriterion("user_id <>", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdGreaterThan(Long value) { + addCriterion("user_id >", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdGreaterThanOrEqualTo(Long value) { + addCriterion("user_id >=", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdLessThan(Long value) { + addCriterion("user_id <", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdLessThanOrEqualTo(Long value) { + addCriterion("user_id <=", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdIn(List values) { + addCriterion("user_id in", values, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdNotIn(List values) { + addCriterion("user_id not in", values, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdBetween(Long value1, Long value2) { + addCriterion("user_id between", value1, value2, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdNotBetween(Long value1, Long value2) { + addCriterion("user_id not between", value1, value2, "userId"); + return (Criteria) this; + } + + public Criteria andTypeIsNull() { + addCriterion("type is null"); + return (Criteria) this; + } + + public Criteria andTypeIsNotNull() { + addCriterion("type is not null"); + return (Criteria) this; + } + + public Criteria andTypeEqualTo(Byte value) { + addCriterion("type =", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotEqualTo(Byte value) { + addCriterion("type <>", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThan(Byte value) { + addCriterion("type >", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThanOrEqualTo(Byte value) { + addCriterion("type >=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThan(Byte value) { + addCriterion("type <", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThanOrEqualTo(Byte value) { + addCriterion("type <=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeIn(List values) { + addCriterion("type in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotIn(List values) { + addCriterion("type not in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeBetween(Byte value1, Byte value2) { + addCriterion("type between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotBetween(Byte value1, Byte value2) { + addCriterion("type not between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andFileIdIsNull() { + addCriterion("file_id is null"); + return (Criteria) this; + } + + public Criteria andFileIdIsNotNull() { + addCriterion("file_id is not null"); + return (Criteria) this; + } + + public Criteria andFileIdEqualTo(String value) { + addCriterion("file_id =", value, "fileId"); + return (Criteria) this; + } + + public Criteria andFileIdNotEqualTo(String value) { + addCriterion("file_id <>", value, "fileId"); + return (Criteria) this; + } + + public Criteria andFileIdGreaterThan(String value) { + addCriterion("file_id >", value, "fileId"); + return (Criteria) this; + } + + public Criteria andFileIdGreaterThanOrEqualTo(String value) { + addCriterion("file_id >=", value, "fileId"); + return (Criteria) this; + } + + public Criteria andFileIdLessThan(String value) { + addCriterion("file_id <", value, "fileId"); + return (Criteria) this; + } + + public Criteria andFileIdLessThanOrEqualTo(String value) { + addCriterion("file_id <=", value, "fileId"); + return (Criteria) this; + } + + public Criteria andFileIdLike(String value) { + addCriterion("file_id like", value, "fileId"); + return (Criteria) this; + } + + public Criteria andFileIdNotLike(String value) { + addCriterion("file_id not like", value, "fileId"); + return (Criteria) this; + } + + public Criteria andFileIdIn(List values) { + addCriterion("file_id in", values, "fileId"); + return (Criteria) this; + } + + public Criteria andFileIdNotIn(List values) { + addCriterion("file_id not in", values, "fileId"); + return (Criteria) this; + } + + public Criteria andFileIdBetween(String value1, String value2) { + addCriterion("file_id between", value1, value2, "fileId"); + return (Criteria) this; + } + + public Criteria andFileIdNotBetween(String value1, String value2) { + addCriterion("file_id not between", value1, value2, "fileId"); + return (Criteria) this; + } + + public Criteria andSubmitTimeIsNull() { + addCriterion("submit_time is null"); + return (Criteria) this; + } + + public Criteria andSubmitTimeIsNotNull() { + addCriterion("submit_time is not null"); + return (Criteria) this; + } + + public Criteria andSubmitTimeEqualTo(Long value) { + addCriterion("submit_time =", value, "submitTime"); + return (Criteria) this; + } + + public Criteria andSubmitTimeNotEqualTo(Long value) { + addCriterion("submit_time <>", value, "submitTime"); + return (Criteria) this; + } + + public Criteria andSubmitTimeGreaterThan(Long value) { + addCriterion("submit_time >", value, "submitTime"); + return (Criteria) this; + } + + public Criteria andSubmitTimeGreaterThanOrEqualTo(Long value) { + addCriterion("submit_time >=", value, "submitTime"); + return (Criteria) this; + } + + public Criteria andSubmitTimeLessThan(Long value) { + addCriterion("submit_time <", value, "submitTime"); + return (Criteria) this; + } + + public Criteria andSubmitTimeLessThanOrEqualTo(Long value) { + addCriterion("submit_time <=", value, "submitTime"); + return (Criteria) this; + } + + public Criteria andSubmitTimeIn(List values) { + addCriterion("submit_time in", values, "submitTime"); + return (Criteria) this; + } + + public Criteria andSubmitTimeNotIn(List values) { + addCriterion("submit_time not in", values, "submitTime"); + return (Criteria) this; + } + + public Criteria andSubmitTimeBetween(Long value1, Long value2) { + addCriterion("submit_time between", value1, value2, "submitTime"); + return (Criteria) this; + } + + public Criteria andSubmitTimeNotBetween(Long value1, Long value2) { + addCriterion("submit_time not between", value1, value2, "submitTime"); + return (Criteria) this; + } + + public Criteria andOperatorIsNull() { + addCriterion("operator is null"); + return (Criteria) this; + } + + public Criteria andOperatorIsNotNull() { + addCriterion("operator is not null"); + return (Criteria) this; + } + + public Criteria andOperatorEqualTo(Long value) { + addCriterion("operator =", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorNotEqualTo(Long value) { + addCriterion("operator <>", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorGreaterThan(Long value) { + addCriterion("operator >", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorGreaterThanOrEqualTo(Long value) { + addCriterion("operator >=", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorLessThan(Long value) { + addCriterion("operator <", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorLessThanOrEqualTo(Long value) { + addCriterion("operator <=", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorIn(List values) { + addCriterion("operator in", values, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorNotIn(List values) { + addCriterion("operator not in", values, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorBetween(Long value1, Long value2) { + addCriterion("operator between", value1, value2, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorNotBetween(Long value1, Long value2) { + addCriterion("operator not between", value1, value2, "operator"); + return (Criteria) this; + } + + public Criteria andCreatedAtIsNull() { + addCriterion("created_at is null"); + return (Criteria) this; + } + + public Criteria andCreatedAtIsNotNull() { + addCriterion("created_at is not null"); + return (Criteria) this; + } + + public Criteria andCreatedAtEqualTo(Date value) { + addCriterion("created_at =", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtNotEqualTo(Date value) { + addCriterion("created_at <>", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtGreaterThan(Date value) { + addCriterion("created_at >", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtGreaterThanOrEqualTo(Date value) { + addCriterion("created_at >=", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtLessThan(Date value) { + addCriterion("created_at <", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtLessThanOrEqualTo(Date value) { + addCriterion("created_at <=", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtIn(List values) { + addCriterion("created_at in", values, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtNotIn(List values) { + addCriterion("created_at not in", values, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtBetween(Date value1, Date value2) { + addCriterion("created_at between", value1, value2, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtNotBetween(Date value1, Date value2) { + addCriterion("created_at not between", value1, value2, "createdAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtIsNull() { + addCriterion("updated_at is null"); + return (Criteria) this; + } + + public Criteria andUpdatedAtIsNotNull() { + addCriterion("updated_at is not null"); + return (Criteria) this; + } + + public Criteria andUpdatedAtEqualTo(Date value) { + addCriterion("updated_at =", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtNotEqualTo(Date value) { + addCriterion("updated_at <>", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtGreaterThan(Date value) { + addCriterion("updated_at >", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtGreaterThanOrEqualTo(Date value) { + addCriterion("updated_at >=", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtLessThan(Date value) { + addCriterion("updated_at <", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtLessThanOrEqualTo(Date value) { + addCriterion("updated_at <=", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtIn(List values) { + addCriterion("updated_at in", values, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtNotIn(List values) { + addCriterion("updated_at not in", values, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtBetween(Date value1, Date value2) { + addCriterion("updated_at between", value1, value2, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtNotBetween(Date value1, Date value2) { + addCriterion("updated_at not between", value1, value2, "updatedAt"); + return (Criteria) this; + } + + public Criteria andRecStatusIsNull() { + addCriterion("rec_status is null"); + return (Criteria) this; + } + + public Criteria andRecStatusIsNotNull() { + addCriterion("rec_status is not null"); + return (Criteria) this; + } + + public Criteria andRecStatusEqualTo(Byte value) { + addCriterion("rec_status =", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusNotEqualTo(Byte value) { + addCriterion("rec_status <>", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusGreaterThan(Byte value) { + addCriterion("rec_status >", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusGreaterThanOrEqualTo(Byte value) { + addCriterion("rec_status >=", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusLessThan(Byte value) { + addCriterion("rec_status <", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusLessThanOrEqualTo(Byte value) { + addCriterion("rec_status <=", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusIn(List values) { + addCriterion("rec_status in", values, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusNotIn(List values) { + addCriterion("rec_status not in", values, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusBetween(Byte value1, Byte value2) { + addCriterion("rec_status between", value1, value2, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusNotBetween(Byte value1, Byte value2) { + addCriterion("rec_status not between", value1, value2, "recStatus"); + 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); + } + } +} \ No newline at end of file diff --git a/src/main/java/com/ccsens/delivery/bean/po/RecordMaterial.java b/src/main/java/com/ccsens/delivery/bean/po/RecordMaterial.java new file mode 100644 index 0000000..eb2d58f --- /dev/null +++ b/src/main/java/com/ccsens/delivery/bean/po/RecordMaterial.java @@ -0,0 +1,139 @@ +package com.ccsens.delivery.bean.po; + +import java.io.Serializable; +import java.util.Date; + +public class RecordMaterial implements Serializable { + private Long id; + + private Long userId; + + private Long submitTime; + + private Long planTime; + + private Long realTime; + + private Byte status; + + private String remark; + + private Long operator; + + private Date createdAt; + + private Date updatedAt; + + private Byte recStatus; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getUserId() { + return userId; + } + + public void setUserId(Long userId) { + this.userId = userId; + } + + public Long getSubmitTime() { + return submitTime; + } + + public void setSubmitTime(Long submitTime) { + this.submitTime = submitTime; + } + + public Long getPlanTime() { + return planTime; + } + + public void setPlanTime(Long planTime) { + this.planTime = planTime; + } + + public Long getRealTime() { + return realTime; + } + + public void setRealTime(Long realTime) { + this.realTime = realTime; + } + + public Byte getStatus() { + return status; + } + + public void setStatus(Byte status) { + this.status = status; + } + + public String getRemark() { + return remark; + } + + public void setRemark(String remark) { + this.remark = remark == null ? null : remark.trim(); + } + + public Long getOperator() { + return operator; + } + + public void setOperator(Long operator) { + this.operator = operator; + } + + public Date getCreatedAt() { + return createdAt; + } + + public void setCreatedAt(Date createdAt) { + this.createdAt = createdAt; + } + + public Date getUpdatedAt() { + return updatedAt; + } + + public void setUpdatedAt(Date updatedAt) { + this.updatedAt = updatedAt; + } + + public Byte getRecStatus() { + return recStatus; + } + + public void setRecStatus(Byte recStatus) { + this.recStatus = recStatus; + } + + @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(", userId=").append(userId); + sb.append(", submitTime=").append(submitTime); + sb.append(", planTime=").append(planTime); + sb.append(", realTime=").append(realTime); + sb.append(", status=").append(status); + sb.append(", remark=").append(remark); + sb.append(", operator=").append(operator); + sb.append(", createdAt=").append(createdAt); + sb.append(", updatedAt=").append(updatedAt); + sb.append(", recStatus=").append(recStatus); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/src/main/java/com/ccsens/delivery/bean/po/RecordMaterialDetail.java b/src/main/java/com/ccsens/delivery/bean/po/RecordMaterialDetail.java new file mode 100644 index 0000000..dd218b0 --- /dev/null +++ b/src/main/java/com/ccsens/delivery/bean/po/RecordMaterialDetail.java @@ -0,0 +1,106 @@ +package com.ccsens.delivery.bean.po; + +import java.io.Serializable; +import java.util.Date; + +public class RecordMaterialDetail implements Serializable { + private Long id; + + private Long recordMaterialId; + + private Long materialId; + + private Integer num; + + private Long operator; + + private Date createdAt; + + private Date updatedAt; + + private Byte recStatus; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getRecordMaterialId() { + return recordMaterialId; + } + + public void setRecordMaterialId(Long recordMaterialId) { + this.recordMaterialId = recordMaterialId; + } + + public Long getMaterialId() { + return materialId; + } + + public void setMaterialId(Long materialId) { + this.materialId = materialId; + } + + public Integer getNum() { + return num; + } + + public void setNum(Integer num) { + this.num = num; + } + + public Long getOperator() { + return operator; + } + + public void setOperator(Long operator) { + this.operator = operator; + } + + public Date getCreatedAt() { + return createdAt; + } + + public void setCreatedAt(Date createdAt) { + this.createdAt = createdAt; + } + + public Date getUpdatedAt() { + return updatedAt; + } + + public void setUpdatedAt(Date updatedAt) { + this.updatedAt = updatedAt; + } + + public Byte getRecStatus() { + return recStatus; + } + + public void setRecStatus(Byte recStatus) { + this.recStatus = recStatus; + } + + @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(", recordMaterialId=").append(recordMaterialId); + sb.append(", materialId=").append(materialId); + sb.append(", num=").append(num); + sb.append(", operator=").append(operator); + sb.append(", createdAt=").append(createdAt); + sb.append(", updatedAt=").append(updatedAt); + sb.append(", recStatus=").append(recStatus); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/src/main/java/com/ccsens/delivery/bean/po/RecordMaterialDetailExample.java b/src/main/java/com/ccsens/delivery/bean/po/RecordMaterialDetailExample.java new file mode 100644 index 0000000..6bf072c --- /dev/null +++ b/src/main/java/com/ccsens/delivery/bean/po/RecordMaterialDetailExample.java @@ -0,0 +1,681 @@ +package com.ccsens.delivery.bean.po; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class RecordMaterialDetailExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public RecordMaterialDetailExample() { + 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 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 criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List 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(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andRecordMaterialIdIsNull() { + addCriterion("record_material_id is null"); + return (Criteria) this; + } + + public Criteria andRecordMaterialIdIsNotNull() { + addCriterion("record_material_id is not null"); + return (Criteria) this; + } + + public Criteria andRecordMaterialIdEqualTo(Long value) { + addCriterion("record_material_id =", value, "recordMaterialId"); + return (Criteria) this; + } + + public Criteria andRecordMaterialIdNotEqualTo(Long value) { + addCriterion("record_material_id <>", value, "recordMaterialId"); + return (Criteria) this; + } + + public Criteria andRecordMaterialIdGreaterThan(Long value) { + addCriterion("record_material_id >", value, "recordMaterialId"); + return (Criteria) this; + } + + public Criteria andRecordMaterialIdGreaterThanOrEqualTo(Long value) { + addCriterion("record_material_id >=", value, "recordMaterialId"); + return (Criteria) this; + } + + public Criteria andRecordMaterialIdLessThan(Long value) { + addCriterion("record_material_id <", value, "recordMaterialId"); + return (Criteria) this; + } + + public Criteria andRecordMaterialIdLessThanOrEqualTo(Long value) { + addCriterion("record_material_id <=", value, "recordMaterialId"); + return (Criteria) this; + } + + public Criteria andRecordMaterialIdIn(List values) { + addCriterion("record_material_id in", values, "recordMaterialId"); + return (Criteria) this; + } + + public Criteria andRecordMaterialIdNotIn(List values) { + addCriterion("record_material_id not in", values, "recordMaterialId"); + return (Criteria) this; + } + + public Criteria andRecordMaterialIdBetween(Long value1, Long value2) { + addCriterion("record_material_id between", value1, value2, "recordMaterialId"); + return (Criteria) this; + } + + public Criteria andRecordMaterialIdNotBetween(Long value1, Long value2) { + addCriterion("record_material_id not between", value1, value2, "recordMaterialId"); + return (Criteria) this; + } + + public Criteria andMaterialIdIsNull() { + addCriterion("material_id is null"); + return (Criteria) this; + } + + public Criteria andMaterialIdIsNotNull() { + addCriterion("material_id is not null"); + return (Criteria) this; + } + + public Criteria andMaterialIdEqualTo(Long value) { + addCriterion("material_id =", value, "materialId"); + return (Criteria) this; + } + + public Criteria andMaterialIdNotEqualTo(Long value) { + addCriterion("material_id <>", value, "materialId"); + return (Criteria) this; + } + + public Criteria andMaterialIdGreaterThan(Long value) { + addCriterion("material_id >", value, "materialId"); + return (Criteria) this; + } + + public Criteria andMaterialIdGreaterThanOrEqualTo(Long value) { + addCriterion("material_id >=", value, "materialId"); + return (Criteria) this; + } + + public Criteria andMaterialIdLessThan(Long value) { + addCriterion("material_id <", value, "materialId"); + return (Criteria) this; + } + + public Criteria andMaterialIdLessThanOrEqualTo(Long value) { + addCriterion("material_id <=", value, "materialId"); + return (Criteria) this; + } + + public Criteria andMaterialIdIn(List values) { + addCriterion("material_id in", values, "materialId"); + return (Criteria) this; + } + + public Criteria andMaterialIdNotIn(List values) { + addCriterion("material_id not in", values, "materialId"); + return (Criteria) this; + } + + public Criteria andMaterialIdBetween(Long value1, Long value2) { + addCriterion("material_id between", value1, value2, "materialId"); + return (Criteria) this; + } + + public Criteria andMaterialIdNotBetween(Long value1, Long value2) { + addCriterion("material_id not between", value1, value2, "materialId"); + return (Criteria) this; + } + + public Criteria andNumIsNull() { + addCriterion("num is null"); + return (Criteria) this; + } + + public Criteria andNumIsNotNull() { + addCriterion("num is not null"); + return (Criteria) this; + } + + public Criteria andNumEqualTo(Integer value) { + addCriterion("num =", value, "num"); + return (Criteria) this; + } + + public Criteria andNumNotEqualTo(Integer value) { + addCriterion("num <>", value, "num"); + return (Criteria) this; + } + + public Criteria andNumGreaterThan(Integer value) { + addCriterion("num >", value, "num"); + return (Criteria) this; + } + + public Criteria andNumGreaterThanOrEqualTo(Integer value) { + addCriterion("num >=", value, "num"); + return (Criteria) this; + } + + public Criteria andNumLessThan(Integer value) { + addCriterion("num <", value, "num"); + return (Criteria) this; + } + + public Criteria andNumLessThanOrEqualTo(Integer value) { + addCriterion("num <=", value, "num"); + return (Criteria) this; + } + + public Criteria andNumIn(List values) { + addCriterion("num in", values, "num"); + return (Criteria) this; + } + + public Criteria andNumNotIn(List values) { + addCriterion("num not in", values, "num"); + return (Criteria) this; + } + + public Criteria andNumBetween(Integer value1, Integer value2) { + addCriterion("num between", value1, value2, "num"); + return (Criteria) this; + } + + public Criteria andNumNotBetween(Integer value1, Integer value2) { + addCriterion("num not between", value1, value2, "num"); + return (Criteria) this; + } + + public Criteria andOperatorIsNull() { + addCriterion("operator is null"); + return (Criteria) this; + } + + public Criteria andOperatorIsNotNull() { + addCriterion("operator is not null"); + return (Criteria) this; + } + + public Criteria andOperatorEqualTo(Long value) { + addCriterion("operator =", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorNotEqualTo(Long value) { + addCriterion("operator <>", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorGreaterThan(Long value) { + addCriterion("operator >", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorGreaterThanOrEqualTo(Long value) { + addCriterion("operator >=", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorLessThan(Long value) { + addCriterion("operator <", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorLessThanOrEqualTo(Long value) { + addCriterion("operator <=", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorIn(List values) { + addCriterion("operator in", values, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorNotIn(List values) { + addCriterion("operator not in", values, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorBetween(Long value1, Long value2) { + addCriterion("operator between", value1, value2, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorNotBetween(Long value1, Long value2) { + addCriterion("operator not between", value1, value2, "operator"); + return (Criteria) this; + } + + public Criteria andCreatedAtIsNull() { + addCriterion("created_at is null"); + return (Criteria) this; + } + + public Criteria andCreatedAtIsNotNull() { + addCriterion("created_at is not null"); + return (Criteria) this; + } + + public Criteria andCreatedAtEqualTo(Date value) { + addCriterion("created_at =", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtNotEqualTo(Date value) { + addCriterion("created_at <>", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtGreaterThan(Date value) { + addCriterion("created_at >", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtGreaterThanOrEqualTo(Date value) { + addCriterion("created_at >=", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtLessThan(Date value) { + addCriterion("created_at <", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtLessThanOrEqualTo(Date value) { + addCriterion("created_at <=", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtIn(List values) { + addCriterion("created_at in", values, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtNotIn(List values) { + addCriterion("created_at not in", values, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtBetween(Date value1, Date value2) { + addCriterion("created_at between", value1, value2, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtNotBetween(Date value1, Date value2) { + addCriterion("created_at not between", value1, value2, "createdAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtIsNull() { + addCriterion("updated_at is null"); + return (Criteria) this; + } + + public Criteria andUpdatedAtIsNotNull() { + addCriterion("updated_at is not null"); + return (Criteria) this; + } + + public Criteria andUpdatedAtEqualTo(Date value) { + addCriterion("updated_at =", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtNotEqualTo(Date value) { + addCriterion("updated_at <>", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtGreaterThan(Date value) { + addCriterion("updated_at >", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtGreaterThanOrEqualTo(Date value) { + addCriterion("updated_at >=", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtLessThan(Date value) { + addCriterion("updated_at <", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtLessThanOrEqualTo(Date value) { + addCriterion("updated_at <=", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtIn(List values) { + addCriterion("updated_at in", values, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtNotIn(List values) { + addCriterion("updated_at not in", values, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtBetween(Date value1, Date value2) { + addCriterion("updated_at between", value1, value2, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtNotBetween(Date value1, Date value2) { + addCriterion("updated_at not between", value1, value2, "updatedAt"); + return (Criteria) this; + } + + public Criteria andRecStatusIsNull() { + addCriterion("rec_status is null"); + return (Criteria) this; + } + + public Criteria andRecStatusIsNotNull() { + addCriterion("rec_status is not null"); + return (Criteria) this; + } + + public Criteria andRecStatusEqualTo(Byte value) { + addCriterion("rec_status =", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusNotEqualTo(Byte value) { + addCriterion("rec_status <>", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusGreaterThan(Byte value) { + addCriterion("rec_status >", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusGreaterThanOrEqualTo(Byte value) { + addCriterion("rec_status >=", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusLessThan(Byte value) { + addCriterion("rec_status <", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusLessThanOrEqualTo(Byte value) { + addCriterion("rec_status <=", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusIn(List values) { + addCriterion("rec_status in", values, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusNotIn(List values) { + addCriterion("rec_status not in", values, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusBetween(Byte value1, Byte value2) { + addCriterion("rec_status between", value1, value2, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusNotBetween(Byte value1, Byte value2) { + addCriterion("rec_status not between", value1, value2, "recStatus"); + 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); + } + } +} \ No newline at end of file diff --git a/src/main/java/com/ccsens/delivery/bean/po/RecordMaterialExample.java b/src/main/java/com/ccsens/delivery/bean/po/RecordMaterialExample.java new file mode 100644 index 0000000..ef889c5 --- /dev/null +++ b/src/main/java/com/ccsens/delivery/bean/po/RecordMaterialExample.java @@ -0,0 +1,871 @@ +package com.ccsens.delivery.bean.po; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class RecordMaterialExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public RecordMaterialExample() { + 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 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 criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List 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(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andUserIdIsNull() { + addCriterion("user_id is null"); + return (Criteria) this; + } + + public Criteria andUserIdIsNotNull() { + addCriterion("user_id is not null"); + return (Criteria) this; + } + + public Criteria andUserIdEqualTo(Long value) { + addCriterion("user_id =", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdNotEqualTo(Long value) { + addCriterion("user_id <>", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdGreaterThan(Long value) { + addCriterion("user_id >", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdGreaterThanOrEqualTo(Long value) { + addCriterion("user_id >=", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdLessThan(Long value) { + addCriterion("user_id <", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdLessThanOrEqualTo(Long value) { + addCriterion("user_id <=", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdIn(List values) { + addCriterion("user_id in", values, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdNotIn(List values) { + addCriterion("user_id not in", values, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdBetween(Long value1, Long value2) { + addCriterion("user_id between", value1, value2, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdNotBetween(Long value1, Long value2) { + addCriterion("user_id not between", value1, value2, "userId"); + return (Criteria) this; + } + + public Criteria andSubmitTimeIsNull() { + addCriterion("submit_time is null"); + return (Criteria) this; + } + + public Criteria andSubmitTimeIsNotNull() { + addCriterion("submit_time is not null"); + return (Criteria) this; + } + + public Criteria andSubmitTimeEqualTo(Long value) { + addCriterion("submit_time =", value, "submitTime"); + return (Criteria) this; + } + + public Criteria andSubmitTimeNotEqualTo(Long value) { + addCriterion("submit_time <>", value, "submitTime"); + return (Criteria) this; + } + + public Criteria andSubmitTimeGreaterThan(Long value) { + addCriterion("submit_time >", value, "submitTime"); + return (Criteria) this; + } + + public Criteria andSubmitTimeGreaterThanOrEqualTo(Long value) { + addCriterion("submit_time >=", value, "submitTime"); + return (Criteria) this; + } + + public Criteria andSubmitTimeLessThan(Long value) { + addCriterion("submit_time <", value, "submitTime"); + return (Criteria) this; + } + + public Criteria andSubmitTimeLessThanOrEqualTo(Long value) { + addCriterion("submit_time <=", value, "submitTime"); + return (Criteria) this; + } + + public Criteria andSubmitTimeIn(List values) { + addCriterion("submit_time in", values, "submitTime"); + return (Criteria) this; + } + + public Criteria andSubmitTimeNotIn(List values) { + addCriterion("submit_time not in", values, "submitTime"); + return (Criteria) this; + } + + public Criteria andSubmitTimeBetween(Long value1, Long value2) { + addCriterion("submit_time between", value1, value2, "submitTime"); + return (Criteria) this; + } + + public Criteria andSubmitTimeNotBetween(Long value1, Long value2) { + addCriterion("submit_time not between", value1, value2, "submitTime"); + return (Criteria) this; + } + + public Criteria andPlanTimeIsNull() { + addCriterion("plan_time is null"); + return (Criteria) this; + } + + public Criteria andPlanTimeIsNotNull() { + addCriterion("plan_time is not null"); + return (Criteria) this; + } + + public Criteria andPlanTimeEqualTo(Long value) { + addCriterion("plan_time =", value, "planTime"); + return (Criteria) this; + } + + public Criteria andPlanTimeNotEqualTo(Long value) { + addCriterion("plan_time <>", value, "planTime"); + return (Criteria) this; + } + + public Criteria andPlanTimeGreaterThan(Long value) { + addCriterion("plan_time >", value, "planTime"); + return (Criteria) this; + } + + public Criteria andPlanTimeGreaterThanOrEqualTo(Long value) { + addCriterion("plan_time >=", value, "planTime"); + return (Criteria) this; + } + + public Criteria andPlanTimeLessThan(Long value) { + addCriterion("plan_time <", value, "planTime"); + return (Criteria) this; + } + + public Criteria andPlanTimeLessThanOrEqualTo(Long value) { + addCriterion("plan_time <=", value, "planTime"); + return (Criteria) this; + } + + public Criteria andPlanTimeIn(List values) { + addCriterion("plan_time in", values, "planTime"); + return (Criteria) this; + } + + public Criteria andPlanTimeNotIn(List values) { + addCriterion("plan_time not in", values, "planTime"); + return (Criteria) this; + } + + public Criteria andPlanTimeBetween(Long value1, Long value2) { + addCriterion("plan_time between", value1, value2, "planTime"); + return (Criteria) this; + } + + public Criteria andPlanTimeNotBetween(Long value1, Long value2) { + addCriterion("plan_time not between", value1, value2, "planTime"); + return (Criteria) this; + } + + public Criteria andRealTimeIsNull() { + addCriterion("real_time is null"); + return (Criteria) this; + } + + public Criteria andRealTimeIsNotNull() { + addCriterion("real_time is not null"); + return (Criteria) this; + } + + public Criteria andRealTimeEqualTo(Long value) { + addCriterion("real_time =", value, "realTime"); + return (Criteria) this; + } + + public Criteria andRealTimeNotEqualTo(Long value) { + addCriterion("real_time <>", value, "realTime"); + return (Criteria) this; + } + + public Criteria andRealTimeGreaterThan(Long value) { + addCriterion("real_time >", value, "realTime"); + return (Criteria) this; + } + + public Criteria andRealTimeGreaterThanOrEqualTo(Long value) { + addCriterion("real_time >=", value, "realTime"); + return (Criteria) this; + } + + public Criteria andRealTimeLessThan(Long value) { + addCriterion("real_time <", value, "realTime"); + return (Criteria) this; + } + + public Criteria andRealTimeLessThanOrEqualTo(Long value) { + addCriterion("real_time <=", value, "realTime"); + return (Criteria) this; + } + + public Criteria andRealTimeIn(List values) { + addCriterion("real_time in", values, "realTime"); + return (Criteria) this; + } + + public Criteria andRealTimeNotIn(List values) { + addCriterion("real_time not in", values, "realTime"); + return (Criteria) this; + } + + public Criteria andRealTimeBetween(Long value1, Long value2) { + addCriterion("real_time between", value1, value2, "realTime"); + return (Criteria) this; + } + + public Criteria andRealTimeNotBetween(Long value1, Long value2) { + addCriterion("real_time not between", value1, value2, "realTime"); + return (Criteria) this; + } + + public Criteria andStatusIsNull() { + addCriterion("status is null"); + return (Criteria) this; + } + + public Criteria andStatusIsNotNull() { + addCriterion("status is not null"); + return (Criteria) this; + } + + public Criteria andStatusEqualTo(Byte value) { + addCriterion("status =", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotEqualTo(Byte value) { + addCriterion("status <>", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThan(Byte value) { + addCriterion("status >", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThanOrEqualTo(Byte value) { + addCriterion("status >=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThan(Byte value) { + addCriterion("status <", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThanOrEqualTo(Byte value) { + addCriterion("status <=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusIn(List values) { + addCriterion("status in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotIn(List values) { + addCriterion("status not in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusBetween(Byte value1, Byte value2) { + addCriterion("status between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotBetween(Byte value1, Byte value2) { + addCriterion("status not between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andRemarkIsNull() { + addCriterion("remark is null"); + return (Criteria) this; + } + + public Criteria andRemarkIsNotNull() { + addCriterion("remark is not null"); + return (Criteria) this; + } + + public Criteria andRemarkEqualTo(String value) { + addCriterion("remark =", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotEqualTo(String value) { + addCriterion("remark <>", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThan(String value) { + addCriterion("remark >", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThanOrEqualTo(String value) { + addCriterion("remark >=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThan(String value) { + addCriterion("remark <", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThanOrEqualTo(String value) { + addCriterion("remark <=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLike(String value) { + addCriterion("remark like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotLike(String value) { + addCriterion("remark not like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkIn(List values) { + addCriterion("remark in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotIn(List values) { + addCriterion("remark not in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkBetween(String value1, String value2) { + addCriterion("remark between", value1, value2, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotBetween(String value1, String value2) { + addCriterion("remark not between", value1, value2, "remark"); + return (Criteria) this; + } + + public Criteria andOperatorIsNull() { + addCriterion("operator is null"); + return (Criteria) this; + } + + public Criteria andOperatorIsNotNull() { + addCriterion("operator is not null"); + return (Criteria) this; + } + + public Criteria andOperatorEqualTo(Long value) { + addCriterion("operator =", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorNotEqualTo(Long value) { + addCriterion("operator <>", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorGreaterThan(Long value) { + addCriterion("operator >", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorGreaterThanOrEqualTo(Long value) { + addCriterion("operator >=", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorLessThan(Long value) { + addCriterion("operator <", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorLessThanOrEqualTo(Long value) { + addCriterion("operator <=", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorIn(List values) { + addCriterion("operator in", values, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorNotIn(List values) { + addCriterion("operator not in", values, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorBetween(Long value1, Long value2) { + addCriterion("operator between", value1, value2, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorNotBetween(Long value1, Long value2) { + addCriterion("operator not between", value1, value2, "operator"); + return (Criteria) this; + } + + public Criteria andCreatedAtIsNull() { + addCriterion("created_at is null"); + return (Criteria) this; + } + + public Criteria andCreatedAtIsNotNull() { + addCriterion("created_at is not null"); + return (Criteria) this; + } + + public Criteria andCreatedAtEqualTo(Date value) { + addCriterion("created_at =", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtNotEqualTo(Date value) { + addCriterion("created_at <>", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtGreaterThan(Date value) { + addCriterion("created_at >", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtGreaterThanOrEqualTo(Date value) { + addCriterion("created_at >=", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtLessThan(Date value) { + addCriterion("created_at <", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtLessThanOrEqualTo(Date value) { + addCriterion("created_at <=", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtIn(List values) { + addCriterion("created_at in", values, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtNotIn(List values) { + addCriterion("created_at not in", values, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtBetween(Date value1, Date value2) { + addCriterion("created_at between", value1, value2, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtNotBetween(Date value1, Date value2) { + addCriterion("created_at not between", value1, value2, "createdAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtIsNull() { + addCriterion("updated_at is null"); + return (Criteria) this; + } + + public Criteria andUpdatedAtIsNotNull() { + addCriterion("updated_at is not null"); + return (Criteria) this; + } + + public Criteria andUpdatedAtEqualTo(Date value) { + addCriterion("updated_at =", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtNotEqualTo(Date value) { + addCriterion("updated_at <>", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtGreaterThan(Date value) { + addCriterion("updated_at >", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtGreaterThanOrEqualTo(Date value) { + addCriterion("updated_at >=", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtLessThan(Date value) { + addCriterion("updated_at <", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtLessThanOrEqualTo(Date value) { + addCriterion("updated_at <=", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtIn(List values) { + addCriterion("updated_at in", values, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtNotIn(List values) { + addCriterion("updated_at not in", values, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtBetween(Date value1, Date value2) { + addCriterion("updated_at between", value1, value2, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtNotBetween(Date value1, Date value2) { + addCriterion("updated_at not between", value1, value2, "updatedAt"); + return (Criteria) this; + } + + public Criteria andRecStatusIsNull() { + addCriterion("rec_status is null"); + return (Criteria) this; + } + + public Criteria andRecStatusIsNotNull() { + addCriterion("rec_status is not null"); + return (Criteria) this; + } + + public Criteria andRecStatusEqualTo(Byte value) { + addCriterion("rec_status =", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusNotEqualTo(Byte value) { + addCriterion("rec_status <>", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusGreaterThan(Byte value) { + addCriterion("rec_status >", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusGreaterThanOrEqualTo(Byte value) { + addCriterion("rec_status >=", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusLessThan(Byte value) { + addCriterion("rec_status <", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusLessThanOrEqualTo(Byte value) { + addCriterion("rec_status <=", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusIn(List values) { + addCriterion("rec_status in", values, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusNotIn(List values) { + addCriterion("rec_status not in", values, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusBetween(Byte value1, Byte value2) { + addCriterion("rec_status between", value1, value2, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusNotBetween(Byte value1, Byte value2) { + addCriterion("rec_status not between", value1, value2, "recStatus"); + 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); + } + } +} \ No newline at end of file diff --git a/src/main/java/com/ccsens/delivery/bean/po/RecordTrails.java b/src/main/java/com/ccsens/delivery/bean/po/RecordTrails.java new file mode 100644 index 0000000..e10f8d0 --- /dev/null +++ b/src/main/java/com/ccsens/delivery/bean/po/RecordTrails.java @@ -0,0 +1,117 @@ +package com.ccsens.delivery.bean.po; + +import java.io.Serializable; +import java.util.Date; + +public class RecordTrails implements Serializable { + private Long id; + + private Long userId; + + private String trailsDate; + + private Long submitTime; + + private String remark; + + private Long operator; + + private Date createdAt; + + private Date updatedAt; + + private Byte recStatus; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getUserId() { + return userId; + } + + public void setUserId(Long userId) { + this.userId = userId; + } + + public String getTrailsDate() { + return trailsDate; + } + + public void setTrailsDate(String trailsDate) { + this.trailsDate = trailsDate == null ? null : trailsDate.trim(); + } + + public Long getSubmitTime() { + return submitTime; + } + + public void setSubmitTime(Long submitTime) { + this.submitTime = submitTime; + } + + public String getRemark() { + return remark; + } + + public void setRemark(String remark) { + this.remark = remark == null ? null : remark.trim(); + } + + public Long getOperator() { + return operator; + } + + public void setOperator(Long operator) { + this.operator = operator; + } + + public Date getCreatedAt() { + return createdAt; + } + + public void setCreatedAt(Date createdAt) { + this.createdAt = createdAt; + } + + public Date getUpdatedAt() { + return updatedAt; + } + + public void setUpdatedAt(Date updatedAt) { + this.updatedAt = updatedAt; + } + + public Byte getRecStatus() { + return recStatus; + } + + public void setRecStatus(Byte recStatus) { + this.recStatus = recStatus; + } + + @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(", userId=").append(userId); + sb.append(", trailsDate=").append(trailsDate); + sb.append(", submitTime=").append(submitTime); + sb.append(", remark=").append(remark); + sb.append(", operator=").append(operator); + sb.append(", createdAt=").append(createdAt); + sb.append(", updatedAt=").append(updatedAt); + sb.append(", recStatus=").append(recStatus); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/src/main/java/com/ccsens/delivery/bean/po/RecordTrailsDetail.java b/src/main/java/com/ccsens/delivery/bean/po/RecordTrailsDetail.java new file mode 100644 index 0000000..344ea5b --- /dev/null +++ b/src/main/java/com/ccsens/delivery/bean/po/RecordTrailsDetail.java @@ -0,0 +1,139 @@ +package com.ccsens.delivery.bean.po; + +import java.io.Serializable; +import java.util.Date; + +public class RecordTrailsDetail implements Serializable { + private Long id; + + private Long recordTrailsId; + + private Long startTime; + + private Long endTime; + + private String trailsDetail; + + private String vehicle; + + private Byte mask; + + private Long operator; + + private Date createdAt; + + private Date updatedAt; + + private Byte recStatus; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getRecordTrailsId() { + return recordTrailsId; + } + + public void setRecordTrailsId(Long recordTrailsId) { + this.recordTrailsId = recordTrailsId; + } + + public Long getStartTime() { + return startTime; + } + + public void setStartTime(Long startTime) { + this.startTime = startTime; + } + + public Long getEndTime() { + return endTime; + } + + public void setEndTime(Long endTime) { + this.endTime = endTime; + } + + public String getTrailsDetail() { + return trailsDetail; + } + + public void setTrailsDetail(String trailsDetail) { + this.trailsDetail = trailsDetail == null ? null : trailsDetail.trim(); + } + + public String getVehicle() { + return vehicle; + } + + public void setVehicle(String vehicle) { + this.vehicle = vehicle == null ? null : vehicle.trim(); + } + + public Byte getMask() { + return mask; + } + + public void setMask(Byte mask) { + this.mask = mask; + } + + public Long getOperator() { + return operator; + } + + public void setOperator(Long operator) { + this.operator = operator; + } + + public Date getCreatedAt() { + return createdAt; + } + + public void setCreatedAt(Date createdAt) { + this.createdAt = createdAt; + } + + public Date getUpdatedAt() { + return updatedAt; + } + + public void setUpdatedAt(Date updatedAt) { + this.updatedAt = updatedAt; + } + + public Byte getRecStatus() { + return recStatus; + } + + public void setRecStatus(Byte recStatus) { + this.recStatus = recStatus; + } + + @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(", recordTrailsId=").append(recordTrailsId); + sb.append(", startTime=").append(startTime); + sb.append(", endTime=").append(endTime); + sb.append(", trailsDetail=").append(trailsDetail); + sb.append(", vehicle=").append(vehicle); + sb.append(", mask=").append(mask); + sb.append(", operator=").append(operator); + sb.append(", createdAt=").append(createdAt); + sb.append(", updatedAt=").append(updatedAt); + sb.append(", recStatus=").append(recStatus); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/src/main/java/com/ccsens/delivery/bean/po/RecordTrailsDetailExample.java b/src/main/java/com/ccsens/delivery/bean/po/RecordTrailsDetailExample.java new file mode 100644 index 0000000..352883d --- /dev/null +++ b/src/main/java/com/ccsens/delivery/bean/po/RecordTrailsDetailExample.java @@ -0,0 +1,881 @@ +package com.ccsens.delivery.bean.po; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class RecordTrailsDetailExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public RecordTrailsDetailExample() { + 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 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 criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List 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(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andRecordTrailsIdIsNull() { + addCriterion("record_trails_id is null"); + return (Criteria) this; + } + + public Criteria andRecordTrailsIdIsNotNull() { + addCriterion("record_trails_id is not null"); + return (Criteria) this; + } + + public Criteria andRecordTrailsIdEqualTo(Long value) { + addCriterion("record_trails_id =", value, "recordTrailsId"); + return (Criteria) this; + } + + public Criteria andRecordTrailsIdNotEqualTo(Long value) { + addCriterion("record_trails_id <>", value, "recordTrailsId"); + return (Criteria) this; + } + + public Criteria andRecordTrailsIdGreaterThan(Long value) { + addCriterion("record_trails_id >", value, "recordTrailsId"); + return (Criteria) this; + } + + public Criteria andRecordTrailsIdGreaterThanOrEqualTo(Long value) { + addCriterion("record_trails_id >=", value, "recordTrailsId"); + return (Criteria) this; + } + + public Criteria andRecordTrailsIdLessThan(Long value) { + addCriterion("record_trails_id <", value, "recordTrailsId"); + return (Criteria) this; + } + + public Criteria andRecordTrailsIdLessThanOrEqualTo(Long value) { + addCriterion("record_trails_id <=", value, "recordTrailsId"); + return (Criteria) this; + } + + public Criteria andRecordTrailsIdIn(List values) { + addCriterion("record_trails_id in", values, "recordTrailsId"); + return (Criteria) this; + } + + public Criteria andRecordTrailsIdNotIn(List values) { + addCriterion("record_trails_id not in", values, "recordTrailsId"); + return (Criteria) this; + } + + public Criteria andRecordTrailsIdBetween(Long value1, Long value2) { + addCriterion("record_trails_id between", value1, value2, "recordTrailsId"); + return (Criteria) this; + } + + public Criteria andRecordTrailsIdNotBetween(Long value1, Long value2) { + addCriterion("record_trails_id not between", value1, value2, "recordTrailsId"); + return (Criteria) this; + } + + public Criteria andStartTimeIsNull() { + addCriterion("start_time is null"); + return (Criteria) this; + } + + public Criteria andStartTimeIsNotNull() { + addCriterion("start_time is not null"); + return (Criteria) this; + } + + public Criteria andStartTimeEqualTo(Long value) { + addCriterion("start_time =", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeNotEqualTo(Long value) { + addCriterion("start_time <>", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeGreaterThan(Long value) { + addCriterion("start_time >", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeGreaterThanOrEqualTo(Long value) { + addCriterion("start_time >=", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeLessThan(Long value) { + addCriterion("start_time <", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeLessThanOrEqualTo(Long value) { + addCriterion("start_time <=", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeIn(List values) { + addCriterion("start_time in", values, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeNotIn(List values) { + addCriterion("start_time not in", values, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeBetween(Long value1, Long value2) { + addCriterion("start_time between", value1, value2, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeNotBetween(Long value1, Long value2) { + addCriterion("start_time not between", value1, value2, "startTime"); + return (Criteria) this; + } + + public Criteria andEndTimeIsNull() { + addCriterion("end_time is null"); + return (Criteria) this; + } + + public Criteria andEndTimeIsNotNull() { + addCriterion("end_time is not null"); + return (Criteria) this; + } + + public Criteria andEndTimeEqualTo(Long value) { + addCriterion("end_time =", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeNotEqualTo(Long value) { + addCriterion("end_time <>", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeGreaterThan(Long value) { + addCriterion("end_time >", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeGreaterThanOrEqualTo(Long value) { + addCriterion("end_time >=", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeLessThan(Long value) { + addCriterion("end_time <", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeLessThanOrEqualTo(Long value) { + addCriterion("end_time <=", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeIn(List values) { + addCriterion("end_time in", values, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeNotIn(List values) { + addCriterion("end_time not in", values, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeBetween(Long value1, Long value2) { + addCriterion("end_time between", value1, value2, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeNotBetween(Long value1, Long value2) { + addCriterion("end_time not between", value1, value2, "endTime"); + return (Criteria) this; + } + + public Criteria andTrailsDetailIsNull() { + addCriterion("trails_detail is null"); + return (Criteria) this; + } + + public Criteria andTrailsDetailIsNotNull() { + addCriterion("trails_detail is not null"); + return (Criteria) this; + } + + public Criteria andTrailsDetailEqualTo(String value) { + addCriterion("trails_detail =", value, "trailsDetail"); + return (Criteria) this; + } + + public Criteria andTrailsDetailNotEqualTo(String value) { + addCriterion("trails_detail <>", value, "trailsDetail"); + return (Criteria) this; + } + + public Criteria andTrailsDetailGreaterThan(String value) { + addCriterion("trails_detail >", value, "trailsDetail"); + return (Criteria) this; + } + + public Criteria andTrailsDetailGreaterThanOrEqualTo(String value) { + addCriterion("trails_detail >=", value, "trailsDetail"); + return (Criteria) this; + } + + public Criteria andTrailsDetailLessThan(String value) { + addCriterion("trails_detail <", value, "trailsDetail"); + return (Criteria) this; + } + + public Criteria andTrailsDetailLessThanOrEqualTo(String value) { + addCriterion("trails_detail <=", value, "trailsDetail"); + return (Criteria) this; + } + + public Criteria andTrailsDetailLike(String value) { + addCriterion("trails_detail like", value, "trailsDetail"); + return (Criteria) this; + } + + public Criteria andTrailsDetailNotLike(String value) { + addCriterion("trails_detail not like", value, "trailsDetail"); + return (Criteria) this; + } + + public Criteria andTrailsDetailIn(List values) { + addCriterion("trails_detail in", values, "trailsDetail"); + return (Criteria) this; + } + + public Criteria andTrailsDetailNotIn(List values) { + addCriterion("trails_detail not in", values, "trailsDetail"); + return (Criteria) this; + } + + public Criteria andTrailsDetailBetween(String value1, String value2) { + addCriterion("trails_detail between", value1, value2, "trailsDetail"); + return (Criteria) this; + } + + public Criteria andTrailsDetailNotBetween(String value1, String value2) { + addCriterion("trails_detail not between", value1, value2, "trailsDetail"); + return (Criteria) this; + } + + public Criteria andVehicleIsNull() { + addCriterion("vehicle is null"); + return (Criteria) this; + } + + public Criteria andVehicleIsNotNull() { + addCriterion("vehicle is not null"); + return (Criteria) this; + } + + public Criteria andVehicleEqualTo(String value) { + addCriterion("vehicle =", value, "vehicle"); + return (Criteria) this; + } + + public Criteria andVehicleNotEqualTo(String value) { + addCriterion("vehicle <>", value, "vehicle"); + return (Criteria) this; + } + + public Criteria andVehicleGreaterThan(String value) { + addCriterion("vehicle >", value, "vehicle"); + return (Criteria) this; + } + + public Criteria andVehicleGreaterThanOrEqualTo(String value) { + addCriterion("vehicle >=", value, "vehicle"); + return (Criteria) this; + } + + public Criteria andVehicleLessThan(String value) { + addCriterion("vehicle <", value, "vehicle"); + return (Criteria) this; + } + + public Criteria andVehicleLessThanOrEqualTo(String value) { + addCriterion("vehicle <=", value, "vehicle"); + return (Criteria) this; + } + + public Criteria andVehicleLike(String value) { + addCriterion("vehicle like", value, "vehicle"); + return (Criteria) this; + } + + public Criteria andVehicleNotLike(String value) { + addCriterion("vehicle not like", value, "vehicle"); + return (Criteria) this; + } + + public Criteria andVehicleIn(List values) { + addCriterion("vehicle in", values, "vehicle"); + return (Criteria) this; + } + + public Criteria andVehicleNotIn(List values) { + addCriterion("vehicle not in", values, "vehicle"); + return (Criteria) this; + } + + public Criteria andVehicleBetween(String value1, String value2) { + addCriterion("vehicle between", value1, value2, "vehicle"); + return (Criteria) this; + } + + public Criteria andVehicleNotBetween(String value1, String value2) { + addCriterion("vehicle not between", value1, value2, "vehicle"); + return (Criteria) this; + } + + public Criteria andMaskIsNull() { + addCriterion("mask is null"); + return (Criteria) this; + } + + public Criteria andMaskIsNotNull() { + addCriterion("mask is not null"); + return (Criteria) this; + } + + public Criteria andMaskEqualTo(Byte value) { + addCriterion("mask =", value, "mask"); + return (Criteria) this; + } + + public Criteria andMaskNotEqualTo(Byte value) { + addCriterion("mask <>", value, "mask"); + return (Criteria) this; + } + + public Criteria andMaskGreaterThan(Byte value) { + addCriterion("mask >", value, "mask"); + return (Criteria) this; + } + + public Criteria andMaskGreaterThanOrEqualTo(Byte value) { + addCriterion("mask >=", value, "mask"); + return (Criteria) this; + } + + public Criteria andMaskLessThan(Byte value) { + addCriterion("mask <", value, "mask"); + return (Criteria) this; + } + + public Criteria andMaskLessThanOrEqualTo(Byte value) { + addCriterion("mask <=", value, "mask"); + return (Criteria) this; + } + + public Criteria andMaskIn(List values) { + addCriterion("mask in", values, "mask"); + return (Criteria) this; + } + + public Criteria andMaskNotIn(List values) { + addCriterion("mask not in", values, "mask"); + return (Criteria) this; + } + + public Criteria andMaskBetween(Byte value1, Byte value2) { + addCriterion("mask between", value1, value2, "mask"); + return (Criteria) this; + } + + public Criteria andMaskNotBetween(Byte value1, Byte value2) { + addCriterion("mask not between", value1, value2, "mask"); + return (Criteria) this; + } + + public Criteria andOperatorIsNull() { + addCriterion("operator is null"); + return (Criteria) this; + } + + public Criteria andOperatorIsNotNull() { + addCriterion("operator is not null"); + return (Criteria) this; + } + + public Criteria andOperatorEqualTo(Long value) { + addCriterion("operator =", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorNotEqualTo(Long value) { + addCriterion("operator <>", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorGreaterThan(Long value) { + addCriterion("operator >", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorGreaterThanOrEqualTo(Long value) { + addCriterion("operator >=", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorLessThan(Long value) { + addCriterion("operator <", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorLessThanOrEqualTo(Long value) { + addCriterion("operator <=", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorIn(List values) { + addCriterion("operator in", values, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorNotIn(List values) { + addCriterion("operator not in", values, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorBetween(Long value1, Long value2) { + addCriterion("operator between", value1, value2, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorNotBetween(Long value1, Long value2) { + addCriterion("operator not between", value1, value2, "operator"); + return (Criteria) this; + } + + public Criteria andCreatedAtIsNull() { + addCriterion("created_at is null"); + return (Criteria) this; + } + + public Criteria andCreatedAtIsNotNull() { + addCriterion("created_at is not null"); + return (Criteria) this; + } + + public Criteria andCreatedAtEqualTo(Date value) { + addCriterion("created_at =", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtNotEqualTo(Date value) { + addCriterion("created_at <>", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtGreaterThan(Date value) { + addCriterion("created_at >", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtGreaterThanOrEqualTo(Date value) { + addCriterion("created_at >=", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtLessThan(Date value) { + addCriterion("created_at <", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtLessThanOrEqualTo(Date value) { + addCriterion("created_at <=", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtIn(List values) { + addCriterion("created_at in", values, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtNotIn(List values) { + addCriterion("created_at not in", values, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtBetween(Date value1, Date value2) { + addCriterion("created_at between", value1, value2, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtNotBetween(Date value1, Date value2) { + addCriterion("created_at not between", value1, value2, "createdAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtIsNull() { + addCriterion("updated_at is null"); + return (Criteria) this; + } + + public Criteria andUpdatedAtIsNotNull() { + addCriterion("updated_at is not null"); + return (Criteria) this; + } + + public Criteria andUpdatedAtEqualTo(Date value) { + addCriterion("updated_at =", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtNotEqualTo(Date value) { + addCriterion("updated_at <>", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtGreaterThan(Date value) { + addCriterion("updated_at >", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtGreaterThanOrEqualTo(Date value) { + addCriterion("updated_at >=", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtLessThan(Date value) { + addCriterion("updated_at <", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtLessThanOrEqualTo(Date value) { + addCriterion("updated_at <=", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtIn(List values) { + addCriterion("updated_at in", values, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtNotIn(List values) { + addCriterion("updated_at not in", values, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtBetween(Date value1, Date value2) { + addCriterion("updated_at between", value1, value2, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtNotBetween(Date value1, Date value2) { + addCriterion("updated_at not between", value1, value2, "updatedAt"); + return (Criteria) this; + } + + public Criteria andRecStatusIsNull() { + addCriterion("rec_status is null"); + return (Criteria) this; + } + + public Criteria andRecStatusIsNotNull() { + addCriterion("rec_status is not null"); + return (Criteria) this; + } + + public Criteria andRecStatusEqualTo(Byte value) { + addCriterion("rec_status =", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusNotEqualTo(Byte value) { + addCriterion("rec_status <>", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusGreaterThan(Byte value) { + addCriterion("rec_status >", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusGreaterThanOrEqualTo(Byte value) { + addCriterion("rec_status >=", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusLessThan(Byte value) { + addCriterion("rec_status <", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusLessThanOrEqualTo(Byte value) { + addCriterion("rec_status <=", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusIn(List values) { + addCriterion("rec_status in", values, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusNotIn(List values) { + addCriterion("rec_status not in", values, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusBetween(Byte value1, Byte value2) { + addCriterion("rec_status between", value1, value2, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusNotBetween(Byte value1, Byte value2) { + addCriterion("rec_status not between", value1, value2, "recStatus"); + 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); + } + } +} \ No newline at end of file diff --git a/src/main/java/com/ccsens/delivery/bean/po/RecordTrailsExample.java b/src/main/java/com/ccsens/delivery/bean/po/RecordTrailsExample.java new file mode 100644 index 0000000..f94cdd0 --- /dev/null +++ b/src/main/java/com/ccsens/delivery/bean/po/RecordTrailsExample.java @@ -0,0 +1,761 @@ +package com.ccsens.delivery.bean.po; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class RecordTrailsExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public RecordTrailsExample() { + 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 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 criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List 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(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andUserIdIsNull() { + addCriterion("user_id is null"); + return (Criteria) this; + } + + public Criteria andUserIdIsNotNull() { + addCriterion("user_id is not null"); + return (Criteria) this; + } + + public Criteria andUserIdEqualTo(Long value) { + addCriterion("user_id =", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdNotEqualTo(Long value) { + addCriterion("user_id <>", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdGreaterThan(Long value) { + addCriterion("user_id >", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdGreaterThanOrEqualTo(Long value) { + addCriterion("user_id >=", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdLessThan(Long value) { + addCriterion("user_id <", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdLessThanOrEqualTo(Long value) { + addCriterion("user_id <=", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdIn(List values) { + addCriterion("user_id in", values, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdNotIn(List values) { + addCriterion("user_id not in", values, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdBetween(Long value1, Long value2) { + addCriterion("user_id between", value1, value2, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdNotBetween(Long value1, Long value2) { + addCriterion("user_id not between", value1, value2, "userId"); + return (Criteria) this; + } + + public Criteria andTrailsDateIsNull() { + addCriterion("trails_date is null"); + return (Criteria) this; + } + + public Criteria andTrailsDateIsNotNull() { + addCriterion("trails_date is not null"); + return (Criteria) this; + } + + public Criteria andTrailsDateEqualTo(String value) { + addCriterion("trails_date =", value, "trailsDate"); + return (Criteria) this; + } + + public Criteria andTrailsDateNotEqualTo(String value) { + addCriterion("trails_date <>", value, "trailsDate"); + return (Criteria) this; + } + + public Criteria andTrailsDateGreaterThan(String value) { + addCriterion("trails_date >", value, "trailsDate"); + return (Criteria) this; + } + + public Criteria andTrailsDateGreaterThanOrEqualTo(String value) { + addCriterion("trails_date >=", value, "trailsDate"); + return (Criteria) this; + } + + public Criteria andTrailsDateLessThan(String value) { + addCriterion("trails_date <", value, "trailsDate"); + return (Criteria) this; + } + + public Criteria andTrailsDateLessThanOrEqualTo(String value) { + addCriterion("trails_date <=", value, "trailsDate"); + return (Criteria) this; + } + + public Criteria andTrailsDateLike(String value) { + addCriterion("trails_date like", value, "trailsDate"); + return (Criteria) this; + } + + public Criteria andTrailsDateNotLike(String value) { + addCriterion("trails_date not like", value, "trailsDate"); + return (Criteria) this; + } + + public Criteria andTrailsDateIn(List values) { + addCriterion("trails_date in", values, "trailsDate"); + return (Criteria) this; + } + + public Criteria andTrailsDateNotIn(List values) { + addCriterion("trails_date not in", values, "trailsDate"); + return (Criteria) this; + } + + public Criteria andTrailsDateBetween(String value1, String value2) { + addCriterion("trails_date between", value1, value2, "trailsDate"); + return (Criteria) this; + } + + public Criteria andTrailsDateNotBetween(String value1, String value2) { + addCriterion("trails_date not between", value1, value2, "trailsDate"); + return (Criteria) this; + } + + public Criteria andSubmitTimeIsNull() { + addCriterion("submit_time is null"); + return (Criteria) this; + } + + public Criteria andSubmitTimeIsNotNull() { + addCriterion("submit_time is not null"); + return (Criteria) this; + } + + public Criteria andSubmitTimeEqualTo(Long value) { + addCriterion("submit_time =", value, "submitTime"); + return (Criteria) this; + } + + public Criteria andSubmitTimeNotEqualTo(Long value) { + addCriterion("submit_time <>", value, "submitTime"); + return (Criteria) this; + } + + public Criteria andSubmitTimeGreaterThan(Long value) { + addCriterion("submit_time >", value, "submitTime"); + return (Criteria) this; + } + + public Criteria andSubmitTimeGreaterThanOrEqualTo(Long value) { + addCriterion("submit_time >=", value, "submitTime"); + return (Criteria) this; + } + + public Criteria andSubmitTimeLessThan(Long value) { + addCriterion("submit_time <", value, "submitTime"); + return (Criteria) this; + } + + public Criteria andSubmitTimeLessThanOrEqualTo(Long value) { + addCriterion("submit_time <=", value, "submitTime"); + return (Criteria) this; + } + + public Criteria andSubmitTimeIn(List values) { + addCriterion("submit_time in", values, "submitTime"); + return (Criteria) this; + } + + public Criteria andSubmitTimeNotIn(List values) { + addCriterion("submit_time not in", values, "submitTime"); + return (Criteria) this; + } + + public Criteria andSubmitTimeBetween(Long value1, Long value2) { + addCriterion("submit_time between", value1, value2, "submitTime"); + return (Criteria) this; + } + + public Criteria andSubmitTimeNotBetween(Long value1, Long value2) { + addCriterion("submit_time not between", value1, value2, "submitTime"); + return (Criteria) this; + } + + public Criteria andRemarkIsNull() { + addCriterion("remark is null"); + return (Criteria) this; + } + + public Criteria andRemarkIsNotNull() { + addCriterion("remark is not null"); + return (Criteria) this; + } + + public Criteria andRemarkEqualTo(String value) { + addCriterion("remark =", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotEqualTo(String value) { + addCriterion("remark <>", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThan(String value) { + addCriterion("remark >", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThanOrEqualTo(String value) { + addCriterion("remark >=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThan(String value) { + addCriterion("remark <", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThanOrEqualTo(String value) { + addCriterion("remark <=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLike(String value) { + addCriterion("remark like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotLike(String value) { + addCriterion("remark not like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkIn(List values) { + addCriterion("remark in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotIn(List values) { + addCriterion("remark not in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkBetween(String value1, String value2) { + addCriterion("remark between", value1, value2, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotBetween(String value1, String value2) { + addCriterion("remark not between", value1, value2, "remark"); + return (Criteria) this; + } + + public Criteria andOperatorIsNull() { + addCriterion("operator is null"); + return (Criteria) this; + } + + public Criteria andOperatorIsNotNull() { + addCriterion("operator is not null"); + return (Criteria) this; + } + + public Criteria andOperatorEqualTo(Long value) { + addCriterion("operator =", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorNotEqualTo(Long value) { + addCriterion("operator <>", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorGreaterThan(Long value) { + addCriterion("operator >", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorGreaterThanOrEqualTo(Long value) { + addCriterion("operator >=", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorLessThan(Long value) { + addCriterion("operator <", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorLessThanOrEqualTo(Long value) { + addCriterion("operator <=", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorIn(List values) { + addCriterion("operator in", values, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorNotIn(List values) { + addCriterion("operator not in", values, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorBetween(Long value1, Long value2) { + addCriterion("operator between", value1, value2, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorNotBetween(Long value1, Long value2) { + addCriterion("operator not between", value1, value2, "operator"); + return (Criteria) this; + } + + public Criteria andCreatedAtIsNull() { + addCriterion("created_at is null"); + return (Criteria) this; + } + + public Criteria andCreatedAtIsNotNull() { + addCriterion("created_at is not null"); + return (Criteria) this; + } + + public Criteria andCreatedAtEqualTo(Date value) { + addCriterion("created_at =", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtNotEqualTo(Date value) { + addCriterion("created_at <>", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtGreaterThan(Date value) { + addCriterion("created_at >", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtGreaterThanOrEqualTo(Date value) { + addCriterion("created_at >=", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtLessThan(Date value) { + addCriterion("created_at <", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtLessThanOrEqualTo(Date value) { + addCriterion("created_at <=", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtIn(List values) { + addCriterion("created_at in", values, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtNotIn(List values) { + addCriterion("created_at not in", values, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtBetween(Date value1, Date value2) { + addCriterion("created_at between", value1, value2, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtNotBetween(Date value1, Date value2) { + addCriterion("created_at not between", value1, value2, "createdAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtIsNull() { + addCriterion("updated_at is null"); + return (Criteria) this; + } + + public Criteria andUpdatedAtIsNotNull() { + addCriterion("updated_at is not null"); + return (Criteria) this; + } + + public Criteria andUpdatedAtEqualTo(Date value) { + addCriterion("updated_at =", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtNotEqualTo(Date value) { + addCriterion("updated_at <>", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtGreaterThan(Date value) { + addCriterion("updated_at >", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtGreaterThanOrEqualTo(Date value) { + addCriterion("updated_at >=", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtLessThan(Date value) { + addCriterion("updated_at <", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtLessThanOrEqualTo(Date value) { + addCriterion("updated_at <=", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtIn(List values) { + addCriterion("updated_at in", values, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtNotIn(List values) { + addCriterion("updated_at not in", values, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtBetween(Date value1, Date value2) { + addCriterion("updated_at between", value1, value2, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtNotBetween(Date value1, Date value2) { + addCriterion("updated_at not between", value1, value2, "updatedAt"); + return (Criteria) this; + } + + public Criteria andRecStatusIsNull() { + addCriterion("rec_status is null"); + return (Criteria) this; + } + + public Criteria andRecStatusIsNotNull() { + addCriterion("rec_status is not null"); + return (Criteria) this; + } + + public Criteria andRecStatusEqualTo(Byte value) { + addCriterion("rec_status =", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusNotEqualTo(Byte value) { + addCriterion("rec_status <>", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusGreaterThan(Byte value) { + addCriterion("rec_status >", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusGreaterThanOrEqualTo(Byte value) { + addCriterion("rec_status >=", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusLessThan(Byte value) { + addCriterion("rec_status <", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusLessThanOrEqualTo(Byte value) { + addCriterion("rec_status <=", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusIn(List values) { + addCriterion("rec_status in", values, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusNotIn(List values) { + addCriterion("rec_status not in", values, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusBetween(Byte value1, Byte value2) { + addCriterion("rec_status between", value1, value2, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusNotBetween(Byte value1, Byte value2) { + addCriterion("rec_status not between", value1, value2, "recStatus"); + 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); + } + } +} \ No newline at end of file diff --git a/src/main/java/com/ccsens/delivery/bean/po/SysMaterial.java b/src/main/java/com/ccsens/delivery/bean/po/SysMaterial.java new file mode 100644 index 0000000..36b92b7 --- /dev/null +++ b/src/main/java/com/ccsens/delivery/bean/po/SysMaterial.java @@ -0,0 +1,117 @@ +package com.ccsens.delivery.bean.po; + +import java.io.Serializable; +import java.util.Date; + +public class SysMaterial implements Serializable { + private Long id; + + private String name; + + private String description; + + private Integer remaining; + + private Integer payMax; + + private Long operator; + + private Date createdAt; + + private Date updatedAt; + + private Byte recStatus; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name == null ? null : name.trim(); + } + + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description == null ? null : description.trim(); + } + + public Integer getRemaining() { + return remaining; + } + + public void setRemaining(Integer remaining) { + this.remaining = remaining; + } + + public Integer getPayMax() { + return payMax; + } + + public void setPayMax(Integer payMax) { + this.payMax = payMax; + } + + public Long getOperator() { + return operator; + } + + public void setOperator(Long operator) { + this.operator = operator; + } + + public Date getCreatedAt() { + return createdAt; + } + + public void setCreatedAt(Date createdAt) { + this.createdAt = createdAt; + } + + public Date getUpdatedAt() { + return updatedAt; + } + + public void setUpdatedAt(Date updatedAt) { + this.updatedAt = updatedAt; + } + + public Byte getRecStatus() { + return recStatus; + } + + public void setRecStatus(Byte recStatus) { + this.recStatus = recStatus; + } + + @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(", name=").append(name); + sb.append(", description=").append(description); + sb.append(", remaining=").append(remaining); + sb.append(", payMax=").append(payMax); + sb.append(", operator=").append(operator); + sb.append(", createdAt=").append(createdAt); + sb.append(", updatedAt=").append(updatedAt); + sb.append(", recStatus=").append(recStatus); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/src/main/java/com/ccsens/delivery/bean/po/SysMaterialExample.java b/src/main/java/com/ccsens/delivery/bean/po/SysMaterialExample.java new file mode 100644 index 0000000..3dba86b --- /dev/null +++ b/src/main/java/com/ccsens/delivery/bean/po/SysMaterialExample.java @@ -0,0 +1,761 @@ +package com.ccsens.delivery.bean.po; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class SysMaterialExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public SysMaterialExample() { + 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 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 criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List 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(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andDescriptionIsNull() { + addCriterion("description is null"); + return (Criteria) this; + } + + public Criteria andDescriptionIsNotNull() { + addCriterion("description is not null"); + return (Criteria) this; + } + + public Criteria andDescriptionEqualTo(String value) { + addCriterion("description =", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotEqualTo(String value) { + addCriterion("description <>", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionGreaterThan(String value) { + addCriterion("description >", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionGreaterThanOrEqualTo(String value) { + addCriterion("description >=", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionLessThan(String value) { + addCriterion("description <", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionLessThanOrEqualTo(String value) { + addCriterion("description <=", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionLike(String value) { + addCriterion("description like", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotLike(String value) { + addCriterion("description not like", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionIn(List values) { + addCriterion("description in", values, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotIn(List values) { + addCriterion("description not in", values, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionBetween(String value1, String value2) { + addCriterion("description between", value1, value2, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotBetween(String value1, String value2) { + addCriterion("description not between", value1, value2, "description"); + return (Criteria) this; + } + + public Criteria andRemainingIsNull() { + addCriterion("remaining is null"); + return (Criteria) this; + } + + public Criteria andRemainingIsNotNull() { + addCriterion("remaining is not null"); + return (Criteria) this; + } + + public Criteria andRemainingEqualTo(Integer value) { + addCriterion("remaining =", value, "remaining"); + return (Criteria) this; + } + + public Criteria andRemainingNotEqualTo(Integer value) { + addCriterion("remaining <>", value, "remaining"); + return (Criteria) this; + } + + public Criteria andRemainingGreaterThan(Integer value) { + addCriterion("remaining >", value, "remaining"); + return (Criteria) this; + } + + public Criteria andRemainingGreaterThanOrEqualTo(Integer value) { + addCriterion("remaining >=", value, "remaining"); + return (Criteria) this; + } + + public Criteria andRemainingLessThan(Integer value) { + addCriterion("remaining <", value, "remaining"); + return (Criteria) this; + } + + public Criteria andRemainingLessThanOrEqualTo(Integer value) { + addCriterion("remaining <=", value, "remaining"); + return (Criteria) this; + } + + public Criteria andRemainingIn(List values) { + addCriterion("remaining in", values, "remaining"); + return (Criteria) this; + } + + public Criteria andRemainingNotIn(List values) { + addCriterion("remaining not in", values, "remaining"); + return (Criteria) this; + } + + public Criteria andRemainingBetween(Integer value1, Integer value2) { + addCriterion("remaining between", value1, value2, "remaining"); + return (Criteria) this; + } + + public Criteria andRemainingNotBetween(Integer value1, Integer value2) { + addCriterion("remaining not between", value1, value2, "remaining"); + return (Criteria) this; + } + + public Criteria andPayMaxIsNull() { + addCriterion("pay_max is null"); + return (Criteria) this; + } + + public Criteria andPayMaxIsNotNull() { + addCriterion("pay_max is not null"); + return (Criteria) this; + } + + public Criteria andPayMaxEqualTo(Integer value) { + addCriterion("pay_max =", value, "payMax"); + return (Criteria) this; + } + + public Criteria andPayMaxNotEqualTo(Integer value) { + addCriterion("pay_max <>", value, "payMax"); + return (Criteria) this; + } + + public Criteria andPayMaxGreaterThan(Integer value) { + addCriterion("pay_max >", value, "payMax"); + return (Criteria) this; + } + + public Criteria andPayMaxGreaterThanOrEqualTo(Integer value) { + addCriterion("pay_max >=", value, "payMax"); + return (Criteria) this; + } + + public Criteria andPayMaxLessThan(Integer value) { + addCriterion("pay_max <", value, "payMax"); + return (Criteria) this; + } + + public Criteria andPayMaxLessThanOrEqualTo(Integer value) { + addCriterion("pay_max <=", value, "payMax"); + return (Criteria) this; + } + + public Criteria andPayMaxIn(List values) { + addCriterion("pay_max in", values, "payMax"); + return (Criteria) this; + } + + public Criteria andPayMaxNotIn(List values) { + addCriterion("pay_max not in", values, "payMax"); + return (Criteria) this; + } + + public Criteria andPayMaxBetween(Integer value1, Integer value2) { + addCriterion("pay_max between", value1, value2, "payMax"); + return (Criteria) this; + } + + public Criteria andPayMaxNotBetween(Integer value1, Integer value2) { + addCriterion("pay_max not between", value1, value2, "payMax"); + return (Criteria) this; + } + + public Criteria andOperatorIsNull() { + addCriterion("operator is null"); + return (Criteria) this; + } + + public Criteria andOperatorIsNotNull() { + addCriterion("operator is not null"); + return (Criteria) this; + } + + public Criteria andOperatorEqualTo(Long value) { + addCriterion("operator =", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorNotEqualTo(Long value) { + addCriterion("operator <>", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorGreaterThan(Long value) { + addCriterion("operator >", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorGreaterThanOrEqualTo(Long value) { + addCriterion("operator >=", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorLessThan(Long value) { + addCriterion("operator <", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorLessThanOrEqualTo(Long value) { + addCriterion("operator <=", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorIn(List values) { + addCriterion("operator in", values, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorNotIn(List values) { + addCriterion("operator not in", values, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorBetween(Long value1, Long value2) { + addCriterion("operator between", value1, value2, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorNotBetween(Long value1, Long value2) { + addCriterion("operator not between", value1, value2, "operator"); + return (Criteria) this; + } + + public Criteria andCreatedAtIsNull() { + addCriterion("created_at is null"); + return (Criteria) this; + } + + public Criteria andCreatedAtIsNotNull() { + addCriterion("created_at is not null"); + return (Criteria) this; + } + + public Criteria andCreatedAtEqualTo(Date value) { + addCriterion("created_at =", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtNotEqualTo(Date value) { + addCriterion("created_at <>", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtGreaterThan(Date value) { + addCriterion("created_at >", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtGreaterThanOrEqualTo(Date value) { + addCriterion("created_at >=", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtLessThan(Date value) { + addCriterion("created_at <", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtLessThanOrEqualTo(Date value) { + addCriterion("created_at <=", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtIn(List values) { + addCriterion("created_at in", values, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtNotIn(List values) { + addCriterion("created_at not in", values, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtBetween(Date value1, Date value2) { + addCriterion("created_at between", value1, value2, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtNotBetween(Date value1, Date value2) { + addCriterion("created_at not between", value1, value2, "createdAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtIsNull() { + addCriterion("updated_at is null"); + return (Criteria) this; + } + + public Criteria andUpdatedAtIsNotNull() { + addCriterion("updated_at is not null"); + return (Criteria) this; + } + + public Criteria andUpdatedAtEqualTo(Date value) { + addCriterion("updated_at =", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtNotEqualTo(Date value) { + addCriterion("updated_at <>", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtGreaterThan(Date value) { + addCriterion("updated_at >", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtGreaterThanOrEqualTo(Date value) { + addCriterion("updated_at >=", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtLessThan(Date value) { + addCriterion("updated_at <", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtLessThanOrEqualTo(Date value) { + addCriterion("updated_at <=", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtIn(List values) { + addCriterion("updated_at in", values, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtNotIn(List values) { + addCriterion("updated_at not in", values, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtBetween(Date value1, Date value2) { + addCriterion("updated_at between", value1, value2, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtNotBetween(Date value1, Date value2) { + addCriterion("updated_at not between", value1, value2, "updatedAt"); + return (Criteria) this; + } + + public Criteria andRecStatusIsNull() { + addCriterion("rec_status is null"); + return (Criteria) this; + } + + public Criteria andRecStatusIsNotNull() { + addCriterion("rec_status is not null"); + return (Criteria) this; + } + + public Criteria andRecStatusEqualTo(Byte value) { + addCriterion("rec_status =", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusNotEqualTo(Byte value) { + addCriterion("rec_status <>", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusGreaterThan(Byte value) { + addCriterion("rec_status >", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusGreaterThanOrEqualTo(Byte value) { + addCriterion("rec_status >=", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusLessThan(Byte value) { + addCriterion("rec_status <", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusLessThanOrEqualTo(Byte value) { + addCriterion("rec_status <=", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusIn(List values) { + addCriterion("rec_status in", values, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusNotIn(List values) { + addCriterion("rec_status not in", values, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusBetween(Byte value1, Byte value2) { + addCriterion("rec_status between", value1, value2, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusNotBetween(Byte value1, Byte value2) { + addCriterion("rec_status not between", value1, value2, "recStatus"); + 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); + } + } +} \ No newline at end of file diff --git a/src/main/java/com/ccsens/delivery/bean/po/SysUserInfo.java b/src/main/java/com/ccsens/delivery/bean/po/SysUserInfo.java new file mode 100644 index 0000000..6103df2 --- /dev/null +++ b/src/main/java/com/ccsens/delivery/bean/po/SysUserInfo.java @@ -0,0 +1,216 @@ +package com.ccsens.delivery.bean.po; + +import java.io.Serializable; +import java.util.Date; + +public class SysUserInfo implements Serializable { + private Long id; + + private Long userId; + + private Byte post; + + private String name; + + private String number; + + private String phone; + + private String idCard; + + private Long collegeId; + + private String collegeName; + + private Long dormitoryId; + + private String dormitoryName; + + private String address; + + private String grade; + + private String stuClass; + + private Long operator; + + private Date createdAt; + + private Date updatedAt; + + private Byte recStatus; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getUserId() { + return userId; + } + + public void setUserId(Long userId) { + this.userId = userId; + } + + public Byte getPost() { + return post; + } + + public void setPost(Byte post) { + this.post = post; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name == null ? null : name.trim(); + } + + public String getNumber() { + return number; + } + + public void setNumber(String number) { + this.number = number == null ? null : number.trim(); + } + + public String getPhone() { + return phone; + } + + public void setPhone(String phone) { + this.phone = phone == null ? null : phone.trim(); + } + + public String getIdCard() { + return idCard; + } + + public void setIdCard(String idCard) { + this.idCard = idCard == null ? null : idCard.trim(); + } + + public Long getCollegeId() { + return collegeId; + } + + public void setCollegeId(Long collegeId) { + this.collegeId = collegeId; + } + + public String getCollegeName() { + return collegeName; + } + + public void setCollegeName(String collegeName) { + this.collegeName = collegeName == null ? null : collegeName.trim(); + } + + public Long getDormitoryId() { + return dormitoryId; + } + + public void setDormitoryId(Long dormitoryId) { + this.dormitoryId = dormitoryId; + } + + public String getDormitoryName() { + return dormitoryName; + } + + public void setDormitoryName(String dormitoryName) { + this.dormitoryName = dormitoryName == null ? null : dormitoryName.trim(); + } + + public String getAddress() { + return address; + } + + public void setAddress(String address) { + this.address = address == null ? null : address.trim(); + } + + public String getGrade() { + return grade; + } + + public void setGrade(String grade) { + this.grade = grade == null ? null : grade.trim(); + } + + public String getStuClass() { + return stuClass; + } + + public void setStuClass(String stuClass) { + this.stuClass = stuClass == null ? null : stuClass.trim(); + } + + public Long getOperator() { + return operator; + } + + public void setOperator(Long operator) { + this.operator = operator; + } + + public Date getCreatedAt() { + return createdAt; + } + + public void setCreatedAt(Date createdAt) { + this.createdAt = createdAt; + } + + public Date getUpdatedAt() { + return updatedAt; + } + + public void setUpdatedAt(Date updatedAt) { + this.updatedAt = updatedAt; + } + + public Byte getRecStatus() { + return recStatus; + } + + public void setRecStatus(Byte recStatus) { + this.recStatus = recStatus; + } + + @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(", userId=").append(userId); + sb.append(", post=").append(post); + sb.append(", name=").append(name); + sb.append(", number=").append(number); + sb.append(", phone=").append(phone); + sb.append(", idCard=").append(idCard); + sb.append(", collegeId=").append(collegeId); + sb.append(", collegeName=").append(collegeName); + sb.append(", dormitoryId=").append(dormitoryId); + sb.append(", dormitoryName=").append(dormitoryName); + sb.append(", address=").append(address); + sb.append(", grade=").append(grade); + sb.append(", stuClass=").append(stuClass); + sb.append(", operator=").append(operator); + sb.append(", createdAt=").append(createdAt); + sb.append(", updatedAt=").append(updatedAt); + sb.append(", recStatus=").append(recStatus); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/src/main/java/com/ccsens/delivery/bean/po/SysUserInfoExample.java b/src/main/java/com/ccsens/delivery/bean/po/SysUserInfoExample.java new file mode 100644 index 0000000..8439381 --- /dev/null +++ b/src/main/java/com/ccsens/delivery/bean/po/SysUserInfoExample.java @@ -0,0 +1,1371 @@ +package com.ccsens.delivery.bean.po; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class SysUserInfoExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public SysUserInfoExample() { + 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 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 criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List 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(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andUserIdIsNull() { + addCriterion("user_id is null"); + return (Criteria) this; + } + + public Criteria andUserIdIsNotNull() { + addCriterion("user_id is not null"); + return (Criteria) this; + } + + public Criteria andUserIdEqualTo(Long value) { + addCriterion("user_id =", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdNotEqualTo(Long value) { + addCriterion("user_id <>", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdGreaterThan(Long value) { + addCriterion("user_id >", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdGreaterThanOrEqualTo(Long value) { + addCriterion("user_id >=", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdLessThan(Long value) { + addCriterion("user_id <", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdLessThanOrEqualTo(Long value) { + addCriterion("user_id <=", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdIn(List values) { + addCriterion("user_id in", values, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdNotIn(List values) { + addCriterion("user_id not in", values, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdBetween(Long value1, Long value2) { + addCriterion("user_id between", value1, value2, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdNotBetween(Long value1, Long value2) { + addCriterion("user_id not between", value1, value2, "userId"); + return (Criteria) this; + } + + public Criteria andPostIsNull() { + addCriterion("post is null"); + return (Criteria) this; + } + + public Criteria andPostIsNotNull() { + addCriterion("post is not null"); + return (Criteria) this; + } + + public Criteria andPostEqualTo(Byte value) { + addCriterion("post =", value, "post"); + return (Criteria) this; + } + + public Criteria andPostNotEqualTo(Byte value) { + addCriterion("post <>", value, "post"); + return (Criteria) this; + } + + public Criteria andPostGreaterThan(Byte value) { + addCriterion("post >", value, "post"); + return (Criteria) this; + } + + public Criteria andPostGreaterThanOrEqualTo(Byte value) { + addCriterion("post >=", value, "post"); + return (Criteria) this; + } + + public Criteria andPostLessThan(Byte value) { + addCriterion("post <", value, "post"); + return (Criteria) this; + } + + public Criteria andPostLessThanOrEqualTo(Byte value) { + addCriterion("post <=", value, "post"); + return (Criteria) this; + } + + public Criteria andPostIn(List values) { + addCriterion("post in", values, "post"); + return (Criteria) this; + } + + public Criteria andPostNotIn(List values) { + addCriterion("post not in", values, "post"); + return (Criteria) this; + } + + public Criteria andPostBetween(Byte value1, Byte value2) { + addCriterion("post between", value1, value2, "post"); + return (Criteria) this; + } + + public Criteria andPostNotBetween(Byte value1, Byte value2) { + addCriterion("post not between", value1, value2, "post"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNumberIsNull() { + addCriterion("number is null"); + return (Criteria) this; + } + + public Criteria andNumberIsNotNull() { + addCriterion("number is not null"); + return (Criteria) this; + } + + public Criteria andNumberEqualTo(String value) { + addCriterion("number =", value, "number"); + return (Criteria) this; + } + + public Criteria andNumberNotEqualTo(String value) { + addCriterion("number <>", value, "number"); + return (Criteria) this; + } + + public Criteria andNumberGreaterThan(String value) { + addCriterion("number >", value, "number"); + return (Criteria) this; + } + + public Criteria andNumberGreaterThanOrEqualTo(String value) { + addCriterion("number >=", value, "number"); + return (Criteria) this; + } + + public Criteria andNumberLessThan(String value) { + addCriterion("number <", value, "number"); + return (Criteria) this; + } + + public Criteria andNumberLessThanOrEqualTo(String value) { + addCriterion("number <=", value, "number"); + return (Criteria) this; + } + + public Criteria andNumberLike(String value) { + addCriterion("number like", value, "number"); + return (Criteria) this; + } + + public Criteria andNumberNotLike(String value) { + addCriterion("number not like", value, "number"); + return (Criteria) this; + } + + public Criteria andNumberIn(List values) { + addCriterion("number in", values, "number"); + return (Criteria) this; + } + + public Criteria andNumberNotIn(List values) { + addCriterion("number not in", values, "number"); + return (Criteria) this; + } + + public Criteria andNumberBetween(String value1, String value2) { + addCriterion("number between", value1, value2, "number"); + return (Criteria) this; + } + + public Criteria andNumberNotBetween(String value1, String value2) { + addCriterion("number not between", value1, value2, "number"); + return (Criteria) this; + } + + public Criteria andPhoneIsNull() { + addCriterion("phone is null"); + return (Criteria) this; + } + + public Criteria andPhoneIsNotNull() { + addCriterion("phone is not null"); + return (Criteria) this; + } + + public Criteria andPhoneEqualTo(String value) { + addCriterion("phone =", value, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneNotEqualTo(String value) { + addCriterion("phone <>", value, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneGreaterThan(String value) { + addCriterion("phone >", value, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneGreaterThanOrEqualTo(String value) { + addCriterion("phone >=", value, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneLessThan(String value) { + addCriterion("phone <", value, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneLessThanOrEqualTo(String value) { + addCriterion("phone <=", value, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneLike(String value) { + addCriterion("phone like", value, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneNotLike(String value) { + addCriterion("phone not like", value, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneIn(List values) { + addCriterion("phone in", values, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneNotIn(List values) { + addCriterion("phone not in", values, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneBetween(String value1, String value2) { + addCriterion("phone between", value1, value2, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneNotBetween(String value1, String value2) { + addCriterion("phone not between", value1, value2, "phone"); + return (Criteria) this; + } + + public Criteria andIdCardIsNull() { + addCriterion("id_card is null"); + return (Criteria) this; + } + + public Criteria andIdCardIsNotNull() { + addCriterion("id_card is not null"); + return (Criteria) this; + } + + public Criteria andIdCardEqualTo(String value) { + addCriterion("id_card =", value, "idCard"); + return (Criteria) this; + } + + public Criteria andIdCardNotEqualTo(String value) { + addCriterion("id_card <>", value, "idCard"); + return (Criteria) this; + } + + public Criteria andIdCardGreaterThan(String value) { + addCriterion("id_card >", value, "idCard"); + return (Criteria) this; + } + + public Criteria andIdCardGreaterThanOrEqualTo(String value) { + addCriterion("id_card >=", value, "idCard"); + return (Criteria) this; + } + + public Criteria andIdCardLessThan(String value) { + addCriterion("id_card <", value, "idCard"); + return (Criteria) this; + } + + public Criteria andIdCardLessThanOrEqualTo(String value) { + addCriterion("id_card <=", value, "idCard"); + return (Criteria) this; + } + + public Criteria andIdCardLike(String value) { + addCriterion("id_card like", value, "idCard"); + return (Criteria) this; + } + + public Criteria andIdCardNotLike(String value) { + addCriterion("id_card not like", value, "idCard"); + return (Criteria) this; + } + + public Criteria andIdCardIn(List values) { + addCriterion("id_card in", values, "idCard"); + return (Criteria) this; + } + + public Criteria andIdCardNotIn(List values) { + addCriterion("id_card not in", values, "idCard"); + return (Criteria) this; + } + + public Criteria andIdCardBetween(String value1, String value2) { + addCriterion("id_card between", value1, value2, "idCard"); + return (Criteria) this; + } + + public Criteria andIdCardNotBetween(String value1, String value2) { + addCriterion("id_card not between", value1, value2, "idCard"); + return (Criteria) this; + } + + public Criteria andCollegeIdIsNull() { + addCriterion("college_id is null"); + return (Criteria) this; + } + + public Criteria andCollegeIdIsNotNull() { + addCriterion("college_id is not null"); + return (Criteria) this; + } + + public Criteria andCollegeIdEqualTo(Long value) { + addCriterion("college_id =", value, "collegeId"); + return (Criteria) this; + } + + public Criteria andCollegeIdNotEqualTo(Long value) { + addCriterion("college_id <>", value, "collegeId"); + return (Criteria) this; + } + + public Criteria andCollegeIdGreaterThan(Long value) { + addCriterion("college_id >", value, "collegeId"); + return (Criteria) this; + } + + public Criteria andCollegeIdGreaterThanOrEqualTo(Long value) { + addCriterion("college_id >=", value, "collegeId"); + return (Criteria) this; + } + + public Criteria andCollegeIdLessThan(Long value) { + addCriterion("college_id <", value, "collegeId"); + return (Criteria) this; + } + + public Criteria andCollegeIdLessThanOrEqualTo(Long value) { + addCriterion("college_id <=", value, "collegeId"); + return (Criteria) this; + } + + public Criteria andCollegeIdIn(List values) { + addCriterion("college_id in", values, "collegeId"); + return (Criteria) this; + } + + public Criteria andCollegeIdNotIn(List values) { + addCriterion("college_id not in", values, "collegeId"); + return (Criteria) this; + } + + public Criteria andCollegeIdBetween(Long value1, Long value2) { + addCriterion("college_id between", value1, value2, "collegeId"); + return (Criteria) this; + } + + public Criteria andCollegeIdNotBetween(Long value1, Long value2) { + addCriterion("college_id not between", value1, value2, "collegeId"); + return (Criteria) this; + } + + public Criteria andCollegeNameIsNull() { + addCriterion("college_name is null"); + return (Criteria) this; + } + + public Criteria andCollegeNameIsNotNull() { + addCriterion("college_name is not null"); + return (Criteria) this; + } + + public Criteria andCollegeNameEqualTo(String value) { + addCriterion("college_name =", value, "collegeName"); + return (Criteria) this; + } + + public Criteria andCollegeNameNotEqualTo(String value) { + addCriterion("college_name <>", value, "collegeName"); + return (Criteria) this; + } + + public Criteria andCollegeNameGreaterThan(String value) { + addCriterion("college_name >", value, "collegeName"); + return (Criteria) this; + } + + public Criteria andCollegeNameGreaterThanOrEqualTo(String value) { + addCriterion("college_name >=", value, "collegeName"); + return (Criteria) this; + } + + public Criteria andCollegeNameLessThan(String value) { + addCriterion("college_name <", value, "collegeName"); + return (Criteria) this; + } + + public Criteria andCollegeNameLessThanOrEqualTo(String value) { + addCriterion("college_name <=", value, "collegeName"); + return (Criteria) this; + } + + public Criteria andCollegeNameLike(String value) { + addCriterion("college_name like", value, "collegeName"); + return (Criteria) this; + } + + public Criteria andCollegeNameNotLike(String value) { + addCriterion("college_name not like", value, "collegeName"); + return (Criteria) this; + } + + public Criteria andCollegeNameIn(List values) { + addCriterion("college_name in", values, "collegeName"); + return (Criteria) this; + } + + public Criteria andCollegeNameNotIn(List values) { + addCriterion("college_name not in", values, "collegeName"); + return (Criteria) this; + } + + public Criteria andCollegeNameBetween(String value1, String value2) { + addCriterion("college_name between", value1, value2, "collegeName"); + return (Criteria) this; + } + + public Criteria andCollegeNameNotBetween(String value1, String value2) { + addCriterion("college_name not between", value1, value2, "collegeName"); + return (Criteria) this; + } + + public Criteria andDormitoryIdIsNull() { + addCriterion("dormitory_id is null"); + return (Criteria) this; + } + + public Criteria andDormitoryIdIsNotNull() { + addCriterion("dormitory_id is not null"); + return (Criteria) this; + } + + public Criteria andDormitoryIdEqualTo(Long value) { + addCriterion("dormitory_id =", value, "dormitoryId"); + return (Criteria) this; + } + + public Criteria andDormitoryIdNotEqualTo(Long value) { + addCriterion("dormitory_id <>", value, "dormitoryId"); + return (Criteria) this; + } + + public Criteria andDormitoryIdGreaterThan(Long value) { + addCriterion("dormitory_id >", value, "dormitoryId"); + return (Criteria) this; + } + + public Criteria andDormitoryIdGreaterThanOrEqualTo(Long value) { + addCriterion("dormitory_id >=", value, "dormitoryId"); + return (Criteria) this; + } + + public Criteria andDormitoryIdLessThan(Long value) { + addCriterion("dormitory_id <", value, "dormitoryId"); + return (Criteria) this; + } + + public Criteria andDormitoryIdLessThanOrEqualTo(Long value) { + addCriterion("dormitory_id <=", value, "dormitoryId"); + return (Criteria) this; + } + + public Criteria andDormitoryIdIn(List values) { + addCriterion("dormitory_id in", values, "dormitoryId"); + return (Criteria) this; + } + + public Criteria andDormitoryIdNotIn(List values) { + addCriterion("dormitory_id not in", values, "dormitoryId"); + return (Criteria) this; + } + + public Criteria andDormitoryIdBetween(Long value1, Long value2) { + addCriterion("dormitory_id between", value1, value2, "dormitoryId"); + return (Criteria) this; + } + + public Criteria andDormitoryIdNotBetween(Long value1, Long value2) { + addCriterion("dormitory_id not between", value1, value2, "dormitoryId"); + return (Criteria) this; + } + + public Criteria andDormitoryNameIsNull() { + addCriterion("dormitory_name is null"); + return (Criteria) this; + } + + public Criteria andDormitoryNameIsNotNull() { + addCriterion("dormitory_name is not null"); + return (Criteria) this; + } + + public Criteria andDormitoryNameEqualTo(String value) { + addCriterion("dormitory_name =", value, "dormitoryName"); + return (Criteria) this; + } + + public Criteria andDormitoryNameNotEqualTo(String value) { + addCriterion("dormitory_name <>", value, "dormitoryName"); + return (Criteria) this; + } + + public Criteria andDormitoryNameGreaterThan(String value) { + addCriterion("dormitory_name >", value, "dormitoryName"); + return (Criteria) this; + } + + public Criteria andDormitoryNameGreaterThanOrEqualTo(String value) { + addCriterion("dormitory_name >=", value, "dormitoryName"); + return (Criteria) this; + } + + public Criteria andDormitoryNameLessThan(String value) { + addCriterion("dormitory_name <", value, "dormitoryName"); + return (Criteria) this; + } + + public Criteria andDormitoryNameLessThanOrEqualTo(String value) { + addCriterion("dormitory_name <=", value, "dormitoryName"); + return (Criteria) this; + } + + public Criteria andDormitoryNameLike(String value) { + addCriterion("dormitory_name like", value, "dormitoryName"); + return (Criteria) this; + } + + public Criteria andDormitoryNameNotLike(String value) { + addCriterion("dormitory_name not like", value, "dormitoryName"); + return (Criteria) this; + } + + public Criteria andDormitoryNameIn(List values) { + addCriterion("dormitory_name in", values, "dormitoryName"); + return (Criteria) this; + } + + public Criteria andDormitoryNameNotIn(List values) { + addCriterion("dormitory_name not in", values, "dormitoryName"); + return (Criteria) this; + } + + public Criteria andDormitoryNameBetween(String value1, String value2) { + addCriterion("dormitory_name between", value1, value2, "dormitoryName"); + return (Criteria) this; + } + + public Criteria andDormitoryNameNotBetween(String value1, String value2) { + addCriterion("dormitory_name not between", value1, value2, "dormitoryName"); + return (Criteria) this; + } + + public Criteria andAddressIsNull() { + addCriterion("address is null"); + return (Criteria) this; + } + + public Criteria andAddressIsNotNull() { + addCriterion("address is not null"); + return (Criteria) this; + } + + public Criteria andAddressEqualTo(String value) { + addCriterion("address =", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressNotEqualTo(String value) { + addCriterion("address <>", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressGreaterThan(String value) { + addCriterion("address >", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressGreaterThanOrEqualTo(String value) { + addCriterion("address >=", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressLessThan(String value) { + addCriterion("address <", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressLessThanOrEqualTo(String value) { + addCriterion("address <=", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressLike(String value) { + addCriterion("address like", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressNotLike(String value) { + addCriterion("address not like", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressIn(List values) { + addCriterion("address in", values, "address"); + return (Criteria) this; + } + + public Criteria andAddressNotIn(List values) { + addCriterion("address not in", values, "address"); + return (Criteria) this; + } + + public Criteria andAddressBetween(String value1, String value2) { + addCriterion("address between", value1, value2, "address"); + return (Criteria) this; + } + + public Criteria andAddressNotBetween(String value1, String value2) { + addCriterion("address not between", value1, value2, "address"); + return (Criteria) this; + } + + public Criteria andGradeIsNull() { + addCriterion("grade is null"); + return (Criteria) this; + } + + public Criteria andGradeIsNotNull() { + addCriterion("grade is not null"); + return (Criteria) this; + } + + public Criteria andGradeEqualTo(String value) { + addCriterion("grade =", value, "grade"); + return (Criteria) this; + } + + public Criteria andGradeNotEqualTo(String value) { + addCriterion("grade <>", value, "grade"); + return (Criteria) this; + } + + public Criteria andGradeGreaterThan(String value) { + addCriterion("grade >", value, "grade"); + return (Criteria) this; + } + + public Criteria andGradeGreaterThanOrEqualTo(String value) { + addCriterion("grade >=", value, "grade"); + return (Criteria) this; + } + + public Criteria andGradeLessThan(String value) { + addCriterion("grade <", value, "grade"); + return (Criteria) this; + } + + public Criteria andGradeLessThanOrEqualTo(String value) { + addCriterion("grade <=", value, "grade"); + return (Criteria) this; + } + + public Criteria andGradeLike(String value) { + addCriterion("grade like", value, "grade"); + return (Criteria) this; + } + + public Criteria andGradeNotLike(String value) { + addCriterion("grade not like", value, "grade"); + return (Criteria) this; + } + + public Criteria andGradeIn(List values) { + addCriterion("grade in", values, "grade"); + return (Criteria) this; + } + + public Criteria andGradeNotIn(List values) { + addCriterion("grade not in", values, "grade"); + return (Criteria) this; + } + + public Criteria andGradeBetween(String value1, String value2) { + addCriterion("grade between", value1, value2, "grade"); + return (Criteria) this; + } + + public Criteria andGradeNotBetween(String value1, String value2) { + addCriterion("grade not between", value1, value2, "grade"); + return (Criteria) this; + } + + public Criteria andStuClassIsNull() { + addCriterion("stu_class is null"); + return (Criteria) this; + } + + public Criteria andStuClassIsNotNull() { + addCriterion("stu_class is not null"); + return (Criteria) this; + } + + public Criteria andStuClassEqualTo(String value) { + addCriterion("stu_class =", value, "stuClass"); + return (Criteria) this; + } + + public Criteria andStuClassNotEqualTo(String value) { + addCriterion("stu_class <>", value, "stuClass"); + return (Criteria) this; + } + + public Criteria andStuClassGreaterThan(String value) { + addCriterion("stu_class >", value, "stuClass"); + return (Criteria) this; + } + + public Criteria andStuClassGreaterThanOrEqualTo(String value) { + addCriterion("stu_class >=", value, "stuClass"); + return (Criteria) this; + } + + public Criteria andStuClassLessThan(String value) { + addCriterion("stu_class <", value, "stuClass"); + return (Criteria) this; + } + + public Criteria andStuClassLessThanOrEqualTo(String value) { + addCriterion("stu_class <=", value, "stuClass"); + return (Criteria) this; + } + + public Criteria andStuClassLike(String value) { + addCriterion("stu_class like", value, "stuClass"); + return (Criteria) this; + } + + public Criteria andStuClassNotLike(String value) { + addCriterion("stu_class not like", value, "stuClass"); + return (Criteria) this; + } + + public Criteria andStuClassIn(List values) { + addCriterion("stu_class in", values, "stuClass"); + return (Criteria) this; + } + + public Criteria andStuClassNotIn(List values) { + addCriterion("stu_class not in", values, "stuClass"); + return (Criteria) this; + } + + public Criteria andStuClassBetween(String value1, String value2) { + addCriterion("stu_class between", value1, value2, "stuClass"); + return (Criteria) this; + } + + public Criteria andStuClassNotBetween(String value1, String value2) { + addCriterion("stu_class not between", value1, value2, "stuClass"); + return (Criteria) this; + } + + public Criteria andOperatorIsNull() { + addCriterion("operator is null"); + return (Criteria) this; + } + + public Criteria andOperatorIsNotNull() { + addCriterion("operator is not null"); + return (Criteria) this; + } + + public Criteria andOperatorEqualTo(Long value) { + addCriterion("operator =", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorNotEqualTo(Long value) { + addCriterion("operator <>", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorGreaterThan(Long value) { + addCriterion("operator >", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorGreaterThanOrEqualTo(Long value) { + addCriterion("operator >=", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorLessThan(Long value) { + addCriterion("operator <", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorLessThanOrEqualTo(Long value) { + addCriterion("operator <=", value, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorIn(List values) { + addCriterion("operator in", values, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorNotIn(List values) { + addCriterion("operator not in", values, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorBetween(Long value1, Long value2) { + addCriterion("operator between", value1, value2, "operator"); + return (Criteria) this; + } + + public Criteria andOperatorNotBetween(Long value1, Long value2) { + addCriterion("operator not between", value1, value2, "operator"); + return (Criteria) this; + } + + public Criteria andCreatedAtIsNull() { + addCriterion("created_at is null"); + return (Criteria) this; + } + + public Criteria andCreatedAtIsNotNull() { + addCriterion("created_at is not null"); + return (Criteria) this; + } + + public Criteria andCreatedAtEqualTo(Date value) { + addCriterion("created_at =", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtNotEqualTo(Date value) { + addCriterion("created_at <>", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtGreaterThan(Date value) { + addCriterion("created_at >", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtGreaterThanOrEqualTo(Date value) { + addCriterion("created_at >=", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtLessThan(Date value) { + addCriterion("created_at <", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtLessThanOrEqualTo(Date value) { + addCriterion("created_at <=", value, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtIn(List values) { + addCriterion("created_at in", values, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtNotIn(List values) { + addCriterion("created_at not in", values, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtBetween(Date value1, Date value2) { + addCriterion("created_at between", value1, value2, "createdAt"); + return (Criteria) this; + } + + public Criteria andCreatedAtNotBetween(Date value1, Date value2) { + addCriterion("created_at not between", value1, value2, "createdAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtIsNull() { + addCriterion("updated_at is null"); + return (Criteria) this; + } + + public Criteria andUpdatedAtIsNotNull() { + addCriterion("updated_at is not null"); + return (Criteria) this; + } + + public Criteria andUpdatedAtEqualTo(Date value) { + addCriterion("updated_at =", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtNotEqualTo(Date value) { + addCriterion("updated_at <>", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtGreaterThan(Date value) { + addCriterion("updated_at >", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtGreaterThanOrEqualTo(Date value) { + addCriterion("updated_at >=", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtLessThan(Date value) { + addCriterion("updated_at <", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtLessThanOrEqualTo(Date value) { + addCriterion("updated_at <=", value, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtIn(List values) { + addCriterion("updated_at in", values, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtNotIn(List values) { + addCriterion("updated_at not in", values, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtBetween(Date value1, Date value2) { + addCriterion("updated_at between", value1, value2, "updatedAt"); + return (Criteria) this; + } + + public Criteria andUpdatedAtNotBetween(Date value1, Date value2) { + addCriterion("updated_at not between", value1, value2, "updatedAt"); + return (Criteria) this; + } + + public Criteria andRecStatusIsNull() { + addCriterion("rec_status is null"); + return (Criteria) this; + } + + public Criteria andRecStatusIsNotNull() { + addCriterion("rec_status is not null"); + return (Criteria) this; + } + + public Criteria andRecStatusEqualTo(Byte value) { + addCriterion("rec_status =", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusNotEqualTo(Byte value) { + addCriterion("rec_status <>", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusGreaterThan(Byte value) { + addCriterion("rec_status >", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusGreaterThanOrEqualTo(Byte value) { + addCriterion("rec_status >=", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusLessThan(Byte value) { + addCriterion("rec_status <", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusLessThanOrEqualTo(Byte value) { + addCriterion("rec_status <=", value, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusIn(List values) { + addCriterion("rec_status in", values, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusNotIn(List values) { + addCriterion("rec_status not in", values, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusBetween(Byte value1, Byte value2) { + addCriterion("rec_status between", value1, value2, "recStatus"); + return (Criteria) this; + } + + public Criteria andRecStatusNotBetween(Byte value1, Byte value2) { + addCriterion("rec_status not between", value1, value2, "recStatus"); + 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); + } + } +} \ No newline at end of file diff --git a/src/main/java/com/ccsens/delivery/persist/mapper/RecordHealthMapper.java b/src/main/java/com/ccsens/delivery/persist/mapper/RecordHealthMapper.java new file mode 100644 index 0000000..f3100ff --- /dev/null +++ b/src/main/java/com/ccsens/delivery/persist/mapper/RecordHealthMapper.java @@ -0,0 +1,30 @@ +package com.ccsens.delivery.persist.mapper; + +import com.ccsens.delivery.bean.po.RecordHealth; +import com.ccsens.delivery.bean.po.RecordHealthExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface RecordHealthMapper { + long countByExample(RecordHealthExample example); + + int deleteByExample(RecordHealthExample example); + + int deleteByPrimaryKey(Long id); + + int insert(RecordHealth record); + + int insertSelective(RecordHealth record); + + List selectByExample(RecordHealthExample example); + + RecordHealth selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") RecordHealth record, @Param("example") RecordHealthExample example); + + int updateByExample(@Param("record") RecordHealth record, @Param("example") RecordHealthExample example); + + int updateByPrimaryKeySelective(RecordHealth record); + + int updateByPrimaryKey(RecordHealth record); +} \ No newline at end of file diff --git a/src/main/java/com/ccsens/delivery/persist/mapper/RecordMaterialDetailMapper.java b/src/main/java/com/ccsens/delivery/persist/mapper/RecordMaterialDetailMapper.java new file mode 100644 index 0000000..9a7862b --- /dev/null +++ b/src/main/java/com/ccsens/delivery/persist/mapper/RecordMaterialDetailMapper.java @@ -0,0 +1,30 @@ +package com.ccsens.delivery.persist.mapper; + +import com.ccsens.delivery.bean.po.RecordMaterialDetail; +import com.ccsens.delivery.bean.po.RecordMaterialDetailExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface RecordMaterialDetailMapper { + long countByExample(RecordMaterialDetailExample example); + + int deleteByExample(RecordMaterialDetailExample example); + + int deleteByPrimaryKey(Long id); + + int insert(RecordMaterialDetail record); + + int insertSelective(RecordMaterialDetail record); + + List selectByExample(RecordMaterialDetailExample example); + + RecordMaterialDetail selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") RecordMaterialDetail record, @Param("example") RecordMaterialDetailExample example); + + int updateByExample(@Param("record") RecordMaterialDetail record, @Param("example") RecordMaterialDetailExample example); + + int updateByPrimaryKeySelective(RecordMaterialDetail record); + + int updateByPrimaryKey(RecordMaterialDetail record); +} \ No newline at end of file diff --git a/src/main/java/com/ccsens/delivery/persist/mapper/RecordMaterialMapper.java b/src/main/java/com/ccsens/delivery/persist/mapper/RecordMaterialMapper.java new file mode 100644 index 0000000..a2fb5f1 --- /dev/null +++ b/src/main/java/com/ccsens/delivery/persist/mapper/RecordMaterialMapper.java @@ -0,0 +1,30 @@ +package com.ccsens.delivery.persist.mapper; + +import com.ccsens.delivery.bean.po.RecordMaterial; +import com.ccsens.delivery.bean.po.RecordMaterialExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface RecordMaterialMapper { + long countByExample(RecordMaterialExample example); + + int deleteByExample(RecordMaterialExample example); + + int deleteByPrimaryKey(Long id); + + int insert(RecordMaterial record); + + int insertSelective(RecordMaterial record); + + List selectByExample(RecordMaterialExample example); + + RecordMaterial selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") RecordMaterial record, @Param("example") RecordMaterialExample example); + + int updateByExample(@Param("record") RecordMaterial record, @Param("example") RecordMaterialExample example); + + int updateByPrimaryKeySelective(RecordMaterial record); + + int updateByPrimaryKey(RecordMaterial record); +} \ No newline at end of file diff --git a/src/main/java/com/ccsens/delivery/persist/mapper/RecordTrailsDetailMapper.java b/src/main/java/com/ccsens/delivery/persist/mapper/RecordTrailsDetailMapper.java new file mode 100644 index 0000000..ae28088 --- /dev/null +++ b/src/main/java/com/ccsens/delivery/persist/mapper/RecordTrailsDetailMapper.java @@ -0,0 +1,30 @@ +package com.ccsens.delivery.persist.mapper; + +import com.ccsens.delivery.bean.po.RecordTrailsDetail; +import com.ccsens.delivery.bean.po.RecordTrailsDetailExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface RecordTrailsDetailMapper { + long countByExample(RecordTrailsDetailExample example); + + int deleteByExample(RecordTrailsDetailExample example); + + int deleteByPrimaryKey(Long id); + + int insert(RecordTrailsDetail record); + + int insertSelective(RecordTrailsDetail record); + + List selectByExample(RecordTrailsDetailExample example); + + RecordTrailsDetail selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") RecordTrailsDetail record, @Param("example") RecordTrailsDetailExample example); + + int updateByExample(@Param("record") RecordTrailsDetail record, @Param("example") RecordTrailsDetailExample example); + + int updateByPrimaryKeySelective(RecordTrailsDetail record); + + int updateByPrimaryKey(RecordTrailsDetail record); +} \ No newline at end of file diff --git a/src/main/java/com/ccsens/delivery/persist/mapper/RecordTrailsMapper.java b/src/main/java/com/ccsens/delivery/persist/mapper/RecordTrailsMapper.java new file mode 100644 index 0000000..0700e81 --- /dev/null +++ b/src/main/java/com/ccsens/delivery/persist/mapper/RecordTrailsMapper.java @@ -0,0 +1,30 @@ +package com.ccsens.delivery.persist.mapper; + +import com.ccsens.delivery.bean.po.RecordTrails; +import com.ccsens.delivery.bean.po.RecordTrailsExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface RecordTrailsMapper { + long countByExample(RecordTrailsExample example); + + int deleteByExample(RecordTrailsExample example); + + int deleteByPrimaryKey(Long id); + + int insert(RecordTrails record); + + int insertSelective(RecordTrails record); + + List selectByExample(RecordTrailsExample example); + + RecordTrails selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") RecordTrails record, @Param("example") RecordTrailsExample example); + + int updateByExample(@Param("record") RecordTrails record, @Param("example") RecordTrailsExample example); + + int updateByPrimaryKeySelective(RecordTrails record); + + int updateByPrimaryKey(RecordTrails record); +} \ No newline at end of file diff --git a/src/main/java/com/ccsens/delivery/persist/mapper/SysMaterialMapper.java b/src/main/java/com/ccsens/delivery/persist/mapper/SysMaterialMapper.java new file mode 100644 index 0000000..0cb20f3 --- /dev/null +++ b/src/main/java/com/ccsens/delivery/persist/mapper/SysMaterialMapper.java @@ -0,0 +1,30 @@ +package com.ccsens.delivery.persist.mapper; + +import com.ccsens.delivery.bean.po.SysMaterial; +import com.ccsens.delivery.bean.po.SysMaterialExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface SysMaterialMapper { + long countByExample(SysMaterialExample example); + + int deleteByExample(SysMaterialExample example); + + int deleteByPrimaryKey(Long id); + + int insert(SysMaterial record); + + int insertSelective(SysMaterial record); + + List selectByExample(SysMaterialExample example); + + SysMaterial selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") SysMaterial record, @Param("example") SysMaterialExample example); + + int updateByExample(@Param("record") SysMaterial record, @Param("example") SysMaterialExample example); + + int updateByPrimaryKeySelective(SysMaterial record); + + int updateByPrimaryKey(SysMaterial record); +} \ No newline at end of file diff --git a/src/main/java/com/ccsens/delivery/persist/mapper/SysUserInfoMapper.java b/src/main/java/com/ccsens/delivery/persist/mapper/SysUserInfoMapper.java new file mode 100644 index 0000000..cfaac5a --- /dev/null +++ b/src/main/java/com/ccsens/delivery/persist/mapper/SysUserInfoMapper.java @@ -0,0 +1,30 @@ +package com.ccsens.delivery.persist.mapper; + +import com.ccsens.delivery.bean.po.SysUserInfo; +import com.ccsens.delivery.bean.po.SysUserInfoExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface SysUserInfoMapper { + long countByExample(SysUserInfoExample example); + + int deleteByExample(SysUserInfoExample example); + + int deleteByPrimaryKey(Long id); + + int insert(SysUserInfo record); + + int insertSelective(SysUserInfo record); + + List selectByExample(SysUserInfoExample example); + + SysUserInfo selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") SysUserInfo record, @Param("example") SysUserInfoExample example); + + int updateByExample(@Param("record") SysUserInfo record, @Param("example") SysUserInfoExample example); + + int updateByPrimaryKeySelective(SysUserInfo record); + + int updateByPrimaryKey(SysUserInfo record); +} \ No newline at end of file diff --git a/src/main/resources/mapper_raw/RecordHealthMapper.xml b/src/main/resources/mapper_raw/RecordHealthMapper.xml new file mode 100644 index 0000000..95072f7 --- /dev/null +++ b/src/main/resources/mapper_raw/RecordHealthMapper.xml @@ -0,0 +1,275 @@ + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, user_id, type, file_id, submit_time, operator, created_at, updated_at, rec_status + + + + + delete from t_record_health + where id = #{id,jdbcType=BIGINT} + + + delete from t_record_health + + + + + + insert into t_record_health (id, user_id, type, + file_id, submit_time, operator, + created_at, updated_at, rec_status + ) + values (#{id,jdbcType=BIGINT}, #{userId,jdbcType=BIGINT}, #{type,jdbcType=TINYINT}, + #{fileId,jdbcType=VARCHAR}, #{submitTime,jdbcType=BIGINT}, #{operator,jdbcType=BIGINT}, + #{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP}, #{recStatus,jdbcType=TINYINT} + ) + + + insert into t_record_health + + + id, + + + user_id, + + + type, + + + file_id, + + + submit_time, + + + operator, + + + created_at, + + + updated_at, + + + rec_status, + + + + + #{id,jdbcType=BIGINT}, + + + #{userId,jdbcType=BIGINT}, + + + #{type,jdbcType=TINYINT}, + + + #{fileId,jdbcType=VARCHAR}, + + + #{submitTime,jdbcType=BIGINT}, + + + #{operator,jdbcType=BIGINT}, + + + #{createdAt,jdbcType=TIMESTAMP}, + + + #{updatedAt,jdbcType=TIMESTAMP}, + + + #{recStatus,jdbcType=TINYINT}, + + + + + + update t_record_health + + + id = #{record.id,jdbcType=BIGINT}, + + + user_id = #{record.userId,jdbcType=BIGINT}, + + + type = #{record.type,jdbcType=TINYINT}, + + + file_id = #{record.fileId,jdbcType=VARCHAR}, + + + submit_time = #{record.submitTime,jdbcType=BIGINT}, + + + operator = #{record.operator,jdbcType=BIGINT}, + + + created_at = #{record.createdAt,jdbcType=TIMESTAMP}, + + + updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, + + + rec_status = #{record.recStatus,jdbcType=TINYINT}, + + + + + + + + update t_record_health + set id = #{record.id,jdbcType=BIGINT}, + user_id = #{record.userId,jdbcType=BIGINT}, + type = #{record.type,jdbcType=TINYINT}, + file_id = #{record.fileId,jdbcType=VARCHAR}, + submit_time = #{record.submitTime,jdbcType=BIGINT}, + operator = #{record.operator,jdbcType=BIGINT}, + created_at = #{record.createdAt,jdbcType=TIMESTAMP}, + updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, + rec_status = #{record.recStatus,jdbcType=TINYINT} + + + + + + update t_record_health + + + user_id = #{userId,jdbcType=BIGINT}, + + + type = #{type,jdbcType=TINYINT}, + + + file_id = #{fileId,jdbcType=VARCHAR}, + + + submit_time = #{submitTime,jdbcType=BIGINT}, + + + operator = #{operator,jdbcType=BIGINT}, + + + created_at = #{createdAt,jdbcType=TIMESTAMP}, + + + updated_at = #{updatedAt,jdbcType=TIMESTAMP}, + + + rec_status = #{recStatus,jdbcType=TINYINT}, + + + where id = #{id,jdbcType=BIGINT} + + + update t_record_health + set user_id = #{userId,jdbcType=BIGINT}, + type = #{type,jdbcType=TINYINT}, + file_id = #{fileId,jdbcType=VARCHAR}, + submit_time = #{submitTime,jdbcType=BIGINT}, + operator = #{operator,jdbcType=BIGINT}, + created_at = #{createdAt,jdbcType=TIMESTAMP}, + updated_at = #{updatedAt,jdbcType=TIMESTAMP}, + rec_status = #{recStatus,jdbcType=TINYINT} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/src/main/resources/mapper_raw/RecordMaterialDetailMapper.xml b/src/main/resources/mapper_raw/RecordMaterialDetailMapper.xml new file mode 100644 index 0000000..4240532 --- /dev/null +++ b/src/main/resources/mapper_raw/RecordMaterialDetailMapper.xml @@ -0,0 +1,258 @@ + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, record_material_id, material_id, num, operator, created_at, updated_at, rec_status + + + + + delete from t_record_material_detail + where id = #{id,jdbcType=BIGINT} + + + delete from t_record_material_detail + + + + + + insert into t_record_material_detail (id, record_material_id, material_id, + num, operator, created_at, + updated_at, rec_status) + values (#{id,jdbcType=BIGINT}, #{recordMaterialId,jdbcType=BIGINT}, #{materialId,jdbcType=BIGINT}, + #{num,jdbcType=INTEGER}, #{operator,jdbcType=BIGINT}, #{createdAt,jdbcType=TIMESTAMP}, + #{updatedAt,jdbcType=TIMESTAMP}, #{recStatus,jdbcType=TINYINT}) + + + insert into t_record_material_detail + + + id, + + + record_material_id, + + + material_id, + + + num, + + + operator, + + + created_at, + + + updated_at, + + + rec_status, + + + + + #{id,jdbcType=BIGINT}, + + + #{recordMaterialId,jdbcType=BIGINT}, + + + #{materialId,jdbcType=BIGINT}, + + + #{num,jdbcType=INTEGER}, + + + #{operator,jdbcType=BIGINT}, + + + #{createdAt,jdbcType=TIMESTAMP}, + + + #{updatedAt,jdbcType=TIMESTAMP}, + + + #{recStatus,jdbcType=TINYINT}, + + + + + + update t_record_material_detail + + + id = #{record.id,jdbcType=BIGINT}, + + + record_material_id = #{record.recordMaterialId,jdbcType=BIGINT}, + + + material_id = #{record.materialId,jdbcType=BIGINT}, + + + num = #{record.num,jdbcType=INTEGER}, + + + operator = #{record.operator,jdbcType=BIGINT}, + + + created_at = #{record.createdAt,jdbcType=TIMESTAMP}, + + + updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, + + + rec_status = #{record.recStatus,jdbcType=TINYINT}, + + + + + + + + update t_record_material_detail + set id = #{record.id,jdbcType=BIGINT}, + record_material_id = #{record.recordMaterialId,jdbcType=BIGINT}, + material_id = #{record.materialId,jdbcType=BIGINT}, + num = #{record.num,jdbcType=INTEGER}, + operator = #{record.operator,jdbcType=BIGINT}, + created_at = #{record.createdAt,jdbcType=TIMESTAMP}, + updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, + rec_status = #{record.recStatus,jdbcType=TINYINT} + + + + + + update t_record_material_detail + + + record_material_id = #{recordMaterialId,jdbcType=BIGINT}, + + + material_id = #{materialId,jdbcType=BIGINT}, + + + num = #{num,jdbcType=INTEGER}, + + + operator = #{operator,jdbcType=BIGINT}, + + + created_at = #{createdAt,jdbcType=TIMESTAMP}, + + + updated_at = #{updatedAt,jdbcType=TIMESTAMP}, + + + rec_status = #{recStatus,jdbcType=TINYINT}, + + + where id = #{id,jdbcType=BIGINT} + + + update t_record_material_detail + set record_material_id = #{recordMaterialId,jdbcType=BIGINT}, + material_id = #{materialId,jdbcType=BIGINT}, + num = #{num,jdbcType=INTEGER}, + operator = #{operator,jdbcType=BIGINT}, + created_at = #{createdAt,jdbcType=TIMESTAMP}, + updated_at = #{updatedAt,jdbcType=TIMESTAMP}, + rec_status = #{recStatus,jdbcType=TINYINT} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/src/main/resources/mapper_raw/RecordMaterialMapper.xml b/src/main/resources/mapper_raw/RecordMaterialMapper.xml new file mode 100644 index 0000000..6b66426 --- /dev/null +++ b/src/main/resources/mapper_raw/RecordMaterialMapper.xml @@ -0,0 +1,306 @@ + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, user_id, submit_time, plan_time, real_time, status, remark, operator, created_at, + updated_at, rec_status + + + + + delete from t_record_material + where id = #{id,jdbcType=BIGINT} + + + delete from t_record_material + + + + + + insert into t_record_material (id, user_id, submit_time, + plan_time, real_time, status, + remark, operator, created_at, + updated_at, rec_status) + values (#{id,jdbcType=BIGINT}, #{userId,jdbcType=BIGINT}, #{submitTime,jdbcType=BIGINT}, + #{planTime,jdbcType=BIGINT}, #{realTime,jdbcType=BIGINT}, #{status,jdbcType=TINYINT}, + #{remark,jdbcType=VARCHAR}, #{operator,jdbcType=BIGINT}, #{createdAt,jdbcType=TIMESTAMP}, + #{updatedAt,jdbcType=TIMESTAMP}, #{recStatus,jdbcType=TINYINT}) + + + insert into t_record_material + + + id, + + + user_id, + + + submit_time, + + + plan_time, + + + real_time, + + + status, + + + remark, + + + operator, + + + created_at, + + + updated_at, + + + rec_status, + + + + + #{id,jdbcType=BIGINT}, + + + #{userId,jdbcType=BIGINT}, + + + #{submitTime,jdbcType=BIGINT}, + + + #{planTime,jdbcType=BIGINT}, + + + #{realTime,jdbcType=BIGINT}, + + + #{status,jdbcType=TINYINT}, + + + #{remark,jdbcType=VARCHAR}, + + + #{operator,jdbcType=BIGINT}, + + + #{createdAt,jdbcType=TIMESTAMP}, + + + #{updatedAt,jdbcType=TIMESTAMP}, + + + #{recStatus,jdbcType=TINYINT}, + + + + + + update t_record_material + + + id = #{record.id,jdbcType=BIGINT}, + + + user_id = #{record.userId,jdbcType=BIGINT}, + + + submit_time = #{record.submitTime,jdbcType=BIGINT}, + + + plan_time = #{record.planTime,jdbcType=BIGINT}, + + + real_time = #{record.realTime,jdbcType=BIGINT}, + + + status = #{record.status,jdbcType=TINYINT}, + + + remark = #{record.remark,jdbcType=VARCHAR}, + + + operator = #{record.operator,jdbcType=BIGINT}, + + + created_at = #{record.createdAt,jdbcType=TIMESTAMP}, + + + updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, + + + rec_status = #{record.recStatus,jdbcType=TINYINT}, + + + + + + + + update t_record_material + set id = #{record.id,jdbcType=BIGINT}, + user_id = #{record.userId,jdbcType=BIGINT}, + submit_time = #{record.submitTime,jdbcType=BIGINT}, + plan_time = #{record.planTime,jdbcType=BIGINT}, + real_time = #{record.realTime,jdbcType=BIGINT}, + status = #{record.status,jdbcType=TINYINT}, + remark = #{record.remark,jdbcType=VARCHAR}, + operator = #{record.operator,jdbcType=BIGINT}, + created_at = #{record.createdAt,jdbcType=TIMESTAMP}, + updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, + rec_status = #{record.recStatus,jdbcType=TINYINT} + + + + + + update t_record_material + + + user_id = #{userId,jdbcType=BIGINT}, + + + submit_time = #{submitTime,jdbcType=BIGINT}, + + + plan_time = #{planTime,jdbcType=BIGINT}, + + + real_time = #{realTime,jdbcType=BIGINT}, + + + status = #{status,jdbcType=TINYINT}, + + + remark = #{remark,jdbcType=VARCHAR}, + + + operator = #{operator,jdbcType=BIGINT}, + + + created_at = #{createdAt,jdbcType=TIMESTAMP}, + + + updated_at = #{updatedAt,jdbcType=TIMESTAMP}, + + + rec_status = #{recStatus,jdbcType=TINYINT}, + + + where id = #{id,jdbcType=BIGINT} + + + update t_record_material + set user_id = #{userId,jdbcType=BIGINT}, + submit_time = #{submitTime,jdbcType=BIGINT}, + plan_time = #{planTime,jdbcType=BIGINT}, + real_time = #{realTime,jdbcType=BIGINT}, + status = #{status,jdbcType=TINYINT}, + remark = #{remark,jdbcType=VARCHAR}, + operator = #{operator,jdbcType=BIGINT}, + created_at = #{createdAt,jdbcType=TIMESTAMP}, + updated_at = #{updatedAt,jdbcType=TIMESTAMP}, + rec_status = #{recStatus,jdbcType=TINYINT} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/src/main/resources/mapper_raw/RecordTrailsDetailMapper.xml b/src/main/resources/mapper_raw/RecordTrailsDetailMapper.xml new file mode 100644 index 0000000..2c4eb52 --- /dev/null +++ b/src/main/resources/mapper_raw/RecordTrailsDetailMapper.xml @@ -0,0 +1,306 @@ + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, record_trails_id, start_time, end_time, trails_detail, vehicle, mask, operator, + created_at, updated_at, rec_status + + + + + delete from t_record_trails_detail + where id = #{id,jdbcType=BIGINT} + + + delete from t_record_trails_detail + + + + + + insert into t_record_trails_detail (id, record_trails_id, start_time, + end_time, trails_detail, vehicle, + mask, operator, created_at, + updated_at, rec_status) + values (#{id,jdbcType=BIGINT}, #{recordTrailsId,jdbcType=BIGINT}, #{startTime,jdbcType=BIGINT}, + #{endTime,jdbcType=BIGINT}, #{trailsDetail,jdbcType=VARCHAR}, #{vehicle,jdbcType=VARCHAR}, + #{mask,jdbcType=TINYINT}, #{operator,jdbcType=BIGINT}, #{createdAt,jdbcType=TIMESTAMP}, + #{updatedAt,jdbcType=TIMESTAMP}, #{recStatus,jdbcType=TINYINT}) + + + insert into t_record_trails_detail + + + id, + + + record_trails_id, + + + start_time, + + + end_time, + + + trails_detail, + + + vehicle, + + + mask, + + + operator, + + + created_at, + + + updated_at, + + + rec_status, + + + + + #{id,jdbcType=BIGINT}, + + + #{recordTrailsId,jdbcType=BIGINT}, + + + #{startTime,jdbcType=BIGINT}, + + + #{endTime,jdbcType=BIGINT}, + + + #{trailsDetail,jdbcType=VARCHAR}, + + + #{vehicle,jdbcType=VARCHAR}, + + + #{mask,jdbcType=TINYINT}, + + + #{operator,jdbcType=BIGINT}, + + + #{createdAt,jdbcType=TIMESTAMP}, + + + #{updatedAt,jdbcType=TIMESTAMP}, + + + #{recStatus,jdbcType=TINYINT}, + + + + + + update t_record_trails_detail + + + id = #{record.id,jdbcType=BIGINT}, + + + record_trails_id = #{record.recordTrailsId,jdbcType=BIGINT}, + + + start_time = #{record.startTime,jdbcType=BIGINT}, + + + end_time = #{record.endTime,jdbcType=BIGINT}, + + + trails_detail = #{record.trailsDetail,jdbcType=VARCHAR}, + + + vehicle = #{record.vehicle,jdbcType=VARCHAR}, + + + mask = #{record.mask,jdbcType=TINYINT}, + + + operator = #{record.operator,jdbcType=BIGINT}, + + + created_at = #{record.createdAt,jdbcType=TIMESTAMP}, + + + updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, + + + rec_status = #{record.recStatus,jdbcType=TINYINT}, + + + + + + + + update t_record_trails_detail + set id = #{record.id,jdbcType=BIGINT}, + record_trails_id = #{record.recordTrailsId,jdbcType=BIGINT}, + start_time = #{record.startTime,jdbcType=BIGINT}, + end_time = #{record.endTime,jdbcType=BIGINT}, + trails_detail = #{record.trailsDetail,jdbcType=VARCHAR}, + vehicle = #{record.vehicle,jdbcType=VARCHAR}, + mask = #{record.mask,jdbcType=TINYINT}, + operator = #{record.operator,jdbcType=BIGINT}, + created_at = #{record.createdAt,jdbcType=TIMESTAMP}, + updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, + rec_status = #{record.recStatus,jdbcType=TINYINT} + + + + + + update t_record_trails_detail + + + record_trails_id = #{recordTrailsId,jdbcType=BIGINT}, + + + start_time = #{startTime,jdbcType=BIGINT}, + + + end_time = #{endTime,jdbcType=BIGINT}, + + + trails_detail = #{trailsDetail,jdbcType=VARCHAR}, + + + vehicle = #{vehicle,jdbcType=VARCHAR}, + + + mask = #{mask,jdbcType=TINYINT}, + + + operator = #{operator,jdbcType=BIGINT}, + + + created_at = #{createdAt,jdbcType=TIMESTAMP}, + + + updated_at = #{updatedAt,jdbcType=TIMESTAMP}, + + + rec_status = #{recStatus,jdbcType=TINYINT}, + + + where id = #{id,jdbcType=BIGINT} + + + update t_record_trails_detail + set record_trails_id = #{recordTrailsId,jdbcType=BIGINT}, + start_time = #{startTime,jdbcType=BIGINT}, + end_time = #{endTime,jdbcType=BIGINT}, + trails_detail = #{trailsDetail,jdbcType=VARCHAR}, + vehicle = #{vehicle,jdbcType=VARCHAR}, + mask = #{mask,jdbcType=TINYINT}, + operator = #{operator,jdbcType=BIGINT}, + created_at = #{createdAt,jdbcType=TIMESTAMP}, + updated_at = #{updatedAt,jdbcType=TIMESTAMP}, + rec_status = #{recStatus,jdbcType=TINYINT} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/src/main/resources/mapper_raw/RecordTrailsMapper.xml b/src/main/resources/mapper_raw/RecordTrailsMapper.xml new file mode 100644 index 0000000..5cbd564 --- /dev/null +++ b/src/main/resources/mapper_raw/RecordTrailsMapper.xml @@ -0,0 +1,276 @@ + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, user_id, trails_date, submit_time, remark, operator, created_at, updated_at, + rec_status + + + + + delete from t_record_trails + where id = #{id,jdbcType=BIGINT} + + + delete from t_record_trails + + + + + + insert into t_record_trails (id, user_id, trails_date, + submit_time, remark, operator, + created_at, updated_at, rec_status + ) + values (#{id,jdbcType=BIGINT}, #{userId,jdbcType=BIGINT}, #{trailsDate,jdbcType=VARCHAR}, + #{submitTime,jdbcType=BIGINT}, #{remark,jdbcType=VARCHAR}, #{operator,jdbcType=BIGINT}, + #{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP}, #{recStatus,jdbcType=TINYINT} + ) + + + insert into t_record_trails + + + id, + + + user_id, + + + trails_date, + + + submit_time, + + + remark, + + + operator, + + + created_at, + + + updated_at, + + + rec_status, + + + + + #{id,jdbcType=BIGINT}, + + + #{userId,jdbcType=BIGINT}, + + + #{trailsDate,jdbcType=VARCHAR}, + + + #{submitTime,jdbcType=BIGINT}, + + + #{remark,jdbcType=VARCHAR}, + + + #{operator,jdbcType=BIGINT}, + + + #{createdAt,jdbcType=TIMESTAMP}, + + + #{updatedAt,jdbcType=TIMESTAMP}, + + + #{recStatus,jdbcType=TINYINT}, + + + + + + update t_record_trails + + + id = #{record.id,jdbcType=BIGINT}, + + + user_id = #{record.userId,jdbcType=BIGINT}, + + + trails_date = #{record.trailsDate,jdbcType=VARCHAR}, + + + submit_time = #{record.submitTime,jdbcType=BIGINT}, + + + remark = #{record.remark,jdbcType=VARCHAR}, + + + operator = #{record.operator,jdbcType=BIGINT}, + + + created_at = #{record.createdAt,jdbcType=TIMESTAMP}, + + + updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, + + + rec_status = #{record.recStatus,jdbcType=TINYINT}, + + + + + + + + update t_record_trails + set id = #{record.id,jdbcType=BIGINT}, + user_id = #{record.userId,jdbcType=BIGINT}, + trails_date = #{record.trailsDate,jdbcType=VARCHAR}, + submit_time = #{record.submitTime,jdbcType=BIGINT}, + remark = #{record.remark,jdbcType=VARCHAR}, + operator = #{record.operator,jdbcType=BIGINT}, + created_at = #{record.createdAt,jdbcType=TIMESTAMP}, + updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, + rec_status = #{record.recStatus,jdbcType=TINYINT} + + + + + + update t_record_trails + + + user_id = #{userId,jdbcType=BIGINT}, + + + trails_date = #{trailsDate,jdbcType=VARCHAR}, + + + submit_time = #{submitTime,jdbcType=BIGINT}, + + + remark = #{remark,jdbcType=VARCHAR}, + + + operator = #{operator,jdbcType=BIGINT}, + + + created_at = #{createdAt,jdbcType=TIMESTAMP}, + + + updated_at = #{updatedAt,jdbcType=TIMESTAMP}, + + + rec_status = #{recStatus,jdbcType=TINYINT}, + + + where id = #{id,jdbcType=BIGINT} + + + update t_record_trails + set user_id = #{userId,jdbcType=BIGINT}, + trails_date = #{trailsDate,jdbcType=VARCHAR}, + submit_time = #{submitTime,jdbcType=BIGINT}, + remark = #{remark,jdbcType=VARCHAR}, + operator = #{operator,jdbcType=BIGINT}, + created_at = #{createdAt,jdbcType=TIMESTAMP}, + updated_at = #{updatedAt,jdbcType=TIMESTAMP}, + rec_status = #{recStatus,jdbcType=TINYINT} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/src/main/resources/mapper_raw/SysMaterialMapper.xml b/src/main/resources/mapper_raw/SysMaterialMapper.xml new file mode 100644 index 0000000..80a5149 --- /dev/null +++ b/src/main/resources/mapper_raw/SysMaterialMapper.xml @@ -0,0 +1,275 @@ + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, description, remaining, pay_max, operator, created_at, updated_at, rec_status + + + + + delete from t_sys_material + where id = #{id,jdbcType=BIGINT} + + + delete from t_sys_material + + + + + + insert into t_sys_material (id, name, description, + remaining, pay_max, operator, + created_at, updated_at, rec_status + ) + values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, + #{remaining,jdbcType=INTEGER}, #{payMax,jdbcType=INTEGER}, #{operator,jdbcType=BIGINT}, + #{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP}, #{recStatus,jdbcType=TINYINT} + ) + + + insert into t_sys_material + + + id, + + + name, + + + description, + + + remaining, + + + pay_max, + + + operator, + + + created_at, + + + updated_at, + + + rec_status, + + + + + #{id,jdbcType=BIGINT}, + + + #{name,jdbcType=VARCHAR}, + + + #{description,jdbcType=VARCHAR}, + + + #{remaining,jdbcType=INTEGER}, + + + #{payMax,jdbcType=INTEGER}, + + + #{operator,jdbcType=BIGINT}, + + + #{createdAt,jdbcType=TIMESTAMP}, + + + #{updatedAt,jdbcType=TIMESTAMP}, + + + #{recStatus,jdbcType=TINYINT}, + + + + + + update t_sys_material + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + description = #{record.description,jdbcType=VARCHAR}, + + + remaining = #{record.remaining,jdbcType=INTEGER}, + + + pay_max = #{record.payMax,jdbcType=INTEGER}, + + + operator = #{record.operator,jdbcType=BIGINT}, + + + created_at = #{record.createdAt,jdbcType=TIMESTAMP}, + + + updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, + + + rec_status = #{record.recStatus,jdbcType=TINYINT}, + + + + + + + + update t_sys_material + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + description = #{record.description,jdbcType=VARCHAR}, + remaining = #{record.remaining,jdbcType=INTEGER}, + pay_max = #{record.payMax,jdbcType=INTEGER}, + operator = #{record.operator,jdbcType=BIGINT}, + created_at = #{record.createdAt,jdbcType=TIMESTAMP}, + updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, + rec_status = #{record.recStatus,jdbcType=TINYINT} + + + + + + update t_sys_material + + + name = #{name,jdbcType=VARCHAR}, + + + description = #{description,jdbcType=VARCHAR}, + + + remaining = #{remaining,jdbcType=INTEGER}, + + + pay_max = #{payMax,jdbcType=INTEGER}, + + + operator = #{operator,jdbcType=BIGINT}, + + + created_at = #{createdAt,jdbcType=TIMESTAMP}, + + + updated_at = #{updatedAt,jdbcType=TIMESTAMP}, + + + rec_status = #{recStatus,jdbcType=TINYINT}, + + + where id = #{id,jdbcType=BIGINT} + + + update t_sys_material + set name = #{name,jdbcType=VARCHAR}, + description = #{description,jdbcType=VARCHAR}, + remaining = #{remaining,jdbcType=INTEGER}, + pay_max = #{payMax,jdbcType=INTEGER}, + operator = #{operator,jdbcType=BIGINT}, + created_at = #{createdAt,jdbcType=TIMESTAMP}, + updated_at = #{updatedAt,jdbcType=TIMESTAMP}, + rec_status = #{recStatus,jdbcType=TINYINT} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/src/main/resources/mapper_raw/SysUserInfoMapper.xml b/src/main/resources/mapper_raw/SysUserInfoMapper.xml new file mode 100644 index 0000000..87e5276 --- /dev/null +++ b/src/main/resources/mapper_raw/SysUserInfoMapper.xml @@ -0,0 +1,417 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, user_id, post, name, number, phone, id_card, college_id, college_name, dormitory_id, + dormitory_name, address, grade, stu_class, operator, created_at, updated_at, rec_status + + + + + delete from t_sys_user_info + where id = #{id,jdbcType=BIGINT} + + + delete from t_sys_user_info + + + + + + insert into t_sys_user_info (id, user_id, post, + name, number, phone, + id_card, college_id, college_name, + dormitory_id, dormitory_name, address, + grade, stu_class, operator, + created_at, updated_at, rec_status + ) + values (#{id,jdbcType=BIGINT}, #{userId,jdbcType=BIGINT}, #{post,jdbcType=TINYINT}, + #{name,jdbcType=VARCHAR}, #{number,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, + #{idCard,jdbcType=VARCHAR}, #{collegeId,jdbcType=BIGINT}, #{collegeName,jdbcType=VARCHAR}, + #{dormitoryId,jdbcType=BIGINT}, #{dormitoryName,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, + #{grade,jdbcType=VARCHAR}, #{stuClass,jdbcType=VARCHAR}, #{operator,jdbcType=BIGINT}, + #{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP}, #{recStatus,jdbcType=TINYINT} + ) + + + insert into t_sys_user_info + + + id, + + + user_id, + + + post, + + + name, + + + number, + + + phone, + + + id_card, + + + college_id, + + + college_name, + + + dormitory_id, + + + dormitory_name, + + + address, + + + grade, + + + stu_class, + + + operator, + + + created_at, + + + updated_at, + + + rec_status, + + + + + #{id,jdbcType=BIGINT}, + + + #{userId,jdbcType=BIGINT}, + + + #{post,jdbcType=TINYINT}, + + + #{name,jdbcType=VARCHAR}, + + + #{number,jdbcType=VARCHAR}, + + + #{phone,jdbcType=VARCHAR}, + + + #{idCard,jdbcType=VARCHAR}, + + + #{collegeId,jdbcType=BIGINT}, + + + #{collegeName,jdbcType=VARCHAR}, + + + #{dormitoryId,jdbcType=BIGINT}, + + + #{dormitoryName,jdbcType=VARCHAR}, + + + #{address,jdbcType=VARCHAR}, + + + #{grade,jdbcType=VARCHAR}, + + + #{stuClass,jdbcType=VARCHAR}, + + + #{operator,jdbcType=BIGINT}, + + + #{createdAt,jdbcType=TIMESTAMP}, + + + #{updatedAt,jdbcType=TIMESTAMP}, + + + #{recStatus,jdbcType=TINYINT}, + + + + + + update t_sys_user_info + + + id = #{record.id,jdbcType=BIGINT}, + + + user_id = #{record.userId,jdbcType=BIGINT}, + + + post = #{record.post,jdbcType=TINYINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + number = #{record.number,jdbcType=VARCHAR}, + + + phone = #{record.phone,jdbcType=VARCHAR}, + + + id_card = #{record.idCard,jdbcType=VARCHAR}, + + + college_id = #{record.collegeId,jdbcType=BIGINT}, + + + college_name = #{record.collegeName,jdbcType=VARCHAR}, + + + dormitory_id = #{record.dormitoryId,jdbcType=BIGINT}, + + + dormitory_name = #{record.dormitoryName,jdbcType=VARCHAR}, + + + address = #{record.address,jdbcType=VARCHAR}, + + + grade = #{record.grade,jdbcType=VARCHAR}, + + + stu_class = #{record.stuClass,jdbcType=VARCHAR}, + + + operator = #{record.operator,jdbcType=BIGINT}, + + + created_at = #{record.createdAt,jdbcType=TIMESTAMP}, + + + updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, + + + rec_status = #{record.recStatus,jdbcType=TINYINT}, + + + + + + + + update t_sys_user_info + set id = #{record.id,jdbcType=BIGINT}, + user_id = #{record.userId,jdbcType=BIGINT}, + post = #{record.post,jdbcType=TINYINT}, + name = #{record.name,jdbcType=VARCHAR}, + number = #{record.number,jdbcType=VARCHAR}, + phone = #{record.phone,jdbcType=VARCHAR}, + id_card = #{record.idCard,jdbcType=VARCHAR}, + college_id = #{record.collegeId,jdbcType=BIGINT}, + college_name = #{record.collegeName,jdbcType=VARCHAR}, + dormitory_id = #{record.dormitoryId,jdbcType=BIGINT}, + dormitory_name = #{record.dormitoryName,jdbcType=VARCHAR}, + address = #{record.address,jdbcType=VARCHAR}, + grade = #{record.grade,jdbcType=VARCHAR}, + stu_class = #{record.stuClass,jdbcType=VARCHAR}, + operator = #{record.operator,jdbcType=BIGINT}, + created_at = #{record.createdAt,jdbcType=TIMESTAMP}, + updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, + rec_status = #{record.recStatus,jdbcType=TINYINT} + + + + + + update t_sys_user_info + + + user_id = #{userId,jdbcType=BIGINT}, + + + post = #{post,jdbcType=TINYINT}, + + + name = #{name,jdbcType=VARCHAR}, + + + number = #{number,jdbcType=VARCHAR}, + + + phone = #{phone,jdbcType=VARCHAR}, + + + id_card = #{idCard,jdbcType=VARCHAR}, + + + college_id = #{collegeId,jdbcType=BIGINT}, + + + college_name = #{collegeName,jdbcType=VARCHAR}, + + + dormitory_id = #{dormitoryId,jdbcType=BIGINT}, + + + dormitory_name = #{dormitoryName,jdbcType=VARCHAR}, + + + address = #{address,jdbcType=VARCHAR}, + + + grade = #{grade,jdbcType=VARCHAR}, + + + stu_class = #{stuClass,jdbcType=VARCHAR}, + + + operator = #{operator,jdbcType=BIGINT}, + + + created_at = #{createdAt,jdbcType=TIMESTAMP}, + + + updated_at = #{updatedAt,jdbcType=TIMESTAMP}, + + + rec_status = #{recStatus,jdbcType=TINYINT}, + + + where id = #{id,jdbcType=BIGINT} + + + update t_sys_user_info + set user_id = #{userId,jdbcType=BIGINT}, + post = #{post,jdbcType=TINYINT}, + name = #{name,jdbcType=VARCHAR}, + number = #{number,jdbcType=VARCHAR}, + phone = #{phone,jdbcType=VARCHAR}, + id_card = #{idCard,jdbcType=VARCHAR}, + college_id = #{collegeId,jdbcType=BIGINT}, + college_name = #{collegeName,jdbcType=VARCHAR}, + dormitory_id = #{dormitoryId,jdbcType=BIGINT}, + dormitory_name = #{dormitoryName,jdbcType=VARCHAR}, + address = #{address,jdbcType=VARCHAR}, + grade = #{grade,jdbcType=VARCHAR}, + stu_class = #{stuClass,jdbcType=VARCHAR}, + operator = #{operator,jdbcType=BIGINT}, + created_at = #{createdAt,jdbcType=TIMESTAMP}, + updated_at = #{updatedAt,jdbcType=TIMESTAMP}, + rec_status = #{recStatus,jdbcType=TINYINT} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/src/main/resources/mbg.xml b/src/main/resources/mbg.xml index 48f2a5c..008403b 100644 --- a/src/main/resources/mbg.xml +++ b/src/main/resources/mbg.xml @@ -59,8 +59,15 @@ - + +
+ + + + + + \ No newline at end of file