diff --git a/acupuncture-admin/pom.xml b/acupuncture-admin/pom.xml index 5b7e7765..f9786c87 100644 --- a/acupuncture-admin/pom.xml +++ b/acupuncture-admin/pom.xml @@ -88,7 +88,7 @@ false ${project.artifactId} - + ${project.artifactId} diff --git a/acupuncture-admin/src/main/java/com/acupuncture/AcupunctureApplication.java b/acupuncture-admin/src/main/java/com/acupuncture/AcupunctureApplication.java index c08c3fb4..ce91df56 100644 --- a/acupuncture-admin/src/main/java/com/acupuncture/AcupunctureApplication.java +++ b/acupuncture-admin/src/main/java/com/acupuncture/AcupunctureApplication.java @@ -16,7 +16,7 @@ public class AcupunctureApplication { // System.setProperty("spring.devtools.restart.enabled", "false"); SpringApplication.run(AcupunctureApplication.class, args); - System.out.println("(♥◠‿◠)ノ゙ 若依启动成功 ლ(´ڡ`ლ)゙ \n" + + System.out.println("(♥◠‿◠)ノ゙ 针灸质控中心项目启动成功 ლ(´ڡ`ლ)゙ \n" + " .-------. ____ __ \n" + " | _ _ \\ \\ \\ / / \n" + " | ( ' ) | \\ _. / ' \n" + diff --git a/acupuncture-admin/src/main/resources/application-druid.yml b/acupuncture-admin/src/main/resources/application-dev.yml similarity index 91% rename from acupuncture-admin/src/main/resources/application-druid.yml rename to acupuncture-admin/src/main/resources/application-dev.yml index 1ec88cde..b9ac721a 100644 --- a/acupuncture-admin/src/main/resources/application-druid.yml +++ b/acupuncture-admin/src/main/resources/application-dev.yml @@ -6,9 +6,9 @@ spring: druid: # 主库数据源 master: - url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 + url: jdbc:mysql://localhost:3306/acupuncture?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 username: root - password: password + password: q7510327 # 从库数据源 slave: # 从数据源开关/默认关闭 diff --git a/acupuncture-admin/src/main/resources/application-stage.yml b/acupuncture-admin/src/main/resources/application-stage.yml new file mode 100644 index 00000000..b9ac721a --- /dev/null +++ b/acupuncture-admin/src/main/resources/application-stage.yml @@ -0,0 +1,61 @@ +# 数据源配置 +spring: + datasource: + type: com.alibaba.druid.pool.DruidDataSource + driverClassName: com.mysql.cj.jdbc.Driver + druid: + # 主库数据源 + master: + url: jdbc:mysql://localhost:3306/acupuncture?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 + username: root + password: q7510327 + # 从库数据源 + slave: + # 从数据源开关/默认关闭 + enabled: false + url: + username: + password: + # 初始连接数 + initialSize: 5 + # 最小连接池数量 + minIdle: 10 + # 最大连接池数量 + maxActive: 20 + # 配置获取连接等待超时的时间 + maxWait: 60000 + # 配置连接超时时间 + connectTimeout: 30000 + # 配置网络超时时间 + socketTimeout: 60000 + # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒 + timeBetweenEvictionRunsMillis: 60000 + # 配置一个连接在池中最小生存的时间,单位是毫秒 + minEvictableIdleTimeMillis: 300000 + # 配置一个连接在池中最大生存的时间,单位是毫秒 + maxEvictableIdleTimeMillis: 900000 + # 配置检测连接是否有效 + validationQuery: SELECT 1 FROM DUAL + testWhileIdle: true + testOnBorrow: false + testOnReturn: false + webStatFilter: + enabled: true + statViewServlet: + enabled: true + # 设置白名单,不填则允许所有访问 + allow: + url-pattern: /druid/* + # 控制台管理用户名和密码 + login-username: acupuncture + login-password: 123456 + filter: + stat: + enabled: true + # 慢SQL记录 + log-slow-sql: true + slow-sql-millis: 1000 + merge-sql: true + wall: + config: + multi-statement-allow: true \ No newline at end of file diff --git a/acupuncture-admin/src/main/resources/application.yml b/acupuncture-admin/src/main/resources/application.yml index cbbdabe6..407a9b58 100644 --- a/acupuncture-admin/src/main/resources/application.yml +++ b/acupuncture-admin/src/main/resources/application.yml @@ -52,7 +52,7 @@ spring: # 国际化资源文件路径 basename: i18n/messages profiles: - active: druid + active: dev # 文件上传 servlet: multipart: diff --git a/acupuncture-generator/pom.xml b/acupuncture-generator/pom.xml index 4861ad7e..84d14d2e 100644 --- a/acupuncture-generator/pom.xml +++ b/acupuncture-generator/pom.xml @@ -34,7 +34,28 @@ com.alibaba druid-spring-boot-starter - + + + + org.mybatis.generator + mybatis-generator-maven-plugin + 1.3.7 + + ${basedir}/src/main/resources/mbg.xml + true + + + + mysql + mysql-connector-java + 8.0.29 + + + + + + + \ No newline at end of file diff --git a/acupuncture-generator/src/main/resources/mbg.xml b/acupuncture-generator/src/main/resources/mbg.xml new file mode 100644 index 00000000..6f5d0673 --- /dev/null +++ b/acupuncture-generator/src/main/resources/mbg.xml @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+
+
+
+
+ + + + diff --git a/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/DmsTenant.java b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/DmsTenant.java new file mode 100644 index 00000000..8dd11f33 --- /dev/null +++ b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/DmsTenant.java @@ -0,0 +1,161 @@ +package com.acupuncture.system.domain.po; + +import java.io.Serializable; +import java.util.Date; + +public class DmsTenant implements Serializable { + private Long id; + + private String code; + + private String name; + + private String leader; + + private String contactPhone; + + private Long dataSourceId; + + private String status; + + private Byte delFlag; + + private String createBy; + + private Date createTime; + + private String updateBy; + + private Date updateTime; + + private String remark; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getCode() { + return code; + } + + public void setCode(String code) { + this.code = code == null ? null : code.trim(); + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name == null ? null : name.trim(); + } + + public String getLeader() { + return leader; + } + + public void setLeader(String leader) { + this.leader = leader == null ? null : leader.trim(); + } + + public String getContactPhone() { + return contactPhone; + } + + public void setContactPhone(String contactPhone) { + this.contactPhone = contactPhone == null ? null : contactPhone.trim(); + } + + public Long getDataSourceId() { + return dataSourceId; + } + + public void setDataSourceId(Long dataSourceId) { + this.dataSourceId = dataSourceId; + } + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status == null ? null : status.trim(); + } + + public Byte getDelFlag() { + return delFlag; + } + + public void setDelFlag(Byte delFlag) { + this.delFlag = delFlag; + } + + public String getCreateBy() { + return createBy; + } + + public void setCreateBy(String createBy) { + this.createBy = createBy == null ? null : createBy.trim(); + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getUpdateBy() { + return updateBy; + } + + public void setUpdateBy(String updateBy) { + this.updateBy = updateBy == null ? null : updateBy.trim(); + } + + public Date getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } + + public String getRemark() { + return remark; + } + + public void setRemark(String remark) { + this.remark = remark == null ? null : remark.trim(); + } + + @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(", code=").append(code); + sb.append(", name=").append(name); + sb.append(", leader=").append(leader); + sb.append(", contactPhone=").append(contactPhone); + sb.append(", dataSourceId=").append(dataSourceId); + sb.append(", status=").append(status); + sb.append(", delFlag=").append(delFlag); + sb.append(", createBy=").append(createBy); + sb.append(", createTime=").append(createTime); + sb.append(", updateBy=").append(updateBy); + sb.append(", updateTime=").append(updateTime); + sb.append(", remark=").append(remark); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/DmsTenantExample.java b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/DmsTenantExample.java new file mode 100644 index 00000000..99d98ebb --- /dev/null +++ b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/DmsTenantExample.java @@ -0,0 +1,1061 @@ +package com.acupuncture.system.domain.po; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class DmsTenantExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public DmsTenantExample() { + 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 andCodeIsNull() { + addCriterion("code is null"); + return (Criteria) this; + } + + public Criteria andCodeIsNotNull() { + addCriterion("code is not null"); + return (Criteria) this; + } + + public Criteria andCodeEqualTo(String value) { + addCriterion("code =", value, "code"); + return (Criteria) this; + } + + public Criteria andCodeNotEqualTo(String value) { + addCriterion("code <>", value, "code"); + return (Criteria) this; + } + + public Criteria andCodeGreaterThan(String value) { + addCriterion("code >", value, "code"); + return (Criteria) this; + } + + public Criteria andCodeGreaterThanOrEqualTo(String value) { + addCriterion("code >=", value, "code"); + return (Criteria) this; + } + + public Criteria andCodeLessThan(String value) { + addCriterion("code <", value, "code"); + return (Criteria) this; + } + + public Criteria andCodeLessThanOrEqualTo(String value) { + addCriterion("code <=", value, "code"); + return (Criteria) this; + } + + public Criteria andCodeLike(String value) { + addCriterion("code like", value, "code"); + return (Criteria) this; + } + + public Criteria andCodeNotLike(String value) { + addCriterion("code not like", value, "code"); + return (Criteria) this; + } + + public Criteria andCodeIn(List values) { + addCriterion("code in", values, "code"); + return (Criteria) this; + } + + public Criteria andCodeNotIn(List values) { + addCriterion("code not in", values, "code"); + return (Criteria) this; + } + + public Criteria andCodeBetween(String value1, String value2) { + addCriterion("code between", value1, value2, "code"); + return (Criteria) this; + } + + public Criteria andCodeNotBetween(String value1, String value2) { + addCriterion("code not between", value1, value2, "code"); + 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 andLeaderIsNull() { + addCriterion("leader is null"); + return (Criteria) this; + } + + public Criteria andLeaderIsNotNull() { + addCriterion("leader is not null"); + return (Criteria) this; + } + + public Criteria andLeaderEqualTo(String value) { + addCriterion("leader =", value, "leader"); + return (Criteria) this; + } + + public Criteria andLeaderNotEqualTo(String value) { + addCriterion("leader <>", value, "leader"); + return (Criteria) this; + } + + public Criteria andLeaderGreaterThan(String value) { + addCriterion("leader >", value, "leader"); + return (Criteria) this; + } + + public Criteria andLeaderGreaterThanOrEqualTo(String value) { + addCriterion("leader >=", value, "leader"); + return (Criteria) this; + } + + public Criteria andLeaderLessThan(String value) { + addCriterion("leader <", value, "leader"); + return (Criteria) this; + } + + public Criteria andLeaderLessThanOrEqualTo(String value) { + addCriterion("leader <=", value, "leader"); + return (Criteria) this; + } + + public Criteria andLeaderLike(String value) { + addCriterion("leader like", value, "leader"); + return (Criteria) this; + } + + public Criteria andLeaderNotLike(String value) { + addCriterion("leader not like", value, "leader"); + return (Criteria) this; + } + + public Criteria andLeaderIn(List values) { + addCriterion("leader in", values, "leader"); + return (Criteria) this; + } + + public Criteria andLeaderNotIn(List values) { + addCriterion("leader not in", values, "leader"); + return (Criteria) this; + } + + public Criteria andLeaderBetween(String value1, String value2) { + addCriterion("leader between", value1, value2, "leader"); + return (Criteria) this; + } + + public Criteria andLeaderNotBetween(String value1, String value2) { + addCriterion("leader not between", value1, value2, "leader"); + return (Criteria) this; + } + + public Criteria andContactPhoneIsNull() { + addCriterion("contact_phone is null"); + return (Criteria) this; + } + + public Criteria andContactPhoneIsNotNull() { + addCriterion("contact_phone is not null"); + return (Criteria) this; + } + + public Criteria andContactPhoneEqualTo(String value) { + addCriterion("contact_phone =", value, "contactPhone"); + return (Criteria) this; + } + + public Criteria andContactPhoneNotEqualTo(String value) { + addCriterion("contact_phone <>", value, "contactPhone"); + return (Criteria) this; + } + + public Criteria andContactPhoneGreaterThan(String value) { + addCriterion("contact_phone >", value, "contactPhone"); + return (Criteria) this; + } + + public Criteria andContactPhoneGreaterThanOrEqualTo(String value) { + addCriterion("contact_phone >=", value, "contactPhone"); + return (Criteria) this; + } + + public Criteria andContactPhoneLessThan(String value) { + addCriterion("contact_phone <", value, "contactPhone"); + return (Criteria) this; + } + + public Criteria andContactPhoneLessThanOrEqualTo(String value) { + addCriterion("contact_phone <=", value, "contactPhone"); + return (Criteria) this; + } + + public Criteria andContactPhoneLike(String value) { + addCriterion("contact_phone like", value, "contactPhone"); + return (Criteria) this; + } + + public Criteria andContactPhoneNotLike(String value) { + addCriterion("contact_phone not like", value, "contactPhone"); + return (Criteria) this; + } + + public Criteria andContactPhoneIn(List values) { + addCriterion("contact_phone in", values, "contactPhone"); + return (Criteria) this; + } + + public Criteria andContactPhoneNotIn(List values) { + addCriterion("contact_phone not in", values, "contactPhone"); + return (Criteria) this; + } + + public Criteria andContactPhoneBetween(String value1, String value2) { + addCriterion("contact_phone between", value1, value2, "contactPhone"); + return (Criteria) this; + } + + public Criteria andContactPhoneNotBetween(String value1, String value2) { + addCriterion("contact_phone not between", value1, value2, "contactPhone"); + return (Criteria) this; + } + + public Criteria andDataSourceIdIsNull() { + addCriterion("data_source_id is null"); + return (Criteria) this; + } + + public Criteria andDataSourceIdIsNotNull() { + addCriterion("data_source_id is not null"); + return (Criteria) this; + } + + public Criteria andDataSourceIdEqualTo(Long value) { + addCriterion("data_source_id =", value, "dataSourceId"); + return (Criteria) this; + } + + public Criteria andDataSourceIdNotEqualTo(Long value) { + addCriterion("data_source_id <>", value, "dataSourceId"); + return (Criteria) this; + } + + public Criteria andDataSourceIdGreaterThan(Long value) { + addCriterion("data_source_id >", value, "dataSourceId"); + return (Criteria) this; + } + + public Criteria andDataSourceIdGreaterThanOrEqualTo(Long value) { + addCriterion("data_source_id >=", value, "dataSourceId"); + return (Criteria) this; + } + + public Criteria andDataSourceIdLessThan(Long value) { + addCriterion("data_source_id <", value, "dataSourceId"); + return (Criteria) this; + } + + public Criteria andDataSourceIdLessThanOrEqualTo(Long value) { + addCriterion("data_source_id <=", value, "dataSourceId"); + return (Criteria) this; + } + + public Criteria andDataSourceIdIn(List values) { + addCriterion("data_source_id in", values, "dataSourceId"); + return (Criteria) this; + } + + public Criteria andDataSourceIdNotIn(List values) { + addCriterion("data_source_id not in", values, "dataSourceId"); + return (Criteria) this; + } + + public Criteria andDataSourceIdBetween(Long value1, Long value2) { + addCriterion("data_source_id between", value1, value2, "dataSourceId"); + return (Criteria) this; + } + + public Criteria andDataSourceIdNotBetween(Long value1, Long value2) { + addCriterion("data_source_id not between", value1, value2, "dataSourceId"); + 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(String value) { + addCriterion("status =", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotEqualTo(String value) { + addCriterion("status <>", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThan(String value) { + addCriterion("status >", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThanOrEqualTo(String value) { + addCriterion("status >=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThan(String value) { + addCriterion("status <", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThanOrEqualTo(String value) { + addCriterion("status <=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLike(String value) { + addCriterion("status like", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotLike(String value) { + addCriterion("status not like", 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(String value1, String value2) { + addCriterion("status between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotBetween(String value1, String value2) { + addCriterion("status not between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andDelFlagIsNull() { + addCriterion("del_flag is null"); + return (Criteria) this; + } + + public Criteria andDelFlagIsNotNull() { + addCriterion("del_flag is not null"); + return (Criteria) this; + } + + public Criteria andDelFlagEqualTo(Byte value) { + addCriterion("del_flag =", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagNotEqualTo(Byte value) { + addCriterion("del_flag <>", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagGreaterThan(Byte value) { + addCriterion("del_flag >", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagGreaterThanOrEqualTo(Byte value) { + addCriterion("del_flag >=", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagLessThan(Byte value) { + addCriterion("del_flag <", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagLessThanOrEqualTo(Byte value) { + addCriterion("del_flag <=", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagIn(List values) { + addCriterion("del_flag in", values, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagNotIn(List values) { + addCriterion("del_flag not in", values, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagBetween(Byte value1, Byte value2) { + addCriterion("del_flag between", value1, value2, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagNotBetween(Byte value1, Byte value2) { + addCriterion("del_flag not between", value1, value2, "delFlag"); + return (Criteria) this; + } + + public Criteria andCreateByIsNull() { + addCriterion("create_by is null"); + return (Criteria) this; + } + + public Criteria andCreateByIsNotNull() { + addCriterion("create_by is not null"); + return (Criteria) this; + } + + public Criteria andCreateByEqualTo(String value) { + addCriterion("create_by =", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotEqualTo(String value) { + addCriterion("create_by <>", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByGreaterThan(String value) { + addCriterion("create_by >", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByGreaterThanOrEqualTo(String value) { + addCriterion("create_by >=", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByLessThan(String value) { + addCriterion("create_by <", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByLessThanOrEqualTo(String value) { + addCriterion("create_by <=", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByLike(String value) { + addCriterion("create_by like", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotLike(String value) { + addCriterion("create_by not like", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByIn(List values) { + addCriterion("create_by in", values, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotIn(List values) { + addCriterion("create_by not in", values, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByBetween(String value1, String value2) { + addCriterion("create_by between", value1, value2, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotBetween(String value1, String value2) { + addCriterion("create_by not between", value1, value2, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andUpdateByIsNull() { + addCriterion("update_by is null"); + return (Criteria) this; + } + + public Criteria andUpdateByIsNotNull() { + addCriterion("update_by is not null"); + return (Criteria) this; + } + + public Criteria andUpdateByEqualTo(String value) { + addCriterion("update_by =", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotEqualTo(String value) { + addCriterion("update_by <>", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByGreaterThan(String value) { + addCriterion("update_by >", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByGreaterThanOrEqualTo(String value) { + addCriterion("update_by >=", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByLessThan(String value) { + addCriterion("update_by <", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByLessThanOrEqualTo(String value) { + addCriterion("update_by <=", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByLike(String value) { + addCriterion("update_by like", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotLike(String value) { + addCriterion("update_by not like", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByIn(List values) { + addCriterion("update_by in", values, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotIn(List values) { + addCriterion("update_by not in", values, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByBetween(String value1, String value2) { + addCriterion("update_by between", value1, value2, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotBetween(String value1, String value2) { + addCriterion("update_by not between", value1, value2, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIsNull() { + addCriterion("update_time is null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIsNotNull() { + addCriterion("update_time is not null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeEqualTo(Date value) { + addCriterion("update_time =", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotEqualTo(Date value) { + addCriterion("update_time <>", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThan(Date value) { + addCriterion("update_time >", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("update_time >=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThan(Date value) { + addCriterion("update_time <", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { + addCriterion("update_time <=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIn(List values) { + addCriterion("update_time in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotIn(List values) { + addCriterion("update_time not in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeBetween(Date value1, Date value2) { + addCriterion("update_time between", value1, value2, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { + addCriterion("update_time not between", value1, value2, "updateTime"); + return (Criteria) this; + } + + public Criteria 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 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/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/DmsUser.java b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/DmsUser.java new file mode 100644 index 00000000..bc916b5f --- /dev/null +++ b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/DmsUser.java @@ -0,0 +1,183 @@ +package com.acupuncture.system.domain.po; + +import java.io.Serializable; +import java.util.Date; + +public class DmsUser implements Serializable { + private Integer id; + + private Long tenantId; + + private String userName; + + private String password; + + private String nickName; + + private String email; + + private String phonenumber; + + private String sex; + + private String status; + + private Byte delFlag; + + private String createBy; + + private Date createTime; + + private String updateBy; + + private Date updateTime; + + private String remark; + + private static final long serialVersionUID = 1L; + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id = id; + } + + public Long getTenantId() { + return tenantId; + } + + public void setTenantId(Long tenantId) { + this.tenantId = tenantId; + } + + public String getUserName() { + return userName; + } + + public void setUserName(String userName) { + this.userName = userName == null ? null : userName.trim(); + } + + public String getPassword() { + return password; + } + + public void setPassword(String password) { + this.password = password == null ? null : password.trim(); + } + + public String getNickName() { + return nickName; + } + + public void setNickName(String nickName) { + this.nickName = nickName == null ? null : nickName.trim(); + } + + public String getEmail() { + return email; + } + + public void setEmail(String email) { + this.email = email == null ? null : email.trim(); + } + + public String getPhonenumber() { + return phonenumber; + } + + public void setPhonenumber(String phonenumber) { + this.phonenumber = phonenumber == null ? null : phonenumber.trim(); + } + + public String getSex() { + return sex; + } + + public void setSex(String sex) { + this.sex = sex == null ? null : sex.trim(); + } + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status == null ? null : status.trim(); + } + + public Byte getDelFlag() { + return delFlag; + } + + public void setDelFlag(Byte delFlag) { + this.delFlag = delFlag; + } + + public String getCreateBy() { + return createBy; + } + + public void setCreateBy(String createBy) { + this.createBy = createBy == null ? null : createBy.trim(); + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getUpdateBy() { + return updateBy; + } + + public void setUpdateBy(String updateBy) { + this.updateBy = updateBy == null ? null : updateBy.trim(); + } + + public Date getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } + + public String getRemark() { + return remark; + } + + public void setRemark(String remark) { + this.remark = remark == null ? null : remark.trim(); + } + + @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(", tenantId=").append(tenantId); + sb.append(", userName=").append(userName); + sb.append(", password=").append(password); + sb.append(", nickName=").append(nickName); + sb.append(", email=").append(email); + sb.append(", phonenumber=").append(phonenumber); + sb.append(", sex=").append(sex); + sb.append(", status=").append(status); + sb.append(", delFlag=").append(delFlag); + sb.append(", createBy=").append(createBy); + sb.append(", createTime=").append(createTime); + sb.append(", updateBy=").append(updateBy); + sb.append(", updateTime=").append(updateTime); + sb.append(", remark=").append(remark); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/DmsUserExample.java b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/DmsUserExample.java new file mode 100644 index 00000000..ce2395c7 --- /dev/null +++ b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/DmsUserExample.java @@ -0,0 +1,1201 @@ +package com.acupuncture.system.domain.po; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class DmsUserExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public DmsUserExample() { + 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(Integer value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Integer value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Integer value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Integer value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Integer value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Integer value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List 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(Integer value1, Integer value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Integer value1, Integer value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andTenantIdIsNull() { + addCriterion("tenant_id is null"); + return (Criteria) this; + } + + public Criteria andTenantIdIsNotNull() { + addCriterion("tenant_id is not null"); + return (Criteria) this; + } + + public Criteria andTenantIdEqualTo(Long value) { + addCriterion("tenant_id =", value, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotEqualTo(Long value) { + addCriterion("tenant_id <>", value, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdGreaterThan(Long value) { + addCriterion("tenant_id >", value, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdGreaterThanOrEqualTo(Long value) { + addCriterion("tenant_id >=", value, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdLessThan(Long value) { + addCriterion("tenant_id <", value, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdLessThanOrEqualTo(Long value) { + addCriterion("tenant_id <=", value, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdIn(List values) { + addCriterion("tenant_id in", values, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotIn(List values) { + addCriterion("tenant_id not in", values, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdBetween(Long value1, Long value2) { + addCriterion("tenant_id between", value1, value2, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotBetween(Long value1, Long value2) { + addCriterion("tenant_id not between", value1, value2, "tenantId"); + return (Criteria) this; + } + + public Criteria andUserNameIsNull() { + addCriterion("user_name is null"); + return (Criteria) this; + } + + public Criteria andUserNameIsNotNull() { + addCriterion("user_name is not null"); + return (Criteria) this; + } + + public Criteria andUserNameEqualTo(String value) { + addCriterion("user_name =", value, "userName"); + return (Criteria) this; + } + + public Criteria andUserNameNotEqualTo(String value) { + addCriterion("user_name <>", value, "userName"); + return (Criteria) this; + } + + public Criteria andUserNameGreaterThan(String value) { + addCriterion("user_name >", value, "userName"); + return (Criteria) this; + } + + public Criteria andUserNameGreaterThanOrEqualTo(String value) { + addCriterion("user_name >=", value, "userName"); + return (Criteria) this; + } + + public Criteria andUserNameLessThan(String value) { + addCriterion("user_name <", value, "userName"); + return (Criteria) this; + } + + public Criteria andUserNameLessThanOrEqualTo(String value) { + addCriterion("user_name <=", value, "userName"); + return (Criteria) this; + } + + public Criteria andUserNameLike(String value) { + addCriterion("user_name like", value, "userName"); + return (Criteria) this; + } + + public Criteria andUserNameNotLike(String value) { + addCriterion("user_name not like", value, "userName"); + return (Criteria) this; + } + + public Criteria andUserNameIn(List values) { + addCriterion("user_name in", values, "userName"); + return (Criteria) this; + } + + public Criteria andUserNameNotIn(List values) { + addCriterion("user_name not in", values, "userName"); + return (Criteria) this; + } + + public Criteria andUserNameBetween(String value1, String value2) { + addCriterion("user_name between", value1, value2, "userName"); + return (Criteria) this; + } + + public Criteria andUserNameNotBetween(String value1, String value2) { + addCriterion("user_name not between", value1, value2, "userName"); + return (Criteria) this; + } + + public Criteria andPasswordIsNull() { + addCriterion("password is null"); + return (Criteria) this; + } + + public Criteria andPasswordIsNotNull() { + addCriterion("password is not null"); + return (Criteria) this; + } + + public Criteria andPasswordEqualTo(String value) { + addCriterion("password =", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordNotEqualTo(String value) { + addCriterion("password <>", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordGreaterThan(String value) { + addCriterion("password >", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordGreaterThanOrEqualTo(String value) { + addCriterion("password >=", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordLessThan(String value) { + addCriterion("password <", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordLessThanOrEqualTo(String value) { + addCriterion("password <=", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordLike(String value) { + addCriterion("password like", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordNotLike(String value) { + addCriterion("password not like", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordIn(List values) { + addCriterion("password in", values, "password"); + return (Criteria) this; + } + + public Criteria andPasswordNotIn(List values) { + addCriterion("password not in", values, "password"); + return (Criteria) this; + } + + public Criteria andPasswordBetween(String value1, String value2) { + addCriterion("password between", value1, value2, "password"); + return (Criteria) this; + } + + public Criteria andPasswordNotBetween(String value1, String value2) { + addCriterion("password not between", value1, value2, "password"); + return (Criteria) this; + } + + public Criteria andNickNameIsNull() { + addCriterion("nick_name is null"); + return (Criteria) this; + } + + public Criteria andNickNameIsNotNull() { + addCriterion("nick_name is not null"); + return (Criteria) this; + } + + public Criteria andNickNameEqualTo(String value) { + addCriterion("nick_name =", value, "nickName"); + return (Criteria) this; + } + + public Criteria andNickNameNotEqualTo(String value) { + addCriterion("nick_name <>", value, "nickName"); + return (Criteria) this; + } + + public Criteria andNickNameGreaterThan(String value) { + addCriterion("nick_name >", value, "nickName"); + return (Criteria) this; + } + + public Criteria andNickNameGreaterThanOrEqualTo(String value) { + addCriterion("nick_name >=", value, "nickName"); + return (Criteria) this; + } + + public Criteria andNickNameLessThan(String value) { + addCriterion("nick_name <", value, "nickName"); + return (Criteria) this; + } + + public Criteria andNickNameLessThanOrEqualTo(String value) { + addCriterion("nick_name <=", value, "nickName"); + return (Criteria) this; + } + + public Criteria andNickNameLike(String value) { + addCriterion("nick_name like", value, "nickName"); + return (Criteria) this; + } + + public Criteria andNickNameNotLike(String value) { + addCriterion("nick_name not like", value, "nickName"); + return (Criteria) this; + } + + public Criteria andNickNameIn(List values) { + addCriterion("nick_name in", values, "nickName"); + return (Criteria) this; + } + + public Criteria andNickNameNotIn(List values) { + addCriterion("nick_name not in", values, "nickName"); + return (Criteria) this; + } + + public Criteria andNickNameBetween(String value1, String value2) { + addCriterion("nick_name between", value1, value2, "nickName"); + return (Criteria) this; + } + + public Criteria andNickNameNotBetween(String value1, String value2) { + addCriterion("nick_name not between", value1, value2, "nickName"); + return (Criteria) this; + } + + public Criteria andEmailIsNull() { + addCriterion("email is null"); + return (Criteria) this; + } + + public Criteria andEmailIsNotNull() { + addCriterion("email is not null"); + return (Criteria) this; + } + + public Criteria andEmailEqualTo(String value) { + addCriterion("email =", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailNotEqualTo(String value) { + addCriterion("email <>", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailGreaterThan(String value) { + addCriterion("email >", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailGreaterThanOrEqualTo(String value) { + addCriterion("email >=", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailLessThan(String value) { + addCriterion("email <", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailLessThanOrEqualTo(String value) { + addCriterion("email <=", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailLike(String value) { + addCriterion("email like", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailNotLike(String value) { + addCriterion("email not like", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailIn(List values) { + addCriterion("email in", values, "email"); + return (Criteria) this; + } + + public Criteria andEmailNotIn(List values) { + addCriterion("email not in", values, "email"); + return (Criteria) this; + } + + public Criteria andEmailBetween(String value1, String value2) { + addCriterion("email between", value1, value2, "email"); + return (Criteria) this; + } + + public Criteria andEmailNotBetween(String value1, String value2) { + addCriterion("email not between", value1, value2, "email"); + return (Criteria) this; + } + + public Criteria andPhonenumberIsNull() { + addCriterion("phonenumber is null"); + return (Criteria) this; + } + + public Criteria andPhonenumberIsNotNull() { + addCriterion("phonenumber is not null"); + return (Criteria) this; + } + + public Criteria andPhonenumberEqualTo(String value) { + addCriterion("phonenumber =", value, "phonenumber"); + return (Criteria) this; + } + + public Criteria andPhonenumberNotEqualTo(String value) { + addCriterion("phonenumber <>", value, "phonenumber"); + return (Criteria) this; + } + + public Criteria andPhonenumberGreaterThan(String value) { + addCriterion("phonenumber >", value, "phonenumber"); + return (Criteria) this; + } + + public Criteria andPhonenumberGreaterThanOrEqualTo(String value) { + addCriterion("phonenumber >=", value, "phonenumber"); + return (Criteria) this; + } + + public Criteria andPhonenumberLessThan(String value) { + addCriterion("phonenumber <", value, "phonenumber"); + return (Criteria) this; + } + + public Criteria andPhonenumberLessThanOrEqualTo(String value) { + addCriterion("phonenumber <=", value, "phonenumber"); + return (Criteria) this; + } + + public Criteria andPhonenumberLike(String value) { + addCriterion("phonenumber like", value, "phonenumber"); + return (Criteria) this; + } + + public Criteria andPhonenumberNotLike(String value) { + addCriterion("phonenumber not like", value, "phonenumber"); + return (Criteria) this; + } + + public Criteria andPhonenumberIn(List values) { + addCriterion("phonenumber in", values, "phonenumber"); + return (Criteria) this; + } + + public Criteria andPhonenumberNotIn(List values) { + addCriterion("phonenumber not in", values, "phonenumber"); + return (Criteria) this; + } + + public Criteria andPhonenumberBetween(String value1, String value2) { + addCriterion("phonenumber between", value1, value2, "phonenumber"); + return (Criteria) this; + } + + public Criteria andPhonenumberNotBetween(String value1, String value2) { + addCriterion("phonenumber not between", value1, value2, "phonenumber"); + return (Criteria) this; + } + + public Criteria andSexIsNull() { + addCriterion("sex is null"); + return (Criteria) this; + } + + public Criteria andSexIsNotNull() { + addCriterion("sex is not null"); + return (Criteria) this; + } + + public Criteria andSexEqualTo(String value) { + addCriterion("sex =", value, "sex"); + return (Criteria) this; + } + + public Criteria andSexNotEqualTo(String value) { + addCriterion("sex <>", value, "sex"); + return (Criteria) this; + } + + public Criteria andSexGreaterThan(String value) { + addCriterion("sex >", value, "sex"); + return (Criteria) this; + } + + public Criteria andSexGreaterThanOrEqualTo(String value) { + addCriterion("sex >=", value, "sex"); + return (Criteria) this; + } + + public Criteria andSexLessThan(String value) { + addCriterion("sex <", value, "sex"); + return (Criteria) this; + } + + public Criteria andSexLessThanOrEqualTo(String value) { + addCriterion("sex <=", value, "sex"); + return (Criteria) this; + } + + public Criteria andSexLike(String value) { + addCriterion("sex like", value, "sex"); + return (Criteria) this; + } + + public Criteria andSexNotLike(String value) { + addCriterion("sex not like", value, "sex"); + return (Criteria) this; + } + + public Criteria andSexIn(List values) { + addCriterion("sex in", values, "sex"); + return (Criteria) this; + } + + public Criteria andSexNotIn(List values) { + addCriterion("sex not in", values, "sex"); + return (Criteria) this; + } + + public Criteria andSexBetween(String value1, String value2) { + addCriterion("sex between", value1, value2, "sex"); + return (Criteria) this; + } + + public Criteria andSexNotBetween(String value1, String value2) { + addCriterion("sex not between", value1, value2, "sex"); + 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(String value) { + addCriterion("status =", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotEqualTo(String value) { + addCriterion("status <>", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThan(String value) { + addCriterion("status >", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThanOrEqualTo(String value) { + addCriterion("status >=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThan(String value) { + addCriterion("status <", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThanOrEqualTo(String value) { + addCriterion("status <=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLike(String value) { + addCriterion("status like", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotLike(String value) { + addCriterion("status not like", 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(String value1, String value2) { + addCriterion("status between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotBetween(String value1, String value2) { + addCriterion("status not between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andDelFlagIsNull() { + addCriterion("del_flag is null"); + return (Criteria) this; + } + + public Criteria andDelFlagIsNotNull() { + addCriterion("del_flag is not null"); + return (Criteria) this; + } + + public Criteria andDelFlagEqualTo(Byte value) { + addCriterion("del_flag =", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagNotEqualTo(Byte value) { + addCriterion("del_flag <>", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagGreaterThan(Byte value) { + addCriterion("del_flag >", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagGreaterThanOrEqualTo(Byte value) { + addCriterion("del_flag >=", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagLessThan(Byte value) { + addCriterion("del_flag <", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagLessThanOrEqualTo(Byte value) { + addCriterion("del_flag <=", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagIn(List values) { + addCriterion("del_flag in", values, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagNotIn(List values) { + addCriterion("del_flag not in", values, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagBetween(Byte value1, Byte value2) { + addCriterion("del_flag between", value1, value2, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagNotBetween(Byte value1, Byte value2) { + addCriterion("del_flag not between", value1, value2, "delFlag"); + return (Criteria) this; + } + + public Criteria andCreateByIsNull() { + addCriterion("create_by is null"); + return (Criteria) this; + } + + public Criteria andCreateByIsNotNull() { + addCriterion("create_by is not null"); + return (Criteria) this; + } + + public Criteria andCreateByEqualTo(String value) { + addCriterion("create_by =", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotEqualTo(String value) { + addCriterion("create_by <>", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByGreaterThan(String value) { + addCriterion("create_by >", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByGreaterThanOrEqualTo(String value) { + addCriterion("create_by >=", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByLessThan(String value) { + addCriterion("create_by <", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByLessThanOrEqualTo(String value) { + addCriterion("create_by <=", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByLike(String value) { + addCriterion("create_by like", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotLike(String value) { + addCriterion("create_by not like", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByIn(List values) { + addCriterion("create_by in", values, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotIn(List values) { + addCriterion("create_by not in", values, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByBetween(String value1, String value2) { + addCriterion("create_by between", value1, value2, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotBetween(String value1, String value2) { + addCriterion("create_by not between", value1, value2, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andUpdateByIsNull() { + addCriterion("update_by is null"); + return (Criteria) this; + } + + public Criteria andUpdateByIsNotNull() { + addCriterion("update_by is not null"); + return (Criteria) this; + } + + public Criteria andUpdateByEqualTo(String value) { + addCriterion("update_by =", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotEqualTo(String value) { + addCriterion("update_by <>", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByGreaterThan(String value) { + addCriterion("update_by >", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByGreaterThanOrEqualTo(String value) { + addCriterion("update_by >=", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByLessThan(String value) { + addCriterion("update_by <", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByLessThanOrEqualTo(String value) { + addCriterion("update_by <=", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByLike(String value) { + addCriterion("update_by like", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotLike(String value) { + addCriterion("update_by not like", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByIn(List values) { + addCriterion("update_by in", values, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotIn(List values) { + addCriterion("update_by not in", values, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByBetween(String value1, String value2) { + addCriterion("update_by between", value1, value2, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotBetween(String value1, String value2) { + addCriterion("update_by not between", value1, value2, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIsNull() { + addCriterion("update_time is null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIsNotNull() { + addCriterion("update_time is not null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeEqualTo(Date value) { + addCriterion("update_time =", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotEqualTo(Date value) { + addCriterion("update_time <>", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThan(Date value) { + addCriterion("update_time >", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("update_time >=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThan(Date value) { + addCriterion("update_time <", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { + addCriterion("update_time <=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIn(List values) { + addCriterion("update_time in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotIn(List values) { + addCriterion("update_time not in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeBetween(Date value1, Date value2) { + addCriterion("update_time between", value1, value2, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { + addCriterion("update_time not between", value1, value2, "updateTime"); + return (Criteria) this; + } + + public Criteria 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 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/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/FmsFollowupQueue.java b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/FmsFollowupQueue.java new file mode 100644 index 00000000..1fae09ce --- /dev/null +++ b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/FmsFollowupQueue.java @@ -0,0 +1,194 @@ +package com.acupuncture.system.domain.po; + +import java.io.Serializable; +import java.util.Date; + +public class FmsFollowupQueue implements Serializable { + private Long id; + + private String name; + + private Byte followupMethod; + + private Byte followupType; + + private String frequency; + + private Integer followupMonth; + + private String personInCharge; + + private String personInChargeUsername; + + private Byte status; + + private Byte delFlag; + + private Long tenantId; + + private String createBy; + + private Date createTime; + + private String updateBy; + + private Date updateTime; + + private String remark; + + 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 Byte getFollowupMethod() { + return followupMethod; + } + + public void setFollowupMethod(Byte followupMethod) { + this.followupMethod = followupMethod; + } + + public Byte getFollowupType() { + return followupType; + } + + public void setFollowupType(Byte followupType) { + this.followupType = followupType; + } + + public String getFrequency() { + return frequency; + } + + public void setFrequency(String frequency) { + this.frequency = frequency == null ? null : frequency.trim(); + } + + public Integer getFollowupMonth() { + return followupMonth; + } + + public void setFollowupMonth(Integer followupMonth) { + this.followupMonth = followupMonth; + } + + public String getPersonInCharge() { + return personInCharge; + } + + public void setPersonInCharge(String personInCharge) { + this.personInCharge = personInCharge == null ? null : personInCharge.trim(); + } + + public String getPersonInChargeUsername() { + return personInChargeUsername; + } + + public void setPersonInChargeUsername(String personInChargeUsername) { + this.personInChargeUsername = personInChargeUsername == null ? null : personInChargeUsername.trim(); + } + + public Byte getStatus() { + return status; + } + + public void setStatus(Byte status) { + this.status = status; + } + + public Byte getDelFlag() { + return delFlag; + } + + public void setDelFlag(Byte delFlag) { + this.delFlag = delFlag; + } + + public Long getTenantId() { + return tenantId; + } + + public void setTenantId(Long tenantId) { + this.tenantId = tenantId; + } + + public String getCreateBy() { + return createBy; + } + + public void setCreateBy(String createBy) { + this.createBy = createBy == null ? null : createBy.trim(); + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getUpdateBy() { + return updateBy; + } + + public void setUpdateBy(String updateBy) { + this.updateBy = updateBy == null ? null : updateBy.trim(); + } + + public Date getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } + + public String getRemark() { + return remark; + } + + public void setRemark(String remark) { + this.remark = remark == null ? null : remark.trim(); + } + + @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(", followupMethod=").append(followupMethod); + sb.append(", followupType=").append(followupType); + sb.append(", frequency=").append(frequency); + sb.append(", followupMonth=").append(followupMonth); + sb.append(", personInCharge=").append(personInCharge); + sb.append(", personInChargeUsername=").append(personInChargeUsername); + sb.append(", status=").append(status); + sb.append(", delFlag=").append(delFlag); + sb.append(", tenantId=").append(tenantId); + sb.append(", createBy=").append(createBy); + sb.append(", createTime=").append(createTime); + sb.append(", updateBy=").append(updateBy); + sb.append(", updateTime=").append(updateTime); + sb.append(", remark=").append(remark); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/FmsFollowupQueueExample.java b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/FmsFollowupQueueExample.java new file mode 100644 index 00000000..2ceb98d4 --- /dev/null +++ b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/FmsFollowupQueueExample.java @@ -0,0 +1,1231 @@ +package com.acupuncture.system.domain.po; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class FmsFollowupQueueExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public FmsFollowupQueueExample() { + 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 andFollowupMethodIsNull() { + addCriterion("followup_method is null"); + return (Criteria) this; + } + + public Criteria andFollowupMethodIsNotNull() { + addCriterion("followup_method is not null"); + return (Criteria) this; + } + + public Criteria andFollowupMethodEqualTo(Byte value) { + addCriterion("followup_method =", value, "followupMethod"); + return (Criteria) this; + } + + public Criteria andFollowupMethodNotEqualTo(Byte value) { + addCriterion("followup_method <>", value, "followupMethod"); + return (Criteria) this; + } + + public Criteria andFollowupMethodGreaterThan(Byte value) { + addCriterion("followup_method >", value, "followupMethod"); + return (Criteria) this; + } + + public Criteria andFollowupMethodGreaterThanOrEqualTo(Byte value) { + addCriterion("followup_method >=", value, "followupMethod"); + return (Criteria) this; + } + + public Criteria andFollowupMethodLessThan(Byte value) { + addCriterion("followup_method <", value, "followupMethod"); + return (Criteria) this; + } + + public Criteria andFollowupMethodLessThanOrEqualTo(Byte value) { + addCriterion("followup_method <=", value, "followupMethod"); + return (Criteria) this; + } + + public Criteria andFollowupMethodIn(List values) { + addCriterion("followup_method in", values, "followupMethod"); + return (Criteria) this; + } + + public Criteria andFollowupMethodNotIn(List values) { + addCriterion("followup_method not in", values, "followupMethod"); + return (Criteria) this; + } + + public Criteria andFollowupMethodBetween(Byte value1, Byte value2) { + addCriterion("followup_method between", value1, value2, "followupMethod"); + return (Criteria) this; + } + + public Criteria andFollowupMethodNotBetween(Byte value1, Byte value2) { + addCriterion("followup_method not between", value1, value2, "followupMethod"); + return (Criteria) this; + } + + public Criteria andFollowupTypeIsNull() { + addCriterion("followup_type is null"); + return (Criteria) this; + } + + public Criteria andFollowupTypeIsNotNull() { + addCriterion("followup_type is not null"); + return (Criteria) this; + } + + public Criteria andFollowupTypeEqualTo(Byte value) { + addCriterion("followup_type =", value, "followupType"); + return (Criteria) this; + } + + public Criteria andFollowupTypeNotEqualTo(Byte value) { + addCriterion("followup_type <>", value, "followupType"); + return (Criteria) this; + } + + public Criteria andFollowupTypeGreaterThan(Byte value) { + addCriterion("followup_type >", value, "followupType"); + return (Criteria) this; + } + + public Criteria andFollowupTypeGreaterThanOrEqualTo(Byte value) { + addCriterion("followup_type >=", value, "followupType"); + return (Criteria) this; + } + + public Criteria andFollowupTypeLessThan(Byte value) { + addCriterion("followup_type <", value, "followupType"); + return (Criteria) this; + } + + public Criteria andFollowupTypeLessThanOrEqualTo(Byte value) { + addCriterion("followup_type <=", value, "followupType"); + return (Criteria) this; + } + + public Criteria andFollowupTypeIn(List values) { + addCriterion("followup_type in", values, "followupType"); + return (Criteria) this; + } + + public Criteria andFollowupTypeNotIn(List values) { + addCriterion("followup_type not in", values, "followupType"); + return (Criteria) this; + } + + public Criteria andFollowupTypeBetween(Byte value1, Byte value2) { + addCriterion("followup_type between", value1, value2, "followupType"); + return (Criteria) this; + } + + public Criteria andFollowupTypeNotBetween(Byte value1, Byte value2) { + addCriterion("followup_type not between", value1, value2, "followupType"); + return (Criteria) this; + } + + public Criteria andFrequencyIsNull() { + addCriterion("frequency is null"); + return (Criteria) this; + } + + public Criteria andFrequencyIsNotNull() { + addCriterion("frequency is not null"); + return (Criteria) this; + } + + public Criteria andFrequencyEqualTo(String value) { + addCriterion("frequency =", value, "frequency"); + return (Criteria) this; + } + + public Criteria andFrequencyNotEqualTo(String value) { + addCriterion("frequency <>", value, "frequency"); + return (Criteria) this; + } + + public Criteria andFrequencyGreaterThan(String value) { + addCriterion("frequency >", value, "frequency"); + return (Criteria) this; + } + + public Criteria andFrequencyGreaterThanOrEqualTo(String value) { + addCriterion("frequency >=", value, "frequency"); + return (Criteria) this; + } + + public Criteria andFrequencyLessThan(String value) { + addCriterion("frequency <", value, "frequency"); + return (Criteria) this; + } + + public Criteria andFrequencyLessThanOrEqualTo(String value) { + addCriterion("frequency <=", value, "frequency"); + return (Criteria) this; + } + + public Criteria andFrequencyLike(String value) { + addCriterion("frequency like", value, "frequency"); + return (Criteria) this; + } + + public Criteria andFrequencyNotLike(String value) { + addCriterion("frequency not like", value, "frequency"); + return (Criteria) this; + } + + public Criteria andFrequencyIn(List values) { + addCriterion("frequency in", values, "frequency"); + return (Criteria) this; + } + + public Criteria andFrequencyNotIn(List values) { + addCriterion("frequency not in", values, "frequency"); + return (Criteria) this; + } + + public Criteria andFrequencyBetween(String value1, String value2) { + addCriterion("frequency between", value1, value2, "frequency"); + return (Criteria) this; + } + + public Criteria andFrequencyNotBetween(String value1, String value2) { + addCriterion("frequency not between", value1, value2, "frequency"); + return (Criteria) this; + } + + public Criteria andFollowupMonthIsNull() { + addCriterion("followup_month is null"); + return (Criteria) this; + } + + public Criteria andFollowupMonthIsNotNull() { + addCriterion("followup_month is not null"); + return (Criteria) this; + } + + public Criteria andFollowupMonthEqualTo(Integer value) { + addCriterion("followup_month =", value, "followupMonth"); + return (Criteria) this; + } + + public Criteria andFollowupMonthNotEqualTo(Integer value) { + addCriterion("followup_month <>", value, "followupMonth"); + return (Criteria) this; + } + + public Criteria andFollowupMonthGreaterThan(Integer value) { + addCriterion("followup_month >", value, "followupMonth"); + return (Criteria) this; + } + + public Criteria andFollowupMonthGreaterThanOrEqualTo(Integer value) { + addCriterion("followup_month >=", value, "followupMonth"); + return (Criteria) this; + } + + public Criteria andFollowupMonthLessThan(Integer value) { + addCriterion("followup_month <", value, "followupMonth"); + return (Criteria) this; + } + + public Criteria andFollowupMonthLessThanOrEqualTo(Integer value) { + addCriterion("followup_month <=", value, "followupMonth"); + return (Criteria) this; + } + + public Criteria andFollowupMonthIn(List values) { + addCriterion("followup_month in", values, "followupMonth"); + return (Criteria) this; + } + + public Criteria andFollowupMonthNotIn(List values) { + addCriterion("followup_month not in", values, "followupMonth"); + return (Criteria) this; + } + + public Criteria andFollowupMonthBetween(Integer value1, Integer value2) { + addCriterion("followup_month between", value1, value2, "followupMonth"); + return (Criteria) this; + } + + public Criteria andFollowupMonthNotBetween(Integer value1, Integer value2) { + addCriterion("followup_month not between", value1, value2, "followupMonth"); + return (Criteria) this; + } + + public Criteria andPersonInChargeIsNull() { + addCriterion("person_in_charge is null"); + return (Criteria) this; + } + + public Criteria andPersonInChargeIsNotNull() { + addCriterion("person_in_charge is not null"); + return (Criteria) this; + } + + public Criteria andPersonInChargeEqualTo(String value) { + addCriterion("person_in_charge =", value, "personInCharge"); + return (Criteria) this; + } + + public Criteria andPersonInChargeNotEqualTo(String value) { + addCriterion("person_in_charge <>", value, "personInCharge"); + return (Criteria) this; + } + + public Criteria andPersonInChargeGreaterThan(String value) { + addCriterion("person_in_charge >", value, "personInCharge"); + return (Criteria) this; + } + + public Criteria andPersonInChargeGreaterThanOrEqualTo(String value) { + addCriterion("person_in_charge >=", value, "personInCharge"); + return (Criteria) this; + } + + public Criteria andPersonInChargeLessThan(String value) { + addCriterion("person_in_charge <", value, "personInCharge"); + return (Criteria) this; + } + + public Criteria andPersonInChargeLessThanOrEqualTo(String value) { + addCriterion("person_in_charge <=", value, "personInCharge"); + return (Criteria) this; + } + + public Criteria andPersonInChargeLike(String value) { + addCriterion("person_in_charge like", value, "personInCharge"); + return (Criteria) this; + } + + public Criteria andPersonInChargeNotLike(String value) { + addCriterion("person_in_charge not like", value, "personInCharge"); + return (Criteria) this; + } + + public Criteria andPersonInChargeIn(List values) { + addCriterion("person_in_charge in", values, "personInCharge"); + return (Criteria) this; + } + + public Criteria andPersonInChargeNotIn(List values) { + addCriterion("person_in_charge not in", values, "personInCharge"); + return (Criteria) this; + } + + public Criteria andPersonInChargeBetween(String value1, String value2) { + addCriterion("person_in_charge between", value1, value2, "personInCharge"); + return (Criteria) this; + } + + public Criteria andPersonInChargeNotBetween(String value1, String value2) { + addCriterion("person_in_charge not between", value1, value2, "personInCharge"); + return (Criteria) this; + } + + public Criteria andPersonInChargeUsernameIsNull() { + addCriterion("person_in_charge_username is null"); + return (Criteria) this; + } + + public Criteria andPersonInChargeUsernameIsNotNull() { + addCriterion("person_in_charge_username is not null"); + return (Criteria) this; + } + + public Criteria andPersonInChargeUsernameEqualTo(String value) { + addCriterion("person_in_charge_username =", value, "personInChargeUsername"); + return (Criteria) this; + } + + public Criteria andPersonInChargeUsernameNotEqualTo(String value) { + addCriterion("person_in_charge_username <>", value, "personInChargeUsername"); + return (Criteria) this; + } + + public Criteria andPersonInChargeUsernameGreaterThan(String value) { + addCriterion("person_in_charge_username >", value, "personInChargeUsername"); + return (Criteria) this; + } + + public Criteria andPersonInChargeUsernameGreaterThanOrEqualTo(String value) { + addCriterion("person_in_charge_username >=", value, "personInChargeUsername"); + return (Criteria) this; + } + + public Criteria andPersonInChargeUsernameLessThan(String value) { + addCriterion("person_in_charge_username <", value, "personInChargeUsername"); + return (Criteria) this; + } + + public Criteria andPersonInChargeUsernameLessThanOrEqualTo(String value) { + addCriterion("person_in_charge_username <=", value, "personInChargeUsername"); + return (Criteria) this; + } + + public Criteria andPersonInChargeUsernameLike(String value) { + addCriterion("person_in_charge_username like", value, "personInChargeUsername"); + return (Criteria) this; + } + + public Criteria andPersonInChargeUsernameNotLike(String value) { + addCriterion("person_in_charge_username not like", value, "personInChargeUsername"); + return (Criteria) this; + } + + public Criteria andPersonInChargeUsernameIn(List values) { + addCriterion("person_in_charge_username in", values, "personInChargeUsername"); + return (Criteria) this; + } + + public Criteria andPersonInChargeUsernameNotIn(List values) { + addCriterion("person_in_charge_username not in", values, "personInChargeUsername"); + return (Criteria) this; + } + + public Criteria andPersonInChargeUsernameBetween(String value1, String value2) { + addCriterion("person_in_charge_username between", value1, value2, "personInChargeUsername"); + return (Criteria) this; + } + + public Criteria andPersonInChargeUsernameNotBetween(String value1, String value2) { + addCriterion("person_in_charge_username not between", value1, value2, "personInChargeUsername"); + 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 andDelFlagIsNull() { + addCriterion("del_flag is null"); + return (Criteria) this; + } + + public Criteria andDelFlagIsNotNull() { + addCriterion("del_flag is not null"); + return (Criteria) this; + } + + public Criteria andDelFlagEqualTo(Byte value) { + addCriterion("del_flag =", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagNotEqualTo(Byte value) { + addCriterion("del_flag <>", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagGreaterThan(Byte value) { + addCriterion("del_flag >", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagGreaterThanOrEqualTo(Byte value) { + addCriterion("del_flag >=", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagLessThan(Byte value) { + addCriterion("del_flag <", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagLessThanOrEqualTo(Byte value) { + addCriterion("del_flag <=", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagIn(List values) { + addCriterion("del_flag in", values, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagNotIn(List values) { + addCriterion("del_flag not in", values, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagBetween(Byte value1, Byte value2) { + addCriterion("del_flag between", value1, value2, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagNotBetween(Byte value1, Byte value2) { + addCriterion("del_flag not between", value1, value2, "delFlag"); + return (Criteria) this; + } + + public Criteria andTenantIdIsNull() { + addCriterion("tenant_id is null"); + return (Criteria) this; + } + + public Criteria andTenantIdIsNotNull() { + addCriterion("tenant_id is not null"); + return (Criteria) this; + } + + public Criteria andTenantIdEqualTo(Long value) { + addCriterion("tenant_id =", value, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotEqualTo(Long value) { + addCriterion("tenant_id <>", value, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdGreaterThan(Long value) { + addCriterion("tenant_id >", value, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdGreaterThanOrEqualTo(Long value) { + addCriterion("tenant_id >=", value, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdLessThan(Long value) { + addCriterion("tenant_id <", value, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdLessThanOrEqualTo(Long value) { + addCriterion("tenant_id <=", value, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdIn(List values) { + addCriterion("tenant_id in", values, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotIn(List values) { + addCriterion("tenant_id not in", values, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdBetween(Long value1, Long value2) { + addCriterion("tenant_id between", value1, value2, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotBetween(Long value1, Long value2) { + addCriterion("tenant_id not between", value1, value2, "tenantId"); + return (Criteria) this; + } + + public Criteria andCreateByIsNull() { + addCriterion("create_by is null"); + return (Criteria) this; + } + + public Criteria andCreateByIsNotNull() { + addCriterion("create_by is not null"); + return (Criteria) this; + } + + public Criteria andCreateByEqualTo(String value) { + addCriterion("create_by =", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotEqualTo(String value) { + addCriterion("create_by <>", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByGreaterThan(String value) { + addCriterion("create_by >", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByGreaterThanOrEqualTo(String value) { + addCriterion("create_by >=", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByLessThan(String value) { + addCriterion("create_by <", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByLessThanOrEqualTo(String value) { + addCriterion("create_by <=", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByLike(String value) { + addCriterion("create_by like", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotLike(String value) { + addCriterion("create_by not like", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByIn(List values) { + addCriterion("create_by in", values, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotIn(List values) { + addCriterion("create_by not in", values, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByBetween(String value1, String value2) { + addCriterion("create_by between", value1, value2, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotBetween(String value1, String value2) { + addCriterion("create_by not between", value1, value2, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andUpdateByIsNull() { + addCriterion("update_by is null"); + return (Criteria) this; + } + + public Criteria andUpdateByIsNotNull() { + addCriterion("update_by is not null"); + return (Criteria) this; + } + + public Criteria andUpdateByEqualTo(String value) { + addCriterion("update_by =", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotEqualTo(String value) { + addCriterion("update_by <>", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByGreaterThan(String value) { + addCriterion("update_by >", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByGreaterThanOrEqualTo(String value) { + addCriterion("update_by >=", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByLessThan(String value) { + addCriterion("update_by <", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByLessThanOrEqualTo(String value) { + addCriterion("update_by <=", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByLike(String value) { + addCriterion("update_by like", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotLike(String value) { + addCriterion("update_by not like", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByIn(List values) { + addCriterion("update_by in", values, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotIn(List values) { + addCriterion("update_by not in", values, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByBetween(String value1, String value2) { + addCriterion("update_by between", value1, value2, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotBetween(String value1, String value2) { + addCriterion("update_by not between", value1, value2, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIsNull() { + addCriterion("update_time is null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIsNotNull() { + addCriterion("update_time is not null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeEqualTo(Date value) { + addCriterion("update_time =", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotEqualTo(Date value) { + addCriterion("update_time <>", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThan(Date value) { + addCriterion("update_time >", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("update_time >=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThan(Date value) { + addCriterion("update_time <", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { + addCriterion("update_time <=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIn(List values) { + addCriterion("update_time in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotIn(List values) { + addCriterion("update_time not in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeBetween(Date value1, Date value2) { + addCriterion("update_time between", value1, value2, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { + addCriterion("update_time not between", value1, value2, "updateTime"); + return (Criteria) this; + } + + public Criteria 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 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/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/FmsFollowupTask.java b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/FmsFollowupTask.java new file mode 100644 index 00000000..7c677277 --- /dev/null +++ b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/FmsFollowupTask.java @@ -0,0 +1,326 @@ +package com.acupuncture.system.domain.po; + +import java.io.Serializable; +import java.util.Date; + +public class FmsFollowupTask implements Serializable { + private Long id; + + private Long patientId; + + private String name; + + private String pinyinFull; + + private String pinyinSimple; + + private Byte gender; + + private Integer age; + + private String ethnicity; + + private Integer educationYears; + + private String phone; + + private Byte idCardType; + + private String idCard; + + private Long tenantId; + + private Long queueId; + + private Integer times; + + private Date startTime; + + private Date endTime; + + private Byte status; + + private String lostReason; + + private String followuper; + + private Date followupTime; + + private String followupText; + + private Byte delFlag; + + private String createBy; + + private Date createTime; + + private String updateBy; + + private Date updateTime; + + private String remark; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getPatientId() { + return patientId; + } + + public void setPatientId(Long patientId) { + this.patientId = patientId; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name == null ? null : name.trim(); + } + + public String getPinyinFull() { + return pinyinFull; + } + + public void setPinyinFull(String pinyinFull) { + this.pinyinFull = pinyinFull == null ? null : pinyinFull.trim(); + } + + public String getPinyinSimple() { + return pinyinSimple; + } + + public void setPinyinSimple(String pinyinSimple) { + this.pinyinSimple = pinyinSimple == null ? null : pinyinSimple.trim(); + } + + public Byte getGender() { + return gender; + } + + public void setGender(Byte gender) { + this.gender = gender; + } + + public Integer getAge() { + return age; + } + + public void setAge(Integer age) { + this.age = age; + } + + public String getEthnicity() { + return ethnicity; + } + + public void setEthnicity(String ethnicity) { + this.ethnicity = ethnicity == null ? null : ethnicity.trim(); + } + + public Integer getEducationYears() { + return educationYears; + } + + public void setEducationYears(Integer educationYears) { + this.educationYears = educationYears; + } + + public String getPhone() { + return phone; + } + + public void setPhone(String phone) { + this.phone = phone == null ? null : phone.trim(); + } + + public Byte getIdCardType() { + return idCardType; + } + + public void setIdCardType(Byte idCardType) { + this.idCardType = idCardType; + } + + public String getIdCard() { + return idCard; + } + + public void setIdCard(String idCard) { + this.idCard = idCard == null ? null : idCard.trim(); + } + + public Long getTenantId() { + return tenantId; + } + + public void setTenantId(Long tenantId) { + this.tenantId = tenantId; + } + + public Long getQueueId() { + return queueId; + } + + public void setQueueId(Long queueId) { + this.queueId = queueId; + } + + public Integer getTimes() { + return times; + } + + public void setTimes(Integer times) { + this.times = times; + } + + public Date getStartTime() { + return startTime; + } + + public void setStartTime(Date startTime) { + this.startTime = startTime; + } + + public Date getEndTime() { + return endTime; + } + + public void setEndTime(Date endTime) { + this.endTime = endTime; + } + + public Byte getStatus() { + return status; + } + + public void setStatus(Byte status) { + this.status = status; + } + + public String getLostReason() { + return lostReason; + } + + public void setLostReason(String lostReason) { + this.lostReason = lostReason == null ? null : lostReason.trim(); + } + + public String getFollowuper() { + return followuper; + } + + public void setFollowuper(String followuper) { + this.followuper = followuper == null ? null : followuper.trim(); + } + + public Date getFollowupTime() { + return followupTime; + } + + public void setFollowupTime(Date followupTime) { + this.followupTime = followupTime; + } + + public String getFollowupText() { + return followupText; + } + + public void setFollowupText(String followupText) { + this.followupText = followupText == null ? null : followupText.trim(); + } + + public Byte getDelFlag() { + return delFlag; + } + + public void setDelFlag(Byte delFlag) { + this.delFlag = delFlag; + } + + public String getCreateBy() { + return createBy; + } + + public void setCreateBy(String createBy) { + this.createBy = createBy == null ? null : createBy.trim(); + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getUpdateBy() { + return updateBy; + } + + public void setUpdateBy(String updateBy) { + this.updateBy = updateBy == null ? null : updateBy.trim(); + } + + public Date getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } + + public String getRemark() { + return remark; + } + + public void setRemark(String remark) { + this.remark = remark == null ? null : remark.trim(); + } + + @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(", patientId=").append(patientId); + sb.append(", name=").append(name); + sb.append(", pinyinFull=").append(pinyinFull); + sb.append(", pinyinSimple=").append(pinyinSimple); + sb.append(", gender=").append(gender); + sb.append(", age=").append(age); + sb.append(", ethnicity=").append(ethnicity); + sb.append(", educationYears=").append(educationYears); + sb.append(", phone=").append(phone); + sb.append(", idCardType=").append(idCardType); + sb.append(", idCard=").append(idCard); + sb.append(", tenantId=").append(tenantId); + sb.append(", queueId=").append(queueId); + sb.append(", times=").append(times); + sb.append(", startTime=").append(startTime); + sb.append(", endTime=").append(endTime); + sb.append(", status=").append(status); + sb.append(", lostReason=").append(lostReason); + sb.append(", followuper=").append(followuper); + sb.append(", followupTime=").append(followupTime); + sb.append(", followupText=").append(followupText); + sb.append(", delFlag=").append(delFlag); + sb.append(", createBy=").append(createBy); + sb.append(", createTime=").append(createTime); + sb.append(", updateBy=").append(updateBy); + sb.append(", updateTime=").append(updateTime); + sb.append(", remark=").append(remark); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/FmsFollowupTaskExample.java b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/FmsFollowupTaskExample.java new file mode 100644 index 00000000..a189dd9c --- /dev/null +++ b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/FmsFollowupTaskExample.java @@ -0,0 +1,2001 @@ +package com.acupuncture.system.domain.po; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class FmsFollowupTaskExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public FmsFollowupTaskExample() { + 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 andPatientIdIsNull() { + addCriterion("patient_id is null"); + return (Criteria) this; + } + + public Criteria andPatientIdIsNotNull() { + addCriterion("patient_id is not null"); + return (Criteria) this; + } + + public Criteria andPatientIdEqualTo(Long value) { + addCriterion("patient_id =", value, "patientId"); + return (Criteria) this; + } + + public Criteria andPatientIdNotEqualTo(Long value) { + addCriterion("patient_id <>", value, "patientId"); + return (Criteria) this; + } + + public Criteria andPatientIdGreaterThan(Long value) { + addCriterion("patient_id >", value, "patientId"); + return (Criteria) this; + } + + public Criteria andPatientIdGreaterThanOrEqualTo(Long value) { + addCriterion("patient_id >=", value, "patientId"); + return (Criteria) this; + } + + public Criteria andPatientIdLessThan(Long value) { + addCriterion("patient_id <", value, "patientId"); + return (Criteria) this; + } + + public Criteria andPatientIdLessThanOrEqualTo(Long value) { + addCriterion("patient_id <=", value, "patientId"); + return (Criteria) this; + } + + public Criteria andPatientIdIn(List values) { + addCriterion("patient_id in", values, "patientId"); + return (Criteria) this; + } + + public Criteria andPatientIdNotIn(List values) { + addCriterion("patient_id not in", values, "patientId"); + return (Criteria) this; + } + + public Criteria andPatientIdBetween(Long value1, Long value2) { + addCriterion("patient_id between", value1, value2, "patientId"); + return (Criteria) this; + } + + public Criteria andPatientIdNotBetween(Long value1, Long value2) { + addCriterion("patient_id not between", value1, value2, "patientId"); + 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 andPinyinFullIsNull() { + addCriterion("pinyin_full is null"); + return (Criteria) this; + } + + public Criteria andPinyinFullIsNotNull() { + addCriterion("pinyin_full is not null"); + return (Criteria) this; + } + + public Criteria andPinyinFullEqualTo(String value) { + addCriterion("pinyin_full =", value, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullNotEqualTo(String value) { + addCriterion("pinyin_full <>", value, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullGreaterThan(String value) { + addCriterion("pinyin_full >", value, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullGreaterThanOrEqualTo(String value) { + addCriterion("pinyin_full >=", value, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullLessThan(String value) { + addCriterion("pinyin_full <", value, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullLessThanOrEqualTo(String value) { + addCriterion("pinyin_full <=", value, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullLike(String value) { + addCriterion("pinyin_full like", value, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullNotLike(String value) { + addCriterion("pinyin_full not like", value, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullIn(List values) { + addCriterion("pinyin_full in", values, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullNotIn(List values) { + addCriterion("pinyin_full not in", values, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullBetween(String value1, String value2) { + addCriterion("pinyin_full between", value1, value2, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullNotBetween(String value1, String value2) { + addCriterion("pinyin_full not between", value1, value2, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleIsNull() { + addCriterion("pinyin_simple is null"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleIsNotNull() { + addCriterion("pinyin_simple is not null"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleEqualTo(String value) { + addCriterion("pinyin_simple =", value, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleNotEqualTo(String value) { + addCriterion("pinyin_simple <>", value, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleGreaterThan(String value) { + addCriterion("pinyin_simple >", value, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleGreaterThanOrEqualTo(String value) { + addCriterion("pinyin_simple >=", value, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleLessThan(String value) { + addCriterion("pinyin_simple <", value, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleLessThanOrEqualTo(String value) { + addCriterion("pinyin_simple <=", value, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleLike(String value) { + addCriterion("pinyin_simple like", value, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleNotLike(String value) { + addCriterion("pinyin_simple not like", value, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleIn(List values) { + addCriterion("pinyin_simple in", values, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleNotIn(List values) { + addCriterion("pinyin_simple not in", values, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleBetween(String value1, String value2) { + addCriterion("pinyin_simple between", value1, value2, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleNotBetween(String value1, String value2) { + addCriterion("pinyin_simple not between", value1, value2, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andGenderIsNull() { + addCriterion("gender is null"); + return (Criteria) this; + } + + public Criteria andGenderIsNotNull() { + addCriterion("gender is not null"); + return (Criteria) this; + } + + public Criteria andGenderEqualTo(Byte value) { + addCriterion("gender =", value, "gender"); + return (Criteria) this; + } + + public Criteria andGenderNotEqualTo(Byte value) { + addCriterion("gender <>", value, "gender"); + return (Criteria) this; + } + + public Criteria andGenderGreaterThan(Byte value) { + addCriterion("gender >", value, "gender"); + return (Criteria) this; + } + + public Criteria andGenderGreaterThanOrEqualTo(Byte value) { + addCriterion("gender >=", value, "gender"); + return (Criteria) this; + } + + public Criteria andGenderLessThan(Byte value) { + addCriterion("gender <", value, "gender"); + return (Criteria) this; + } + + public Criteria andGenderLessThanOrEqualTo(Byte value) { + addCriterion("gender <=", value, "gender"); + return (Criteria) this; + } + + public Criteria andGenderIn(List values) { + addCriterion("gender in", values, "gender"); + return (Criteria) this; + } + + public Criteria andGenderNotIn(List values) { + addCriterion("gender not in", values, "gender"); + return (Criteria) this; + } + + public Criteria andGenderBetween(Byte value1, Byte value2) { + addCriterion("gender between", value1, value2, "gender"); + return (Criteria) this; + } + + public Criteria andGenderNotBetween(Byte value1, Byte value2) { + addCriterion("gender not between", value1, value2, "gender"); + return (Criteria) this; + } + + public Criteria andAgeIsNull() { + addCriterion("age is null"); + return (Criteria) this; + } + + public Criteria andAgeIsNotNull() { + addCriterion("age is not null"); + return (Criteria) this; + } + + public Criteria andAgeEqualTo(Integer value) { + addCriterion("age =", value, "age"); + return (Criteria) this; + } + + public Criteria andAgeNotEqualTo(Integer value) { + addCriterion("age <>", value, "age"); + return (Criteria) this; + } + + public Criteria andAgeGreaterThan(Integer value) { + addCriterion("age >", value, "age"); + return (Criteria) this; + } + + public Criteria andAgeGreaterThanOrEqualTo(Integer value) { + addCriterion("age >=", value, "age"); + return (Criteria) this; + } + + public Criteria andAgeLessThan(Integer value) { + addCriterion("age <", value, "age"); + return (Criteria) this; + } + + public Criteria andAgeLessThanOrEqualTo(Integer value) { + addCriterion("age <=", value, "age"); + return (Criteria) this; + } + + public Criteria andAgeIn(List values) { + addCriterion("age in", values, "age"); + return (Criteria) this; + } + + public Criteria andAgeNotIn(List values) { + addCriterion("age not in", values, "age"); + return (Criteria) this; + } + + public Criteria andAgeBetween(Integer value1, Integer value2) { + addCriterion("age between", value1, value2, "age"); + return (Criteria) this; + } + + public Criteria andAgeNotBetween(Integer value1, Integer value2) { + addCriterion("age not between", value1, value2, "age"); + return (Criteria) this; + } + + public Criteria andEthnicityIsNull() { + addCriterion("ethnicity is null"); + return (Criteria) this; + } + + public Criteria andEthnicityIsNotNull() { + addCriterion("ethnicity is not null"); + return (Criteria) this; + } + + public Criteria andEthnicityEqualTo(String value) { + addCriterion("ethnicity =", value, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityNotEqualTo(String value) { + addCriterion("ethnicity <>", value, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityGreaterThan(String value) { + addCriterion("ethnicity >", value, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityGreaterThanOrEqualTo(String value) { + addCriterion("ethnicity >=", value, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityLessThan(String value) { + addCriterion("ethnicity <", value, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityLessThanOrEqualTo(String value) { + addCriterion("ethnicity <=", value, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityLike(String value) { + addCriterion("ethnicity like", value, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityNotLike(String value) { + addCriterion("ethnicity not like", value, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityIn(List values) { + addCriterion("ethnicity in", values, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityNotIn(List values) { + addCriterion("ethnicity not in", values, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityBetween(String value1, String value2) { + addCriterion("ethnicity between", value1, value2, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityNotBetween(String value1, String value2) { + addCriterion("ethnicity not between", value1, value2, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEducationYearsIsNull() { + addCriterion("education_years is null"); + return (Criteria) this; + } + + public Criteria andEducationYearsIsNotNull() { + addCriterion("education_years is not null"); + return (Criteria) this; + } + + public Criteria andEducationYearsEqualTo(Integer value) { + addCriterion("education_years =", value, "educationYears"); + return (Criteria) this; + } + + public Criteria andEducationYearsNotEqualTo(Integer value) { + addCriterion("education_years <>", value, "educationYears"); + return (Criteria) this; + } + + public Criteria andEducationYearsGreaterThan(Integer value) { + addCriterion("education_years >", value, "educationYears"); + return (Criteria) this; + } + + public Criteria andEducationYearsGreaterThanOrEqualTo(Integer value) { + addCriterion("education_years >=", value, "educationYears"); + return (Criteria) this; + } + + public Criteria andEducationYearsLessThan(Integer value) { + addCriterion("education_years <", value, "educationYears"); + return (Criteria) this; + } + + public Criteria andEducationYearsLessThanOrEqualTo(Integer value) { + addCriterion("education_years <=", value, "educationYears"); + return (Criteria) this; + } + + public Criteria andEducationYearsIn(List values) { + addCriterion("education_years in", values, "educationYears"); + return (Criteria) this; + } + + public Criteria andEducationYearsNotIn(List values) { + addCriterion("education_years not in", values, "educationYears"); + return (Criteria) this; + } + + public Criteria andEducationYearsBetween(Integer value1, Integer value2) { + addCriterion("education_years between", value1, value2, "educationYears"); + return (Criteria) this; + } + + public Criteria andEducationYearsNotBetween(Integer value1, Integer value2) { + addCriterion("education_years not between", value1, value2, "educationYears"); + 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 andIdCardTypeIsNull() { + addCriterion("id_card_type is null"); + return (Criteria) this; + } + + public Criteria andIdCardTypeIsNotNull() { + addCriterion("id_card_type is not null"); + return (Criteria) this; + } + + public Criteria andIdCardTypeEqualTo(Byte value) { + addCriterion("id_card_type =", value, "idCardType"); + return (Criteria) this; + } + + public Criteria andIdCardTypeNotEqualTo(Byte value) { + addCriterion("id_card_type <>", value, "idCardType"); + return (Criteria) this; + } + + public Criteria andIdCardTypeGreaterThan(Byte value) { + addCriterion("id_card_type >", value, "idCardType"); + return (Criteria) this; + } + + public Criteria andIdCardTypeGreaterThanOrEqualTo(Byte value) { + addCriterion("id_card_type >=", value, "idCardType"); + return (Criteria) this; + } + + public Criteria andIdCardTypeLessThan(Byte value) { + addCriterion("id_card_type <", value, "idCardType"); + return (Criteria) this; + } + + public Criteria andIdCardTypeLessThanOrEqualTo(Byte value) { + addCriterion("id_card_type <=", value, "idCardType"); + return (Criteria) this; + } + + public Criteria andIdCardTypeIn(List values) { + addCriterion("id_card_type in", values, "idCardType"); + return (Criteria) this; + } + + public Criteria andIdCardTypeNotIn(List values) { + addCriterion("id_card_type not in", values, "idCardType"); + return (Criteria) this; + } + + public Criteria andIdCardTypeBetween(Byte value1, Byte value2) { + addCriterion("id_card_type between", value1, value2, "idCardType"); + return (Criteria) this; + } + + public Criteria andIdCardTypeNotBetween(Byte value1, Byte value2) { + addCriterion("id_card_type not between", value1, value2, "idCardType"); + 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 andTenantIdIsNull() { + addCriterion("tenant_id is null"); + return (Criteria) this; + } + + public Criteria andTenantIdIsNotNull() { + addCriterion("tenant_id is not null"); + return (Criteria) this; + } + + public Criteria andTenantIdEqualTo(Long value) { + addCriterion("tenant_id =", value, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotEqualTo(Long value) { + addCriterion("tenant_id <>", value, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdGreaterThan(Long value) { + addCriterion("tenant_id >", value, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdGreaterThanOrEqualTo(Long value) { + addCriterion("tenant_id >=", value, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdLessThan(Long value) { + addCriterion("tenant_id <", value, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdLessThanOrEqualTo(Long value) { + addCriterion("tenant_id <=", value, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdIn(List values) { + addCriterion("tenant_id in", values, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotIn(List values) { + addCriterion("tenant_id not in", values, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdBetween(Long value1, Long value2) { + addCriterion("tenant_id between", value1, value2, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotBetween(Long value1, Long value2) { + addCriterion("tenant_id not between", value1, value2, "tenantId"); + return (Criteria) this; + } + + public Criteria andQueueIdIsNull() { + addCriterion("queue_id is null"); + return (Criteria) this; + } + + public Criteria andQueueIdIsNotNull() { + addCriterion("queue_id is not null"); + return (Criteria) this; + } + + public Criteria andQueueIdEqualTo(Long value) { + addCriterion("queue_id =", value, "queueId"); + return (Criteria) this; + } + + public Criteria andQueueIdNotEqualTo(Long value) { + addCriterion("queue_id <>", value, "queueId"); + return (Criteria) this; + } + + public Criteria andQueueIdGreaterThan(Long value) { + addCriterion("queue_id >", value, "queueId"); + return (Criteria) this; + } + + public Criteria andQueueIdGreaterThanOrEqualTo(Long value) { + addCriterion("queue_id >=", value, "queueId"); + return (Criteria) this; + } + + public Criteria andQueueIdLessThan(Long value) { + addCriterion("queue_id <", value, "queueId"); + return (Criteria) this; + } + + public Criteria andQueueIdLessThanOrEqualTo(Long value) { + addCriterion("queue_id <=", value, "queueId"); + return (Criteria) this; + } + + public Criteria andQueueIdIn(List values) { + addCriterion("queue_id in", values, "queueId"); + return (Criteria) this; + } + + public Criteria andQueueIdNotIn(List values) { + addCriterion("queue_id not in", values, "queueId"); + return (Criteria) this; + } + + public Criteria andQueueIdBetween(Long value1, Long value2) { + addCriterion("queue_id between", value1, value2, "queueId"); + return (Criteria) this; + } + + public Criteria andQueueIdNotBetween(Long value1, Long value2) { + addCriterion("queue_id not between", value1, value2, "queueId"); + return (Criteria) this; + } + + public Criteria andTimesIsNull() { + addCriterion("times is null"); + return (Criteria) this; + } + + public Criteria andTimesIsNotNull() { + addCriterion("times is not null"); + return (Criteria) this; + } + + public Criteria andTimesEqualTo(Integer value) { + addCriterion("times =", value, "times"); + return (Criteria) this; + } + + public Criteria andTimesNotEqualTo(Integer value) { + addCriterion("times <>", value, "times"); + return (Criteria) this; + } + + public Criteria andTimesGreaterThan(Integer value) { + addCriterion("times >", value, "times"); + return (Criteria) this; + } + + public Criteria andTimesGreaterThanOrEqualTo(Integer value) { + addCriterion("times >=", value, "times"); + return (Criteria) this; + } + + public Criteria andTimesLessThan(Integer value) { + addCriterion("times <", value, "times"); + return (Criteria) this; + } + + public Criteria andTimesLessThanOrEqualTo(Integer value) { + addCriterion("times <=", value, "times"); + return (Criteria) this; + } + + public Criteria andTimesIn(List values) { + addCriterion("times in", values, "times"); + return (Criteria) this; + } + + public Criteria andTimesNotIn(List values) { + addCriterion("times not in", values, "times"); + return (Criteria) this; + } + + public Criteria andTimesBetween(Integer value1, Integer value2) { + addCriterion("times between", value1, value2, "times"); + return (Criteria) this; + } + + public Criteria andTimesNotBetween(Integer value1, Integer value2) { + addCriterion("times not between", value1, value2, "times"); + 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(Date value) { + addCriterion("start_time =", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeNotEqualTo(Date value) { + addCriterion("start_time <>", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeGreaterThan(Date value) { + addCriterion("start_time >", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeGreaterThanOrEqualTo(Date value) { + addCriterion("start_time >=", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeLessThan(Date value) { + addCriterion("start_time <", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeLessThanOrEqualTo(Date 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(Date value1, Date value2) { + addCriterion("start_time between", value1, value2, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeNotBetween(Date value1, Date 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(Date value) { + addCriterion("end_time =", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeNotEqualTo(Date value) { + addCriterion("end_time <>", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeGreaterThan(Date value) { + addCriterion("end_time >", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeGreaterThanOrEqualTo(Date value) { + addCriterion("end_time >=", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeLessThan(Date value) { + addCriterion("end_time <", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeLessThanOrEqualTo(Date 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(Date value1, Date value2) { + addCriterion("end_time between", value1, value2, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeNotBetween(Date value1, Date value2) { + addCriterion("end_time not between", value1, value2, "endTime"); + 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 andLostReasonIsNull() { + addCriterion("lost_reason is null"); + return (Criteria) this; + } + + public Criteria andLostReasonIsNotNull() { + addCriterion("lost_reason is not null"); + return (Criteria) this; + } + + public Criteria andLostReasonEqualTo(String value) { + addCriterion("lost_reason =", value, "lostReason"); + return (Criteria) this; + } + + public Criteria andLostReasonNotEqualTo(String value) { + addCriterion("lost_reason <>", value, "lostReason"); + return (Criteria) this; + } + + public Criteria andLostReasonGreaterThan(String value) { + addCriterion("lost_reason >", value, "lostReason"); + return (Criteria) this; + } + + public Criteria andLostReasonGreaterThanOrEqualTo(String value) { + addCriterion("lost_reason >=", value, "lostReason"); + return (Criteria) this; + } + + public Criteria andLostReasonLessThan(String value) { + addCriterion("lost_reason <", value, "lostReason"); + return (Criteria) this; + } + + public Criteria andLostReasonLessThanOrEqualTo(String value) { + addCriterion("lost_reason <=", value, "lostReason"); + return (Criteria) this; + } + + public Criteria andLostReasonLike(String value) { + addCriterion("lost_reason like", value, "lostReason"); + return (Criteria) this; + } + + public Criteria andLostReasonNotLike(String value) { + addCriterion("lost_reason not like", value, "lostReason"); + return (Criteria) this; + } + + public Criteria andLostReasonIn(List values) { + addCriterion("lost_reason in", values, "lostReason"); + return (Criteria) this; + } + + public Criteria andLostReasonNotIn(List values) { + addCriterion("lost_reason not in", values, "lostReason"); + return (Criteria) this; + } + + public Criteria andLostReasonBetween(String value1, String value2) { + addCriterion("lost_reason between", value1, value2, "lostReason"); + return (Criteria) this; + } + + public Criteria andLostReasonNotBetween(String value1, String value2) { + addCriterion("lost_reason not between", value1, value2, "lostReason"); + return (Criteria) this; + } + + public Criteria andFollowuperIsNull() { + addCriterion("followuper is null"); + return (Criteria) this; + } + + public Criteria andFollowuperIsNotNull() { + addCriterion("followuper is not null"); + return (Criteria) this; + } + + public Criteria andFollowuperEqualTo(String value) { + addCriterion("followuper =", value, "followuper"); + return (Criteria) this; + } + + public Criteria andFollowuperNotEqualTo(String value) { + addCriterion("followuper <>", value, "followuper"); + return (Criteria) this; + } + + public Criteria andFollowuperGreaterThan(String value) { + addCriterion("followuper >", value, "followuper"); + return (Criteria) this; + } + + public Criteria andFollowuperGreaterThanOrEqualTo(String value) { + addCriterion("followuper >=", value, "followuper"); + return (Criteria) this; + } + + public Criteria andFollowuperLessThan(String value) { + addCriterion("followuper <", value, "followuper"); + return (Criteria) this; + } + + public Criteria andFollowuperLessThanOrEqualTo(String value) { + addCriterion("followuper <=", value, "followuper"); + return (Criteria) this; + } + + public Criteria andFollowuperLike(String value) { + addCriterion("followuper like", value, "followuper"); + return (Criteria) this; + } + + public Criteria andFollowuperNotLike(String value) { + addCriterion("followuper not like", value, "followuper"); + return (Criteria) this; + } + + public Criteria andFollowuperIn(List values) { + addCriterion("followuper in", values, "followuper"); + return (Criteria) this; + } + + public Criteria andFollowuperNotIn(List values) { + addCriterion("followuper not in", values, "followuper"); + return (Criteria) this; + } + + public Criteria andFollowuperBetween(String value1, String value2) { + addCriterion("followuper between", value1, value2, "followuper"); + return (Criteria) this; + } + + public Criteria andFollowuperNotBetween(String value1, String value2) { + addCriterion("followuper not between", value1, value2, "followuper"); + return (Criteria) this; + } + + public Criteria andFollowupTimeIsNull() { + addCriterion("followup_time is null"); + return (Criteria) this; + } + + public Criteria andFollowupTimeIsNotNull() { + addCriterion("followup_time is not null"); + return (Criteria) this; + } + + public Criteria andFollowupTimeEqualTo(Date value) { + addCriterion("followup_time =", value, "followupTime"); + return (Criteria) this; + } + + public Criteria andFollowupTimeNotEqualTo(Date value) { + addCriterion("followup_time <>", value, "followupTime"); + return (Criteria) this; + } + + public Criteria andFollowupTimeGreaterThan(Date value) { + addCriterion("followup_time >", value, "followupTime"); + return (Criteria) this; + } + + public Criteria andFollowupTimeGreaterThanOrEqualTo(Date value) { + addCriterion("followup_time >=", value, "followupTime"); + return (Criteria) this; + } + + public Criteria andFollowupTimeLessThan(Date value) { + addCriterion("followup_time <", value, "followupTime"); + return (Criteria) this; + } + + public Criteria andFollowupTimeLessThanOrEqualTo(Date value) { + addCriterion("followup_time <=", value, "followupTime"); + return (Criteria) this; + } + + public Criteria andFollowupTimeIn(List values) { + addCriterion("followup_time in", values, "followupTime"); + return (Criteria) this; + } + + public Criteria andFollowupTimeNotIn(List values) { + addCriterion("followup_time not in", values, "followupTime"); + return (Criteria) this; + } + + public Criteria andFollowupTimeBetween(Date value1, Date value2) { + addCriterion("followup_time between", value1, value2, "followupTime"); + return (Criteria) this; + } + + public Criteria andFollowupTimeNotBetween(Date value1, Date value2) { + addCriterion("followup_time not between", value1, value2, "followupTime"); + return (Criteria) this; + } + + public Criteria andFollowupTextIsNull() { + addCriterion("followup_text is null"); + return (Criteria) this; + } + + public Criteria andFollowupTextIsNotNull() { + addCriterion("followup_text is not null"); + return (Criteria) this; + } + + public Criteria andFollowupTextEqualTo(String value) { + addCriterion("followup_text =", value, "followupText"); + return (Criteria) this; + } + + public Criteria andFollowupTextNotEqualTo(String value) { + addCriterion("followup_text <>", value, "followupText"); + return (Criteria) this; + } + + public Criteria andFollowupTextGreaterThan(String value) { + addCriterion("followup_text >", value, "followupText"); + return (Criteria) this; + } + + public Criteria andFollowupTextGreaterThanOrEqualTo(String value) { + addCriterion("followup_text >=", value, "followupText"); + return (Criteria) this; + } + + public Criteria andFollowupTextLessThan(String value) { + addCriterion("followup_text <", value, "followupText"); + return (Criteria) this; + } + + public Criteria andFollowupTextLessThanOrEqualTo(String value) { + addCriterion("followup_text <=", value, "followupText"); + return (Criteria) this; + } + + public Criteria andFollowupTextLike(String value) { + addCriterion("followup_text like", value, "followupText"); + return (Criteria) this; + } + + public Criteria andFollowupTextNotLike(String value) { + addCriterion("followup_text not like", value, "followupText"); + return (Criteria) this; + } + + public Criteria andFollowupTextIn(List values) { + addCriterion("followup_text in", values, "followupText"); + return (Criteria) this; + } + + public Criteria andFollowupTextNotIn(List values) { + addCriterion("followup_text not in", values, "followupText"); + return (Criteria) this; + } + + public Criteria andFollowupTextBetween(String value1, String value2) { + addCriterion("followup_text between", value1, value2, "followupText"); + return (Criteria) this; + } + + public Criteria andFollowupTextNotBetween(String value1, String value2) { + addCriterion("followup_text not between", value1, value2, "followupText"); + return (Criteria) this; + } + + public Criteria andDelFlagIsNull() { + addCriterion("del_flag is null"); + return (Criteria) this; + } + + public Criteria andDelFlagIsNotNull() { + addCriterion("del_flag is not null"); + return (Criteria) this; + } + + public Criteria andDelFlagEqualTo(Byte value) { + addCriterion("del_flag =", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagNotEqualTo(Byte value) { + addCriterion("del_flag <>", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagGreaterThan(Byte value) { + addCriterion("del_flag >", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagGreaterThanOrEqualTo(Byte value) { + addCriterion("del_flag >=", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagLessThan(Byte value) { + addCriterion("del_flag <", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagLessThanOrEqualTo(Byte value) { + addCriterion("del_flag <=", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagIn(List values) { + addCriterion("del_flag in", values, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagNotIn(List values) { + addCriterion("del_flag not in", values, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagBetween(Byte value1, Byte value2) { + addCriterion("del_flag between", value1, value2, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagNotBetween(Byte value1, Byte value2) { + addCriterion("del_flag not between", value1, value2, "delFlag"); + return (Criteria) this; + } + + public Criteria andCreateByIsNull() { + addCriterion("create_by is null"); + return (Criteria) this; + } + + public Criteria andCreateByIsNotNull() { + addCriterion("create_by is not null"); + return (Criteria) this; + } + + public Criteria andCreateByEqualTo(String value) { + addCriterion("create_by =", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotEqualTo(String value) { + addCriterion("create_by <>", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByGreaterThan(String value) { + addCriterion("create_by >", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByGreaterThanOrEqualTo(String value) { + addCriterion("create_by >=", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByLessThan(String value) { + addCriterion("create_by <", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByLessThanOrEqualTo(String value) { + addCriterion("create_by <=", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByLike(String value) { + addCriterion("create_by like", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotLike(String value) { + addCriterion("create_by not like", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByIn(List values) { + addCriterion("create_by in", values, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotIn(List values) { + addCriterion("create_by not in", values, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByBetween(String value1, String value2) { + addCriterion("create_by between", value1, value2, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotBetween(String value1, String value2) { + addCriterion("create_by not between", value1, value2, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andUpdateByIsNull() { + addCriterion("update_by is null"); + return (Criteria) this; + } + + public Criteria andUpdateByIsNotNull() { + addCriterion("update_by is not null"); + return (Criteria) this; + } + + public Criteria andUpdateByEqualTo(String value) { + addCriterion("update_by =", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotEqualTo(String value) { + addCriterion("update_by <>", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByGreaterThan(String value) { + addCriterion("update_by >", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByGreaterThanOrEqualTo(String value) { + addCriterion("update_by >=", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByLessThan(String value) { + addCriterion("update_by <", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByLessThanOrEqualTo(String value) { + addCriterion("update_by <=", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByLike(String value) { + addCriterion("update_by like", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotLike(String value) { + addCriterion("update_by not like", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByIn(List values) { + addCriterion("update_by in", values, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotIn(List values) { + addCriterion("update_by not in", values, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByBetween(String value1, String value2) { + addCriterion("update_by between", value1, value2, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotBetween(String value1, String value2) { + addCriterion("update_by not between", value1, value2, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIsNull() { + addCriterion("update_time is null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIsNotNull() { + addCriterion("update_time is not null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeEqualTo(Date value) { + addCriterion("update_time =", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotEqualTo(Date value) { + addCriterion("update_time <>", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThan(Date value) { + addCriterion("update_time >", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("update_time >=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThan(Date value) { + addCriterion("update_time <", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { + addCriterion("update_time <=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIn(List values) { + addCriterion("update_time in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotIn(List values) { + addCriterion("update_time not in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeBetween(Date value1, Date value2) { + addCriterion("update_time between", value1, value2, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { + addCriterion("update_time not between", value1, value2, "updateTime"); + return (Criteria) this; + } + + public Criteria 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 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/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/FmsPatientQueueRelation.java b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/FmsPatientQueueRelation.java new file mode 100644 index 00000000..718e6394 --- /dev/null +++ b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/FmsPatientQueueRelation.java @@ -0,0 +1,205 @@ +package com.acupuncture.system.domain.po; + +import java.io.Serializable; +import java.util.Date; + +public class FmsPatientQueueRelation extends FmsPatientQueueRelationKey implements Serializable { + private String name; + + private String pinyinFull; + + private String pinyinSimple; + + private Byte gender; + + private Date birthDate; + + private String ethnicity; + + private Integer educationYears; + + private String phone; + + private Byte idCardType; + + private String idCard; + + private Long tenantId; + + private Byte delFlag; + + private String createBy; + + private Date createTime; + + private String updateBy; + + private Date updateTime; + + private String remark; + + private static final long serialVersionUID = 1L; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name == null ? null : name.trim(); + } + + public String getPinyinFull() { + return pinyinFull; + } + + public void setPinyinFull(String pinyinFull) { + this.pinyinFull = pinyinFull == null ? null : pinyinFull.trim(); + } + + public String getPinyinSimple() { + return pinyinSimple; + } + + public void setPinyinSimple(String pinyinSimple) { + this.pinyinSimple = pinyinSimple == null ? null : pinyinSimple.trim(); + } + + public Byte getGender() { + return gender; + } + + public void setGender(Byte gender) { + this.gender = gender; + } + + public Date getBirthDate() { + return birthDate; + } + + public void setBirthDate(Date birthDate) { + this.birthDate = birthDate; + } + + public String getEthnicity() { + return ethnicity; + } + + public void setEthnicity(String ethnicity) { + this.ethnicity = ethnicity == null ? null : ethnicity.trim(); + } + + public Integer getEducationYears() { + return educationYears; + } + + public void setEducationYears(Integer educationYears) { + this.educationYears = educationYears; + } + + public String getPhone() { + return phone; + } + + public void setPhone(String phone) { + this.phone = phone == null ? null : phone.trim(); + } + + public Byte getIdCardType() { + return idCardType; + } + + public void setIdCardType(Byte idCardType) { + this.idCardType = idCardType; + } + + public String getIdCard() { + return idCard; + } + + public void setIdCard(String idCard) { + this.idCard = idCard == null ? null : idCard.trim(); + } + + public Long getTenantId() { + return tenantId; + } + + public void setTenantId(Long tenantId) { + this.tenantId = tenantId; + } + + public Byte getDelFlag() { + return delFlag; + } + + public void setDelFlag(Byte delFlag) { + this.delFlag = delFlag; + } + + public String getCreateBy() { + return createBy; + } + + public void setCreateBy(String createBy) { + this.createBy = createBy == null ? null : createBy.trim(); + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getUpdateBy() { + return updateBy; + } + + public void setUpdateBy(String updateBy) { + this.updateBy = updateBy == null ? null : updateBy.trim(); + } + + public Date getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } + + public String getRemark() { + return remark; + } + + public void setRemark(String remark) { + this.remark = remark == null ? null : remark.trim(); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", name=").append(name); + sb.append(", pinyinFull=").append(pinyinFull); + sb.append(", pinyinSimple=").append(pinyinSimple); + sb.append(", gender=").append(gender); + sb.append(", birthDate=").append(birthDate); + sb.append(", ethnicity=").append(ethnicity); + sb.append(", educationYears=").append(educationYears); + sb.append(", phone=").append(phone); + sb.append(", idCardType=").append(idCardType); + sb.append(", idCard=").append(idCard); + sb.append(", tenantId=").append(tenantId); + sb.append(", delFlag=").append(delFlag); + sb.append(", createBy=").append(createBy); + sb.append(", createTime=").append(createTime); + sb.append(", updateBy=").append(updateBy); + sb.append(", updateTime=").append(updateTime); + sb.append(", remark=").append(remark); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/FmsPatientQueueRelationExample.java b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/FmsPatientQueueRelationExample.java new file mode 100644 index 00000000..2130f528 --- /dev/null +++ b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/FmsPatientQueueRelationExample.java @@ -0,0 +1,1458 @@ +package com.acupuncture.system.domain.po; + +import java.util.ArrayList; +import java.util.Date; +import java.util.Iterator; +import java.util.List; + +public class FmsPatientQueueRelationExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public FmsPatientQueueRelationExample() { + 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)); + } + + protected void addCriterionForJDBCDate(String condition, Date value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + addCriterion(condition, new java.sql.Date(value.getTime()), property); + } + + protected void addCriterionForJDBCDate(String condition, List values, String property) { + if (values == null || values.size() == 0) { + throw new RuntimeException("Value list for " + property + " cannot be null or empty"); + } + List dateList = new ArrayList(); + Iterator iter = values.iterator(); + while (iter.hasNext()) { + dateList.add(new java.sql.Date(iter.next().getTime())); + } + addCriterion(condition, dateList, property); + } + + protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property); + } + + public Criteria andPatientIdIsNull() { + addCriterion("patient_id is null"); + return (Criteria) this; + } + + public Criteria andPatientIdIsNotNull() { + addCriterion("patient_id is not null"); + return (Criteria) this; + } + + public Criteria andPatientIdEqualTo(Long value) { + addCriterion("patient_id =", value, "patientId"); + return (Criteria) this; + } + + public Criteria andPatientIdNotEqualTo(Long value) { + addCriterion("patient_id <>", value, "patientId"); + return (Criteria) this; + } + + public Criteria andPatientIdGreaterThan(Long value) { + addCriterion("patient_id >", value, "patientId"); + return (Criteria) this; + } + + public Criteria andPatientIdGreaterThanOrEqualTo(Long value) { + addCriterion("patient_id >=", value, "patientId"); + return (Criteria) this; + } + + public Criteria andPatientIdLessThan(Long value) { + addCriterion("patient_id <", value, "patientId"); + return (Criteria) this; + } + + public Criteria andPatientIdLessThanOrEqualTo(Long value) { + addCriterion("patient_id <=", value, "patientId"); + return (Criteria) this; + } + + public Criteria andPatientIdIn(List values) { + addCriterion("patient_id in", values, "patientId"); + return (Criteria) this; + } + + public Criteria andPatientIdNotIn(List values) { + addCriterion("patient_id not in", values, "patientId"); + return (Criteria) this; + } + + public Criteria andPatientIdBetween(Long value1, Long value2) { + addCriterion("patient_id between", value1, value2, "patientId"); + return (Criteria) this; + } + + public Criteria andPatientIdNotBetween(Long value1, Long value2) { + addCriterion("patient_id not between", value1, value2, "patientId"); + return (Criteria) this; + } + + public Criteria andQueueIdIsNull() { + addCriterion("queue_id is null"); + return (Criteria) this; + } + + public Criteria andQueueIdIsNotNull() { + addCriterion("queue_id is not null"); + return (Criteria) this; + } + + public Criteria andQueueIdEqualTo(Long value) { + addCriterion("queue_id =", value, "queueId"); + return (Criteria) this; + } + + public Criteria andQueueIdNotEqualTo(Long value) { + addCriterion("queue_id <>", value, "queueId"); + return (Criteria) this; + } + + public Criteria andQueueIdGreaterThan(Long value) { + addCriterion("queue_id >", value, "queueId"); + return (Criteria) this; + } + + public Criteria andQueueIdGreaterThanOrEqualTo(Long value) { + addCriterion("queue_id >=", value, "queueId"); + return (Criteria) this; + } + + public Criteria andQueueIdLessThan(Long value) { + addCriterion("queue_id <", value, "queueId"); + return (Criteria) this; + } + + public Criteria andQueueIdLessThanOrEqualTo(Long value) { + addCriterion("queue_id <=", value, "queueId"); + return (Criteria) this; + } + + public Criteria andQueueIdIn(List values) { + addCriterion("queue_id in", values, "queueId"); + return (Criteria) this; + } + + public Criteria andQueueIdNotIn(List values) { + addCriterion("queue_id not in", values, "queueId"); + return (Criteria) this; + } + + public Criteria andQueueIdBetween(Long value1, Long value2) { + addCriterion("queue_id between", value1, value2, "queueId"); + return (Criteria) this; + } + + public Criteria andQueueIdNotBetween(Long value1, Long value2) { + addCriterion("queue_id not between", value1, value2, "queueId"); + 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 andPinyinFullIsNull() { + addCriterion("pinyin_full is null"); + return (Criteria) this; + } + + public Criteria andPinyinFullIsNotNull() { + addCriterion("pinyin_full is not null"); + return (Criteria) this; + } + + public Criteria andPinyinFullEqualTo(String value) { + addCriterion("pinyin_full =", value, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullNotEqualTo(String value) { + addCriterion("pinyin_full <>", value, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullGreaterThan(String value) { + addCriterion("pinyin_full >", value, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullGreaterThanOrEqualTo(String value) { + addCriterion("pinyin_full >=", value, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullLessThan(String value) { + addCriterion("pinyin_full <", value, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullLessThanOrEqualTo(String value) { + addCriterion("pinyin_full <=", value, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullLike(String value) { + addCriterion("pinyin_full like", value, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullNotLike(String value) { + addCriterion("pinyin_full not like", value, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullIn(List values) { + addCriterion("pinyin_full in", values, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullNotIn(List values) { + addCriterion("pinyin_full not in", values, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullBetween(String value1, String value2) { + addCriterion("pinyin_full between", value1, value2, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullNotBetween(String value1, String value2) { + addCriterion("pinyin_full not between", value1, value2, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleIsNull() { + addCriterion("pinyin_simple is null"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleIsNotNull() { + addCriterion("pinyin_simple is not null"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleEqualTo(String value) { + addCriterion("pinyin_simple =", value, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleNotEqualTo(String value) { + addCriterion("pinyin_simple <>", value, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleGreaterThan(String value) { + addCriterion("pinyin_simple >", value, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleGreaterThanOrEqualTo(String value) { + addCriterion("pinyin_simple >=", value, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleLessThan(String value) { + addCriterion("pinyin_simple <", value, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleLessThanOrEqualTo(String value) { + addCriterion("pinyin_simple <=", value, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleLike(String value) { + addCriterion("pinyin_simple like", value, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleNotLike(String value) { + addCriterion("pinyin_simple not like", value, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleIn(List values) { + addCriterion("pinyin_simple in", values, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleNotIn(List values) { + addCriterion("pinyin_simple not in", values, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleBetween(String value1, String value2) { + addCriterion("pinyin_simple between", value1, value2, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleNotBetween(String value1, String value2) { + addCriterion("pinyin_simple not between", value1, value2, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andGenderIsNull() { + addCriterion("gender is null"); + return (Criteria) this; + } + + public Criteria andGenderIsNotNull() { + addCriterion("gender is not null"); + return (Criteria) this; + } + + public Criteria andGenderEqualTo(Byte value) { + addCriterion("gender =", value, "gender"); + return (Criteria) this; + } + + public Criteria andGenderNotEqualTo(Byte value) { + addCriterion("gender <>", value, "gender"); + return (Criteria) this; + } + + public Criteria andGenderGreaterThan(Byte value) { + addCriterion("gender >", value, "gender"); + return (Criteria) this; + } + + public Criteria andGenderGreaterThanOrEqualTo(Byte value) { + addCriterion("gender >=", value, "gender"); + return (Criteria) this; + } + + public Criteria andGenderLessThan(Byte value) { + addCriterion("gender <", value, "gender"); + return (Criteria) this; + } + + public Criteria andGenderLessThanOrEqualTo(Byte value) { + addCriterion("gender <=", value, "gender"); + return (Criteria) this; + } + + public Criteria andGenderIn(List values) { + addCriterion("gender in", values, "gender"); + return (Criteria) this; + } + + public Criteria andGenderNotIn(List values) { + addCriterion("gender not in", values, "gender"); + return (Criteria) this; + } + + public Criteria andGenderBetween(Byte value1, Byte value2) { + addCriterion("gender between", value1, value2, "gender"); + return (Criteria) this; + } + + public Criteria andGenderNotBetween(Byte value1, Byte value2) { + addCriterion("gender not between", value1, value2, "gender"); + return (Criteria) this; + } + + public Criteria andBirthDateIsNull() { + addCriterion("birth_date is null"); + return (Criteria) this; + } + + public Criteria andBirthDateIsNotNull() { + addCriterion("birth_date is not null"); + return (Criteria) this; + } + + public Criteria andBirthDateEqualTo(Date value) { + addCriterionForJDBCDate("birth_date =", value, "birthDate"); + return (Criteria) this; + } + + public Criteria andBirthDateNotEqualTo(Date value) { + addCriterionForJDBCDate("birth_date <>", value, "birthDate"); + return (Criteria) this; + } + + public Criteria andBirthDateGreaterThan(Date value) { + addCriterionForJDBCDate("birth_date >", value, "birthDate"); + return (Criteria) this; + } + + public Criteria andBirthDateGreaterThanOrEqualTo(Date value) { + addCriterionForJDBCDate("birth_date >=", value, "birthDate"); + return (Criteria) this; + } + + public Criteria andBirthDateLessThan(Date value) { + addCriterionForJDBCDate("birth_date <", value, "birthDate"); + return (Criteria) this; + } + + public Criteria andBirthDateLessThanOrEqualTo(Date value) { + addCriterionForJDBCDate("birth_date <=", value, "birthDate"); + return (Criteria) this; + } + + public Criteria andBirthDateIn(List values) { + addCriterionForJDBCDate("birth_date in", values, "birthDate"); + return (Criteria) this; + } + + public Criteria andBirthDateNotIn(List values) { + addCriterionForJDBCDate("birth_date not in", values, "birthDate"); + return (Criteria) this; + } + + public Criteria andBirthDateBetween(Date value1, Date value2) { + addCriterionForJDBCDate("birth_date between", value1, value2, "birthDate"); + return (Criteria) this; + } + + public Criteria andBirthDateNotBetween(Date value1, Date value2) { + addCriterionForJDBCDate("birth_date not between", value1, value2, "birthDate"); + return (Criteria) this; + } + + public Criteria andEthnicityIsNull() { + addCriterion("ethnicity is null"); + return (Criteria) this; + } + + public Criteria andEthnicityIsNotNull() { + addCriterion("ethnicity is not null"); + return (Criteria) this; + } + + public Criteria andEthnicityEqualTo(String value) { + addCriterion("ethnicity =", value, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityNotEqualTo(String value) { + addCriterion("ethnicity <>", value, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityGreaterThan(String value) { + addCriterion("ethnicity >", value, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityGreaterThanOrEqualTo(String value) { + addCriterion("ethnicity >=", value, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityLessThan(String value) { + addCriterion("ethnicity <", value, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityLessThanOrEqualTo(String value) { + addCriterion("ethnicity <=", value, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityLike(String value) { + addCriterion("ethnicity like", value, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityNotLike(String value) { + addCriterion("ethnicity not like", value, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityIn(List values) { + addCriterion("ethnicity in", values, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityNotIn(List values) { + addCriterion("ethnicity not in", values, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityBetween(String value1, String value2) { + addCriterion("ethnicity between", value1, value2, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityNotBetween(String value1, String value2) { + addCriterion("ethnicity not between", value1, value2, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEducationYearsIsNull() { + addCriterion("education_years is null"); + return (Criteria) this; + } + + public Criteria andEducationYearsIsNotNull() { + addCriterion("education_years is not null"); + return (Criteria) this; + } + + public Criteria andEducationYearsEqualTo(Integer value) { + addCriterion("education_years =", value, "educationYears"); + return (Criteria) this; + } + + public Criteria andEducationYearsNotEqualTo(Integer value) { + addCriterion("education_years <>", value, "educationYears"); + return (Criteria) this; + } + + public Criteria andEducationYearsGreaterThan(Integer value) { + addCriterion("education_years >", value, "educationYears"); + return (Criteria) this; + } + + public Criteria andEducationYearsGreaterThanOrEqualTo(Integer value) { + addCriterion("education_years >=", value, "educationYears"); + return (Criteria) this; + } + + public Criteria andEducationYearsLessThan(Integer value) { + addCriterion("education_years <", value, "educationYears"); + return (Criteria) this; + } + + public Criteria andEducationYearsLessThanOrEqualTo(Integer value) { + addCriterion("education_years <=", value, "educationYears"); + return (Criteria) this; + } + + public Criteria andEducationYearsIn(List values) { + addCriterion("education_years in", values, "educationYears"); + return (Criteria) this; + } + + public Criteria andEducationYearsNotIn(List values) { + addCriterion("education_years not in", values, "educationYears"); + return (Criteria) this; + } + + public Criteria andEducationYearsBetween(Integer value1, Integer value2) { + addCriterion("education_years between", value1, value2, "educationYears"); + return (Criteria) this; + } + + public Criteria andEducationYearsNotBetween(Integer value1, Integer value2) { + addCriterion("education_years not between", value1, value2, "educationYears"); + 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 andIdCardTypeIsNull() { + addCriterion("id_card_type is null"); + return (Criteria) this; + } + + public Criteria andIdCardTypeIsNotNull() { + addCriterion("id_card_type is not null"); + return (Criteria) this; + } + + public Criteria andIdCardTypeEqualTo(Byte value) { + addCriterion("id_card_type =", value, "idCardType"); + return (Criteria) this; + } + + public Criteria andIdCardTypeNotEqualTo(Byte value) { + addCriterion("id_card_type <>", value, "idCardType"); + return (Criteria) this; + } + + public Criteria andIdCardTypeGreaterThan(Byte value) { + addCriterion("id_card_type >", value, "idCardType"); + return (Criteria) this; + } + + public Criteria andIdCardTypeGreaterThanOrEqualTo(Byte value) { + addCriterion("id_card_type >=", value, "idCardType"); + return (Criteria) this; + } + + public Criteria andIdCardTypeLessThan(Byte value) { + addCriterion("id_card_type <", value, "idCardType"); + return (Criteria) this; + } + + public Criteria andIdCardTypeLessThanOrEqualTo(Byte value) { + addCriterion("id_card_type <=", value, "idCardType"); + return (Criteria) this; + } + + public Criteria andIdCardTypeIn(List values) { + addCriterion("id_card_type in", values, "idCardType"); + return (Criteria) this; + } + + public Criteria andIdCardTypeNotIn(List values) { + addCriterion("id_card_type not in", values, "idCardType"); + return (Criteria) this; + } + + public Criteria andIdCardTypeBetween(Byte value1, Byte value2) { + addCriterion("id_card_type between", value1, value2, "idCardType"); + return (Criteria) this; + } + + public Criteria andIdCardTypeNotBetween(Byte value1, Byte value2) { + addCriterion("id_card_type not between", value1, value2, "idCardType"); + 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 andTenantIdIsNull() { + addCriterion("tenant_id is null"); + return (Criteria) this; + } + + public Criteria andTenantIdIsNotNull() { + addCriterion("tenant_id is not null"); + return (Criteria) this; + } + + public Criteria andTenantIdEqualTo(Long value) { + addCriterion("tenant_id =", value, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotEqualTo(Long value) { + addCriterion("tenant_id <>", value, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdGreaterThan(Long value) { + addCriterion("tenant_id >", value, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdGreaterThanOrEqualTo(Long value) { + addCriterion("tenant_id >=", value, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdLessThan(Long value) { + addCriterion("tenant_id <", value, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdLessThanOrEqualTo(Long value) { + addCriterion("tenant_id <=", value, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdIn(List values) { + addCriterion("tenant_id in", values, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotIn(List values) { + addCriterion("tenant_id not in", values, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdBetween(Long value1, Long value2) { + addCriterion("tenant_id between", value1, value2, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotBetween(Long value1, Long value2) { + addCriterion("tenant_id not between", value1, value2, "tenantId"); + return (Criteria) this; + } + + public Criteria andDelFlagIsNull() { + addCriterion("del_flag is null"); + return (Criteria) this; + } + + public Criteria andDelFlagIsNotNull() { + addCriterion("del_flag is not null"); + return (Criteria) this; + } + + public Criteria andDelFlagEqualTo(Byte value) { + addCriterion("del_flag =", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagNotEqualTo(Byte value) { + addCriterion("del_flag <>", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagGreaterThan(Byte value) { + addCriterion("del_flag >", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagGreaterThanOrEqualTo(Byte value) { + addCriterion("del_flag >=", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagLessThan(Byte value) { + addCriterion("del_flag <", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagLessThanOrEqualTo(Byte value) { + addCriterion("del_flag <=", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagIn(List values) { + addCriterion("del_flag in", values, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagNotIn(List values) { + addCriterion("del_flag not in", values, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagBetween(Byte value1, Byte value2) { + addCriterion("del_flag between", value1, value2, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagNotBetween(Byte value1, Byte value2) { + addCriterion("del_flag not between", value1, value2, "delFlag"); + return (Criteria) this; + } + + public Criteria andCreateByIsNull() { + addCriterion("create_by is null"); + return (Criteria) this; + } + + public Criteria andCreateByIsNotNull() { + addCriterion("create_by is not null"); + return (Criteria) this; + } + + public Criteria andCreateByEqualTo(String value) { + addCriterion("create_by =", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotEqualTo(String value) { + addCriterion("create_by <>", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByGreaterThan(String value) { + addCriterion("create_by >", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByGreaterThanOrEqualTo(String value) { + addCriterion("create_by >=", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByLessThan(String value) { + addCriterion("create_by <", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByLessThanOrEqualTo(String value) { + addCriterion("create_by <=", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByLike(String value) { + addCriterion("create_by like", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotLike(String value) { + addCriterion("create_by not like", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByIn(List values) { + addCriterion("create_by in", values, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotIn(List values) { + addCriterion("create_by not in", values, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByBetween(String value1, String value2) { + addCriterion("create_by between", value1, value2, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotBetween(String value1, String value2) { + addCriterion("create_by not between", value1, value2, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andUpdateByIsNull() { + addCriterion("update_by is null"); + return (Criteria) this; + } + + public Criteria andUpdateByIsNotNull() { + addCriterion("update_by is not null"); + return (Criteria) this; + } + + public Criteria andUpdateByEqualTo(String value) { + addCriterion("update_by =", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotEqualTo(String value) { + addCriterion("update_by <>", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByGreaterThan(String value) { + addCriterion("update_by >", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByGreaterThanOrEqualTo(String value) { + addCriterion("update_by >=", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByLessThan(String value) { + addCriterion("update_by <", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByLessThanOrEqualTo(String value) { + addCriterion("update_by <=", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByLike(String value) { + addCriterion("update_by like", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotLike(String value) { + addCriterion("update_by not like", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByIn(List values) { + addCriterion("update_by in", values, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotIn(List values) { + addCriterion("update_by not in", values, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByBetween(String value1, String value2) { + addCriterion("update_by between", value1, value2, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotBetween(String value1, String value2) { + addCriterion("update_by not between", value1, value2, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIsNull() { + addCriterion("update_time is null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIsNotNull() { + addCriterion("update_time is not null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeEqualTo(Date value) { + addCriterion("update_time =", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotEqualTo(Date value) { + addCriterion("update_time <>", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThan(Date value) { + addCriterion("update_time >", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("update_time >=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThan(Date value) { + addCriterion("update_time <", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { + addCriterion("update_time <=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIn(List values) { + addCriterion("update_time in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotIn(List values) { + addCriterion("update_time not in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeBetween(Date value1, Date value2) { + addCriterion("update_time between", value1, value2, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { + addCriterion("update_time not between", value1, value2, "updateTime"); + return (Criteria) this; + } + + public Criteria 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 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/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/FmsPatientQueueRelationKey.java b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/FmsPatientQueueRelationKey.java new file mode 100644 index 00000000..eb5a3b9c --- /dev/null +++ b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/FmsPatientQueueRelationKey.java @@ -0,0 +1,39 @@ +package com.acupuncture.system.domain.po; + +import java.io.Serializable; + +public class FmsPatientQueueRelationKey implements Serializable { + private Long patientId; + + private Long queueId; + + private static final long serialVersionUID = 1L; + + public Long getPatientId() { + return patientId; + } + + public void setPatientId(Long patientId) { + this.patientId = patientId; + } + + public Long getQueueId() { + return queueId; + } + + public void setQueueId(Long queueId) { + this.queueId = queueId; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", patientId=").append(patientId); + sb.append(", queueId=").append(queueId); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/PmsTreatment.java b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/PmsTreatment.java new file mode 100644 index 00000000..68bee48d --- /dev/null +++ b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/PmsTreatment.java @@ -0,0 +1,337 @@ +package com.acupuncture.system.domain.po; + +import java.io.Serializable; +import java.util.Date; + +public class PmsTreatment implements Serializable { + private Long id; + + private Long patientId; + + private String name; + + private String pinyinFull; + + private String pinyinSimple; + + private Byte gender; + + private Integer age; + + private Date birthDate; + + private String ethnicity; + + private Integer educationYears; + + private String phone; + + private Byte idCardType; + + private String idCard; + + private Byte visitType; + + private String visitNumber; + + private Date visitTime; + + private Date dischargeTime; + + private String doctor; + + private String deptName; + + private String diagnosisCode; + + private String diagnosisName; + + private Byte status; + + private Byte delFlag; + + private Long tenantId; + + private String createBy; + + private Date createTime; + + private String updateBy; + + private Date updateTime; + + private String remark; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getPatientId() { + return patientId; + } + + public void setPatientId(Long patientId) { + this.patientId = patientId; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name == null ? null : name.trim(); + } + + public String getPinyinFull() { + return pinyinFull; + } + + public void setPinyinFull(String pinyinFull) { + this.pinyinFull = pinyinFull == null ? null : pinyinFull.trim(); + } + + public String getPinyinSimple() { + return pinyinSimple; + } + + public void setPinyinSimple(String pinyinSimple) { + this.pinyinSimple = pinyinSimple == null ? null : pinyinSimple.trim(); + } + + public Byte getGender() { + return gender; + } + + public void setGender(Byte gender) { + this.gender = gender; + } + + public Integer getAge() { + return age; + } + + public void setAge(Integer age) { + this.age = age; + } + + public Date getBirthDate() { + return birthDate; + } + + public void setBirthDate(Date birthDate) { + this.birthDate = birthDate; + } + + public String getEthnicity() { + return ethnicity; + } + + public void setEthnicity(String ethnicity) { + this.ethnicity = ethnicity == null ? null : ethnicity.trim(); + } + + public Integer getEducationYears() { + return educationYears; + } + + public void setEducationYears(Integer educationYears) { + this.educationYears = educationYears; + } + + public String getPhone() { + return phone; + } + + public void setPhone(String phone) { + this.phone = phone == null ? null : phone.trim(); + } + + public Byte getIdCardType() { + return idCardType; + } + + public void setIdCardType(Byte idCardType) { + this.idCardType = idCardType; + } + + public String getIdCard() { + return idCard; + } + + public void setIdCard(String idCard) { + this.idCard = idCard == null ? null : idCard.trim(); + } + + public Byte getVisitType() { + return visitType; + } + + public void setVisitType(Byte visitType) { + this.visitType = visitType; + } + + public String getVisitNumber() { + return visitNumber; + } + + public void setVisitNumber(String visitNumber) { + this.visitNumber = visitNumber == null ? null : visitNumber.trim(); + } + + public Date getVisitTime() { + return visitTime; + } + + public void setVisitTime(Date visitTime) { + this.visitTime = visitTime; + } + + public Date getDischargeTime() { + return dischargeTime; + } + + public void setDischargeTime(Date dischargeTime) { + this.dischargeTime = dischargeTime; + } + + public String getDoctor() { + return doctor; + } + + public void setDoctor(String doctor) { + this.doctor = doctor == null ? null : doctor.trim(); + } + + public String getDeptName() { + return deptName; + } + + public void setDeptName(String deptName) { + this.deptName = deptName == null ? null : deptName.trim(); + } + + public String getDiagnosisCode() { + return diagnosisCode; + } + + public void setDiagnosisCode(String diagnosisCode) { + this.diagnosisCode = diagnosisCode == null ? null : diagnosisCode.trim(); + } + + public String getDiagnosisName() { + return diagnosisName; + } + + public void setDiagnosisName(String diagnosisName) { + this.diagnosisName = diagnosisName == null ? null : diagnosisName.trim(); + } + + public Byte getStatus() { + return status; + } + + public void setStatus(Byte status) { + this.status = status; + } + + public Byte getDelFlag() { + return delFlag; + } + + public void setDelFlag(Byte delFlag) { + this.delFlag = delFlag; + } + + public Long getTenantId() { + return tenantId; + } + + public void setTenantId(Long tenantId) { + this.tenantId = tenantId; + } + + public String getCreateBy() { + return createBy; + } + + public void setCreateBy(String createBy) { + this.createBy = createBy == null ? null : createBy.trim(); + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getUpdateBy() { + return updateBy; + } + + public void setUpdateBy(String updateBy) { + this.updateBy = updateBy == null ? null : updateBy.trim(); + } + + public Date getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } + + public String getRemark() { + return remark; + } + + public void setRemark(String remark) { + this.remark = remark == null ? null : remark.trim(); + } + + @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(", patientId=").append(patientId); + sb.append(", name=").append(name); + sb.append(", pinyinFull=").append(pinyinFull); + sb.append(", pinyinSimple=").append(pinyinSimple); + sb.append(", gender=").append(gender); + sb.append(", age=").append(age); + sb.append(", birthDate=").append(birthDate); + sb.append(", ethnicity=").append(ethnicity); + sb.append(", educationYears=").append(educationYears); + sb.append(", phone=").append(phone); + sb.append(", idCardType=").append(idCardType); + sb.append(", idCard=").append(idCard); + sb.append(", visitType=").append(visitType); + sb.append(", visitNumber=").append(visitNumber); + sb.append(", visitTime=").append(visitTime); + sb.append(", dischargeTime=").append(dischargeTime); + sb.append(", doctor=").append(doctor); + sb.append(", deptName=").append(deptName); + sb.append(", diagnosisCode=").append(diagnosisCode); + sb.append(", diagnosisName=").append(diagnosisName); + sb.append(", status=").append(status); + sb.append(", delFlag=").append(delFlag); + sb.append(", tenantId=").append(tenantId); + sb.append(", createBy=").append(createBy); + sb.append(", createTime=").append(createTime); + sb.append(", updateBy=").append(updateBy); + sb.append(", updateTime=").append(updateTime); + sb.append(", remark=").append(remark); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/PmsTreatmentExample.java b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/PmsTreatmentExample.java new file mode 100644 index 00000000..677c8114 --- /dev/null +++ b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/PmsTreatmentExample.java @@ -0,0 +1,2108 @@ +package com.acupuncture.system.domain.po; + +import java.util.ArrayList; +import java.util.Date; +import java.util.Iterator; +import java.util.List; + +public class PmsTreatmentExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public PmsTreatmentExample() { + 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)); + } + + protected void addCriterionForJDBCDate(String condition, Date value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + addCriterion(condition, new java.sql.Date(value.getTime()), property); + } + + protected void addCriterionForJDBCDate(String condition, List values, String property) { + if (values == null || values.size() == 0) { + throw new RuntimeException("Value list for " + property + " cannot be null or empty"); + } + List dateList = new ArrayList(); + Iterator iter = values.iterator(); + while (iter.hasNext()) { + dateList.add(new java.sql.Date(iter.next().getTime())); + } + addCriterion(condition, dateList, property); + } + + protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(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 andPatientIdIsNull() { + addCriterion("patient_id is null"); + return (Criteria) this; + } + + public Criteria andPatientIdIsNotNull() { + addCriterion("patient_id is not null"); + return (Criteria) this; + } + + public Criteria andPatientIdEqualTo(Long value) { + addCriterion("patient_id =", value, "patientId"); + return (Criteria) this; + } + + public Criteria andPatientIdNotEqualTo(Long value) { + addCriterion("patient_id <>", value, "patientId"); + return (Criteria) this; + } + + public Criteria andPatientIdGreaterThan(Long value) { + addCriterion("patient_id >", value, "patientId"); + return (Criteria) this; + } + + public Criteria andPatientIdGreaterThanOrEqualTo(Long value) { + addCriterion("patient_id >=", value, "patientId"); + return (Criteria) this; + } + + public Criteria andPatientIdLessThan(Long value) { + addCriterion("patient_id <", value, "patientId"); + return (Criteria) this; + } + + public Criteria andPatientIdLessThanOrEqualTo(Long value) { + addCriterion("patient_id <=", value, "patientId"); + return (Criteria) this; + } + + public Criteria andPatientIdIn(List values) { + addCriterion("patient_id in", values, "patientId"); + return (Criteria) this; + } + + public Criteria andPatientIdNotIn(List values) { + addCriterion("patient_id not in", values, "patientId"); + return (Criteria) this; + } + + public Criteria andPatientIdBetween(Long value1, Long value2) { + addCriterion("patient_id between", value1, value2, "patientId"); + return (Criteria) this; + } + + public Criteria andPatientIdNotBetween(Long value1, Long value2) { + addCriterion("patient_id not between", value1, value2, "patientId"); + 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 andPinyinFullIsNull() { + addCriterion("pinyin_full is null"); + return (Criteria) this; + } + + public Criteria andPinyinFullIsNotNull() { + addCriterion("pinyin_full is not null"); + return (Criteria) this; + } + + public Criteria andPinyinFullEqualTo(String value) { + addCriterion("pinyin_full =", value, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullNotEqualTo(String value) { + addCriterion("pinyin_full <>", value, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullGreaterThan(String value) { + addCriterion("pinyin_full >", value, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullGreaterThanOrEqualTo(String value) { + addCriterion("pinyin_full >=", value, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullLessThan(String value) { + addCriterion("pinyin_full <", value, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullLessThanOrEqualTo(String value) { + addCriterion("pinyin_full <=", value, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullLike(String value) { + addCriterion("pinyin_full like", value, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullNotLike(String value) { + addCriterion("pinyin_full not like", value, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullIn(List values) { + addCriterion("pinyin_full in", values, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullNotIn(List values) { + addCriterion("pinyin_full not in", values, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullBetween(String value1, String value2) { + addCriterion("pinyin_full between", value1, value2, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullNotBetween(String value1, String value2) { + addCriterion("pinyin_full not between", value1, value2, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleIsNull() { + addCriterion("pinyin_simple is null"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleIsNotNull() { + addCriterion("pinyin_simple is not null"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleEqualTo(String value) { + addCriterion("pinyin_simple =", value, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleNotEqualTo(String value) { + addCriterion("pinyin_simple <>", value, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleGreaterThan(String value) { + addCriterion("pinyin_simple >", value, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleGreaterThanOrEqualTo(String value) { + addCriterion("pinyin_simple >=", value, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleLessThan(String value) { + addCriterion("pinyin_simple <", value, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleLessThanOrEqualTo(String value) { + addCriterion("pinyin_simple <=", value, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleLike(String value) { + addCriterion("pinyin_simple like", value, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleNotLike(String value) { + addCriterion("pinyin_simple not like", value, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleIn(List values) { + addCriterion("pinyin_simple in", values, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleNotIn(List values) { + addCriterion("pinyin_simple not in", values, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleBetween(String value1, String value2) { + addCriterion("pinyin_simple between", value1, value2, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleNotBetween(String value1, String value2) { + addCriterion("pinyin_simple not between", value1, value2, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andGenderIsNull() { + addCriterion("gender is null"); + return (Criteria) this; + } + + public Criteria andGenderIsNotNull() { + addCriterion("gender is not null"); + return (Criteria) this; + } + + public Criteria andGenderEqualTo(Byte value) { + addCriterion("gender =", value, "gender"); + return (Criteria) this; + } + + public Criteria andGenderNotEqualTo(Byte value) { + addCriterion("gender <>", value, "gender"); + return (Criteria) this; + } + + public Criteria andGenderGreaterThan(Byte value) { + addCriterion("gender >", value, "gender"); + return (Criteria) this; + } + + public Criteria andGenderGreaterThanOrEqualTo(Byte value) { + addCriterion("gender >=", value, "gender"); + return (Criteria) this; + } + + public Criteria andGenderLessThan(Byte value) { + addCriterion("gender <", value, "gender"); + return (Criteria) this; + } + + public Criteria andGenderLessThanOrEqualTo(Byte value) { + addCriterion("gender <=", value, "gender"); + return (Criteria) this; + } + + public Criteria andGenderIn(List values) { + addCriterion("gender in", values, "gender"); + return (Criteria) this; + } + + public Criteria andGenderNotIn(List values) { + addCriterion("gender not in", values, "gender"); + return (Criteria) this; + } + + public Criteria andGenderBetween(Byte value1, Byte value2) { + addCriterion("gender between", value1, value2, "gender"); + return (Criteria) this; + } + + public Criteria andGenderNotBetween(Byte value1, Byte value2) { + addCriterion("gender not between", value1, value2, "gender"); + return (Criteria) this; + } + + public Criteria andAgeIsNull() { + addCriterion("age is null"); + return (Criteria) this; + } + + public Criteria andAgeIsNotNull() { + addCriterion("age is not null"); + return (Criteria) this; + } + + public Criteria andAgeEqualTo(Integer value) { + addCriterion("age =", value, "age"); + return (Criteria) this; + } + + public Criteria andAgeNotEqualTo(Integer value) { + addCriterion("age <>", value, "age"); + return (Criteria) this; + } + + public Criteria andAgeGreaterThan(Integer value) { + addCriterion("age >", value, "age"); + return (Criteria) this; + } + + public Criteria andAgeGreaterThanOrEqualTo(Integer value) { + addCriterion("age >=", value, "age"); + return (Criteria) this; + } + + public Criteria andAgeLessThan(Integer value) { + addCriterion("age <", value, "age"); + return (Criteria) this; + } + + public Criteria andAgeLessThanOrEqualTo(Integer value) { + addCriterion("age <=", value, "age"); + return (Criteria) this; + } + + public Criteria andAgeIn(List values) { + addCriterion("age in", values, "age"); + return (Criteria) this; + } + + public Criteria andAgeNotIn(List values) { + addCriterion("age not in", values, "age"); + return (Criteria) this; + } + + public Criteria andAgeBetween(Integer value1, Integer value2) { + addCriterion("age between", value1, value2, "age"); + return (Criteria) this; + } + + public Criteria andAgeNotBetween(Integer value1, Integer value2) { + addCriterion("age not between", value1, value2, "age"); + return (Criteria) this; + } + + public Criteria andBirthDateIsNull() { + addCriterion("birth_date is null"); + return (Criteria) this; + } + + public Criteria andBirthDateIsNotNull() { + addCriterion("birth_date is not null"); + return (Criteria) this; + } + + public Criteria andBirthDateEqualTo(Date value) { + addCriterionForJDBCDate("birth_date =", value, "birthDate"); + return (Criteria) this; + } + + public Criteria andBirthDateNotEqualTo(Date value) { + addCriterionForJDBCDate("birth_date <>", value, "birthDate"); + return (Criteria) this; + } + + public Criteria andBirthDateGreaterThan(Date value) { + addCriterionForJDBCDate("birth_date >", value, "birthDate"); + return (Criteria) this; + } + + public Criteria andBirthDateGreaterThanOrEqualTo(Date value) { + addCriterionForJDBCDate("birth_date >=", value, "birthDate"); + return (Criteria) this; + } + + public Criteria andBirthDateLessThan(Date value) { + addCriterionForJDBCDate("birth_date <", value, "birthDate"); + return (Criteria) this; + } + + public Criteria andBirthDateLessThanOrEqualTo(Date value) { + addCriterionForJDBCDate("birth_date <=", value, "birthDate"); + return (Criteria) this; + } + + public Criteria andBirthDateIn(List values) { + addCriterionForJDBCDate("birth_date in", values, "birthDate"); + return (Criteria) this; + } + + public Criteria andBirthDateNotIn(List values) { + addCriterionForJDBCDate("birth_date not in", values, "birthDate"); + return (Criteria) this; + } + + public Criteria andBirthDateBetween(Date value1, Date value2) { + addCriterionForJDBCDate("birth_date between", value1, value2, "birthDate"); + return (Criteria) this; + } + + public Criteria andBirthDateNotBetween(Date value1, Date value2) { + addCriterionForJDBCDate("birth_date not between", value1, value2, "birthDate"); + return (Criteria) this; + } + + public Criteria andEthnicityIsNull() { + addCriterion("ethnicity is null"); + return (Criteria) this; + } + + public Criteria andEthnicityIsNotNull() { + addCriterion("ethnicity is not null"); + return (Criteria) this; + } + + public Criteria andEthnicityEqualTo(String value) { + addCriterion("ethnicity =", value, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityNotEqualTo(String value) { + addCriterion("ethnicity <>", value, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityGreaterThan(String value) { + addCriterion("ethnicity >", value, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityGreaterThanOrEqualTo(String value) { + addCriterion("ethnicity >=", value, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityLessThan(String value) { + addCriterion("ethnicity <", value, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityLessThanOrEqualTo(String value) { + addCriterion("ethnicity <=", value, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityLike(String value) { + addCriterion("ethnicity like", value, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityNotLike(String value) { + addCriterion("ethnicity not like", value, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityIn(List values) { + addCriterion("ethnicity in", values, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityNotIn(List values) { + addCriterion("ethnicity not in", values, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityBetween(String value1, String value2) { + addCriterion("ethnicity between", value1, value2, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityNotBetween(String value1, String value2) { + addCriterion("ethnicity not between", value1, value2, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEducationYearsIsNull() { + addCriterion("education_years is null"); + return (Criteria) this; + } + + public Criteria andEducationYearsIsNotNull() { + addCriterion("education_years is not null"); + return (Criteria) this; + } + + public Criteria andEducationYearsEqualTo(Integer value) { + addCriterion("education_years =", value, "educationYears"); + return (Criteria) this; + } + + public Criteria andEducationYearsNotEqualTo(Integer value) { + addCriterion("education_years <>", value, "educationYears"); + return (Criteria) this; + } + + public Criteria andEducationYearsGreaterThan(Integer value) { + addCriterion("education_years >", value, "educationYears"); + return (Criteria) this; + } + + public Criteria andEducationYearsGreaterThanOrEqualTo(Integer value) { + addCriterion("education_years >=", value, "educationYears"); + return (Criteria) this; + } + + public Criteria andEducationYearsLessThan(Integer value) { + addCriterion("education_years <", value, "educationYears"); + return (Criteria) this; + } + + public Criteria andEducationYearsLessThanOrEqualTo(Integer value) { + addCriterion("education_years <=", value, "educationYears"); + return (Criteria) this; + } + + public Criteria andEducationYearsIn(List values) { + addCriterion("education_years in", values, "educationYears"); + return (Criteria) this; + } + + public Criteria andEducationYearsNotIn(List values) { + addCriterion("education_years not in", values, "educationYears"); + return (Criteria) this; + } + + public Criteria andEducationYearsBetween(Integer value1, Integer value2) { + addCriterion("education_years between", value1, value2, "educationYears"); + return (Criteria) this; + } + + public Criteria andEducationYearsNotBetween(Integer value1, Integer value2) { + addCriterion("education_years not between", value1, value2, "educationYears"); + 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 andIdCardTypeIsNull() { + addCriterion("id_card_type is null"); + return (Criteria) this; + } + + public Criteria andIdCardTypeIsNotNull() { + addCriterion("id_card_type is not null"); + return (Criteria) this; + } + + public Criteria andIdCardTypeEqualTo(Byte value) { + addCriterion("id_card_type =", value, "idCardType"); + return (Criteria) this; + } + + public Criteria andIdCardTypeNotEqualTo(Byte value) { + addCriterion("id_card_type <>", value, "idCardType"); + return (Criteria) this; + } + + public Criteria andIdCardTypeGreaterThan(Byte value) { + addCriterion("id_card_type >", value, "idCardType"); + return (Criteria) this; + } + + public Criteria andIdCardTypeGreaterThanOrEqualTo(Byte value) { + addCriterion("id_card_type >=", value, "idCardType"); + return (Criteria) this; + } + + public Criteria andIdCardTypeLessThan(Byte value) { + addCriterion("id_card_type <", value, "idCardType"); + return (Criteria) this; + } + + public Criteria andIdCardTypeLessThanOrEqualTo(Byte value) { + addCriterion("id_card_type <=", value, "idCardType"); + return (Criteria) this; + } + + public Criteria andIdCardTypeIn(List values) { + addCriterion("id_card_type in", values, "idCardType"); + return (Criteria) this; + } + + public Criteria andIdCardTypeNotIn(List values) { + addCriterion("id_card_type not in", values, "idCardType"); + return (Criteria) this; + } + + public Criteria andIdCardTypeBetween(Byte value1, Byte value2) { + addCriterion("id_card_type between", value1, value2, "idCardType"); + return (Criteria) this; + } + + public Criteria andIdCardTypeNotBetween(Byte value1, Byte value2) { + addCriterion("id_card_type not between", value1, value2, "idCardType"); + 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 andVisitTypeIsNull() { + addCriterion("visit_type is null"); + return (Criteria) this; + } + + public Criteria andVisitTypeIsNotNull() { + addCriterion("visit_type is not null"); + return (Criteria) this; + } + + public Criteria andVisitTypeEqualTo(Byte value) { + addCriterion("visit_type =", value, "visitType"); + return (Criteria) this; + } + + public Criteria andVisitTypeNotEqualTo(Byte value) { + addCriterion("visit_type <>", value, "visitType"); + return (Criteria) this; + } + + public Criteria andVisitTypeGreaterThan(Byte value) { + addCriterion("visit_type >", value, "visitType"); + return (Criteria) this; + } + + public Criteria andVisitTypeGreaterThanOrEqualTo(Byte value) { + addCriterion("visit_type >=", value, "visitType"); + return (Criteria) this; + } + + public Criteria andVisitTypeLessThan(Byte value) { + addCriterion("visit_type <", value, "visitType"); + return (Criteria) this; + } + + public Criteria andVisitTypeLessThanOrEqualTo(Byte value) { + addCriterion("visit_type <=", value, "visitType"); + return (Criteria) this; + } + + public Criteria andVisitTypeIn(List values) { + addCriterion("visit_type in", values, "visitType"); + return (Criteria) this; + } + + public Criteria andVisitTypeNotIn(List values) { + addCriterion("visit_type not in", values, "visitType"); + return (Criteria) this; + } + + public Criteria andVisitTypeBetween(Byte value1, Byte value2) { + addCriterion("visit_type between", value1, value2, "visitType"); + return (Criteria) this; + } + + public Criteria andVisitTypeNotBetween(Byte value1, Byte value2) { + addCriterion("visit_type not between", value1, value2, "visitType"); + return (Criteria) this; + } + + public Criteria andVisitNumberIsNull() { + addCriterion("visit_number is null"); + return (Criteria) this; + } + + public Criteria andVisitNumberIsNotNull() { + addCriterion("visit_number is not null"); + return (Criteria) this; + } + + public Criteria andVisitNumberEqualTo(String value) { + addCriterion("visit_number =", value, "visitNumber"); + return (Criteria) this; + } + + public Criteria andVisitNumberNotEqualTo(String value) { + addCriterion("visit_number <>", value, "visitNumber"); + return (Criteria) this; + } + + public Criteria andVisitNumberGreaterThan(String value) { + addCriterion("visit_number >", value, "visitNumber"); + return (Criteria) this; + } + + public Criteria andVisitNumberGreaterThanOrEqualTo(String value) { + addCriterion("visit_number >=", value, "visitNumber"); + return (Criteria) this; + } + + public Criteria andVisitNumberLessThan(String value) { + addCriterion("visit_number <", value, "visitNumber"); + return (Criteria) this; + } + + public Criteria andVisitNumberLessThanOrEqualTo(String value) { + addCriterion("visit_number <=", value, "visitNumber"); + return (Criteria) this; + } + + public Criteria andVisitNumberLike(String value) { + addCriterion("visit_number like", value, "visitNumber"); + return (Criteria) this; + } + + public Criteria andVisitNumberNotLike(String value) { + addCriterion("visit_number not like", value, "visitNumber"); + return (Criteria) this; + } + + public Criteria andVisitNumberIn(List values) { + addCriterion("visit_number in", values, "visitNumber"); + return (Criteria) this; + } + + public Criteria andVisitNumberNotIn(List values) { + addCriterion("visit_number not in", values, "visitNumber"); + return (Criteria) this; + } + + public Criteria andVisitNumberBetween(String value1, String value2) { + addCriterion("visit_number between", value1, value2, "visitNumber"); + return (Criteria) this; + } + + public Criteria andVisitNumberNotBetween(String value1, String value2) { + addCriterion("visit_number not between", value1, value2, "visitNumber"); + return (Criteria) this; + } + + public Criteria andVisitTimeIsNull() { + addCriterion("visit_time is null"); + return (Criteria) this; + } + + public Criteria andVisitTimeIsNotNull() { + addCriterion("visit_time is not null"); + return (Criteria) this; + } + + public Criteria andVisitTimeEqualTo(Date value) { + addCriterion("visit_time =", value, "visitTime"); + return (Criteria) this; + } + + public Criteria andVisitTimeNotEqualTo(Date value) { + addCriterion("visit_time <>", value, "visitTime"); + return (Criteria) this; + } + + public Criteria andVisitTimeGreaterThan(Date value) { + addCriterion("visit_time >", value, "visitTime"); + return (Criteria) this; + } + + public Criteria andVisitTimeGreaterThanOrEqualTo(Date value) { + addCriterion("visit_time >=", value, "visitTime"); + return (Criteria) this; + } + + public Criteria andVisitTimeLessThan(Date value) { + addCriterion("visit_time <", value, "visitTime"); + return (Criteria) this; + } + + public Criteria andVisitTimeLessThanOrEqualTo(Date value) { + addCriterion("visit_time <=", value, "visitTime"); + return (Criteria) this; + } + + public Criteria andVisitTimeIn(List values) { + addCriterion("visit_time in", values, "visitTime"); + return (Criteria) this; + } + + public Criteria andVisitTimeNotIn(List values) { + addCriterion("visit_time not in", values, "visitTime"); + return (Criteria) this; + } + + public Criteria andVisitTimeBetween(Date value1, Date value2) { + addCriterion("visit_time between", value1, value2, "visitTime"); + return (Criteria) this; + } + + public Criteria andVisitTimeNotBetween(Date value1, Date value2) { + addCriterion("visit_time not between", value1, value2, "visitTime"); + return (Criteria) this; + } + + public Criteria andDischargeTimeIsNull() { + addCriterion("discharge_time is null"); + return (Criteria) this; + } + + public Criteria andDischargeTimeIsNotNull() { + addCriterion("discharge_time is not null"); + return (Criteria) this; + } + + public Criteria andDischargeTimeEqualTo(Date value) { + addCriterion("discharge_time =", value, "dischargeTime"); + return (Criteria) this; + } + + public Criteria andDischargeTimeNotEqualTo(Date value) { + addCriterion("discharge_time <>", value, "dischargeTime"); + return (Criteria) this; + } + + public Criteria andDischargeTimeGreaterThan(Date value) { + addCriterion("discharge_time >", value, "dischargeTime"); + return (Criteria) this; + } + + public Criteria andDischargeTimeGreaterThanOrEqualTo(Date value) { + addCriterion("discharge_time >=", value, "dischargeTime"); + return (Criteria) this; + } + + public Criteria andDischargeTimeLessThan(Date value) { + addCriterion("discharge_time <", value, "dischargeTime"); + return (Criteria) this; + } + + public Criteria andDischargeTimeLessThanOrEqualTo(Date value) { + addCriterion("discharge_time <=", value, "dischargeTime"); + return (Criteria) this; + } + + public Criteria andDischargeTimeIn(List values) { + addCriterion("discharge_time in", values, "dischargeTime"); + return (Criteria) this; + } + + public Criteria andDischargeTimeNotIn(List values) { + addCriterion("discharge_time not in", values, "dischargeTime"); + return (Criteria) this; + } + + public Criteria andDischargeTimeBetween(Date value1, Date value2) { + addCriterion("discharge_time between", value1, value2, "dischargeTime"); + return (Criteria) this; + } + + public Criteria andDischargeTimeNotBetween(Date value1, Date value2) { + addCriterion("discharge_time not between", value1, value2, "dischargeTime"); + return (Criteria) this; + } + + public Criteria andDoctorIsNull() { + addCriterion("doctor is null"); + return (Criteria) this; + } + + public Criteria andDoctorIsNotNull() { + addCriterion("doctor is not null"); + return (Criteria) this; + } + + public Criteria andDoctorEqualTo(String value) { + addCriterion("doctor =", value, "doctor"); + return (Criteria) this; + } + + public Criteria andDoctorNotEqualTo(String value) { + addCriterion("doctor <>", value, "doctor"); + return (Criteria) this; + } + + public Criteria andDoctorGreaterThan(String value) { + addCriterion("doctor >", value, "doctor"); + return (Criteria) this; + } + + public Criteria andDoctorGreaterThanOrEqualTo(String value) { + addCriterion("doctor >=", value, "doctor"); + return (Criteria) this; + } + + public Criteria andDoctorLessThan(String value) { + addCriterion("doctor <", value, "doctor"); + return (Criteria) this; + } + + public Criteria andDoctorLessThanOrEqualTo(String value) { + addCriterion("doctor <=", value, "doctor"); + return (Criteria) this; + } + + public Criteria andDoctorLike(String value) { + addCriterion("doctor like", value, "doctor"); + return (Criteria) this; + } + + public Criteria andDoctorNotLike(String value) { + addCriterion("doctor not like", value, "doctor"); + return (Criteria) this; + } + + public Criteria andDoctorIn(List values) { + addCriterion("doctor in", values, "doctor"); + return (Criteria) this; + } + + public Criteria andDoctorNotIn(List values) { + addCriterion("doctor not in", values, "doctor"); + return (Criteria) this; + } + + public Criteria andDoctorBetween(String value1, String value2) { + addCriterion("doctor between", value1, value2, "doctor"); + return (Criteria) this; + } + + public Criteria andDoctorNotBetween(String value1, String value2) { + addCriterion("doctor not between", value1, value2, "doctor"); + return (Criteria) this; + } + + public Criteria andDeptNameIsNull() { + addCriterion("dept_name is null"); + return (Criteria) this; + } + + public Criteria andDeptNameIsNotNull() { + addCriterion("dept_name is not null"); + return (Criteria) this; + } + + public Criteria andDeptNameEqualTo(String value) { + addCriterion("dept_name =", value, "deptName"); + return (Criteria) this; + } + + public Criteria andDeptNameNotEqualTo(String value) { + addCriterion("dept_name <>", value, "deptName"); + return (Criteria) this; + } + + public Criteria andDeptNameGreaterThan(String value) { + addCriterion("dept_name >", value, "deptName"); + return (Criteria) this; + } + + public Criteria andDeptNameGreaterThanOrEqualTo(String value) { + addCriterion("dept_name >=", value, "deptName"); + return (Criteria) this; + } + + public Criteria andDeptNameLessThan(String value) { + addCriterion("dept_name <", value, "deptName"); + return (Criteria) this; + } + + public Criteria andDeptNameLessThanOrEqualTo(String value) { + addCriterion("dept_name <=", value, "deptName"); + return (Criteria) this; + } + + public Criteria andDeptNameLike(String value) { + addCriterion("dept_name like", value, "deptName"); + return (Criteria) this; + } + + public Criteria andDeptNameNotLike(String value) { + addCriterion("dept_name not like", value, "deptName"); + return (Criteria) this; + } + + public Criteria andDeptNameIn(List values) { + addCriterion("dept_name in", values, "deptName"); + return (Criteria) this; + } + + public Criteria andDeptNameNotIn(List values) { + addCriterion("dept_name not in", values, "deptName"); + return (Criteria) this; + } + + public Criteria andDeptNameBetween(String value1, String value2) { + addCriterion("dept_name between", value1, value2, "deptName"); + return (Criteria) this; + } + + public Criteria andDeptNameNotBetween(String value1, String value2) { + addCriterion("dept_name not between", value1, value2, "deptName"); + return (Criteria) this; + } + + public Criteria andDiagnosisCodeIsNull() { + addCriterion("diagnosis_code is null"); + return (Criteria) this; + } + + public Criteria andDiagnosisCodeIsNotNull() { + addCriterion("diagnosis_code is not null"); + return (Criteria) this; + } + + public Criteria andDiagnosisCodeEqualTo(String value) { + addCriterion("diagnosis_code =", value, "diagnosisCode"); + return (Criteria) this; + } + + public Criteria andDiagnosisCodeNotEqualTo(String value) { + addCriterion("diagnosis_code <>", value, "diagnosisCode"); + return (Criteria) this; + } + + public Criteria andDiagnosisCodeGreaterThan(String value) { + addCriterion("diagnosis_code >", value, "diagnosisCode"); + return (Criteria) this; + } + + public Criteria andDiagnosisCodeGreaterThanOrEqualTo(String value) { + addCriterion("diagnosis_code >=", value, "diagnosisCode"); + return (Criteria) this; + } + + public Criteria andDiagnosisCodeLessThan(String value) { + addCriterion("diagnosis_code <", value, "diagnosisCode"); + return (Criteria) this; + } + + public Criteria andDiagnosisCodeLessThanOrEqualTo(String value) { + addCriterion("diagnosis_code <=", value, "diagnosisCode"); + return (Criteria) this; + } + + public Criteria andDiagnosisCodeLike(String value) { + addCriterion("diagnosis_code like", value, "diagnosisCode"); + return (Criteria) this; + } + + public Criteria andDiagnosisCodeNotLike(String value) { + addCriterion("diagnosis_code not like", value, "diagnosisCode"); + return (Criteria) this; + } + + public Criteria andDiagnosisCodeIn(List values) { + addCriterion("diagnosis_code in", values, "diagnosisCode"); + return (Criteria) this; + } + + public Criteria andDiagnosisCodeNotIn(List values) { + addCriterion("diagnosis_code not in", values, "diagnosisCode"); + return (Criteria) this; + } + + public Criteria andDiagnosisCodeBetween(String value1, String value2) { + addCriterion("diagnosis_code between", value1, value2, "diagnosisCode"); + return (Criteria) this; + } + + public Criteria andDiagnosisCodeNotBetween(String value1, String value2) { + addCriterion("diagnosis_code not between", value1, value2, "diagnosisCode"); + return (Criteria) this; + } + + public Criteria andDiagnosisNameIsNull() { + addCriterion("diagnosis_name is null"); + return (Criteria) this; + } + + public Criteria andDiagnosisNameIsNotNull() { + addCriterion("diagnosis_name is not null"); + return (Criteria) this; + } + + public Criteria andDiagnosisNameEqualTo(String value) { + addCriterion("diagnosis_name =", value, "diagnosisName"); + return (Criteria) this; + } + + public Criteria andDiagnosisNameNotEqualTo(String value) { + addCriterion("diagnosis_name <>", value, "diagnosisName"); + return (Criteria) this; + } + + public Criteria andDiagnosisNameGreaterThan(String value) { + addCriterion("diagnosis_name >", value, "diagnosisName"); + return (Criteria) this; + } + + public Criteria andDiagnosisNameGreaterThanOrEqualTo(String value) { + addCriterion("diagnosis_name >=", value, "diagnosisName"); + return (Criteria) this; + } + + public Criteria andDiagnosisNameLessThan(String value) { + addCriterion("diagnosis_name <", value, "diagnosisName"); + return (Criteria) this; + } + + public Criteria andDiagnosisNameLessThanOrEqualTo(String value) { + addCriterion("diagnosis_name <=", value, "diagnosisName"); + return (Criteria) this; + } + + public Criteria andDiagnosisNameLike(String value) { + addCriterion("diagnosis_name like", value, "diagnosisName"); + return (Criteria) this; + } + + public Criteria andDiagnosisNameNotLike(String value) { + addCriterion("diagnosis_name not like", value, "diagnosisName"); + return (Criteria) this; + } + + public Criteria andDiagnosisNameIn(List values) { + addCriterion("diagnosis_name in", values, "diagnosisName"); + return (Criteria) this; + } + + public Criteria andDiagnosisNameNotIn(List values) { + addCriterion("diagnosis_name not in", values, "diagnosisName"); + return (Criteria) this; + } + + public Criteria andDiagnosisNameBetween(String value1, String value2) { + addCriterion("diagnosis_name between", value1, value2, "diagnosisName"); + return (Criteria) this; + } + + public Criteria andDiagnosisNameNotBetween(String value1, String value2) { + addCriterion("diagnosis_name not between", value1, value2, "diagnosisName"); + 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 andDelFlagIsNull() { + addCriterion("del_flag is null"); + return (Criteria) this; + } + + public Criteria andDelFlagIsNotNull() { + addCriterion("del_flag is not null"); + return (Criteria) this; + } + + public Criteria andDelFlagEqualTo(Byte value) { + addCriterion("del_flag =", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagNotEqualTo(Byte value) { + addCriterion("del_flag <>", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagGreaterThan(Byte value) { + addCriterion("del_flag >", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagGreaterThanOrEqualTo(Byte value) { + addCriterion("del_flag >=", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagLessThan(Byte value) { + addCriterion("del_flag <", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagLessThanOrEqualTo(Byte value) { + addCriterion("del_flag <=", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagIn(List values) { + addCriterion("del_flag in", values, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagNotIn(List values) { + addCriterion("del_flag not in", values, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagBetween(Byte value1, Byte value2) { + addCriterion("del_flag between", value1, value2, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagNotBetween(Byte value1, Byte value2) { + addCriterion("del_flag not between", value1, value2, "delFlag"); + return (Criteria) this; + } + + public Criteria andTenantIdIsNull() { + addCriterion("tenant_id is null"); + return (Criteria) this; + } + + public Criteria andTenantIdIsNotNull() { + addCriterion("tenant_id is not null"); + return (Criteria) this; + } + + public Criteria andTenantIdEqualTo(Long value) { + addCriterion("tenant_id =", value, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotEqualTo(Long value) { + addCriterion("tenant_id <>", value, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdGreaterThan(Long value) { + addCriterion("tenant_id >", value, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdGreaterThanOrEqualTo(Long value) { + addCriterion("tenant_id >=", value, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdLessThan(Long value) { + addCriterion("tenant_id <", value, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdLessThanOrEqualTo(Long value) { + addCriterion("tenant_id <=", value, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdIn(List values) { + addCriterion("tenant_id in", values, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotIn(List values) { + addCriterion("tenant_id not in", values, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdBetween(Long value1, Long value2) { + addCriterion("tenant_id between", value1, value2, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotBetween(Long value1, Long value2) { + addCriterion("tenant_id not between", value1, value2, "tenantId"); + return (Criteria) this; + } + + public Criteria andCreateByIsNull() { + addCriterion("create_by is null"); + return (Criteria) this; + } + + public Criteria andCreateByIsNotNull() { + addCriterion("create_by is not null"); + return (Criteria) this; + } + + public Criteria andCreateByEqualTo(String value) { + addCriterion("create_by =", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotEqualTo(String value) { + addCriterion("create_by <>", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByGreaterThan(String value) { + addCriterion("create_by >", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByGreaterThanOrEqualTo(String value) { + addCriterion("create_by >=", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByLessThan(String value) { + addCriterion("create_by <", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByLessThanOrEqualTo(String value) { + addCriterion("create_by <=", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByLike(String value) { + addCriterion("create_by like", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotLike(String value) { + addCriterion("create_by not like", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByIn(List values) { + addCriterion("create_by in", values, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotIn(List values) { + addCriterion("create_by not in", values, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByBetween(String value1, String value2) { + addCriterion("create_by between", value1, value2, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotBetween(String value1, String value2) { + addCriterion("create_by not between", value1, value2, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andUpdateByIsNull() { + addCriterion("update_by is null"); + return (Criteria) this; + } + + public Criteria andUpdateByIsNotNull() { + addCriterion("update_by is not null"); + return (Criteria) this; + } + + public Criteria andUpdateByEqualTo(String value) { + addCriterion("update_by =", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotEqualTo(String value) { + addCriterion("update_by <>", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByGreaterThan(String value) { + addCriterion("update_by >", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByGreaterThanOrEqualTo(String value) { + addCriterion("update_by >=", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByLessThan(String value) { + addCriterion("update_by <", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByLessThanOrEqualTo(String value) { + addCriterion("update_by <=", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByLike(String value) { + addCriterion("update_by like", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotLike(String value) { + addCriterion("update_by not like", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByIn(List values) { + addCriterion("update_by in", values, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotIn(List values) { + addCriterion("update_by not in", values, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByBetween(String value1, String value2) { + addCriterion("update_by between", value1, value2, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotBetween(String value1, String value2) { + addCriterion("update_by not between", value1, value2, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIsNull() { + addCriterion("update_time is null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIsNotNull() { + addCriterion("update_time is not null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeEqualTo(Date value) { + addCriterion("update_time =", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotEqualTo(Date value) { + addCriterion("update_time <>", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThan(Date value) { + addCriterion("update_time >", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("update_time >=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThan(Date value) { + addCriterion("update_time <", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { + addCriterion("update_time <=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIn(List values) { + addCriterion("update_time in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotIn(List values) { + addCriterion("update_time not in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeBetween(Date value1, Date value2) { + addCriterion("update_time between", value1, value2, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { + addCriterion("update_time not between", value1, value2, "updateTime"); + return (Criteria) this; + } + + public Criteria 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 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/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/PmsTreatmentRecord.java b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/PmsTreatmentRecord.java new file mode 100644 index 00000000..f06652af --- /dev/null +++ b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/PmsTreatmentRecord.java @@ -0,0 +1,150 @@ +package com.acupuncture.system.domain.po; + +import java.io.Serializable; +import java.util.Date; + +public class PmsTreatmentRecord implements Serializable { + private Long id; + + private Long treatmentId; + + private String questionCode; + + private String answer; + + private Date time; + + private String sourceId; + + private Byte delFlag; + + private String createBy; + + private Date createTime; + + private String updateBy; + + private Date updateTime; + + private String remark; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getTreatmentId() { + return treatmentId; + } + + public void setTreatmentId(Long treatmentId) { + this.treatmentId = treatmentId; + } + + public String getQuestionCode() { + return questionCode; + } + + public void setQuestionCode(String questionCode) { + this.questionCode = questionCode == null ? null : questionCode.trim(); + } + + public String getAnswer() { + return answer; + } + + public void setAnswer(String answer) { + this.answer = answer == null ? null : answer.trim(); + } + + public Date getTime() { + return time; + } + + public void setTime(Date time) { + this.time = time; + } + + public String getSourceId() { + return sourceId; + } + + public void setSourceId(String sourceId) { + this.sourceId = sourceId == null ? null : sourceId.trim(); + } + + public Byte getDelFlag() { + return delFlag; + } + + public void setDelFlag(Byte delFlag) { + this.delFlag = delFlag; + } + + public String getCreateBy() { + return createBy; + } + + public void setCreateBy(String createBy) { + this.createBy = createBy == null ? null : createBy.trim(); + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getUpdateBy() { + return updateBy; + } + + public void setUpdateBy(String updateBy) { + this.updateBy = updateBy == null ? null : updateBy.trim(); + } + + public Date getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } + + public String getRemark() { + return remark; + } + + public void setRemark(String remark) { + this.remark = remark == null ? null : remark.trim(); + } + + @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(", treatmentId=").append(treatmentId); + sb.append(", questionCode=").append(questionCode); + sb.append(", answer=").append(answer); + sb.append(", time=").append(time); + sb.append(", sourceId=").append(sourceId); + sb.append(", delFlag=").append(delFlag); + sb.append(", createBy=").append(createBy); + sb.append(", createTime=").append(createTime); + sb.append(", updateBy=").append(updateBy); + sb.append(", updateTime=").append(updateTime); + sb.append(", remark=").append(remark); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/PmsTreatmentRecordExample.java b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/PmsTreatmentRecordExample.java new file mode 100644 index 00000000..28b67843 --- /dev/null +++ b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/PmsTreatmentRecordExample.java @@ -0,0 +1,981 @@ +package com.acupuncture.system.domain.po; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class PmsTreatmentRecordExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public PmsTreatmentRecordExample() { + 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 andTreatmentIdIsNull() { + addCriterion("treatment_id is null"); + return (Criteria) this; + } + + public Criteria andTreatmentIdIsNotNull() { + addCriterion("treatment_id is not null"); + return (Criteria) this; + } + + public Criteria andTreatmentIdEqualTo(Long value) { + addCriterion("treatment_id =", value, "treatmentId"); + return (Criteria) this; + } + + public Criteria andTreatmentIdNotEqualTo(Long value) { + addCriterion("treatment_id <>", value, "treatmentId"); + return (Criteria) this; + } + + public Criteria andTreatmentIdGreaterThan(Long value) { + addCriterion("treatment_id >", value, "treatmentId"); + return (Criteria) this; + } + + public Criteria andTreatmentIdGreaterThanOrEqualTo(Long value) { + addCriterion("treatment_id >=", value, "treatmentId"); + return (Criteria) this; + } + + public Criteria andTreatmentIdLessThan(Long value) { + addCriterion("treatment_id <", value, "treatmentId"); + return (Criteria) this; + } + + public Criteria andTreatmentIdLessThanOrEqualTo(Long value) { + addCriterion("treatment_id <=", value, "treatmentId"); + return (Criteria) this; + } + + public Criteria andTreatmentIdIn(List values) { + addCriterion("treatment_id in", values, "treatmentId"); + return (Criteria) this; + } + + public Criteria andTreatmentIdNotIn(List values) { + addCriterion("treatment_id not in", values, "treatmentId"); + return (Criteria) this; + } + + public Criteria andTreatmentIdBetween(Long value1, Long value2) { + addCriterion("treatment_id between", value1, value2, "treatmentId"); + return (Criteria) this; + } + + public Criteria andTreatmentIdNotBetween(Long value1, Long value2) { + addCriterion("treatment_id not between", value1, value2, "treatmentId"); + return (Criteria) this; + } + + public Criteria andQuestionCodeIsNull() { + addCriterion("question_code is null"); + return (Criteria) this; + } + + public Criteria andQuestionCodeIsNotNull() { + addCriterion("question_code is not null"); + return (Criteria) this; + } + + public Criteria andQuestionCodeEqualTo(String value) { + addCriterion("question_code =", value, "questionCode"); + return (Criteria) this; + } + + public Criteria andQuestionCodeNotEqualTo(String value) { + addCriterion("question_code <>", value, "questionCode"); + return (Criteria) this; + } + + public Criteria andQuestionCodeGreaterThan(String value) { + addCriterion("question_code >", value, "questionCode"); + return (Criteria) this; + } + + public Criteria andQuestionCodeGreaterThanOrEqualTo(String value) { + addCriterion("question_code >=", value, "questionCode"); + return (Criteria) this; + } + + public Criteria andQuestionCodeLessThan(String value) { + addCriterion("question_code <", value, "questionCode"); + return (Criteria) this; + } + + public Criteria andQuestionCodeLessThanOrEqualTo(String value) { + addCriterion("question_code <=", value, "questionCode"); + return (Criteria) this; + } + + public Criteria andQuestionCodeLike(String value) { + addCriterion("question_code like", value, "questionCode"); + return (Criteria) this; + } + + public Criteria andQuestionCodeNotLike(String value) { + addCriterion("question_code not like", value, "questionCode"); + return (Criteria) this; + } + + public Criteria andQuestionCodeIn(List values) { + addCriterion("question_code in", values, "questionCode"); + return (Criteria) this; + } + + public Criteria andQuestionCodeNotIn(List values) { + addCriterion("question_code not in", values, "questionCode"); + return (Criteria) this; + } + + public Criteria andQuestionCodeBetween(String value1, String value2) { + addCriterion("question_code between", value1, value2, "questionCode"); + return (Criteria) this; + } + + public Criteria andQuestionCodeNotBetween(String value1, String value2) { + addCriterion("question_code not between", value1, value2, "questionCode"); + return (Criteria) this; + } + + public Criteria andAnswerIsNull() { + addCriterion("answer is null"); + return (Criteria) this; + } + + public Criteria andAnswerIsNotNull() { + addCriterion("answer is not null"); + return (Criteria) this; + } + + public Criteria andAnswerEqualTo(String value) { + addCriterion("answer =", value, "answer"); + return (Criteria) this; + } + + public Criteria andAnswerNotEqualTo(String value) { + addCriterion("answer <>", value, "answer"); + return (Criteria) this; + } + + public Criteria andAnswerGreaterThan(String value) { + addCriterion("answer >", value, "answer"); + return (Criteria) this; + } + + public Criteria andAnswerGreaterThanOrEqualTo(String value) { + addCriterion("answer >=", value, "answer"); + return (Criteria) this; + } + + public Criteria andAnswerLessThan(String value) { + addCriterion("answer <", value, "answer"); + return (Criteria) this; + } + + public Criteria andAnswerLessThanOrEqualTo(String value) { + addCriterion("answer <=", value, "answer"); + return (Criteria) this; + } + + public Criteria andAnswerLike(String value) { + addCriterion("answer like", value, "answer"); + return (Criteria) this; + } + + public Criteria andAnswerNotLike(String value) { + addCriterion("answer not like", value, "answer"); + return (Criteria) this; + } + + public Criteria andAnswerIn(List values) { + addCriterion("answer in", values, "answer"); + return (Criteria) this; + } + + public Criteria andAnswerNotIn(List values) { + addCriterion("answer not in", values, "answer"); + return (Criteria) this; + } + + public Criteria andAnswerBetween(String value1, String value2) { + addCriterion("answer between", value1, value2, "answer"); + return (Criteria) this; + } + + public Criteria andAnswerNotBetween(String value1, String value2) { + addCriterion("answer not between", value1, value2, "answer"); + return (Criteria) this; + } + + public Criteria andTimeIsNull() { + addCriterion("time is null"); + return (Criteria) this; + } + + public Criteria andTimeIsNotNull() { + addCriterion("time is not null"); + return (Criteria) this; + } + + public Criteria andTimeEqualTo(Date value) { + addCriterion("time =", value, "time"); + return (Criteria) this; + } + + public Criteria andTimeNotEqualTo(Date value) { + addCriterion("time <>", value, "time"); + return (Criteria) this; + } + + public Criteria andTimeGreaterThan(Date value) { + addCriterion("time >", value, "time"); + return (Criteria) this; + } + + public Criteria andTimeGreaterThanOrEqualTo(Date value) { + addCriterion("time >=", value, "time"); + return (Criteria) this; + } + + public Criteria andTimeLessThan(Date value) { + addCriterion("time <", value, "time"); + return (Criteria) this; + } + + public Criteria andTimeLessThanOrEqualTo(Date value) { + addCriterion("time <=", value, "time"); + return (Criteria) this; + } + + public Criteria andTimeIn(List values) { + addCriterion("time in", values, "time"); + return (Criteria) this; + } + + public Criteria andTimeNotIn(List values) { + addCriterion("time not in", values, "time"); + return (Criteria) this; + } + + public Criteria andTimeBetween(Date value1, Date value2) { + addCriterion("time between", value1, value2, "time"); + return (Criteria) this; + } + + public Criteria andTimeNotBetween(Date value1, Date value2) { + addCriterion("time not between", value1, value2, "time"); + return (Criteria) this; + } + + public Criteria andSourceIdIsNull() { + addCriterion("source_id is null"); + return (Criteria) this; + } + + public Criteria andSourceIdIsNotNull() { + addCriterion("source_id is not null"); + return (Criteria) this; + } + + public Criteria andSourceIdEqualTo(String value) { + addCriterion("source_id =", value, "sourceId"); + return (Criteria) this; + } + + public Criteria andSourceIdNotEqualTo(String value) { + addCriterion("source_id <>", value, "sourceId"); + return (Criteria) this; + } + + public Criteria andSourceIdGreaterThan(String value) { + addCriterion("source_id >", value, "sourceId"); + return (Criteria) this; + } + + public Criteria andSourceIdGreaterThanOrEqualTo(String value) { + addCriterion("source_id >=", value, "sourceId"); + return (Criteria) this; + } + + public Criteria andSourceIdLessThan(String value) { + addCriterion("source_id <", value, "sourceId"); + return (Criteria) this; + } + + public Criteria andSourceIdLessThanOrEqualTo(String value) { + addCriterion("source_id <=", value, "sourceId"); + return (Criteria) this; + } + + public Criteria andSourceIdLike(String value) { + addCriterion("source_id like", value, "sourceId"); + return (Criteria) this; + } + + public Criteria andSourceIdNotLike(String value) { + addCriterion("source_id not like", value, "sourceId"); + return (Criteria) this; + } + + public Criteria andSourceIdIn(List values) { + addCriterion("source_id in", values, "sourceId"); + return (Criteria) this; + } + + public Criteria andSourceIdNotIn(List values) { + addCriterion("source_id not in", values, "sourceId"); + return (Criteria) this; + } + + public Criteria andSourceIdBetween(String value1, String value2) { + addCriterion("source_id between", value1, value2, "sourceId"); + return (Criteria) this; + } + + public Criteria andSourceIdNotBetween(String value1, String value2) { + addCriterion("source_id not between", value1, value2, "sourceId"); + return (Criteria) this; + } + + public Criteria andDelFlagIsNull() { + addCriterion("del_flag is null"); + return (Criteria) this; + } + + public Criteria andDelFlagIsNotNull() { + addCriterion("del_flag is not null"); + return (Criteria) this; + } + + public Criteria andDelFlagEqualTo(Byte value) { + addCriterion("del_flag =", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagNotEqualTo(Byte value) { + addCriterion("del_flag <>", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagGreaterThan(Byte value) { + addCriterion("del_flag >", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagGreaterThanOrEqualTo(Byte value) { + addCriterion("del_flag >=", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagLessThan(Byte value) { + addCriterion("del_flag <", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagLessThanOrEqualTo(Byte value) { + addCriterion("del_flag <=", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagIn(List values) { + addCriterion("del_flag in", values, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagNotIn(List values) { + addCriterion("del_flag not in", values, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagBetween(Byte value1, Byte value2) { + addCriterion("del_flag between", value1, value2, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagNotBetween(Byte value1, Byte value2) { + addCriterion("del_flag not between", value1, value2, "delFlag"); + return (Criteria) this; + } + + public Criteria andCreateByIsNull() { + addCriterion("create_by is null"); + return (Criteria) this; + } + + public Criteria andCreateByIsNotNull() { + addCriterion("create_by is not null"); + return (Criteria) this; + } + + public Criteria andCreateByEqualTo(String value) { + addCriterion("create_by =", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotEqualTo(String value) { + addCriterion("create_by <>", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByGreaterThan(String value) { + addCriterion("create_by >", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByGreaterThanOrEqualTo(String value) { + addCriterion("create_by >=", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByLessThan(String value) { + addCriterion("create_by <", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByLessThanOrEqualTo(String value) { + addCriterion("create_by <=", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByLike(String value) { + addCriterion("create_by like", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotLike(String value) { + addCriterion("create_by not like", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByIn(List values) { + addCriterion("create_by in", values, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotIn(List values) { + addCriterion("create_by not in", values, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByBetween(String value1, String value2) { + addCriterion("create_by between", value1, value2, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotBetween(String value1, String value2) { + addCriterion("create_by not between", value1, value2, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andUpdateByIsNull() { + addCriterion("update_by is null"); + return (Criteria) this; + } + + public Criteria andUpdateByIsNotNull() { + addCriterion("update_by is not null"); + return (Criteria) this; + } + + public Criteria andUpdateByEqualTo(String value) { + addCriterion("update_by =", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotEqualTo(String value) { + addCriterion("update_by <>", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByGreaterThan(String value) { + addCriterion("update_by >", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByGreaterThanOrEqualTo(String value) { + addCriterion("update_by >=", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByLessThan(String value) { + addCriterion("update_by <", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByLessThanOrEqualTo(String value) { + addCriterion("update_by <=", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByLike(String value) { + addCriterion("update_by like", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotLike(String value) { + addCriterion("update_by not like", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByIn(List values) { + addCriterion("update_by in", values, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotIn(List values) { + addCriterion("update_by not in", values, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByBetween(String value1, String value2) { + addCriterion("update_by between", value1, value2, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotBetween(String value1, String value2) { + addCriterion("update_by not between", value1, value2, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIsNull() { + addCriterion("update_time is null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIsNotNull() { + addCriterion("update_time is not null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeEqualTo(Date value) { + addCriterion("update_time =", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotEqualTo(Date value) { + addCriterion("update_time <>", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThan(Date value) { + addCriterion("update_time >", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("update_time >=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThan(Date value) { + addCriterion("update_time <", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { + addCriterion("update_time <=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIn(List values) { + addCriterion("update_time in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotIn(List values) { + addCriterion("update_time not in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeBetween(Date value1, Date value2) { + addCriterion("update_time between", value1, value2, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { + addCriterion("update_time not between", value1, value2, "updateTime"); + return (Criteria) this; + } + + public Criteria 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 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/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/Pms_patient.java b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/Pms_patient.java new file mode 100644 index 00000000..dc9e7393 --- /dev/null +++ b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/Pms_patient.java @@ -0,0 +1,238 @@ +package com.acupuncture.system.domain.po; + +import java.io.Serializable; +import java.util.Date; + +public class Pms_patient implements Serializable { + private Long id; + + private String name; + + private String pinyinFull; + + private String pinyinSimple; + + private Byte gender; + + private Date birthDate; + + private String ethnicity; + + private Integer educationYears; + + private String phone; + + private Byte idCardType; + + private String idCard; + + private Byte source; + + private String currentIllnessHistory; + + private Byte delFlag; + + private Long tenantId; + + private String createBy; + + private Date createTime; + + private String updateBy; + + private Date updateTime; + + private String remark; + + 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 getPinyinFull() { + return pinyinFull; + } + + public void setPinyinFull(String pinyinFull) { + this.pinyinFull = pinyinFull == null ? null : pinyinFull.trim(); + } + + public String getPinyinSimple() { + return pinyinSimple; + } + + public void setPinyinSimple(String pinyinSimple) { + this.pinyinSimple = pinyinSimple == null ? null : pinyinSimple.trim(); + } + + public Byte getGender() { + return gender; + } + + public void setGender(Byte gender) { + this.gender = gender; + } + + public Date getBirthDate() { + return birthDate; + } + + public void setBirthDate(Date birthDate) { + this.birthDate = birthDate; + } + + public String getEthnicity() { + return ethnicity; + } + + public void setEthnicity(String ethnicity) { + this.ethnicity = ethnicity == null ? null : ethnicity.trim(); + } + + public Integer getEducationYears() { + return educationYears; + } + + public void setEducationYears(Integer educationYears) { + this.educationYears = educationYears; + } + + public String getPhone() { + return phone; + } + + public void setPhone(String phone) { + this.phone = phone == null ? null : phone.trim(); + } + + public Byte getIdCardType() { + return idCardType; + } + + public void setIdCardType(Byte idCardType) { + this.idCardType = idCardType; + } + + public String getIdCard() { + return idCard; + } + + public void setIdCard(String idCard) { + this.idCard = idCard == null ? null : idCard.trim(); + } + + public Byte getSource() { + return source; + } + + public void setSource(Byte source) { + this.source = source; + } + + public String getCurrentIllnessHistory() { + return currentIllnessHistory; + } + + public void setCurrentIllnessHistory(String currentIllnessHistory) { + this.currentIllnessHistory = currentIllnessHistory == null ? null : currentIllnessHistory.trim(); + } + + public Byte getDelFlag() { + return delFlag; + } + + public void setDelFlag(Byte delFlag) { + this.delFlag = delFlag; + } + + public Long getTenantId() { + return tenantId; + } + + public void setTenantId(Long tenantId) { + this.tenantId = tenantId; + } + + public String getCreateBy() { + return createBy; + } + + public void setCreateBy(String createBy) { + this.createBy = createBy == null ? null : createBy.trim(); + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getUpdateBy() { + return updateBy; + } + + public void setUpdateBy(String updateBy) { + this.updateBy = updateBy == null ? null : updateBy.trim(); + } + + public Date getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } + + public String getRemark() { + return remark; + } + + public void setRemark(String remark) { + this.remark = remark == null ? null : remark.trim(); + } + + @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(", pinyinFull=").append(pinyinFull); + sb.append(", pinyinSimple=").append(pinyinSimple); + sb.append(", gender=").append(gender); + sb.append(", birthDate=").append(birthDate); + sb.append(", ethnicity=").append(ethnicity); + sb.append(", educationYears=").append(educationYears); + sb.append(", phone=").append(phone); + sb.append(", idCardType=").append(idCardType); + sb.append(", idCard=").append(idCard); + sb.append(", source=").append(source); + sb.append(", currentIllnessHistory=").append(currentIllnessHistory); + sb.append(", delFlag=").append(delFlag); + sb.append(", tenantId=").append(tenantId); + sb.append(", createBy=").append(createBy); + sb.append(", createTime=").append(createTime); + sb.append(", updateBy=").append(updateBy); + sb.append(", updateTime=").append(updateTime); + sb.append(", remark=").append(remark); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/Pms_patientExample.java b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/Pms_patientExample.java new file mode 100644 index 00000000..de3d4920 --- /dev/null +++ b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/Pms_patientExample.java @@ -0,0 +1,1528 @@ +package com.acupuncture.system.domain.po; + +import java.util.ArrayList; +import java.util.Date; +import java.util.Iterator; +import java.util.List; + +public class Pms_patientExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public Pms_patientExample() { + 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)); + } + + protected void addCriterionForJDBCDate(String condition, Date value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + addCriterion(condition, new java.sql.Date(value.getTime()), property); + } + + protected void addCriterionForJDBCDate(String condition, List values, String property) { + if (values == null || values.size() == 0) { + throw new RuntimeException("Value list for " + property + " cannot be null or empty"); + } + List dateList = new ArrayList(); + Iterator iter = values.iterator(); + while (iter.hasNext()) { + dateList.add(new java.sql.Date(iter.next().getTime())); + } + addCriterion(condition, dateList, property); + } + + protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(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 andPinyinFullIsNull() { + addCriterion("pinyin_full is null"); + return (Criteria) this; + } + + public Criteria andPinyinFullIsNotNull() { + addCriterion("pinyin_full is not null"); + return (Criteria) this; + } + + public Criteria andPinyinFullEqualTo(String value) { + addCriterion("pinyin_full =", value, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullNotEqualTo(String value) { + addCriterion("pinyin_full <>", value, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullGreaterThan(String value) { + addCriterion("pinyin_full >", value, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullGreaterThanOrEqualTo(String value) { + addCriterion("pinyin_full >=", value, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullLessThan(String value) { + addCriterion("pinyin_full <", value, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullLessThanOrEqualTo(String value) { + addCriterion("pinyin_full <=", value, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullLike(String value) { + addCriterion("pinyin_full like", value, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullNotLike(String value) { + addCriterion("pinyin_full not like", value, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullIn(List values) { + addCriterion("pinyin_full in", values, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullNotIn(List values) { + addCriterion("pinyin_full not in", values, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullBetween(String value1, String value2) { + addCriterion("pinyin_full between", value1, value2, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinFullNotBetween(String value1, String value2) { + addCriterion("pinyin_full not between", value1, value2, "pinyinFull"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleIsNull() { + addCriterion("pinyin_simple is null"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleIsNotNull() { + addCriterion("pinyin_simple is not null"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleEqualTo(String value) { + addCriterion("pinyin_simple =", value, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleNotEqualTo(String value) { + addCriterion("pinyin_simple <>", value, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleGreaterThan(String value) { + addCriterion("pinyin_simple >", value, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleGreaterThanOrEqualTo(String value) { + addCriterion("pinyin_simple >=", value, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleLessThan(String value) { + addCriterion("pinyin_simple <", value, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleLessThanOrEqualTo(String value) { + addCriterion("pinyin_simple <=", value, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleLike(String value) { + addCriterion("pinyin_simple like", value, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleNotLike(String value) { + addCriterion("pinyin_simple not like", value, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleIn(List values) { + addCriterion("pinyin_simple in", values, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleNotIn(List values) { + addCriterion("pinyin_simple not in", values, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleBetween(String value1, String value2) { + addCriterion("pinyin_simple between", value1, value2, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andPinyinSimpleNotBetween(String value1, String value2) { + addCriterion("pinyin_simple not between", value1, value2, "pinyinSimple"); + return (Criteria) this; + } + + public Criteria andGenderIsNull() { + addCriterion("gender is null"); + return (Criteria) this; + } + + public Criteria andGenderIsNotNull() { + addCriterion("gender is not null"); + return (Criteria) this; + } + + public Criteria andGenderEqualTo(Byte value) { + addCriterion("gender =", value, "gender"); + return (Criteria) this; + } + + public Criteria andGenderNotEqualTo(Byte value) { + addCriterion("gender <>", value, "gender"); + return (Criteria) this; + } + + public Criteria andGenderGreaterThan(Byte value) { + addCriterion("gender >", value, "gender"); + return (Criteria) this; + } + + public Criteria andGenderGreaterThanOrEqualTo(Byte value) { + addCriterion("gender >=", value, "gender"); + return (Criteria) this; + } + + public Criteria andGenderLessThan(Byte value) { + addCriterion("gender <", value, "gender"); + return (Criteria) this; + } + + public Criteria andGenderLessThanOrEqualTo(Byte value) { + addCriterion("gender <=", value, "gender"); + return (Criteria) this; + } + + public Criteria andGenderIn(List values) { + addCriterion("gender in", values, "gender"); + return (Criteria) this; + } + + public Criteria andGenderNotIn(List values) { + addCriterion("gender not in", values, "gender"); + return (Criteria) this; + } + + public Criteria andGenderBetween(Byte value1, Byte value2) { + addCriterion("gender between", value1, value2, "gender"); + return (Criteria) this; + } + + public Criteria andGenderNotBetween(Byte value1, Byte value2) { + addCriterion("gender not between", value1, value2, "gender"); + return (Criteria) this; + } + + public Criteria andBirthDateIsNull() { + addCriterion("birth_date is null"); + return (Criteria) this; + } + + public Criteria andBirthDateIsNotNull() { + addCriterion("birth_date is not null"); + return (Criteria) this; + } + + public Criteria andBirthDateEqualTo(Date value) { + addCriterionForJDBCDate("birth_date =", value, "birthDate"); + return (Criteria) this; + } + + public Criteria andBirthDateNotEqualTo(Date value) { + addCriterionForJDBCDate("birth_date <>", value, "birthDate"); + return (Criteria) this; + } + + public Criteria andBirthDateGreaterThan(Date value) { + addCriterionForJDBCDate("birth_date >", value, "birthDate"); + return (Criteria) this; + } + + public Criteria andBirthDateGreaterThanOrEqualTo(Date value) { + addCriterionForJDBCDate("birth_date >=", value, "birthDate"); + return (Criteria) this; + } + + public Criteria andBirthDateLessThan(Date value) { + addCriterionForJDBCDate("birth_date <", value, "birthDate"); + return (Criteria) this; + } + + public Criteria andBirthDateLessThanOrEqualTo(Date value) { + addCriterionForJDBCDate("birth_date <=", value, "birthDate"); + return (Criteria) this; + } + + public Criteria andBirthDateIn(List values) { + addCriterionForJDBCDate("birth_date in", values, "birthDate"); + return (Criteria) this; + } + + public Criteria andBirthDateNotIn(List values) { + addCriterionForJDBCDate("birth_date not in", values, "birthDate"); + return (Criteria) this; + } + + public Criteria andBirthDateBetween(Date value1, Date value2) { + addCriterionForJDBCDate("birth_date between", value1, value2, "birthDate"); + return (Criteria) this; + } + + public Criteria andBirthDateNotBetween(Date value1, Date value2) { + addCriterionForJDBCDate("birth_date not between", value1, value2, "birthDate"); + return (Criteria) this; + } + + public Criteria andEthnicityIsNull() { + addCriterion("ethnicity is null"); + return (Criteria) this; + } + + public Criteria andEthnicityIsNotNull() { + addCriterion("ethnicity is not null"); + return (Criteria) this; + } + + public Criteria andEthnicityEqualTo(String value) { + addCriterion("ethnicity =", value, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityNotEqualTo(String value) { + addCriterion("ethnicity <>", value, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityGreaterThan(String value) { + addCriterion("ethnicity >", value, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityGreaterThanOrEqualTo(String value) { + addCriterion("ethnicity >=", value, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityLessThan(String value) { + addCriterion("ethnicity <", value, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityLessThanOrEqualTo(String value) { + addCriterion("ethnicity <=", value, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityLike(String value) { + addCriterion("ethnicity like", value, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityNotLike(String value) { + addCriterion("ethnicity not like", value, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityIn(List values) { + addCriterion("ethnicity in", values, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityNotIn(List values) { + addCriterion("ethnicity not in", values, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityBetween(String value1, String value2) { + addCriterion("ethnicity between", value1, value2, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEthnicityNotBetween(String value1, String value2) { + addCriterion("ethnicity not between", value1, value2, "ethnicity"); + return (Criteria) this; + } + + public Criteria andEducationYearsIsNull() { + addCriterion("education_years is null"); + return (Criteria) this; + } + + public Criteria andEducationYearsIsNotNull() { + addCriterion("education_years is not null"); + return (Criteria) this; + } + + public Criteria andEducationYearsEqualTo(Integer value) { + addCriterion("education_years =", value, "educationYears"); + return (Criteria) this; + } + + public Criteria andEducationYearsNotEqualTo(Integer value) { + addCriterion("education_years <>", value, "educationYears"); + return (Criteria) this; + } + + public Criteria andEducationYearsGreaterThan(Integer value) { + addCriterion("education_years >", value, "educationYears"); + return (Criteria) this; + } + + public Criteria andEducationYearsGreaterThanOrEqualTo(Integer value) { + addCriterion("education_years >=", value, "educationYears"); + return (Criteria) this; + } + + public Criteria andEducationYearsLessThan(Integer value) { + addCriterion("education_years <", value, "educationYears"); + return (Criteria) this; + } + + public Criteria andEducationYearsLessThanOrEqualTo(Integer value) { + addCriterion("education_years <=", value, "educationYears"); + return (Criteria) this; + } + + public Criteria andEducationYearsIn(List values) { + addCriterion("education_years in", values, "educationYears"); + return (Criteria) this; + } + + public Criteria andEducationYearsNotIn(List values) { + addCriterion("education_years not in", values, "educationYears"); + return (Criteria) this; + } + + public Criteria andEducationYearsBetween(Integer value1, Integer value2) { + addCriterion("education_years between", value1, value2, "educationYears"); + return (Criteria) this; + } + + public Criteria andEducationYearsNotBetween(Integer value1, Integer value2) { + addCriterion("education_years not between", value1, value2, "educationYears"); + 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 andIdCardTypeIsNull() { + addCriterion("id_card_type is null"); + return (Criteria) this; + } + + public Criteria andIdCardTypeIsNotNull() { + addCriterion("id_card_type is not null"); + return (Criteria) this; + } + + public Criteria andIdCardTypeEqualTo(Byte value) { + addCriterion("id_card_type =", value, "idCardType"); + return (Criteria) this; + } + + public Criteria andIdCardTypeNotEqualTo(Byte value) { + addCriterion("id_card_type <>", value, "idCardType"); + return (Criteria) this; + } + + public Criteria andIdCardTypeGreaterThan(Byte value) { + addCriterion("id_card_type >", value, "idCardType"); + return (Criteria) this; + } + + public Criteria andIdCardTypeGreaterThanOrEqualTo(Byte value) { + addCriterion("id_card_type >=", value, "idCardType"); + return (Criteria) this; + } + + public Criteria andIdCardTypeLessThan(Byte value) { + addCriterion("id_card_type <", value, "idCardType"); + return (Criteria) this; + } + + public Criteria andIdCardTypeLessThanOrEqualTo(Byte value) { + addCriterion("id_card_type <=", value, "idCardType"); + return (Criteria) this; + } + + public Criteria andIdCardTypeIn(List values) { + addCriterion("id_card_type in", values, "idCardType"); + return (Criteria) this; + } + + public Criteria andIdCardTypeNotIn(List values) { + addCriterion("id_card_type not in", values, "idCardType"); + return (Criteria) this; + } + + public Criteria andIdCardTypeBetween(Byte value1, Byte value2) { + addCriterion("id_card_type between", value1, value2, "idCardType"); + return (Criteria) this; + } + + public Criteria andIdCardTypeNotBetween(Byte value1, Byte value2) { + addCriterion("id_card_type not between", value1, value2, "idCardType"); + 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 andSourceIsNull() { + addCriterion("source is null"); + return (Criteria) this; + } + + public Criteria andSourceIsNotNull() { + addCriterion("source is not null"); + return (Criteria) this; + } + + public Criteria andSourceEqualTo(Byte value) { + addCriterion("source =", value, "source"); + return (Criteria) this; + } + + public Criteria andSourceNotEqualTo(Byte value) { + addCriterion("source <>", value, "source"); + return (Criteria) this; + } + + public Criteria andSourceGreaterThan(Byte value) { + addCriterion("source >", value, "source"); + return (Criteria) this; + } + + public Criteria andSourceGreaterThanOrEqualTo(Byte value) { + addCriterion("source >=", value, "source"); + return (Criteria) this; + } + + public Criteria andSourceLessThan(Byte value) { + addCriterion("source <", value, "source"); + return (Criteria) this; + } + + public Criteria andSourceLessThanOrEqualTo(Byte value) { + addCriterion("source <=", value, "source"); + return (Criteria) this; + } + + public Criteria andSourceIn(List values) { + addCriterion("source in", values, "source"); + return (Criteria) this; + } + + public Criteria andSourceNotIn(List values) { + addCriterion("source not in", values, "source"); + return (Criteria) this; + } + + public Criteria andSourceBetween(Byte value1, Byte value2) { + addCriterion("source between", value1, value2, "source"); + return (Criteria) this; + } + + public Criteria andSourceNotBetween(Byte value1, Byte value2) { + addCriterion("source not between", value1, value2, "source"); + return (Criteria) this; + } + + public Criteria andCurrentIllnessHistoryIsNull() { + addCriterion("current_illness_history is null"); + return (Criteria) this; + } + + public Criteria andCurrentIllnessHistoryIsNotNull() { + addCriterion("current_illness_history is not null"); + return (Criteria) this; + } + + public Criteria andCurrentIllnessHistoryEqualTo(String value) { + addCriterion("current_illness_history =", value, "currentIllnessHistory"); + return (Criteria) this; + } + + public Criteria andCurrentIllnessHistoryNotEqualTo(String value) { + addCriterion("current_illness_history <>", value, "currentIllnessHistory"); + return (Criteria) this; + } + + public Criteria andCurrentIllnessHistoryGreaterThan(String value) { + addCriterion("current_illness_history >", value, "currentIllnessHistory"); + return (Criteria) this; + } + + public Criteria andCurrentIllnessHistoryGreaterThanOrEqualTo(String value) { + addCriterion("current_illness_history >=", value, "currentIllnessHistory"); + return (Criteria) this; + } + + public Criteria andCurrentIllnessHistoryLessThan(String value) { + addCriterion("current_illness_history <", value, "currentIllnessHistory"); + return (Criteria) this; + } + + public Criteria andCurrentIllnessHistoryLessThanOrEqualTo(String value) { + addCriterion("current_illness_history <=", value, "currentIllnessHistory"); + return (Criteria) this; + } + + public Criteria andCurrentIllnessHistoryLike(String value) { + addCriterion("current_illness_history like", value, "currentIllnessHistory"); + return (Criteria) this; + } + + public Criteria andCurrentIllnessHistoryNotLike(String value) { + addCriterion("current_illness_history not like", value, "currentIllnessHistory"); + return (Criteria) this; + } + + public Criteria andCurrentIllnessHistoryIn(List values) { + addCriterion("current_illness_history in", values, "currentIllnessHistory"); + return (Criteria) this; + } + + public Criteria andCurrentIllnessHistoryNotIn(List values) { + addCriterion("current_illness_history not in", values, "currentIllnessHistory"); + return (Criteria) this; + } + + public Criteria andCurrentIllnessHistoryBetween(String value1, String value2) { + addCriterion("current_illness_history between", value1, value2, "currentIllnessHistory"); + return (Criteria) this; + } + + public Criteria andCurrentIllnessHistoryNotBetween(String value1, String value2) { + addCriterion("current_illness_history not between", value1, value2, "currentIllnessHistory"); + return (Criteria) this; + } + + public Criteria andDelFlagIsNull() { + addCriterion("del_flag is null"); + return (Criteria) this; + } + + public Criteria andDelFlagIsNotNull() { + addCriterion("del_flag is not null"); + return (Criteria) this; + } + + public Criteria andDelFlagEqualTo(Byte value) { + addCriterion("del_flag =", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagNotEqualTo(Byte value) { + addCriterion("del_flag <>", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagGreaterThan(Byte value) { + addCriterion("del_flag >", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagGreaterThanOrEqualTo(Byte value) { + addCriterion("del_flag >=", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagLessThan(Byte value) { + addCriterion("del_flag <", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagLessThanOrEqualTo(Byte value) { + addCriterion("del_flag <=", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagIn(List values) { + addCriterion("del_flag in", values, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagNotIn(List values) { + addCriterion("del_flag not in", values, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagBetween(Byte value1, Byte value2) { + addCriterion("del_flag between", value1, value2, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagNotBetween(Byte value1, Byte value2) { + addCriterion("del_flag not between", value1, value2, "delFlag"); + return (Criteria) this; + } + + public Criteria andTenantIdIsNull() { + addCriterion("tenant_id is null"); + return (Criteria) this; + } + + public Criteria andTenantIdIsNotNull() { + addCriterion("tenant_id is not null"); + return (Criteria) this; + } + + public Criteria andTenantIdEqualTo(Long value) { + addCriterion("tenant_id =", value, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotEqualTo(Long value) { + addCriterion("tenant_id <>", value, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdGreaterThan(Long value) { + addCriterion("tenant_id >", value, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdGreaterThanOrEqualTo(Long value) { + addCriterion("tenant_id >=", value, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdLessThan(Long value) { + addCriterion("tenant_id <", value, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdLessThanOrEqualTo(Long value) { + addCriterion("tenant_id <=", value, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdIn(List values) { + addCriterion("tenant_id in", values, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotIn(List values) { + addCriterion("tenant_id not in", values, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdBetween(Long value1, Long value2) { + addCriterion("tenant_id between", value1, value2, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotBetween(Long value1, Long value2) { + addCriterion("tenant_id not between", value1, value2, "tenantId"); + return (Criteria) this; + } + + public Criteria andCreateByIsNull() { + addCriterion("create_by is null"); + return (Criteria) this; + } + + public Criteria andCreateByIsNotNull() { + addCriterion("create_by is not null"); + return (Criteria) this; + } + + public Criteria andCreateByEqualTo(String value) { + addCriterion("create_by =", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotEqualTo(String value) { + addCriterion("create_by <>", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByGreaterThan(String value) { + addCriterion("create_by >", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByGreaterThanOrEqualTo(String value) { + addCriterion("create_by >=", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByLessThan(String value) { + addCriterion("create_by <", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByLessThanOrEqualTo(String value) { + addCriterion("create_by <=", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByLike(String value) { + addCriterion("create_by like", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotLike(String value) { + addCriterion("create_by not like", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByIn(List values) { + addCriterion("create_by in", values, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotIn(List values) { + addCriterion("create_by not in", values, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByBetween(String value1, String value2) { + addCriterion("create_by between", value1, value2, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotBetween(String value1, String value2) { + addCriterion("create_by not between", value1, value2, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andUpdateByIsNull() { + addCriterion("update_by is null"); + return (Criteria) this; + } + + public Criteria andUpdateByIsNotNull() { + addCriterion("update_by is not null"); + return (Criteria) this; + } + + public Criteria andUpdateByEqualTo(String value) { + addCriterion("update_by =", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotEqualTo(String value) { + addCriterion("update_by <>", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByGreaterThan(String value) { + addCriterion("update_by >", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByGreaterThanOrEqualTo(String value) { + addCriterion("update_by >=", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByLessThan(String value) { + addCriterion("update_by <", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByLessThanOrEqualTo(String value) { + addCriterion("update_by <=", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByLike(String value) { + addCriterion("update_by like", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotLike(String value) { + addCriterion("update_by not like", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByIn(List values) { + addCriterion("update_by in", values, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotIn(List values) { + addCriterion("update_by not in", values, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByBetween(String value1, String value2) { + addCriterion("update_by between", value1, value2, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotBetween(String value1, String value2) { + addCriterion("update_by not between", value1, value2, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIsNull() { + addCriterion("update_time is null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIsNotNull() { + addCriterion("update_time is not null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeEqualTo(Date value) { + addCriterion("update_time =", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotEqualTo(Date value) { + addCriterion("update_time <>", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThan(Date value) { + addCriterion("update_time >", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("update_time >=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThan(Date value) { + addCriterion("update_time <", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { + addCriterion("update_time <=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIn(List values) { + addCriterion("update_time in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotIn(List values) { + addCriterion("update_time not in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeBetween(Date value1, Date value2) { + addCriterion("update_time between", value1, value2, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { + addCriterion("update_time not between", value1, value2, "updateTime"); + return (Criteria) this; + } + + public Criteria 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 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/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/RmsReportType.java b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/RmsReportType.java new file mode 100644 index 00000000..45983f55 --- /dev/null +++ b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/RmsReportType.java @@ -0,0 +1,106 @@ +package com.acupuncture.system.domain.po; + +import java.io.Serializable; +import java.util.Date; + +public class RmsReportType implements Serializable { + private Integer id; + + private String typeName; + + private Byte delFlag; + + private String createBy; + + private Date createTime; + + private String updateBy; + + private Date updateTime; + + private String remark; + + private static final long serialVersionUID = 1L; + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id = id; + } + + public String getTypeName() { + return typeName; + } + + public void setTypeName(String typeName) { + this.typeName = typeName == null ? null : typeName.trim(); + } + + public Byte getDelFlag() { + return delFlag; + } + + public void setDelFlag(Byte delFlag) { + this.delFlag = delFlag; + } + + public String getCreateBy() { + return createBy; + } + + public void setCreateBy(String createBy) { + this.createBy = createBy == null ? null : createBy.trim(); + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getUpdateBy() { + return updateBy; + } + + public void setUpdateBy(String updateBy) { + this.updateBy = updateBy == null ? null : updateBy.trim(); + } + + public Date getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } + + public String getRemark() { + return remark; + } + + public void setRemark(String remark) { + this.remark = remark == null ? null : remark.trim(); + } + + @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(", typeName=").append(typeName); + sb.append(", delFlag=").append(delFlag); + sb.append(", createBy=").append(createBy); + sb.append(", createTime=").append(createTime); + sb.append(", updateBy=").append(updateBy); + sb.append(", updateTime=").append(updateTime); + sb.append(", remark=").append(remark); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/RmsReportTypeExample.java b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/RmsReportTypeExample.java new file mode 100644 index 00000000..4e5cd79c --- /dev/null +++ b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/RmsReportTypeExample.java @@ -0,0 +1,721 @@ +package com.acupuncture.system.domain.po; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class RmsReportTypeExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public RmsReportTypeExample() { + 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(Integer value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Integer value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Integer value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Integer value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Integer value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Integer value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List 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(Integer value1, Integer value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Integer value1, Integer value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andTypeNameIsNull() { + addCriterion("type_name is null"); + return (Criteria) this; + } + + public Criteria andTypeNameIsNotNull() { + addCriterion("type_name is not null"); + return (Criteria) this; + } + + public Criteria andTypeNameEqualTo(String value) { + addCriterion("type_name =", value, "typeName"); + return (Criteria) this; + } + + public Criteria andTypeNameNotEqualTo(String value) { + addCriterion("type_name <>", value, "typeName"); + return (Criteria) this; + } + + public Criteria andTypeNameGreaterThan(String value) { + addCriterion("type_name >", value, "typeName"); + return (Criteria) this; + } + + public Criteria andTypeNameGreaterThanOrEqualTo(String value) { + addCriterion("type_name >=", value, "typeName"); + return (Criteria) this; + } + + public Criteria andTypeNameLessThan(String value) { + addCriterion("type_name <", value, "typeName"); + return (Criteria) this; + } + + public Criteria andTypeNameLessThanOrEqualTo(String value) { + addCriterion("type_name <=", value, "typeName"); + return (Criteria) this; + } + + public Criteria andTypeNameLike(String value) { + addCriterion("type_name like", value, "typeName"); + return (Criteria) this; + } + + public Criteria andTypeNameNotLike(String value) { + addCriterion("type_name not like", value, "typeName"); + return (Criteria) this; + } + + public Criteria andTypeNameIn(List values) { + addCriterion("type_name in", values, "typeName"); + return (Criteria) this; + } + + public Criteria andTypeNameNotIn(List values) { + addCriterion("type_name not in", values, "typeName"); + return (Criteria) this; + } + + public Criteria andTypeNameBetween(String value1, String value2) { + addCriterion("type_name between", value1, value2, "typeName"); + return (Criteria) this; + } + + public Criteria andTypeNameNotBetween(String value1, String value2) { + addCriterion("type_name not between", value1, value2, "typeName"); + return (Criteria) this; + } + + public Criteria andDelFlagIsNull() { + addCriterion("del_flag is null"); + return (Criteria) this; + } + + public Criteria andDelFlagIsNotNull() { + addCriterion("del_flag is not null"); + return (Criteria) this; + } + + public Criteria andDelFlagEqualTo(Byte value) { + addCriterion("del_flag =", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagNotEqualTo(Byte value) { + addCriterion("del_flag <>", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagGreaterThan(Byte value) { + addCriterion("del_flag >", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagGreaterThanOrEqualTo(Byte value) { + addCriterion("del_flag >=", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagLessThan(Byte value) { + addCriterion("del_flag <", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagLessThanOrEqualTo(Byte value) { + addCriterion("del_flag <=", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagIn(List values) { + addCriterion("del_flag in", values, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagNotIn(List values) { + addCriterion("del_flag not in", values, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagBetween(Byte value1, Byte value2) { + addCriterion("del_flag between", value1, value2, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagNotBetween(Byte value1, Byte value2) { + addCriterion("del_flag not between", value1, value2, "delFlag"); + return (Criteria) this; + } + + public Criteria andCreateByIsNull() { + addCriterion("create_by is null"); + return (Criteria) this; + } + + public Criteria andCreateByIsNotNull() { + addCriterion("create_by is not null"); + return (Criteria) this; + } + + public Criteria andCreateByEqualTo(String value) { + addCriterion("create_by =", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotEqualTo(String value) { + addCriterion("create_by <>", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByGreaterThan(String value) { + addCriterion("create_by >", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByGreaterThanOrEqualTo(String value) { + addCriterion("create_by >=", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByLessThan(String value) { + addCriterion("create_by <", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByLessThanOrEqualTo(String value) { + addCriterion("create_by <=", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByLike(String value) { + addCriterion("create_by like", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotLike(String value) { + addCriterion("create_by not like", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByIn(List values) { + addCriterion("create_by in", values, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotIn(List values) { + addCriterion("create_by not in", values, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByBetween(String value1, String value2) { + addCriterion("create_by between", value1, value2, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotBetween(String value1, String value2) { + addCriterion("create_by not between", value1, value2, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andUpdateByIsNull() { + addCriterion("update_by is null"); + return (Criteria) this; + } + + public Criteria andUpdateByIsNotNull() { + addCriterion("update_by is not null"); + return (Criteria) this; + } + + public Criteria andUpdateByEqualTo(String value) { + addCriterion("update_by =", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotEqualTo(String value) { + addCriterion("update_by <>", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByGreaterThan(String value) { + addCriterion("update_by >", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByGreaterThanOrEqualTo(String value) { + addCriterion("update_by >=", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByLessThan(String value) { + addCriterion("update_by <", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByLessThanOrEqualTo(String value) { + addCriterion("update_by <=", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByLike(String value) { + addCriterion("update_by like", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotLike(String value) { + addCriterion("update_by not like", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByIn(List values) { + addCriterion("update_by in", values, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotIn(List values) { + addCriterion("update_by not in", values, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByBetween(String value1, String value2) { + addCriterion("update_by between", value1, value2, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotBetween(String value1, String value2) { + addCriterion("update_by not between", value1, value2, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIsNull() { + addCriterion("update_time is null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIsNotNull() { + addCriterion("update_time is not null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeEqualTo(Date value) { + addCriterion("update_time =", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotEqualTo(Date value) { + addCriterion("update_time <>", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThan(Date value) { + addCriterion("update_time >", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("update_time >=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThan(Date value) { + addCriterion("update_time <", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { + addCriterion("update_time <=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIn(List values) { + addCriterion("update_time in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotIn(List values) { + addCriterion("update_time not in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeBetween(Date value1, Date value2) { + addCriterion("update_time between", value1, value2, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { + addCriterion("update_time not between", value1, value2, "updateTime"); + return (Criteria) this; + } + + public Criteria 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 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/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/UmsDataSource.java b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/UmsDataSource.java new file mode 100644 index 00000000..07c8fb46 --- /dev/null +++ b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/UmsDataSource.java @@ -0,0 +1,139 @@ +package com.acupuncture.system.domain.po; + +import java.io.Serializable; +import java.util.Date; + +public class UmsDataSource implements Serializable { + private Long id; + + private String dataSourceKey; + + private Long hospitalId; + + private String url; + + private String username; + + private String password; + + private String createBy; + + private Date createTime; + + private String updateBy; + + private Date updateTime; + + private Byte delFlag; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getDataSourceKey() { + return dataSourceKey; + } + + public void setDataSourceKey(String dataSourceKey) { + this.dataSourceKey = dataSourceKey == null ? null : dataSourceKey.trim(); + } + + public Long getHospitalId() { + return hospitalId; + } + + public void setHospitalId(Long hospitalId) { + this.hospitalId = hospitalId; + } + + public String getUrl() { + return url; + } + + public void setUrl(String url) { + this.url = url == null ? null : url.trim(); + } + + public String getUsername() { + return username; + } + + public void setUsername(String username) { + this.username = username == null ? null : username.trim(); + } + + public String getPassword() { + return password; + } + + public void setPassword(String password) { + this.password = password == null ? null : password.trim(); + } + + public String getCreateBy() { + return createBy; + } + + public void setCreateBy(String createBy) { + this.createBy = createBy == null ? null : createBy.trim(); + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getUpdateBy() { + return updateBy; + } + + public void setUpdateBy(String updateBy) { + this.updateBy = updateBy == null ? null : updateBy.trim(); + } + + public Date getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } + + public Byte getDelFlag() { + return delFlag; + } + + public void setDelFlag(Byte delFlag) { + this.delFlag = delFlag; + } + + @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(", dataSourceKey=").append(dataSourceKey); + sb.append(", hospitalId=").append(hospitalId); + sb.append(", url=").append(url); + sb.append(", username=").append(username); + sb.append(", password=").append(password); + sb.append(", createBy=").append(createBy); + sb.append(", createTime=").append(createTime); + sb.append(", updateBy=").append(updateBy); + sb.append(", updateTime=").append(updateTime); + sb.append(", delFlag=").append(delFlag); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/UmsDataSourceExample.java b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/UmsDataSourceExample.java new file mode 100644 index 00000000..8b1f4904 --- /dev/null +++ b/acupuncture-system/src/main/java/com/acupuncture/system/domain/po/UmsDataSourceExample.java @@ -0,0 +1,921 @@ +package com.acupuncture.system.domain.po; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class UmsDataSourceExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public UmsDataSourceExample() { + 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 andDataSourceKeyIsNull() { + addCriterion("data_source_key is null"); + return (Criteria) this; + } + + public Criteria andDataSourceKeyIsNotNull() { + addCriterion("data_source_key is not null"); + return (Criteria) this; + } + + public Criteria andDataSourceKeyEqualTo(String value) { + addCriterion("data_source_key =", value, "dataSourceKey"); + return (Criteria) this; + } + + public Criteria andDataSourceKeyNotEqualTo(String value) { + addCriterion("data_source_key <>", value, "dataSourceKey"); + return (Criteria) this; + } + + public Criteria andDataSourceKeyGreaterThan(String value) { + addCriterion("data_source_key >", value, "dataSourceKey"); + return (Criteria) this; + } + + public Criteria andDataSourceKeyGreaterThanOrEqualTo(String value) { + addCriterion("data_source_key >=", value, "dataSourceKey"); + return (Criteria) this; + } + + public Criteria andDataSourceKeyLessThan(String value) { + addCriterion("data_source_key <", value, "dataSourceKey"); + return (Criteria) this; + } + + public Criteria andDataSourceKeyLessThanOrEqualTo(String value) { + addCriterion("data_source_key <=", value, "dataSourceKey"); + return (Criteria) this; + } + + public Criteria andDataSourceKeyLike(String value) { + addCriterion("data_source_key like", value, "dataSourceKey"); + return (Criteria) this; + } + + public Criteria andDataSourceKeyNotLike(String value) { + addCriterion("data_source_key not like", value, "dataSourceKey"); + return (Criteria) this; + } + + public Criteria andDataSourceKeyIn(List values) { + addCriterion("data_source_key in", values, "dataSourceKey"); + return (Criteria) this; + } + + public Criteria andDataSourceKeyNotIn(List values) { + addCriterion("data_source_key not in", values, "dataSourceKey"); + return (Criteria) this; + } + + public Criteria andDataSourceKeyBetween(String value1, String value2) { + addCriterion("data_source_key between", value1, value2, "dataSourceKey"); + return (Criteria) this; + } + + public Criteria andDataSourceKeyNotBetween(String value1, String value2) { + addCriterion("data_source_key not between", value1, value2, "dataSourceKey"); + return (Criteria) this; + } + + public Criteria andHospitalIdIsNull() { + addCriterion("hospital_id is null"); + return (Criteria) this; + } + + public Criteria andHospitalIdIsNotNull() { + addCriterion("hospital_id is not null"); + return (Criteria) this; + } + + public Criteria andHospitalIdEqualTo(Long value) { + addCriterion("hospital_id =", value, "hospitalId"); + return (Criteria) this; + } + + public Criteria andHospitalIdNotEqualTo(Long value) { + addCriterion("hospital_id <>", value, "hospitalId"); + return (Criteria) this; + } + + public Criteria andHospitalIdGreaterThan(Long value) { + addCriterion("hospital_id >", value, "hospitalId"); + return (Criteria) this; + } + + public Criteria andHospitalIdGreaterThanOrEqualTo(Long value) { + addCriterion("hospital_id >=", value, "hospitalId"); + return (Criteria) this; + } + + public Criteria andHospitalIdLessThan(Long value) { + addCriterion("hospital_id <", value, "hospitalId"); + return (Criteria) this; + } + + public Criteria andHospitalIdLessThanOrEqualTo(Long value) { + addCriterion("hospital_id <=", value, "hospitalId"); + return (Criteria) this; + } + + public Criteria andHospitalIdIn(List values) { + addCriterion("hospital_id in", values, "hospitalId"); + return (Criteria) this; + } + + public Criteria andHospitalIdNotIn(List values) { + addCriterion("hospital_id not in", values, "hospitalId"); + return (Criteria) this; + } + + public Criteria andHospitalIdBetween(Long value1, Long value2) { + addCriterion("hospital_id between", value1, value2, "hospitalId"); + return (Criteria) this; + } + + public Criteria andHospitalIdNotBetween(Long value1, Long value2) { + addCriterion("hospital_id not between", value1, value2, "hospitalId"); + return (Criteria) this; + } + + public Criteria andUrlIsNull() { + addCriterion("url is null"); + return (Criteria) this; + } + + public Criteria andUrlIsNotNull() { + addCriterion("url is not null"); + return (Criteria) this; + } + + public Criteria andUrlEqualTo(String value) { + addCriterion("url =", value, "url"); + return (Criteria) this; + } + + public Criteria andUrlNotEqualTo(String value) { + addCriterion("url <>", value, "url"); + return (Criteria) this; + } + + public Criteria andUrlGreaterThan(String value) { + addCriterion("url >", value, "url"); + return (Criteria) this; + } + + public Criteria andUrlGreaterThanOrEqualTo(String value) { + addCriterion("url >=", value, "url"); + return (Criteria) this; + } + + public Criteria andUrlLessThan(String value) { + addCriterion("url <", value, "url"); + return (Criteria) this; + } + + public Criteria andUrlLessThanOrEqualTo(String value) { + addCriterion("url <=", value, "url"); + return (Criteria) this; + } + + public Criteria andUrlLike(String value) { + addCriterion("url like", value, "url"); + return (Criteria) this; + } + + public Criteria andUrlNotLike(String value) { + addCriterion("url not like", value, "url"); + return (Criteria) this; + } + + public Criteria andUrlIn(List values) { + addCriterion("url in", values, "url"); + return (Criteria) this; + } + + public Criteria andUrlNotIn(List values) { + addCriterion("url not in", values, "url"); + return (Criteria) this; + } + + public Criteria andUrlBetween(String value1, String value2) { + addCriterion("url between", value1, value2, "url"); + return (Criteria) this; + } + + public Criteria andUrlNotBetween(String value1, String value2) { + addCriterion("url not between", value1, value2, "url"); + return (Criteria) this; + } + + public Criteria andUsernameIsNull() { + addCriterion("username is null"); + return (Criteria) this; + } + + public Criteria andUsernameIsNotNull() { + addCriterion("username is not null"); + return (Criteria) this; + } + + public Criteria andUsernameEqualTo(String value) { + addCriterion("username =", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameNotEqualTo(String value) { + addCriterion("username <>", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameGreaterThan(String value) { + addCriterion("username >", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameGreaterThanOrEqualTo(String value) { + addCriterion("username >=", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameLessThan(String value) { + addCriterion("username <", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameLessThanOrEqualTo(String value) { + addCriterion("username <=", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameLike(String value) { + addCriterion("username like", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameNotLike(String value) { + addCriterion("username not like", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameIn(List values) { + addCriterion("username in", values, "username"); + return (Criteria) this; + } + + public Criteria andUsernameNotIn(List values) { + addCriterion("username not in", values, "username"); + return (Criteria) this; + } + + public Criteria andUsernameBetween(String value1, String value2) { + addCriterion("username between", value1, value2, "username"); + return (Criteria) this; + } + + public Criteria andUsernameNotBetween(String value1, String value2) { + addCriterion("username not between", value1, value2, "username"); + return (Criteria) this; + } + + public Criteria andPasswordIsNull() { + addCriterion("password is null"); + return (Criteria) this; + } + + public Criteria andPasswordIsNotNull() { + addCriterion("password is not null"); + return (Criteria) this; + } + + public Criteria andPasswordEqualTo(String value) { + addCriterion("password =", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordNotEqualTo(String value) { + addCriterion("password <>", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordGreaterThan(String value) { + addCriterion("password >", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordGreaterThanOrEqualTo(String value) { + addCriterion("password >=", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordLessThan(String value) { + addCriterion("password <", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordLessThanOrEqualTo(String value) { + addCriterion("password <=", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordLike(String value) { + addCriterion("password like", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordNotLike(String value) { + addCriterion("password not like", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordIn(List values) { + addCriterion("password in", values, "password"); + return (Criteria) this; + } + + public Criteria andPasswordNotIn(List values) { + addCriterion("password not in", values, "password"); + return (Criteria) this; + } + + public Criteria andPasswordBetween(String value1, String value2) { + addCriterion("password between", value1, value2, "password"); + return (Criteria) this; + } + + public Criteria andPasswordNotBetween(String value1, String value2) { + addCriterion("password not between", value1, value2, "password"); + return (Criteria) this; + } + + public Criteria andCreateByIsNull() { + addCriterion("create_by is null"); + return (Criteria) this; + } + + public Criteria andCreateByIsNotNull() { + addCriterion("create_by is not null"); + return (Criteria) this; + } + + public Criteria andCreateByEqualTo(String value) { + addCriterion("create_by =", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotEqualTo(String value) { + addCriterion("create_by <>", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByGreaterThan(String value) { + addCriterion("create_by >", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByGreaterThanOrEqualTo(String value) { + addCriterion("create_by >=", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByLessThan(String value) { + addCriterion("create_by <", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByLessThanOrEqualTo(String value) { + addCriterion("create_by <=", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByLike(String value) { + addCriterion("create_by like", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotLike(String value) { + addCriterion("create_by not like", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByIn(List values) { + addCriterion("create_by in", values, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotIn(List values) { + addCriterion("create_by not in", values, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByBetween(String value1, String value2) { + addCriterion("create_by between", value1, value2, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotBetween(String value1, String value2) { + addCriterion("create_by not between", value1, value2, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andUpdateByIsNull() { + addCriterion("update_by is null"); + return (Criteria) this; + } + + public Criteria andUpdateByIsNotNull() { + addCriterion("update_by is not null"); + return (Criteria) this; + } + + public Criteria andUpdateByEqualTo(String value) { + addCriterion("update_by =", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotEqualTo(String value) { + addCriterion("update_by <>", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByGreaterThan(String value) { + addCriterion("update_by >", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByGreaterThanOrEqualTo(String value) { + addCriterion("update_by >=", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByLessThan(String value) { + addCriterion("update_by <", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByLessThanOrEqualTo(String value) { + addCriterion("update_by <=", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByLike(String value) { + addCriterion("update_by like", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotLike(String value) { + addCriterion("update_by not like", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByIn(List values) { + addCriterion("update_by in", values, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotIn(List values) { + addCriterion("update_by not in", values, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByBetween(String value1, String value2) { + addCriterion("update_by between", value1, value2, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotBetween(String value1, String value2) { + addCriterion("update_by not between", value1, value2, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIsNull() { + addCriterion("update_time is null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIsNotNull() { + addCriterion("update_time is not null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeEqualTo(Date value) { + addCriterion("update_time =", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotEqualTo(Date value) { + addCriterion("update_time <>", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThan(Date value) { + addCriterion("update_time >", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("update_time >=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThan(Date value) { + addCriterion("update_time <", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { + addCriterion("update_time <=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIn(List values) { + addCriterion("update_time in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotIn(List values) { + addCriterion("update_time not in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeBetween(Date value1, Date value2) { + addCriterion("update_time between", value1, value2, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { + addCriterion("update_time not between", value1, value2, "updateTime"); + return (Criteria) this; + } + + public Criteria andDelFlagIsNull() { + addCriterion("del_flag is null"); + return (Criteria) this; + } + + public Criteria andDelFlagIsNotNull() { + addCriterion("del_flag is not null"); + return (Criteria) this; + } + + public Criteria andDelFlagEqualTo(Byte value) { + addCriterion("del_flag =", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagNotEqualTo(Byte value) { + addCriterion("del_flag <>", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagGreaterThan(Byte value) { + addCriterion("del_flag >", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagGreaterThanOrEqualTo(Byte value) { + addCriterion("del_flag >=", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagLessThan(Byte value) { + addCriterion("del_flag <", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagLessThanOrEqualTo(Byte value) { + addCriterion("del_flag <=", value, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagIn(List values) { + addCriterion("del_flag in", values, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagNotIn(List values) { + addCriterion("del_flag not in", values, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagBetween(Byte value1, Byte value2) { + addCriterion("del_flag between", value1, value2, "delFlag"); + return (Criteria) this; + } + + public Criteria andDelFlagNotBetween(Byte value1, Byte value2) { + addCriterion("del_flag not between", value1, value2, "delFlag"); + 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/acupuncture-system/src/main/java/com/acupuncture/system/persist/mapper/DmsTenantMapper.java b/acupuncture-system/src/main/java/com/acupuncture/system/persist/mapper/DmsTenantMapper.java new file mode 100644 index 00000000..c4cccc63 --- /dev/null +++ b/acupuncture-system/src/main/java/com/acupuncture/system/persist/mapper/DmsTenantMapper.java @@ -0,0 +1,28 @@ +package com.acupuncture.system.persist.mapper; + +import com.acupuncture.system.domain.po.DmsTenant; +import com.acupuncture.system.domain.po.DmsTenantExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface DmsTenantMapper { + long countByExample(DmsTenantExample example); + + int deleteByPrimaryKey(Long id); + + int insert(DmsTenant record); + + int insertSelective(DmsTenant record); + + List selectByExample(DmsTenantExample example); + + DmsTenant selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") DmsTenant record, @Param("example") DmsTenantExample example); + + int updateByExample(@Param("record") DmsTenant record, @Param("example") DmsTenantExample example); + + int updateByPrimaryKeySelective(DmsTenant record); + + int updateByPrimaryKey(DmsTenant record); +} \ No newline at end of file diff --git a/acupuncture-system/src/main/java/com/acupuncture/system/persist/mapper/DmsUserMapper.java b/acupuncture-system/src/main/java/com/acupuncture/system/persist/mapper/DmsUserMapper.java new file mode 100644 index 00000000..b0fa8fc6 --- /dev/null +++ b/acupuncture-system/src/main/java/com/acupuncture/system/persist/mapper/DmsUserMapper.java @@ -0,0 +1,28 @@ +package com.acupuncture.system.persist.mapper; + +import com.acupuncture.system.domain.po.DmsUser; +import com.acupuncture.system.domain.po.DmsUserExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface DmsUserMapper { + long countByExample(DmsUserExample example); + + int deleteByPrimaryKey(Integer id); + + int insert(DmsUser record); + + int insertSelective(DmsUser record); + + List selectByExample(DmsUserExample example); + + DmsUser selectByPrimaryKey(Integer id); + + int updateByExampleSelective(@Param("record") DmsUser record, @Param("example") DmsUserExample example); + + int updateByExample(@Param("record") DmsUser record, @Param("example") DmsUserExample example); + + int updateByPrimaryKeySelective(DmsUser record); + + int updateByPrimaryKey(DmsUser record); +} \ No newline at end of file diff --git a/acupuncture-system/src/main/java/com/acupuncture/system/persist/mapper/FmsFollowupQueueMapper.java b/acupuncture-system/src/main/java/com/acupuncture/system/persist/mapper/FmsFollowupQueueMapper.java new file mode 100644 index 00000000..c3ab044a --- /dev/null +++ b/acupuncture-system/src/main/java/com/acupuncture/system/persist/mapper/FmsFollowupQueueMapper.java @@ -0,0 +1,28 @@ +package com.acupuncture.system.persist.mapper; + +import com.acupuncture.system.domain.po.FmsFollowupQueue; +import com.acupuncture.system.domain.po.FmsFollowupQueueExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface FmsFollowupQueueMapper { + long countByExample(FmsFollowupQueueExample example); + + int deleteByPrimaryKey(Long id); + + int insert(FmsFollowupQueue record); + + int insertSelective(FmsFollowupQueue record); + + List selectByExample(FmsFollowupQueueExample example); + + FmsFollowupQueue selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") FmsFollowupQueue record, @Param("example") FmsFollowupQueueExample example); + + int updateByExample(@Param("record") FmsFollowupQueue record, @Param("example") FmsFollowupQueueExample example); + + int updateByPrimaryKeySelective(FmsFollowupQueue record); + + int updateByPrimaryKey(FmsFollowupQueue record); +} \ No newline at end of file diff --git a/acupuncture-system/src/main/java/com/acupuncture/system/persist/mapper/FmsFollowupTaskMapper.java b/acupuncture-system/src/main/java/com/acupuncture/system/persist/mapper/FmsFollowupTaskMapper.java new file mode 100644 index 00000000..000d5deb --- /dev/null +++ b/acupuncture-system/src/main/java/com/acupuncture/system/persist/mapper/FmsFollowupTaskMapper.java @@ -0,0 +1,28 @@ +package com.acupuncture.system.persist.mapper; + +import com.acupuncture.system.domain.po.FmsFollowupTask; +import com.acupuncture.system.domain.po.FmsFollowupTaskExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface FmsFollowupTaskMapper { + long countByExample(FmsFollowupTaskExample example); + + int deleteByPrimaryKey(Long id); + + int insert(FmsFollowupTask record); + + int insertSelective(FmsFollowupTask record); + + List selectByExample(FmsFollowupTaskExample example); + + FmsFollowupTask selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") FmsFollowupTask record, @Param("example") FmsFollowupTaskExample example); + + int updateByExample(@Param("record") FmsFollowupTask record, @Param("example") FmsFollowupTaskExample example); + + int updateByPrimaryKeySelective(FmsFollowupTask record); + + int updateByPrimaryKey(FmsFollowupTask record); +} \ No newline at end of file diff --git a/acupuncture-system/src/main/java/com/acupuncture/system/persist/mapper/FmsPatientQueueRelationMapper.java b/acupuncture-system/src/main/java/com/acupuncture/system/persist/mapper/FmsPatientQueueRelationMapper.java new file mode 100644 index 00000000..3e817701 --- /dev/null +++ b/acupuncture-system/src/main/java/com/acupuncture/system/persist/mapper/FmsPatientQueueRelationMapper.java @@ -0,0 +1,29 @@ +package com.acupuncture.system.persist.mapper; + +import com.acupuncture.system.domain.po.FmsPatientQueueRelation; +import com.acupuncture.system.domain.po.FmsPatientQueueRelationExample; +import com.acupuncture.system.domain.po.FmsPatientQueueRelationKey; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface FmsPatientQueueRelationMapper { + long countByExample(FmsPatientQueueRelationExample example); + + int deleteByPrimaryKey(FmsPatientQueueRelationKey key); + + int insert(FmsPatientQueueRelation record); + + int insertSelective(FmsPatientQueueRelation record); + + List selectByExample(FmsPatientQueueRelationExample example); + + FmsPatientQueueRelation selectByPrimaryKey(FmsPatientQueueRelationKey key); + + int updateByExampleSelective(@Param("record") FmsPatientQueueRelation record, @Param("example") FmsPatientQueueRelationExample example); + + int updateByExample(@Param("record") FmsPatientQueueRelation record, @Param("example") FmsPatientQueueRelationExample example); + + int updateByPrimaryKeySelective(FmsPatientQueueRelation record); + + int updateByPrimaryKey(FmsPatientQueueRelation record); +} \ No newline at end of file diff --git a/acupuncture-system/src/main/java/com/acupuncture/system/persist/mapper/PmsTreatmentMapper.java b/acupuncture-system/src/main/java/com/acupuncture/system/persist/mapper/PmsTreatmentMapper.java new file mode 100644 index 00000000..483a87ef --- /dev/null +++ b/acupuncture-system/src/main/java/com/acupuncture/system/persist/mapper/PmsTreatmentMapper.java @@ -0,0 +1,28 @@ +package com.acupuncture.system.persist.mapper; + +import com.acupuncture.system.domain.po.PmsTreatment; +import com.acupuncture.system.domain.po.PmsTreatmentExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface PmsTreatmentMapper { + long countByExample(PmsTreatmentExample example); + + int deleteByPrimaryKey(Long id); + + int insert(PmsTreatment record); + + int insertSelective(PmsTreatment record); + + List selectByExample(PmsTreatmentExample example); + + PmsTreatment selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") PmsTreatment record, @Param("example") PmsTreatmentExample example); + + int updateByExample(@Param("record") PmsTreatment record, @Param("example") PmsTreatmentExample example); + + int updateByPrimaryKeySelective(PmsTreatment record); + + int updateByPrimaryKey(PmsTreatment record); +} \ No newline at end of file diff --git a/acupuncture-system/src/main/java/com/acupuncture/system/persist/mapper/PmsTreatmentRecordMapper.java b/acupuncture-system/src/main/java/com/acupuncture/system/persist/mapper/PmsTreatmentRecordMapper.java new file mode 100644 index 00000000..8f6d4cd8 --- /dev/null +++ b/acupuncture-system/src/main/java/com/acupuncture/system/persist/mapper/PmsTreatmentRecordMapper.java @@ -0,0 +1,28 @@ +package com.acupuncture.system.persist.mapper; + +import com.acupuncture.system.domain.po.PmsTreatmentRecord; +import com.acupuncture.system.domain.po.PmsTreatmentRecordExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface PmsTreatmentRecordMapper { + long countByExample(PmsTreatmentRecordExample example); + + int deleteByPrimaryKey(Long id); + + int insert(PmsTreatmentRecord record); + + int insertSelective(PmsTreatmentRecord record); + + List selectByExample(PmsTreatmentRecordExample example); + + PmsTreatmentRecord selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") PmsTreatmentRecord record, @Param("example") PmsTreatmentRecordExample example); + + int updateByExample(@Param("record") PmsTreatmentRecord record, @Param("example") PmsTreatmentRecordExample example); + + int updateByPrimaryKeySelective(PmsTreatmentRecord record); + + int updateByPrimaryKey(PmsTreatmentRecord record); +} \ No newline at end of file diff --git a/acupuncture-system/src/main/java/com/acupuncture/system/persist/mapper/Pms_patientMapper.java b/acupuncture-system/src/main/java/com/acupuncture/system/persist/mapper/Pms_patientMapper.java new file mode 100644 index 00000000..46f11f5a --- /dev/null +++ b/acupuncture-system/src/main/java/com/acupuncture/system/persist/mapper/Pms_patientMapper.java @@ -0,0 +1,28 @@ +package com.acupuncture.system.persist.mapper; + +import com.acupuncture.system.domain.po.Pms_patient; +import com.acupuncture.system.domain.po.Pms_patientExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface Pms_patientMapper { + long countByExample(Pms_patientExample example); + + int deleteByPrimaryKey(Long id); + + int insert(Pms_patient record); + + int insertSelective(Pms_patient record); + + List selectByExample(Pms_patientExample example); + + Pms_patient selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") Pms_patient record, @Param("example") Pms_patientExample example); + + int updateByExample(@Param("record") Pms_patient record, @Param("example") Pms_patientExample example); + + int updateByPrimaryKeySelective(Pms_patient record); + + int updateByPrimaryKey(Pms_patient record); +} \ No newline at end of file diff --git a/acupuncture-system/src/main/java/com/acupuncture/system/persist/mapper/RmsReportTypeMapper.java b/acupuncture-system/src/main/java/com/acupuncture/system/persist/mapper/RmsReportTypeMapper.java new file mode 100644 index 00000000..30c07a11 --- /dev/null +++ b/acupuncture-system/src/main/java/com/acupuncture/system/persist/mapper/RmsReportTypeMapper.java @@ -0,0 +1,28 @@ +package com.acupuncture.system.persist.mapper; + +import com.acupuncture.system.domain.po.RmsReportType; +import com.acupuncture.system.domain.po.RmsReportTypeExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface RmsReportTypeMapper { + long countByExample(RmsReportTypeExample example); + + int deleteByPrimaryKey(Integer id); + + int insert(RmsReportType record); + + int insertSelective(RmsReportType record); + + List selectByExample(RmsReportTypeExample example); + + RmsReportType selectByPrimaryKey(Integer id); + + int updateByExampleSelective(@Param("record") RmsReportType record, @Param("example") RmsReportTypeExample example); + + int updateByExample(@Param("record") RmsReportType record, @Param("example") RmsReportTypeExample example); + + int updateByPrimaryKeySelective(RmsReportType record); + + int updateByPrimaryKey(RmsReportType record); +} \ No newline at end of file diff --git a/acupuncture-system/src/main/java/com/acupuncture/system/persist/mapper/UmsDataSourceMapper.java b/acupuncture-system/src/main/java/com/acupuncture/system/persist/mapper/UmsDataSourceMapper.java new file mode 100644 index 00000000..7fa33cec --- /dev/null +++ b/acupuncture-system/src/main/java/com/acupuncture/system/persist/mapper/UmsDataSourceMapper.java @@ -0,0 +1,28 @@ +package com.acupuncture.system.persist.mapper; + +import com.acupuncture.system.domain.po.UmsDataSource; +import com.acupuncture.system.domain.po.UmsDataSourceExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface UmsDataSourceMapper { + long countByExample(UmsDataSourceExample example); + + int deleteByPrimaryKey(Long id); + + int insert(UmsDataSource record); + + int insertSelective(UmsDataSource record); + + List selectByExample(UmsDataSourceExample example); + + UmsDataSource selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") UmsDataSource record, @Param("example") UmsDataSourceExample example); + + int updateByExample(@Param("record") UmsDataSource record, @Param("example") UmsDataSourceExample example); + + int updateByPrimaryKeySelective(UmsDataSource record); + + int updateByPrimaryKey(UmsDataSource record); +} \ No newline at end of file diff --git a/acupuncture-system/src/main/resources/mapper/system/DmsTenantMapper.xml b/acupuncture-system/src/main/resources/mapper/system/DmsTenantMapper.xml new file mode 100644 index 00000000..b567908c --- /dev/null +++ b/acupuncture-system/src/main/resources/mapper/system/DmsTenantMapper.xml @@ -0,0 +1,332 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + 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, code, name, leader, contact_phone, data_source_id, status, del_flag, create_by, + create_time, update_by, update_time, remark + + + + + delete from dms_tenant + where id = #{id,jdbcType=BIGINT} + + + insert into dms_tenant (id, code, name, + leader, contact_phone, data_source_id, + status, del_flag, create_by, + create_time, update_by, update_time, + remark) + values (#{id,jdbcType=BIGINT}, #{code,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, + #{leader,jdbcType=VARCHAR}, #{contactPhone,jdbcType=VARCHAR}, #{dataSourceId,jdbcType=BIGINT}, + #{status,jdbcType=CHAR}, #{delFlag,jdbcType=TINYINT}, #{createBy,jdbcType=VARCHAR}, + #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, + #{remark,jdbcType=VARCHAR}) + + + insert into dms_tenant + + + id, + + + code, + + + name, + + + leader, + + + contact_phone, + + + data_source_id, + + + status, + + + del_flag, + + + create_by, + + + create_time, + + + update_by, + + + update_time, + + + remark, + + + + + #{id,jdbcType=BIGINT}, + + + #{code,jdbcType=VARCHAR}, + + + #{name,jdbcType=VARCHAR}, + + + #{leader,jdbcType=VARCHAR}, + + + #{contactPhone,jdbcType=VARCHAR}, + + + #{dataSourceId,jdbcType=BIGINT}, + + + #{status,jdbcType=CHAR}, + + + #{delFlag,jdbcType=TINYINT}, + + + #{createBy,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{updateBy,jdbcType=VARCHAR}, + + + #{updateTime,jdbcType=TIMESTAMP}, + + + #{remark,jdbcType=VARCHAR}, + + + + + + update dms_tenant + + + id = #{record.id,jdbcType=BIGINT}, + + + code = #{record.code,jdbcType=VARCHAR}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + leader = #{record.leader,jdbcType=VARCHAR}, + + + contact_phone = #{record.contactPhone,jdbcType=VARCHAR}, + + + data_source_id = #{record.dataSourceId,jdbcType=BIGINT}, + + + status = #{record.status,jdbcType=CHAR}, + + + del_flag = #{record.delFlag,jdbcType=TINYINT}, + + + create_by = #{record.createBy,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + update_by = #{record.updateBy,jdbcType=VARCHAR}, + + + update_time = #{record.updateTime,jdbcType=TIMESTAMP}, + + + remark = #{record.remark,jdbcType=VARCHAR}, + + + + + + + + update dms_tenant + set id = #{record.id,jdbcType=BIGINT}, + code = #{record.code,jdbcType=VARCHAR}, + name = #{record.name,jdbcType=VARCHAR}, + leader = #{record.leader,jdbcType=VARCHAR}, + contact_phone = #{record.contactPhone,jdbcType=VARCHAR}, + data_source_id = #{record.dataSourceId,jdbcType=BIGINT}, + status = #{record.status,jdbcType=CHAR}, + del_flag = #{record.delFlag,jdbcType=TINYINT}, + create_by = #{record.createBy,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + update_by = #{record.updateBy,jdbcType=VARCHAR}, + update_time = #{record.updateTime,jdbcType=TIMESTAMP}, + remark = #{record.remark,jdbcType=VARCHAR} + + + + + + update dms_tenant + + + code = #{code,jdbcType=VARCHAR}, + + + name = #{name,jdbcType=VARCHAR}, + + + leader = #{leader,jdbcType=VARCHAR}, + + + contact_phone = #{contactPhone,jdbcType=VARCHAR}, + + + data_source_id = #{dataSourceId,jdbcType=BIGINT}, + + + status = #{status,jdbcType=CHAR}, + + + del_flag = #{delFlag,jdbcType=TINYINT}, + + + create_by = #{createBy,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + update_by = #{updateBy,jdbcType=VARCHAR}, + + + update_time = #{updateTime,jdbcType=TIMESTAMP}, + + + remark = #{remark,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update dms_tenant + set code = #{code,jdbcType=VARCHAR}, + name = #{name,jdbcType=VARCHAR}, + leader = #{leader,jdbcType=VARCHAR}, + contact_phone = #{contactPhone,jdbcType=VARCHAR}, + data_source_id = #{dataSourceId,jdbcType=BIGINT}, + status = #{status,jdbcType=CHAR}, + del_flag = #{delFlag,jdbcType=TINYINT}, + create_by = #{createBy,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + update_by = #{updateBy,jdbcType=VARCHAR}, + update_time = #{updateTime,jdbcType=TIMESTAMP}, + remark = #{remark,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/acupuncture-system/src/main/resources/mapper/system/DmsUserMapper.xml b/acupuncture-system/src/main/resources/mapper/system/DmsUserMapper.xml new file mode 100644 index 00000000..0a378e18 --- /dev/null +++ b/acupuncture-system/src/main/resources/mapper/system/DmsUserMapper.xml @@ -0,0 +1,364 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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, tenant_id, user_name, password, nick_name, email, phonenumber, sex, status, del_flag, + create_by, create_time, update_by, update_time, remark + + + + + delete from dms_user + where id = #{id,jdbcType=INTEGER} + + + insert into dms_user (id, tenant_id, user_name, + password, nick_name, email, + phonenumber, sex, status, + del_flag, create_by, create_time, + update_by, update_time, remark + ) + values (#{id,jdbcType=INTEGER}, #{tenantId,jdbcType=BIGINT}, #{userName,jdbcType=VARCHAR}, + #{password,jdbcType=VARCHAR}, #{nickName,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, + #{phonenumber,jdbcType=VARCHAR}, #{sex,jdbcType=CHAR}, #{status,jdbcType=CHAR}, + #{delFlag,jdbcType=TINYINT}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, + #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR} + ) + + + insert into dms_user + + + id, + + + tenant_id, + + + user_name, + + + password, + + + nick_name, + + + email, + + + phonenumber, + + + sex, + + + status, + + + del_flag, + + + create_by, + + + create_time, + + + update_by, + + + update_time, + + + remark, + + + + + #{id,jdbcType=INTEGER}, + + + #{tenantId,jdbcType=BIGINT}, + + + #{userName,jdbcType=VARCHAR}, + + + #{password,jdbcType=VARCHAR}, + + + #{nickName,jdbcType=VARCHAR}, + + + #{email,jdbcType=VARCHAR}, + + + #{phonenumber,jdbcType=VARCHAR}, + + + #{sex,jdbcType=CHAR}, + + + #{status,jdbcType=CHAR}, + + + #{delFlag,jdbcType=TINYINT}, + + + #{createBy,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{updateBy,jdbcType=VARCHAR}, + + + #{updateTime,jdbcType=TIMESTAMP}, + + + #{remark,jdbcType=VARCHAR}, + + + + + + update dms_user + + + id = #{record.id,jdbcType=INTEGER}, + + + tenant_id = #{record.tenantId,jdbcType=BIGINT}, + + + user_name = #{record.userName,jdbcType=VARCHAR}, + + + password = #{record.password,jdbcType=VARCHAR}, + + + nick_name = #{record.nickName,jdbcType=VARCHAR}, + + + email = #{record.email,jdbcType=VARCHAR}, + + + phonenumber = #{record.phonenumber,jdbcType=VARCHAR}, + + + sex = #{record.sex,jdbcType=CHAR}, + + + status = #{record.status,jdbcType=CHAR}, + + + del_flag = #{record.delFlag,jdbcType=TINYINT}, + + + create_by = #{record.createBy,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + update_by = #{record.updateBy,jdbcType=VARCHAR}, + + + update_time = #{record.updateTime,jdbcType=TIMESTAMP}, + + + remark = #{record.remark,jdbcType=VARCHAR}, + + + + + + + + update dms_user + set id = #{record.id,jdbcType=INTEGER}, + tenant_id = #{record.tenantId,jdbcType=BIGINT}, + user_name = #{record.userName,jdbcType=VARCHAR}, + password = #{record.password,jdbcType=VARCHAR}, + nick_name = #{record.nickName,jdbcType=VARCHAR}, + email = #{record.email,jdbcType=VARCHAR}, + phonenumber = #{record.phonenumber,jdbcType=VARCHAR}, + sex = #{record.sex,jdbcType=CHAR}, + status = #{record.status,jdbcType=CHAR}, + del_flag = #{record.delFlag,jdbcType=TINYINT}, + create_by = #{record.createBy,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + update_by = #{record.updateBy,jdbcType=VARCHAR}, + update_time = #{record.updateTime,jdbcType=TIMESTAMP}, + remark = #{record.remark,jdbcType=VARCHAR} + + + + + + update dms_user + + + tenant_id = #{tenantId,jdbcType=BIGINT}, + + + user_name = #{userName,jdbcType=VARCHAR}, + + + password = #{password,jdbcType=VARCHAR}, + + + nick_name = #{nickName,jdbcType=VARCHAR}, + + + email = #{email,jdbcType=VARCHAR}, + + + phonenumber = #{phonenumber,jdbcType=VARCHAR}, + + + sex = #{sex,jdbcType=CHAR}, + + + status = #{status,jdbcType=CHAR}, + + + del_flag = #{delFlag,jdbcType=TINYINT}, + + + create_by = #{createBy,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + update_by = #{updateBy,jdbcType=VARCHAR}, + + + update_time = #{updateTime,jdbcType=TIMESTAMP}, + + + remark = #{remark,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=INTEGER} + + + update dms_user + set tenant_id = #{tenantId,jdbcType=BIGINT}, + user_name = #{userName,jdbcType=VARCHAR}, + password = #{password,jdbcType=VARCHAR}, + nick_name = #{nickName,jdbcType=VARCHAR}, + email = #{email,jdbcType=VARCHAR}, + phonenumber = #{phonenumber,jdbcType=VARCHAR}, + sex = #{sex,jdbcType=CHAR}, + status = #{status,jdbcType=CHAR}, + del_flag = #{delFlag,jdbcType=TINYINT}, + create_by = #{createBy,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + update_by = #{updateBy,jdbcType=VARCHAR}, + update_time = #{updateTime,jdbcType=TIMESTAMP}, + remark = #{remark,jdbcType=VARCHAR} + where id = #{id,jdbcType=INTEGER} + + \ No newline at end of file diff --git a/acupuncture-system/src/main/resources/mapper/system/FmsFollowupQueueMapper.xml b/acupuncture-system/src/main/resources/mapper/system/FmsFollowupQueueMapper.xml new file mode 100644 index 00000000..f7cb999c --- /dev/null +++ b/acupuncture-system/src/main/resources/mapper/system/FmsFollowupQueueMapper.xml @@ -0,0 +1,380 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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, followup_method, followup_type, frequency, followup_month, person_in_charge, + person_in_charge_username, status, del_flag, tenant_id, create_by, create_time, update_by, + update_time, remark + + + + + delete from fms_followup_queue + where id = #{id,jdbcType=BIGINT} + + + insert into fms_followup_queue (id, name, followup_method, + followup_type, frequency, followup_month, + person_in_charge, person_in_charge_username, + status, del_flag, tenant_id, + create_by, create_time, update_by, + update_time, remark) + values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{followupMethod,jdbcType=TINYINT}, + #{followupType,jdbcType=TINYINT}, #{frequency,jdbcType=VARCHAR}, #{followupMonth,jdbcType=INTEGER}, + #{personInCharge,jdbcType=VARCHAR}, #{personInChargeUsername,jdbcType=VARCHAR}, + #{status,jdbcType=TINYINT}, #{delFlag,jdbcType=TINYINT}, #{tenantId,jdbcType=BIGINT}, + #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, + #{updateTime,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}) + + + insert into fms_followup_queue + + + id, + + + name, + + + followup_method, + + + followup_type, + + + frequency, + + + followup_month, + + + person_in_charge, + + + person_in_charge_username, + + + status, + + + del_flag, + + + tenant_id, + + + create_by, + + + create_time, + + + update_by, + + + update_time, + + + remark, + + + + + #{id,jdbcType=BIGINT}, + + + #{name,jdbcType=VARCHAR}, + + + #{followupMethod,jdbcType=TINYINT}, + + + #{followupType,jdbcType=TINYINT}, + + + #{frequency,jdbcType=VARCHAR}, + + + #{followupMonth,jdbcType=INTEGER}, + + + #{personInCharge,jdbcType=VARCHAR}, + + + #{personInChargeUsername,jdbcType=VARCHAR}, + + + #{status,jdbcType=TINYINT}, + + + #{delFlag,jdbcType=TINYINT}, + + + #{tenantId,jdbcType=BIGINT}, + + + #{createBy,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{updateBy,jdbcType=VARCHAR}, + + + #{updateTime,jdbcType=TIMESTAMP}, + + + #{remark,jdbcType=VARCHAR}, + + + + + + update fms_followup_queue + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + followup_method = #{record.followupMethod,jdbcType=TINYINT}, + + + followup_type = #{record.followupType,jdbcType=TINYINT}, + + + frequency = #{record.frequency,jdbcType=VARCHAR}, + + + followup_month = #{record.followupMonth,jdbcType=INTEGER}, + + + person_in_charge = #{record.personInCharge,jdbcType=VARCHAR}, + + + person_in_charge_username = #{record.personInChargeUsername,jdbcType=VARCHAR}, + + + status = #{record.status,jdbcType=TINYINT}, + + + del_flag = #{record.delFlag,jdbcType=TINYINT}, + + + tenant_id = #{record.tenantId,jdbcType=BIGINT}, + + + create_by = #{record.createBy,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + update_by = #{record.updateBy,jdbcType=VARCHAR}, + + + update_time = #{record.updateTime,jdbcType=TIMESTAMP}, + + + remark = #{record.remark,jdbcType=VARCHAR}, + + + + + + + + update fms_followup_queue + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + followup_method = #{record.followupMethod,jdbcType=TINYINT}, + followup_type = #{record.followupType,jdbcType=TINYINT}, + frequency = #{record.frequency,jdbcType=VARCHAR}, + followup_month = #{record.followupMonth,jdbcType=INTEGER}, + person_in_charge = #{record.personInCharge,jdbcType=VARCHAR}, + person_in_charge_username = #{record.personInChargeUsername,jdbcType=VARCHAR}, + status = #{record.status,jdbcType=TINYINT}, + del_flag = #{record.delFlag,jdbcType=TINYINT}, + tenant_id = #{record.tenantId,jdbcType=BIGINT}, + create_by = #{record.createBy,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + update_by = #{record.updateBy,jdbcType=VARCHAR}, + update_time = #{record.updateTime,jdbcType=TIMESTAMP}, + remark = #{record.remark,jdbcType=VARCHAR} + + + + + + update fms_followup_queue + + + name = #{name,jdbcType=VARCHAR}, + + + followup_method = #{followupMethod,jdbcType=TINYINT}, + + + followup_type = #{followupType,jdbcType=TINYINT}, + + + frequency = #{frequency,jdbcType=VARCHAR}, + + + followup_month = #{followupMonth,jdbcType=INTEGER}, + + + person_in_charge = #{personInCharge,jdbcType=VARCHAR}, + + + person_in_charge_username = #{personInChargeUsername,jdbcType=VARCHAR}, + + + status = #{status,jdbcType=TINYINT}, + + + del_flag = #{delFlag,jdbcType=TINYINT}, + + + tenant_id = #{tenantId,jdbcType=BIGINT}, + + + create_by = #{createBy,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + update_by = #{updateBy,jdbcType=VARCHAR}, + + + update_time = #{updateTime,jdbcType=TIMESTAMP}, + + + remark = #{remark,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update fms_followup_queue + set name = #{name,jdbcType=VARCHAR}, + followup_method = #{followupMethod,jdbcType=TINYINT}, + followup_type = #{followupType,jdbcType=TINYINT}, + frequency = #{frequency,jdbcType=VARCHAR}, + followup_month = #{followupMonth,jdbcType=INTEGER}, + person_in_charge = #{personInCharge,jdbcType=VARCHAR}, + person_in_charge_username = #{personInChargeUsername,jdbcType=VARCHAR}, + status = #{status,jdbcType=TINYINT}, + del_flag = #{delFlag,jdbcType=TINYINT}, + tenant_id = #{tenantId,jdbcType=BIGINT}, + create_by = #{createBy,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + update_by = #{updateBy,jdbcType=VARCHAR}, + update_time = #{updateTime,jdbcType=TIMESTAMP}, + remark = #{remark,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/acupuncture-system/src/main/resources/mapper/system/FmsFollowupTaskMapper.xml b/acupuncture-system/src/main/resources/mapper/system/FmsFollowupTaskMapper.xml new file mode 100644 index 00000000..0c460435 --- /dev/null +++ b/acupuncture-system/src/main/resources/mapper/system/FmsFollowupTaskMapper.xml @@ -0,0 +1,569 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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, patient_id, name, pinyin_full, pinyin_simple, gender, age, ethnicity, education_years, + phone, id_card_type, id_card, tenant_id, queue_id, times, start_time, end_time, status, + lost_reason, followuper, followup_time, followup_text, del_flag, create_by, create_time, + update_by, update_time, remark + + + + + delete from fms_followup_task + where id = #{id,jdbcType=BIGINT} + + + insert into fms_followup_task (id, patient_id, name, + pinyin_full, pinyin_simple, gender, + age, ethnicity, education_years, + phone, id_card_type, id_card, + tenant_id, queue_id, times, + start_time, end_time, status, + lost_reason, followuper, followup_time, + followup_text, del_flag, create_by, + create_time, update_by, update_time, + remark) + values (#{id,jdbcType=BIGINT}, #{patientId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, + #{pinyinFull,jdbcType=VARCHAR}, #{pinyinSimple,jdbcType=VARCHAR}, #{gender,jdbcType=TINYINT}, + #{age,jdbcType=INTEGER}, #{ethnicity,jdbcType=VARCHAR}, #{educationYears,jdbcType=INTEGER}, + #{phone,jdbcType=VARCHAR}, #{idCardType,jdbcType=TINYINT}, #{idCard,jdbcType=VARCHAR}, + #{tenantId,jdbcType=BIGINT}, #{queueId,jdbcType=BIGINT}, #{times,jdbcType=INTEGER}, + #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{status,jdbcType=TINYINT}, + #{lostReason,jdbcType=VARCHAR}, #{followuper,jdbcType=VARCHAR}, #{followupTime,jdbcType=TIMESTAMP}, + #{followupText,jdbcType=VARCHAR}, #{delFlag,jdbcType=TINYINT}, #{createBy,jdbcType=VARCHAR}, + #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, + #{remark,jdbcType=VARCHAR}) + + + insert into fms_followup_task + + + id, + + + patient_id, + + + name, + + + pinyin_full, + + + pinyin_simple, + + + gender, + + + age, + + + ethnicity, + + + education_years, + + + phone, + + + id_card_type, + + + id_card, + + + tenant_id, + + + queue_id, + + + times, + + + start_time, + + + end_time, + + + status, + + + lost_reason, + + + followuper, + + + followup_time, + + + followup_text, + + + del_flag, + + + create_by, + + + create_time, + + + update_by, + + + update_time, + + + remark, + + + + + #{id,jdbcType=BIGINT}, + + + #{patientId,jdbcType=BIGINT}, + + + #{name,jdbcType=VARCHAR}, + + + #{pinyinFull,jdbcType=VARCHAR}, + + + #{pinyinSimple,jdbcType=VARCHAR}, + + + #{gender,jdbcType=TINYINT}, + + + #{age,jdbcType=INTEGER}, + + + #{ethnicity,jdbcType=VARCHAR}, + + + #{educationYears,jdbcType=INTEGER}, + + + #{phone,jdbcType=VARCHAR}, + + + #{idCardType,jdbcType=TINYINT}, + + + #{idCard,jdbcType=VARCHAR}, + + + #{tenantId,jdbcType=BIGINT}, + + + #{queueId,jdbcType=BIGINT}, + + + #{times,jdbcType=INTEGER}, + + + #{startTime,jdbcType=TIMESTAMP}, + + + #{endTime,jdbcType=TIMESTAMP}, + + + #{status,jdbcType=TINYINT}, + + + #{lostReason,jdbcType=VARCHAR}, + + + #{followuper,jdbcType=VARCHAR}, + + + #{followupTime,jdbcType=TIMESTAMP}, + + + #{followupText,jdbcType=VARCHAR}, + + + #{delFlag,jdbcType=TINYINT}, + + + #{createBy,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{updateBy,jdbcType=VARCHAR}, + + + #{updateTime,jdbcType=TIMESTAMP}, + + + #{remark,jdbcType=VARCHAR}, + + + + + + update fms_followup_task + + + id = #{record.id,jdbcType=BIGINT}, + + + patient_id = #{record.patientId,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + pinyin_full = #{record.pinyinFull,jdbcType=VARCHAR}, + + + pinyin_simple = #{record.pinyinSimple,jdbcType=VARCHAR}, + + + gender = #{record.gender,jdbcType=TINYINT}, + + + age = #{record.age,jdbcType=INTEGER}, + + + ethnicity = #{record.ethnicity,jdbcType=VARCHAR}, + + + education_years = #{record.educationYears,jdbcType=INTEGER}, + + + phone = #{record.phone,jdbcType=VARCHAR}, + + + id_card_type = #{record.idCardType,jdbcType=TINYINT}, + + + id_card = #{record.idCard,jdbcType=VARCHAR}, + + + tenant_id = #{record.tenantId,jdbcType=BIGINT}, + + + queue_id = #{record.queueId,jdbcType=BIGINT}, + + + times = #{record.times,jdbcType=INTEGER}, + + + start_time = #{record.startTime,jdbcType=TIMESTAMP}, + + + end_time = #{record.endTime,jdbcType=TIMESTAMP}, + + + status = #{record.status,jdbcType=TINYINT}, + + + lost_reason = #{record.lostReason,jdbcType=VARCHAR}, + + + followuper = #{record.followuper,jdbcType=VARCHAR}, + + + followup_time = #{record.followupTime,jdbcType=TIMESTAMP}, + + + followup_text = #{record.followupText,jdbcType=VARCHAR}, + + + del_flag = #{record.delFlag,jdbcType=TINYINT}, + + + create_by = #{record.createBy,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + update_by = #{record.updateBy,jdbcType=VARCHAR}, + + + update_time = #{record.updateTime,jdbcType=TIMESTAMP}, + + + remark = #{record.remark,jdbcType=VARCHAR}, + + + + + + + + update fms_followup_task + set id = #{record.id,jdbcType=BIGINT}, + patient_id = #{record.patientId,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + pinyin_full = #{record.pinyinFull,jdbcType=VARCHAR}, + pinyin_simple = #{record.pinyinSimple,jdbcType=VARCHAR}, + gender = #{record.gender,jdbcType=TINYINT}, + age = #{record.age,jdbcType=INTEGER}, + ethnicity = #{record.ethnicity,jdbcType=VARCHAR}, + education_years = #{record.educationYears,jdbcType=INTEGER}, + phone = #{record.phone,jdbcType=VARCHAR}, + id_card_type = #{record.idCardType,jdbcType=TINYINT}, + id_card = #{record.idCard,jdbcType=VARCHAR}, + tenant_id = #{record.tenantId,jdbcType=BIGINT}, + queue_id = #{record.queueId,jdbcType=BIGINT}, + times = #{record.times,jdbcType=INTEGER}, + start_time = #{record.startTime,jdbcType=TIMESTAMP}, + end_time = #{record.endTime,jdbcType=TIMESTAMP}, + status = #{record.status,jdbcType=TINYINT}, + lost_reason = #{record.lostReason,jdbcType=VARCHAR}, + followuper = #{record.followuper,jdbcType=VARCHAR}, + followup_time = #{record.followupTime,jdbcType=TIMESTAMP}, + followup_text = #{record.followupText,jdbcType=VARCHAR}, + del_flag = #{record.delFlag,jdbcType=TINYINT}, + create_by = #{record.createBy,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + update_by = #{record.updateBy,jdbcType=VARCHAR}, + update_time = #{record.updateTime,jdbcType=TIMESTAMP}, + remark = #{record.remark,jdbcType=VARCHAR} + + + + + + update fms_followup_task + + + patient_id = #{patientId,jdbcType=BIGINT}, + + + name = #{name,jdbcType=VARCHAR}, + + + pinyin_full = #{pinyinFull,jdbcType=VARCHAR}, + + + pinyin_simple = #{pinyinSimple,jdbcType=VARCHAR}, + + + gender = #{gender,jdbcType=TINYINT}, + + + age = #{age,jdbcType=INTEGER}, + + + ethnicity = #{ethnicity,jdbcType=VARCHAR}, + + + education_years = #{educationYears,jdbcType=INTEGER}, + + + phone = #{phone,jdbcType=VARCHAR}, + + + id_card_type = #{idCardType,jdbcType=TINYINT}, + + + id_card = #{idCard,jdbcType=VARCHAR}, + + + tenant_id = #{tenantId,jdbcType=BIGINT}, + + + queue_id = #{queueId,jdbcType=BIGINT}, + + + times = #{times,jdbcType=INTEGER}, + + + start_time = #{startTime,jdbcType=TIMESTAMP}, + + + end_time = #{endTime,jdbcType=TIMESTAMP}, + + + status = #{status,jdbcType=TINYINT}, + + + lost_reason = #{lostReason,jdbcType=VARCHAR}, + + + followuper = #{followuper,jdbcType=VARCHAR}, + + + followup_time = #{followupTime,jdbcType=TIMESTAMP}, + + + followup_text = #{followupText,jdbcType=VARCHAR}, + + + del_flag = #{delFlag,jdbcType=TINYINT}, + + + create_by = #{createBy,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + update_by = #{updateBy,jdbcType=VARCHAR}, + + + update_time = #{updateTime,jdbcType=TIMESTAMP}, + + + remark = #{remark,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update fms_followup_task + set patient_id = #{patientId,jdbcType=BIGINT}, + name = #{name,jdbcType=VARCHAR}, + pinyin_full = #{pinyinFull,jdbcType=VARCHAR}, + pinyin_simple = #{pinyinSimple,jdbcType=VARCHAR}, + gender = #{gender,jdbcType=TINYINT}, + age = #{age,jdbcType=INTEGER}, + ethnicity = #{ethnicity,jdbcType=VARCHAR}, + education_years = #{educationYears,jdbcType=INTEGER}, + phone = #{phone,jdbcType=VARCHAR}, + id_card_type = #{idCardType,jdbcType=TINYINT}, + id_card = #{idCard,jdbcType=VARCHAR}, + tenant_id = #{tenantId,jdbcType=BIGINT}, + queue_id = #{queueId,jdbcType=BIGINT}, + times = #{times,jdbcType=INTEGER}, + start_time = #{startTime,jdbcType=TIMESTAMP}, + end_time = #{endTime,jdbcType=TIMESTAMP}, + status = #{status,jdbcType=TINYINT}, + lost_reason = #{lostReason,jdbcType=VARCHAR}, + followuper = #{followuper,jdbcType=VARCHAR}, + followup_time = #{followupTime,jdbcType=TIMESTAMP}, + followup_text = #{followupText,jdbcType=VARCHAR}, + del_flag = #{delFlag,jdbcType=TINYINT}, + create_by = #{createBy,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + update_by = #{updateBy,jdbcType=VARCHAR}, + update_time = #{updateTime,jdbcType=TIMESTAMP}, + remark = #{remark,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/acupuncture-system/src/main/resources/mapper/system/FmsPatientQueueRelationMapper.xml b/acupuncture-system/src/main/resources/mapper/system/FmsPatientQueueRelationMapper.xml new file mode 100644 index 00000000..3f5966a6 --- /dev/null +++ b/acupuncture-system/src/main/resources/mapper/system/FmsPatientQueueRelationMapper.xml @@ -0,0 +1,427 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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} + + + + + + + + + + + patient_id, queue_id, name, pinyin_full, pinyin_simple, gender, birth_date, ethnicity, + education_years, phone, id_card_type, id_card, tenant_id, del_flag, create_by, create_time, + update_by, update_time, remark + + + + + delete from fms_patient_queue_relation + where patient_id = #{patientId,jdbcType=BIGINT} + and queue_id = #{queueId,jdbcType=BIGINT} + + + insert into fms_patient_queue_relation (patient_id, queue_id, name, + pinyin_full, pinyin_simple, gender, + birth_date, ethnicity, education_years, + phone, id_card_type, id_card, + tenant_id, del_flag, create_by, + create_time, update_by, update_time, + remark) + values (#{patientId,jdbcType=BIGINT}, #{queueId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, + #{pinyinFull,jdbcType=VARCHAR}, #{pinyinSimple,jdbcType=VARCHAR}, #{gender,jdbcType=TINYINT}, + #{birthDate,jdbcType=DATE}, #{ethnicity,jdbcType=VARCHAR}, #{educationYears,jdbcType=INTEGER}, + #{phone,jdbcType=VARCHAR}, #{idCardType,jdbcType=TINYINT}, #{idCard,jdbcType=VARCHAR}, + #{tenantId,jdbcType=BIGINT}, #{delFlag,jdbcType=TINYINT}, #{createBy,jdbcType=VARCHAR}, + #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, + #{remark,jdbcType=VARCHAR}) + + + insert into fms_patient_queue_relation + + + patient_id, + + + queue_id, + + + name, + + + pinyin_full, + + + pinyin_simple, + + + gender, + + + birth_date, + + + ethnicity, + + + education_years, + + + phone, + + + id_card_type, + + + id_card, + + + tenant_id, + + + del_flag, + + + create_by, + + + create_time, + + + update_by, + + + update_time, + + + remark, + + + + + #{patientId,jdbcType=BIGINT}, + + + #{queueId,jdbcType=BIGINT}, + + + #{name,jdbcType=VARCHAR}, + + + #{pinyinFull,jdbcType=VARCHAR}, + + + #{pinyinSimple,jdbcType=VARCHAR}, + + + #{gender,jdbcType=TINYINT}, + + + #{birthDate,jdbcType=DATE}, + + + #{ethnicity,jdbcType=VARCHAR}, + + + #{educationYears,jdbcType=INTEGER}, + + + #{phone,jdbcType=VARCHAR}, + + + #{idCardType,jdbcType=TINYINT}, + + + #{idCard,jdbcType=VARCHAR}, + + + #{tenantId,jdbcType=BIGINT}, + + + #{delFlag,jdbcType=TINYINT}, + + + #{createBy,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{updateBy,jdbcType=VARCHAR}, + + + #{updateTime,jdbcType=TIMESTAMP}, + + + #{remark,jdbcType=VARCHAR}, + + + + + + update fms_patient_queue_relation + + + patient_id = #{record.patientId,jdbcType=BIGINT}, + + + queue_id = #{record.queueId,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + pinyin_full = #{record.pinyinFull,jdbcType=VARCHAR}, + + + pinyin_simple = #{record.pinyinSimple,jdbcType=VARCHAR}, + + + gender = #{record.gender,jdbcType=TINYINT}, + + + birth_date = #{record.birthDate,jdbcType=DATE}, + + + ethnicity = #{record.ethnicity,jdbcType=VARCHAR}, + + + education_years = #{record.educationYears,jdbcType=INTEGER}, + + + phone = #{record.phone,jdbcType=VARCHAR}, + + + id_card_type = #{record.idCardType,jdbcType=TINYINT}, + + + id_card = #{record.idCard,jdbcType=VARCHAR}, + + + tenant_id = #{record.tenantId,jdbcType=BIGINT}, + + + del_flag = #{record.delFlag,jdbcType=TINYINT}, + + + create_by = #{record.createBy,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + update_by = #{record.updateBy,jdbcType=VARCHAR}, + + + update_time = #{record.updateTime,jdbcType=TIMESTAMP}, + + + remark = #{record.remark,jdbcType=VARCHAR}, + + + + + + + + update fms_patient_queue_relation + set patient_id = #{record.patientId,jdbcType=BIGINT}, + queue_id = #{record.queueId,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + pinyin_full = #{record.pinyinFull,jdbcType=VARCHAR}, + pinyin_simple = #{record.pinyinSimple,jdbcType=VARCHAR}, + gender = #{record.gender,jdbcType=TINYINT}, + birth_date = #{record.birthDate,jdbcType=DATE}, + ethnicity = #{record.ethnicity,jdbcType=VARCHAR}, + education_years = #{record.educationYears,jdbcType=INTEGER}, + phone = #{record.phone,jdbcType=VARCHAR}, + id_card_type = #{record.idCardType,jdbcType=TINYINT}, + id_card = #{record.idCard,jdbcType=VARCHAR}, + tenant_id = #{record.tenantId,jdbcType=BIGINT}, + del_flag = #{record.delFlag,jdbcType=TINYINT}, + create_by = #{record.createBy,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + update_by = #{record.updateBy,jdbcType=VARCHAR}, + update_time = #{record.updateTime,jdbcType=TIMESTAMP}, + remark = #{record.remark,jdbcType=VARCHAR} + + + + + + update fms_patient_queue_relation + + + name = #{name,jdbcType=VARCHAR}, + + + pinyin_full = #{pinyinFull,jdbcType=VARCHAR}, + + + pinyin_simple = #{pinyinSimple,jdbcType=VARCHAR}, + + + gender = #{gender,jdbcType=TINYINT}, + + + birth_date = #{birthDate,jdbcType=DATE}, + + + ethnicity = #{ethnicity,jdbcType=VARCHAR}, + + + education_years = #{educationYears,jdbcType=INTEGER}, + + + phone = #{phone,jdbcType=VARCHAR}, + + + id_card_type = #{idCardType,jdbcType=TINYINT}, + + + id_card = #{idCard,jdbcType=VARCHAR}, + + + tenant_id = #{tenantId,jdbcType=BIGINT}, + + + del_flag = #{delFlag,jdbcType=TINYINT}, + + + create_by = #{createBy,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + update_by = #{updateBy,jdbcType=VARCHAR}, + + + update_time = #{updateTime,jdbcType=TIMESTAMP}, + + + remark = #{remark,jdbcType=VARCHAR}, + + + where patient_id = #{patientId,jdbcType=BIGINT} + and queue_id = #{queueId,jdbcType=BIGINT} + + + update fms_patient_queue_relation + set name = #{name,jdbcType=VARCHAR}, + pinyin_full = #{pinyinFull,jdbcType=VARCHAR}, + pinyin_simple = #{pinyinSimple,jdbcType=VARCHAR}, + gender = #{gender,jdbcType=TINYINT}, + birth_date = #{birthDate,jdbcType=DATE}, + ethnicity = #{ethnicity,jdbcType=VARCHAR}, + education_years = #{educationYears,jdbcType=INTEGER}, + phone = #{phone,jdbcType=VARCHAR}, + id_card_type = #{idCardType,jdbcType=TINYINT}, + id_card = #{idCard,jdbcType=VARCHAR}, + tenant_id = #{tenantId,jdbcType=BIGINT}, + del_flag = #{delFlag,jdbcType=TINYINT}, + create_by = #{createBy,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + update_by = #{updateBy,jdbcType=VARCHAR}, + update_time = #{updateTime,jdbcType=TIMESTAMP}, + remark = #{remark,jdbcType=VARCHAR} + where patient_id = #{patientId,jdbcType=BIGINT} + and queue_id = #{queueId,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/acupuncture-system/src/main/resources/mapper/system/PmsTreatmentMapper.xml b/acupuncture-system/src/main/resources/mapper/system/PmsTreatmentMapper.xml new file mode 100644 index 00000000..8764d899 --- /dev/null +++ b/acupuncture-system/src/main/resources/mapper/system/PmsTreatmentMapper.xml @@ -0,0 +1,584 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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, patient_id, name, pinyin_full, pinyin_simple, gender, age, birth_date, ethnicity, + education_years, phone, id_card_type, id_card, visit_type, visit_number, visit_time, + discharge_time, doctor, dept_name, diagnosis_code, diagnosis_name, status, del_flag, + tenant_id, create_by, create_time, update_by, update_time, remark + + + + + delete from pms_treatment + where id = #{id,jdbcType=BIGINT} + + + insert into pms_treatment (id, patient_id, name, + pinyin_full, pinyin_simple, gender, + age, birth_date, ethnicity, + education_years, phone, id_card_type, + id_card, visit_type, visit_number, + visit_time, discharge_time, doctor, + dept_name, diagnosis_code, diagnosis_name, + status, del_flag, tenant_id, + create_by, create_time, update_by, + update_time, remark) + values (#{id,jdbcType=BIGINT}, #{patientId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, + #{pinyinFull,jdbcType=VARCHAR}, #{pinyinSimple,jdbcType=VARCHAR}, #{gender,jdbcType=TINYINT}, + #{age,jdbcType=INTEGER}, #{birthDate,jdbcType=DATE}, #{ethnicity,jdbcType=VARCHAR}, + #{educationYears,jdbcType=INTEGER}, #{phone,jdbcType=VARCHAR}, #{idCardType,jdbcType=TINYINT}, + #{idCard,jdbcType=VARCHAR}, #{visitType,jdbcType=TINYINT}, #{visitNumber,jdbcType=VARCHAR}, + #{visitTime,jdbcType=TIMESTAMP}, #{dischargeTime,jdbcType=TIMESTAMP}, #{doctor,jdbcType=VARCHAR}, + #{deptName,jdbcType=VARCHAR}, #{diagnosisCode,jdbcType=VARCHAR}, #{diagnosisName,jdbcType=VARCHAR}, + #{status,jdbcType=TINYINT}, #{delFlag,jdbcType=TINYINT}, #{tenantId,jdbcType=BIGINT}, + #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, + #{updateTime,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}) + + + insert into pms_treatment + + + id, + + + patient_id, + + + name, + + + pinyin_full, + + + pinyin_simple, + + + gender, + + + age, + + + birth_date, + + + ethnicity, + + + education_years, + + + phone, + + + id_card_type, + + + id_card, + + + visit_type, + + + visit_number, + + + visit_time, + + + discharge_time, + + + doctor, + + + dept_name, + + + diagnosis_code, + + + diagnosis_name, + + + status, + + + del_flag, + + + tenant_id, + + + create_by, + + + create_time, + + + update_by, + + + update_time, + + + remark, + + + + + #{id,jdbcType=BIGINT}, + + + #{patientId,jdbcType=BIGINT}, + + + #{name,jdbcType=VARCHAR}, + + + #{pinyinFull,jdbcType=VARCHAR}, + + + #{pinyinSimple,jdbcType=VARCHAR}, + + + #{gender,jdbcType=TINYINT}, + + + #{age,jdbcType=INTEGER}, + + + #{birthDate,jdbcType=DATE}, + + + #{ethnicity,jdbcType=VARCHAR}, + + + #{educationYears,jdbcType=INTEGER}, + + + #{phone,jdbcType=VARCHAR}, + + + #{idCardType,jdbcType=TINYINT}, + + + #{idCard,jdbcType=VARCHAR}, + + + #{visitType,jdbcType=TINYINT}, + + + #{visitNumber,jdbcType=VARCHAR}, + + + #{visitTime,jdbcType=TIMESTAMP}, + + + #{dischargeTime,jdbcType=TIMESTAMP}, + + + #{doctor,jdbcType=VARCHAR}, + + + #{deptName,jdbcType=VARCHAR}, + + + #{diagnosisCode,jdbcType=VARCHAR}, + + + #{diagnosisName,jdbcType=VARCHAR}, + + + #{status,jdbcType=TINYINT}, + + + #{delFlag,jdbcType=TINYINT}, + + + #{tenantId,jdbcType=BIGINT}, + + + #{createBy,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{updateBy,jdbcType=VARCHAR}, + + + #{updateTime,jdbcType=TIMESTAMP}, + + + #{remark,jdbcType=VARCHAR}, + + + + + + update pms_treatment + + + id = #{record.id,jdbcType=BIGINT}, + + + patient_id = #{record.patientId,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + pinyin_full = #{record.pinyinFull,jdbcType=VARCHAR}, + + + pinyin_simple = #{record.pinyinSimple,jdbcType=VARCHAR}, + + + gender = #{record.gender,jdbcType=TINYINT}, + + + age = #{record.age,jdbcType=INTEGER}, + + + birth_date = #{record.birthDate,jdbcType=DATE}, + + + ethnicity = #{record.ethnicity,jdbcType=VARCHAR}, + + + education_years = #{record.educationYears,jdbcType=INTEGER}, + + + phone = #{record.phone,jdbcType=VARCHAR}, + + + id_card_type = #{record.idCardType,jdbcType=TINYINT}, + + + id_card = #{record.idCard,jdbcType=VARCHAR}, + + + visit_type = #{record.visitType,jdbcType=TINYINT}, + + + visit_number = #{record.visitNumber,jdbcType=VARCHAR}, + + + visit_time = #{record.visitTime,jdbcType=TIMESTAMP}, + + + discharge_time = #{record.dischargeTime,jdbcType=TIMESTAMP}, + + + doctor = #{record.doctor,jdbcType=VARCHAR}, + + + dept_name = #{record.deptName,jdbcType=VARCHAR}, + + + diagnosis_code = #{record.diagnosisCode,jdbcType=VARCHAR}, + + + diagnosis_name = #{record.diagnosisName,jdbcType=VARCHAR}, + + + status = #{record.status,jdbcType=TINYINT}, + + + del_flag = #{record.delFlag,jdbcType=TINYINT}, + + + tenant_id = #{record.tenantId,jdbcType=BIGINT}, + + + create_by = #{record.createBy,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + update_by = #{record.updateBy,jdbcType=VARCHAR}, + + + update_time = #{record.updateTime,jdbcType=TIMESTAMP}, + + + remark = #{record.remark,jdbcType=VARCHAR}, + + + + + + + + update pms_treatment + set id = #{record.id,jdbcType=BIGINT}, + patient_id = #{record.patientId,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + pinyin_full = #{record.pinyinFull,jdbcType=VARCHAR}, + pinyin_simple = #{record.pinyinSimple,jdbcType=VARCHAR}, + gender = #{record.gender,jdbcType=TINYINT}, + age = #{record.age,jdbcType=INTEGER}, + birth_date = #{record.birthDate,jdbcType=DATE}, + ethnicity = #{record.ethnicity,jdbcType=VARCHAR}, + education_years = #{record.educationYears,jdbcType=INTEGER}, + phone = #{record.phone,jdbcType=VARCHAR}, + id_card_type = #{record.idCardType,jdbcType=TINYINT}, + id_card = #{record.idCard,jdbcType=VARCHAR}, + visit_type = #{record.visitType,jdbcType=TINYINT}, + visit_number = #{record.visitNumber,jdbcType=VARCHAR}, + visit_time = #{record.visitTime,jdbcType=TIMESTAMP}, + discharge_time = #{record.dischargeTime,jdbcType=TIMESTAMP}, + doctor = #{record.doctor,jdbcType=VARCHAR}, + dept_name = #{record.deptName,jdbcType=VARCHAR}, + diagnosis_code = #{record.diagnosisCode,jdbcType=VARCHAR}, + diagnosis_name = #{record.diagnosisName,jdbcType=VARCHAR}, + status = #{record.status,jdbcType=TINYINT}, + del_flag = #{record.delFlag,jdbcType=TINYINT}, + tenant_id = #{record.tenantId,jdbcType=BIGINT}, + create_by = #{record.createBy,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + update_by = #{record.updateBy,jdbcType=VARCHAR}, + update_time = #{record.updateTime,jdbcType=TIMESTAMP}, + remark = #{record.remark,jdbcType=VARCHAR} + + + + + + update pms_treatment + + + patient_id = #{patientId,jdbcType=BIGINT}, + + + name = #{name,jdbcType=VARCHAR}, + + + pinyin_full = #{pinyinFull,jdbcType=VARCHAR}, + + + pinyin_simple = #{pinyinSimple,jdbcType=VARCHAR}, + + + gender = #{gender,jdbcType=TINYINT}, + + + age = #{age,jdbcType=INTEGER}, + + + birth_date = #{birthDate,jdbcType=DATE}, + + + ethnicity = #{ethnicity,jdbcType=VARCHAR}, + + + education_years = #{educationYears,jdbcType=INTEGER}, + + + phone = #{phone,jdbcType=VARCHAR}, + + + id_card_type = #{idCardType,jdbcType=TINYINT}, + + + id_card = #{idCard,jdbcType=VARCHAR}, + + + visit_type = #{visitType,jdbcType=TINYINT}, + + + visit_number = #{visitNumber,jdbcType=VARCHAR}, + + + visit_time = #{visitTime,jdbcType=TIMESTAMP}, + + + discharge_time = #{dischargeTime,jdbcType=TIMESTAMP}, + + + doctor = #{doctor,jdbcType=VARCHAR}, + + + dept_name = #{deptName,jdbcType=VARCHAR}, + + + diagnosis_code = #{diagnosisCode,jdbcType=VARCHAR}, + + + diagnosis_name = #{diagnosisName,jdbcType=VARCHAR}, + + + status = #{status,jdbcType=TINYINT}, + + + del_flag = #{delFlag,jdbcType=TINYINT}, + + + tenant_id = #{tenantId,jdbcType=BIGINT}, + + + create_by = #{createBy,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + update_by = #{updateBy,jdbcType=VARCHAR}, + + + update_time = #{updateTime,jdbcType=TIMESTAMP}, + + + remark = #{remark,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_treatment + set patient_id = #{patientId,jdbcType=BIGINT}, + name = #{name,jdbcType=VARCHAR}, + pinyin_full = #{pinyinFull,jdbcType=VARCHAR}, + pinyin_simple = #{pinyinSimple,jdbcType=VARCHAR}, + gender = #{gender,jdbcType=TINYINT}, + age = #{age,jdbcType=INTEGER}, + birth_date = #{birthDate,jdbcType=DATE}, + ethnicity = #{ethnicity,jdbcType=VARCHAR}, + education_years = #{educationYears,jdbcType=INTEGER}, + phone = #{phone,jdbcType=VARCHAR}, + id_card_type = #{idCardType,jdbcType=TINYINT}, + id_card = #{idCard,jdbcType=VARCHAR}, + visit_type = #{visitType,jdbcType=TINYINT}, + visit_number = #{visitNumber,jdbcType=VARCHAR}, + visit_time = #{visitTime,jdbcType=TIMESTAMP}, + discharge_time = #{dischargeTime,jdbcType=TIMESTAMP}, + doctor = #{doctor,jdbcType=VARCHAR}, + dept_name = #{deptName,jdbcType=VARCHAR}, + diagnosis_code = #{diagnosisCode,jdbcType=VARCHAR}, + diagnosis_name = #{diagnosisName,jdbcType=VARCHAR}, + status = #{status,jdbcType=TINYINT}, + del_flag = #{delFlag,jdbcType=TINYINT}, + tenant_id = #{tenantId,jdbcType=BIGINT}, + create_by = #{createBy,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + update_by = #{updateBy,jdbcType=VARCHAR}, + update_time = #{updateTime,jdbcType=TIMESTAMP}, + remark = #{remark,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/acupuncture-system/src/main/resources/mapper/system/PmsTreatmentRecordMapper.xml b/acupuncture-system/src/main/resources/mapper/system/PmsTreatmentRecordMapper.xml new file mode 100644 index 00000000..b908996e --- /dev/null +++ b/acupuncture-system/src/main/resources/mapper/system/PmsTreatmentRecordMapper.xml @@ -0,0 +1,317 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + 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, treatment_id, question_code, answer, time, source_id, del_flag, create_by, create_time, + update_by, update_time, remark + + + + + delete from pms_treatment_record + where id = #{id,jdbcType=BIGINT} + + + insert into pms_treatment_record (id, treatment_id, question_code, + answer, time, source_id, + del_flag, create_by, create_time, + update_by, update_time, remark + ) + values (#{id,jdbcType=BIGINT}, #{treatmentId,jdbcType=BIGINT}, #{questionCode,jdbcType=VARCHAR}, + #{answer,jdbcType=VARCHAR}, #{time,jdbcType=TIMESTAMP}, #{sourceId,jdbcType=VARCHAR}, + #{delFlag,jdbcType=TINYINT}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, + #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR} + ) + + + insert into pms_treatment_record + + + id, + + + treatment_id, + + + question_code, + + + answer, + + + time, + + + source_id, + + + del_flag, + + + create_by, + + + create_time, + + + update_by, + + + update_time, + + + remark, + + + + + #{id,jdbcType=BIGINT}, + + + #{treatmentId,jdbcType=BIGINT}, + + + #{questionCode,jdbcType=VARCHAR}, + + + #{answer,jdbcType=VARCHAR}, + + + #{time,jdbcType=TIMESTAMP}, + + + #{sourceId,jdbcType=VARCHAR}, + + + #{delFlag,jdbcType=TINYINT}, + + + #{createBy,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{updateBy,jdbcType=VARCHAR}, + + + #{updateTime,jdbcType=TIMESTAMP}, + + + #{remark,jdbcType=VARCHAR}, + + + + + + update pms_treatment_record + + + id = #{record.id,jdbcType=BIGINT}, + + + treatment_id = #{record.treatmentId,jdbcType=BIGINT}, + + + question_code = #{record.questionCode,jdbcType=VARCHAR}, + + + answer = #{record.answer,jdbcType=VARCHAR}, + + + time = #{record.time,jdbcType=TIMESTAMP}, + + + source_id = #{record.sourceId,jdbcType=VARCHAR}, + + + del_flag = #{record.delFlag,jdbcType=TINYINT}, + + + create_by = #{record.createBy,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + update_by = #{record.updateBy,jdbcType=VARCHAR}, + + + update_time = #{record.updateTime,jdbcType=TIMESTAMP}, + + + remark = #{record.remark,jdbcType=VARCHAR}, + + + + + + + + update pms_treatment_record + set id = #{record.id,jdbcType=BIGINT}, + treatment_id = #{record.treatmentId,jdbcType=BIGINT}, + question_code = #{record.questionCode,jdbcType=VARCHAR}, + answer = #{record.answer,jdbcType=VARCHAR}, + time = #{record.time,jdbcType=TIMESTAMP}, + source_id = #{record.sourceId,jdbcType=VARCHAR}, + del_flag = #{record.delFlag,jdbcType=TINYINT}, + create_by = #{record.createBy,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + update_by = #{record.updateBy,jdbcType=VARCHAR}, + update_time = #{record.updateTime,jdbcType=TIMESTAMP}, + remark = #{record.remark,jdbcType=VARCHAR} + + + + + + update pms_treatment_record + + + treatment_id = #{treatmentId,jdbcType=BIGINT}, + + + question_code = #{questionCode,jdbcType=VARCHAR}, + + + answer = #{answer,jdbcType=VARCHAR}, + + + time = #{time,jdbcType=TIMESTAMP}, + + + source_id = #{sourceId,jdbcType=VARCHAR}, + + + del_flag = #{delFlag,jdbcType=TINYINT}, + + + create_by = #{createBy,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + update_by = #{updateBy,jdbcType=VARCHAR}, + + + update_time = #{updateTime,jdbcType=TIMESTAMP}, + + + remark = #{remark,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_treatment_record + set treatment_id = #{treatmentId,jdbcType=BIGINT}, + question_code = #{questionCode,jdbcType=VARCHAR}, + answer = #{answer,jdbcType=VARCHAR}, + time = #{time,jdbcType=TIMESTAMP}, + source_id = #{sourceId,jdbcType=VARCHAR}, + del_flag = #{delFlag,jdbcType=TINYINT}, + create_by = #{createBy,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + update_by = #{updateBy,jdbcType=VARCHAR}, + update_time = #{updateTime,jdbcType=TIMESTAMP}, + remark = #{remark,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/acupuncture-system/src/main/resources/mapper/system/Pms_patientMapper.xml b/acupuncture-system/src/main/resources/mapper/system/Pms_patientMapper.xml new file mode 100644 index 00000000..88f99b61 --- /dev/null +++ b/acupuncture-system/src/main/resources/mapper/system/Pms_patientMapper.xml @@ -0,0 +1,442 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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, pinyin_full, pinyin_simple, gender, birth_date, ethnicity, education_years, + phone, id_card_type, id_card, source, current_illness_history, del_flag, tenant_id, + create_by, create_time, update_by, update_time, remark + + + + + delete from pms_patient + where id = #{id,jdbcType=BIGINT} + + + insert into pms_patient (id, name, pinyin_full, + pinyin_simple, gender, birth_date, + ethnicity, education_years, phone, + id_card_type, id_card, source, + current_illness_history, del_flag, tenant_id, + create_by, create_time, update_by, + update_time, remark) + values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{pinyinFull,jdbcType=VARCHAR}, + #{pinyinSimple,jdbcType=VARCHAR}, #{gender,jdbcType=TINYINT}, #{birthDate,jdbcType=DATE}, + #{ethnicity,jdbcType=VARCHAR}, #{educationYears,jdbcType=INTEGER}, #{phone,jdbcType=VARCHAR}, + #{idCardType,jdbcType=TINYINT}, #{idCard,jdbcType=VARCHAR}, #{source,jdbcType=TINYINT}, + #{currentIllnessHistory,jdbcType=VARCHAR}, #{delFlag,jdbcType=TINYINT}, #{tenantId,jdbcType=BIGINT}, + #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, + #{updateTime,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}) + + + insert into pms_patient + + + id, + + + name, + + + pinyin_full, + + + pinyin_simple, + + + gender, + + + birth_date, + + + ethnicity, + + + education_years, + + + phone, + + + id_card_type, + + + id_card, + + + source, + + + current_illness_history, + + + del_flag, + + + tenant_id, + + + create_by, + + + create_time, + + + update_by, + + + update_time, + + + remark, + + + + + #{id,jdbcType=BIGINT}, + + + #{name,jdbcType=VARCHAR}, + + + #{pinyinFull,jdbcType=VARCHAR}, + + + #{pinyinSimple,jdbcType=VARCHAR}, + + + #{gender,jdbcType=TINYINT}, + + + #{birthDate,jdbcType=DATE}, + + + #{ethnicity,jdbcType=VARCHAR}, + + + #{educationYears,jdbcType=INTEGER}, + + + #{phone,jdbcType=VARCHAR}, + + + #{idCardType,jdbcType=TINYINT}, + + + #{idCard,jdbcType=VARCHAR}, + + + #{source,jdbcType=TINYINT}, + + + #{currentIllnessHistory,jdbcType=VARCHAR}, + + + #{delFlag,jdbcType=TINYINT}, + + + #{tenantId,jdbcType=BIGINT}, + + + #{createBy,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{updateBy,jdbcType=VARCHAR}, + + + #{updateTime,jdbcType=TIMESTAMP}, + + + #{remark,jdbcType=VARCHAR}, + + + + + + update pms_patient + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + pinyin_full = #{record.pinyinFull,jdbcType=VARCHAR}, + + + pinyin_simple = #{record.pinyinSimple,jdbcType=VARCHAR}, + + + gender = #{record.gender,jdbcType=TINYINT}, + + + birth_date = #{record.birthDate,jdbcType=DATE}, + + + ethnicity = #{record.ethnicity,jdbcType=VARCHAR}, + + + education_years = #{record.educationYears,jdbcType=INTEGER}, + + + phone = #{record.phone,jdbcType=VARCHAR}, + + + id_card_type = #{record.idCardType,jdbcType=TINYINT}, + + + id_card = #{record.idCard,jdbcType=VARCHAR}, + + + source = #{record.source,jdbcType=TINYINT}, + + + current_illness_history = #{record.currentIllnessHistory,jdbcType=VARCHAR}, + + + del_flag = #{record.delFlag,jdbcType=TINYINT}, + + + tenant_id = #{record.tenantId,jdbcType=BIGINT}, + + + create_by = #{record.createBy,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + update_by = #{record.updateBy,jdbcType=VARCHAR}, + + + update_time = #{record.updateTime,jdbcType=TIMESTAMP}, + + + remark = #{record.remark,jdbcType=VARCHAR}, + + + + + + + + update pms_patient + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + pinyin_full = #{record.pinyinFull,jdbcType=VARCHAR}, + pinyin_simple = #{record.pinyinSimple,jdbcType=VARCHAR}, + gender = #{record.gender,jdbcType=TINYINT}, + birth_date = #{record.birthDate,jdbcType=DATE}, + ethnicity = #{record.ethnicity,jdbcType=VARCHAR}, + education_years = #{record.educationYears,jdbcType=INTEGER}, + phone = #{record.phone,jdbcType=VARCHAR}, + id_card_type = #{record.idCardType,jdbcType=TINYINT}, + id_card = #{record.idCard,jdbcType=VARCHAR}, + source = #{record.source,jdbcType=TINYINT}, + current_illness_history = #{record.currentIllnessHistory,jdbcType=VARCHAR}, + del_flag = #{record.delFlag,jdbcType=TINYINT}, + tenant_id = #{record.tenantId,jdbcType=BIGINT}, + create_by = #{record.createBy,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + update_by = #{record.updateBy,jdbcType=VARCHAR}, + update_time = #{record.updateTime,jdbcType=TIMESTAMP}, + remark = #{record.remark,jdbcType=VARCHAR} + + + + + + update pms_patient + + + name = #{name,jdbcType=VARCHAR}, + + + pinyin_full = #{pinyinFull,jdbcType=VARCHAR}, + + + pinyin_simple = #{pinyinSimple,jdbcType=VARCHAR}, + + + gender = #{gender,jdbcType=TINYINT}, + + + birth_date = #{birthDate,jdbcType=DATE}, + + + ethnicity = #{ethnicity,jdbcType=VARCHAR}, + + + education_years = #{educationYears,jdbcType=INTEGER}, + + + phone = #{phone,jdbcType=VARCHAR}, + + + id_card_type = #{idCardType,jdbcType=TINYINT}, + + + id_card = #{idCard,jdbcType=VARCHAR}, + + + source = #{source,jdbcType=TINYINT}, + + + current_illness_history = #{currentIllnessHistory,jdbcType=VARCHAR}, + + + del_flag = #{delFlag,jdbcType=TINYINT}, + + + tenant_id = #{tenantId,jdbcType=BIGINT}, + + + create_by = #{createBy,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + update_by = #{updateBy,jdbcType=VARCHAR}, + + + update_time = #{updateTime,jdbcType=TIMESTAMP}, + + + remark = #{remark,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_patient + set name = #{name,jdbcType=VARCHAR}, + pinyin_full = #{pinyinFull,jdbcType=VARCHAR}, + pinyin_simple = #{pinyinSimple,jdbcType=VARCHAR}, + gender = #{gender,jdbcType=TINYINT}, + birth_date = #{birthDate,jdbcType=DATE}, + ethnicity = #{ethnicity,jdbcType=VARCHAR}, + education_years = #{educationYears,jdbcType=INTEGER}, + phone = #{phone,jdbcType=VARCHAR}, + id_card_type = #{idCardType,jdbcType=TINYINT}, + id_card = #{idCard,jdbcType=VARCHAR}, + source = #{source,jdbcType=TINYINT}, + current_illness_history = #{currentIllnessHistory,jdbcType=VARCHAR}, + del_flag = #{delFlag,jdbcType=TINYINT}, + tenant_id = #{tenantId,jdbcType=BIGINT}, + create_by = #{createBy,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + update_by = #{updateBy,jdbcType=VARCHAR}, + update_time = #{updateTime,jdbcType=TIMESTAMP}, + remark = #{remark,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/acupuncture-system/src/main/resources/mapper/system/RmsReportTypeMapper.xml b/acupuncture-system/src/main/resources/mapper/system/RmsReportTypeMapper.xml new file mode 100644 index 00000000..89d123e4 --- /dev/null +++ b/acupuncture-system/src/main/resources/mapper/system/RmsReportTypeMapper.xml @@ -0,0 +1,252 @@ + + + + + + + + + + + + + + + + + + + + + + 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, type_name, del_flag, create_by, create_time, update_by, update_time, remark + + + + + delete from rms_report_type + where id = #{id,jdbcType=INTEGER} + + + insert into rms_report_type (id, type_name, del_flag, + create_by, create_time, update_by, + update_time, remark) + values (#{id,jdbcType=INTEGER}, #{typeName,jdbcType=VARCHAR}, #{delFlag,jdbcType=TINYINT}, + #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, + #{updateTime,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}) + + + insert into rms_report_type + + + id, + + + type_name, + + + del_flag, + + + create_by, + + + create_time, + + + update_by, + + + update_time, + + + remark, + + + + + #{id,jdbcType=INTEGER}, + + + #{typeName,jdbcType=VARCHAR}, + + + #{delFlag,jdbcType=TINYINT}, + + + #{createBy,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{updateBy,jdbcType=VARCHAR}, + + + #{updateTime,jdbcType=TIMESTAMP}, + + + #{remark,jdbcType=VARCHAR}, + + + + + + update rms_report_type + + + id = #{record.id,jdbcType=INTEGER}, + + + type_name = #{record.typeName,jdbcType=VARCHAR}, + + + del_flag = #{record.delFlag,jdbcType=TINYINT}, + + + create_by = #{record.createBy,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + update_by = #{record.updateBy,jdbcType=VARCHAR}, + + + update_time = #{record.updateTime,jdbcType=TIMESTAMP}, + + + remark = #{record.remark,jdbcType=VARCHAR}, + + + + + + + + update rms_report_type + set id = #{record.id,jdbcType=INTEGER}, + type_name = #{record.typeName,jdbcType=VARCHAR}, + del_flag = #{record.delFlag,jdbcType=TINYINT}, + create_by = #{record.createBy,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + update_by = #{record.updateBy,jdbcType=VARCHAR}, + update_time = #{record.updateTime,jdbcType=TIMESTAMP}, + remark = #{record.remark,jdbcType=VARCHAR} + + + + + + update rms_report_type + + + type_name = #{typeName,jdbcType=VARCHAR}, + + + del_flag = #{delFlag,jdbcType=TINYINT}, + + + create_by = #{createBy,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + update_by = #{updateBy,jdbcType=VARCHAR}, + + + update_time = #{updateTime,jdbcType=TIMESTAMP}, + + + remark = #{remark,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=INTEGER} + + + update rms_report_type + set type_name = #{typeName,jdbcType=VARCHAR}, + del_flag = #{delFlag,jdbcType=TINYINT}, + create_by = #{createBy,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + update_by = #{updateBy,jdbcType=VARCHAR}, + update_time = #{updateTime,jdbcType=TIMESTAMP}, + remark = #{remark,jdbcType=VARCHAR} + where id = #{id,jdbcType=INTEGER} + + \ No newline at end of file diff --git a/acupuncture-system/src/main/resources/mapper/system/UmsDataSourceMapper.xml b/acupuncture-system/src/main/resources/mapper/system/UmsDataSourceMapper.xml new file mode 100644 index 00000000..dedfb8b6 --- /dev/null +++ b/acupuncture-system/src/main/resources/mapper/system/UmsDataSourceMapper.xml @@ -0,0 +1,300 @@ + + + + + + + + + + + + + + + + + + + + + + + + + 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, data_source_key, hospital_id, url, username, password, create_by, create_time, + update_by, update_time, del_flag + + + + + delete from ums_data_source + where id = #{id,jdbcType=BIGINT} + + + insert into ums_data_source (id, data_source_key, hospital_id, + url, username, password, + create_by, create_time, update_by, + update_time, del_flag) + values (#{id,jdbcType=BIGINT}, #{dataSourceKey,jdbcType=VARCHAR}, #{hospitalId,jdbcType=BIGINT}, + #{url,jdbcType=VARCHAR}, #{username,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, + #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, + #{updateTime,jdbcType=TIMESTAMP}, #{delFlag,jdbcType=TINYINT}) + + + insert into ums_data_source + + + id, + + + data_source_key, + + + hospital_id, + + + url, + + + username, + + + password, + + + create_by, + + + create_time, + + + update_by, + + + update_time, + + + del_flag, + + + + + #{id,jdbcType=BIGINT}, + + + #{dataSourceKey,jdbcType=VARCHAR}, + + + #{hospitalId,jdbcType=BIGINT}, + + + #{url,jdbcType=VARCHAR}, + + + #{username,jdbcType=VARCHAR}, + + + #{password,jdbcType=VARCHAR}, + + + #{createBy,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{updateBy,jdbcType=VARCHAR}, + + + #{updateTime,jdbcType=TIMESTAMP}, + + + #{delFlag,jdbcType=TINYINT}, + + + + + + update ums_data_source + + + id = #{record.id,jdbcType=BIGINT}, + + + data_source_key = #{record.dataSourceKey,jdbcType=VARCHAR}, + + + hospital_id = #{record.hospitalId,jdbcType=BIGINT}, + + + url = #{record.url,jdbcType=VARCHAR}, + + + username = #{record.username,jdbcType=VARCHAR}, + + + password = #{record.password,jdbcType=VARCHAR}, + + + create_by = #{record.createBy,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + update_by = #{record.updateBy,jdbcType=VARCHAR}, + + + update_time = #{record.updateTime,jdbcType=TIMESTAMP}, + + + del_flag = #{record.delFlag,jdbcType=TINYINT}, + + + + + + + + update ums_data_source + set id = #{record.id,jdbcType=BIGINT}, + data_source_key = #{record.dataSourceKey,jdbcType=VARCHAR}, + hospital_id = #{record.hospitalId,jdbcType=BIGINT}, + url = #{record.url,jdbcType=VARCHAR}, + username = #{record.username,jdbcType=VARCHAR}, + password = #{record.password,jdbcType=VARCHAR}, + create_by = #{record.createBy,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + update_by = #{record.updateBy,jdbcType=VARCHAR}, + update_time = #{record.updateTime,jdbcType=TIMESTAMP}, + del_flag = #{record.delFlag,jdbcType=TINYINT} + + + + + + update ums_data_source + + + data_source_key = #{dataSourceKey,jdbcType=VARCHAR}, + + + hospital_id = #{hospitalId,jdbcType=BIGINT}, + + + url = #{url,jdbcType=VARCHAR}, + + + username = #{username,jdbcType=VARCHAR}, + + + password = #{password,jdbcType=VARCHAR}, + + + create_by = #{createBy,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + update_by = #{updateBy,jdbcType=VARCHAR}, + + + update_time = #{updateTime,jdbcType=TIMESTAMP}, + + + del_flag = #{delFlag,jdbcType=TINYINT}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_data_source + set data_source_key = #{dataSourceKey,jdbcType=VARCHAR}, + hospital_id = #{hospitalId,jdbcType=BIGINT}, + url = #{url,jdbcType=VARCHAR}, + username = #{username,jdbcType=VARCHAR}, + password = #{password,jdbcType=VARCHAR}, + create_by = #{createBy,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + update_by = #{updateBy,jdbcType=VARCHAR}, + update_time = #{updateTime,jdbcType=TIMESTAMP}, + del_flag = #{delFlag,jdbcType=TINYINT} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file