From ed15498a5d99e2a1fc86daa989dc1542e8e992d8 Mon Sep 17 00:00:00 2001 From: lizhengwei <171332584@qq.com> Date: Fri, 13 Feb 2026 13:09:44 +0800 Subject: [PATCH] =?UTF-8?q?h5=20=E5=8A=A8=E6=80=81=E8=A1=A8=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../booksflow/form/api/dto/FormDictDTO.java | 4 +- .../form/api/dto/FormFieldDictDTO.java | 6 +- .../form/api/dto/FormPrintConfigDTO.java | 6 +- .../form/api/dto/FormPrintConfigModeDTO.java | 6 +- .../api/dto/FormPrintConfigUploadDTO.java | 4 +- .../booksflow/form/api/dto/FormPrintDTO.java | 6 +- .../form/api/dto/FormTemplateDTO.java | 6 +- .../form/api/dto/ModifyLogRecordDTO.java | 4 +- .../ruoyi-form/booksflow-form-mapper/pom.xml | 5 + .../booksflow/form/mybatis/entity/Form.java | 25 +- .../form/mybatis/entity/FormDict.java | 25 +- .../form/mybatis/entity/FormDictExample.java | 872 -------- .../form/mybatis/entity/FormExample.java | 501 ----- .../form/mybatis/entity/FormFieldDict.java | 25 +- .../mybatis/entity/FormFieldDictExample.java | 1122 ---------- .../form/mybatis/entity/FormPrintConfig.java | 25 +- .../entity/FormPrintConfigExample.java | 1872 ---------------- .../mybatis/entity/FormPrintConfigTpl.java | 124 +- .../entity/FormPrintConfigTplExample.java | 932 -------- .../entity/FormPrintConfigWithBLOBs.java | 47 - .../form/mybatis/entity/FormTemplate.java | 17 +- .../mybatis/entity/FormTemplateExample.java | 792 ------- .../mybatis/entity/FormTemplateField.java | 25 +- .../entity/FormTemplateFieldExample.java | 1912 ----------------- .../form/mybatis/entity/ModifyLogRecord.java | 25 +- .../entity/ModifyLogRecordExample.java | 1362 ------------ .../form/mybatis/entity/TenantInitStatus.java | 25 +- .../entity/TenantInitStatusExample.java | 602 ------ .../form/mybatis/mapper/FormDictMapper.java | 119 +- .../mybatis/mapper/FormDictMapperExt.java | 4 - .../mybatis/mapper/FormFieldDictMapper.java | 147 +- .../mapper/FormFieldDictMapperExt.java | 21 - .../form/mybatis/mapper/FormMapper.java | 119 +- .../form/mybatis/mapper/FormMapperExt.java | 4 - .../mybatis/mapper/FormPrintConfigMapper.java | 146 +- .../mapper/FormPrintConfigMapperExt.java | 4 - .../mapper/FormPrintConfigTplMapper.java | 119 +- .../mapper/FormPrintConfigTplMapperExt.java | 4 - .../mapper/FormTemplateFieldMapper.java | 143 +- .../mapper/FormTemplateFieldMapperExt.java | 4 - .../mybatis/mapper/FormTemplateMapper.java | 119 +- .../mybatis/mapper/FormTemplateMapperExt.java | 4 - .../mybatis/mapper/ModifyLogRecordMapper.java | 119 +- .../mapper/ModifyLogRecordMapperExt.java | 4 - .../mapper/TenantInitStatusMapper.java | 119 +- .../mapper/TenantInitStatusMapperExt.java | 4 - .../mapper/FormPrintConfigMapper.xml | 88 +- .../controller/FormPrintConfigController.java | 6 +- .../form/service/FormPrintConfigService.java | 28 +- 49 files changed, 205 insertions(+), 11497 deletions(-) delete mode 100644 ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormDictExample.java delete mode 100644 ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormExample.java delete mode 100644 ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormFieldDictExample.java delete mode 100644 ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormPrintConfigExample.java delete mode 100644 ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormPrintConfigTplExample.java delete mode 100644 ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormPrintConfigWithBLOBs.java delete mode 100644 ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormTemplateExample.java delete mode 100644 ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormTemplateFieldExample.java delete mode 100644 ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/ModifyLogRecordExample.java delete mode 100644 ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/TenantInitStatusExample.java delete mode 100644 ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormDictMapperExt.java delete mode 100644 ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormFieldDictMapperExt.java delete mode 100644 ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormMapperExt.java delete mode 100644 ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormPrintConfigMapperExt.java delete mode 100644 ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormPrintConfigTplMapperExt.java delete mode 100644 ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormTemplateFieldMapperExt.java delete mode 100644 ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormTemplateMapperExt.java delete mode 100644 ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/ModifyLogRecordMapperExt.java delete mode 100644 ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/TenantInitStatusMapperExt.java diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-api/src/main/java/com/pcloud/booksflow/form/api/dto/FormDictDTO.java b/ruoyi-modules/ruoyi-form/booksflow-form-api/src/main/java/com/pcloud/booksflow/form/api/dto/FormDictDTO.java index e15c2e3c3..43532ea68 100644 --- a/ruoyi-modules/ruoyi-form/booksflow-form-api/src/main/java/com/pcloud/booksflow/form/api/dto/FormDictDTO.java +++ b/ruoyi-modules/ruoyi-form/booksflow-form-api/src/main/java/com/pcloud/booksflow/form/api/dto/FormDictDTO.java @@ -2,9 +2,9 @@ package com.pcloud.booksflow.form.api.dto; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import jakarta.validation.constraints.NotBlank; import lombok.Data; -import javax.validation.constraints.NotBlank; import java.io.Serializable; /** @@ -30,4 +30,4 @@ public class FormDictDTO implements Serializable { @ApiModelProperty(value = "备注", required = false) private String remarks; -} \ No newline at end of file +} diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-api/src/main/java/com/pcloud/booksflow/form/api/dto/FormFieldDictDTO.java b/ruoyi-modules/ruoyi-form/booksflow-form-api/src/main/java/com/pcloud/booksflow/form/api/dto/FormFieldDictDTO.java index f0b8c4fb7..45515f919 100644 --- a/ruoyi-modules/ruoyi-form/booksflow-form-api/src/main/java/com/pcloud/booksflow/form/api/dto/FormFieldDictDTO.java +++ b/ruoyi-modules/ruoyi-form/booksflow-form-api/src/main/java/com/pcloud/booksflow/form/api/dto/FormFieldDictDTO.java @@ -5,10 +5,10 @@ import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeInfo; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import jakarta.validation.constraints.NotBlank; +import jakarta.validation.constraints.NotNull; import lombok.Data; -import javax.validation.constraints.NotBlank; -import javax.validation.constraints.NotNull; import java.time.LocalDateTime; /** @@ -174,4 +174,4 @@ public class FormFieldDictDTO { private String address; } -} \ No newline at end of file +} diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-api/src/main/java/com/pcloud/booksflow/form/api/dto/FormPrintConfigDTO.java b/ruoyi-modules/ruoyi-form/booksflow-form-api/src/main/java/com/pcloud/booksflow/form/api/dto/FormPrintConfigDTO.java index a0c920785..a5315557a 100644 --- a/ruoyi-modules/ruoyi-form/booksflow-form-api/src/main/java/com/pcloud/booksflow/form/api/dto/FormPrintConfigDTO.java +++ b/ruoyi-modules/ruoyi-form/booksflow-form-api/src/main/java/com/pcloud/booksflow/form/api/dto/FormPrintConfigDTO.java @@ -7,8 +7,8 @@ import lombok.Data; import lombok.Getter; import lombok.Setter; -import javax.validation.constraints.NotBlank; -import javax.validation.constraints.NotNull; +import jakarta.validation.constraints.NotBlank; +import jakarta.validation.constraints.NotNull; import java.io.Serializable; import java.util.Date; import java.util.List; @@ -123,4 +123,4 @@ public class FormPrintConfigDTO implements Serializable { private Boolean print; } -} \ No newline at end of file +} diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-api/src/main/java/com/pcloud/booksflow/form/api/dto/FormPrintConfigModeDTO.java b/ruoyi-modules/ruoyi-form/booksflow-form-api/src/main/java/com/pcloud/booksflow/form/api/dto/FormPrintConfigModeDTO.java index 497e88021..b8a0cf597 100644 --- a/ruoyi-modules/ruoyi-form/booksflow-form-api/src/main/java/com/pcloud/booksflow/form/api/dto/FormPrintConfigModeDTO.java +++ b/ruoyi-modules/ruoyi-form/booksflow-form-api/src/main/java/com/pcloud/booksflow/form/api/dto/FormPrintConfigModeDTO.java @@ -4,7 +4,7 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; -import javax.validation.constraints.NotNull; +import jakarta.validation.constraints.NotNull; import java.io.Serializable; /** @@ -17,7 +17,7 @@ import java.io.Serializable; public class FormPrintConfigModeDTO implements Serializable { private static final long serialVersionUID = 1L; - + /** * 主键ID */ @@ -29,4 +29,4 @@ public class FormPrintConfigModeDTO implements Serializable { @NotNull private Integer mode; -} \ No newline at end of file +} diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-api/src/main/java/com/pcloud/booksflow/form/api/dto/FormPrintConfigUploadDTO.java b/ruoyi-modules/ruoyi-form/booksflow-form-api/src/main/java/com/pcloud/booksflow/form/api/dto/FormPrintConfigUploadDTO.java index 133890af6..1f04d09da 100644 --- a/ruoyi-modules/ruoyi-form/booksflow-form-api/src/main/java/com/pcloud/booksflow/form/api/dto/FormPrintConfigUploadDTO.java +++ b/ruoyi-modules/ruoyi-form/booksflow-form-api/src/main/java/com/pcloud/booksflow/form/api/dto/FormPrintConfigUploadDTO.java @@ -4,7 +4,7 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; -import javax.validation.constraints.NotNull; +import jakarta.validation.constraints.NotNull; import java.io.Serializable; /** @@ -37,4 +37,4 @@ public class FormPrintConfigUploadDTO implements Serializable { @NotNull(message = "fileType不能为空") private String fileType; -} \ No newline at end of file +} diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-api/src/main/java/com/pcloud/booksflow/form/api/dto/FormPrintDTO.java b/ruoyi-modules/ruoyi-form/booksflow-form-api/src/main/java/com/pcloud/booksflow/form/api/dto/FormPrintDTO.java index ead142724..342caf411 100644 --- a/ruoyi-modules/ruoyi-form/booksflow-form-api/src/main/java/com/pcloud/booksflow/form/api/dto/FormPrintDTO.java +++ b/ruoyi-modules/ruoyi-form/booksflow-form-api/src/main/java/com/pcloud/booksflow/form/api/dto/FormPrintDTO.java @@ -4,8 +4,8 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; -import javax.validation.constraints.NotEmpty; -import javax.validation.constraints.NotNull; +import jakarta.validation.constraints.NotEmpty; +import jakarta.validation.constraints.NotNull; import java.io.Serializable; import java.util.Map; @@ -29,4 +29,4 @@ public class FormPrintDTO implements Serializable { @NotEmpty(message = "数据") private Map data; -} \ No newline at end of file +} diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-api/src/main/java/com/pcloud/booksflow/form/api/dto/FormTemplateDTO.java b/ruoyi-modules/ruoyi-form/booksflow-form-api/src/main/java/com/pcloud/booksflow/form/api/dto/FormTemplateDTO.java index 6a5282902..971e8041e 100644 --- a/ruoyi-modules/ruoyi-form/booksflow-form-api/src/main/java/com/pcloud/booksflow/form/api/dto/FormTemplateDTO.java +++ b/ruoyi-modules/ruoyi-form/booksflow-form-api/src/main/java/com/pcloud/booksflow/form/api/dto/FormTemplateDTO.java @@ -6,9 +6,9 @@ import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; -import javax.validation.Valid; -import javax.validation.constraints.NotEmpty; -import javax.validation.constraints.NotNull; +import jakarta.validation.Valid; +import jakarta.validation.constraints.NotEmpty; +import jakarta.validation.constraints.NotNull; import java.io.Serializable; import java.util.List; diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-api/src/main/java/com/pcloud/booksflow/form/api/dto/ModifyLogRecordDTO.java b/ruoyi-modules/ruoyi-form/booksflow-form-api/src/main/java/com/pcloud/booksflow/form/api/dto/ModifyLogRecordDTO.java index ffa1fb871..2bfccb498 100644 --- a/ruoyi-modules/ruoyi-form/booksflow-form-api/src/main/java/com/pcloud/booksflow/form/api/dto/ModifyLogRecordDTO.java +++ b/ruoyi-modules/ruoyi-form/booksflow-form-api/src/main/java/com/pcloud/booksflow/form/api/dto/ModifyLogRecordDTO.java @@ -5,7 +5,7 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; -import javax.validation.constraints.NotBlank; +import jakarta.validation.constraints.NotBlank; import java.io.Serializable; import java.util.Date; @@ -104,4 +104,4 @@ public class ModifyLogRecordDTO implements Serializable { @ApiModelProperty(value = "服务名称") private String serviceName; -} \ No newline at end of file +} diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/pom.xml b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/pom.xml index 7739c4d44..d0afc1d66 100644 --- a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/pom.xml +++ b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/pom.xml @@ -15,6 +15,11 @@ booksflow-form-api ${revision} + + com.baomidou + mybatis-plus-spring-boot3-starter + provided + diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/Form.java b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/Form.java index 1931eb88c..a444d775f 100644 --- a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/Form.java +++ b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/Form.java @@ -1,24 +1,13 @@ package com.pcloud.booksflow.form.mybatis.entity; import java.io.Serializable; -import lombok.AllArgsConstructor; -import lombok.Builder; -import lombok.Getter; -import lombok.NoArgsConstructor; -import lombok.Setter; -import lombok.ToString; -/** - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table form - */ -@Getter -@Setter -@Builder -@ToString -@NoArgsConstructor -@AllArgsConstructor +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.*; + + +@Data +@TableName("form_print_config_tpl") public class Form implements Serializable { /** * Database Column Remarks: @@ -60,4 +49,4 @@ public class Form implements Serializable { * @mbg.generated */ private static final long serialVersionUID = 1L; -} \ No newline at end of file +} diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormDict.java b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormDict.java index 89973a368..c7e050988 100644 --- a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormDict.java +++ b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormDict.java @@ -2,24 +2,13 @@ package com.pcloud.booksflow.form.mybatis.entity; import java.io.Serializable; import java.util.Date; -import lombok.AllArgsConstructor; -import lombok.Builder; -import lombok.Getter; -import lombok.NoArgsConstructor; -import lombok.Setter; -import lombok.ToString; -/** - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table form_dict - */ -@Getter -@Setter -@Builder -@ToString -@NoArgsConstructor -@AllArgsConstructor +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.*; + + +@Data +@TableName("form_print_config_tpl") public class FormDict implements Serializable { /** * Database Column Remarks: @@ -127,4 +116,4 @@ public class FormDict implements Serializable { * @mbg.generated */ private static final long serialVersionUID = 1L; -} \ No newline at end of file +} diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormDictExample.java b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormDictExample.java deleted file mode 100644 index b5dbb8aa4..000000000 --- a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormDictExample.java +++ /dev/null @@ -1,872 +0,0 @@ -package com.pcloud.booksflow.form.mybatis.entity; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class FormDictExample { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table form_dict - * - * @mbg.generated - */ - protected String orderByClause; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table form_dict - * - * @mbg.generated - */ - protected boolean distinct; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table form_dict - * - * @mbg.generated - */ - protected List oredCriteria; - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_dict - * - * @mbg.generated - */ - public FormDictExample() { - oredCriteria = new ArrayList<>(); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_dict - * - * @mbg.generated - */ - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_dict - * - * @mbg.generated - */ - public String getOrderByClause() { - return orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_dict - * - * @mbg.generated - */ - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_dict - * - * @mbg.generated - */ - public boolean isDistinct() { - return distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_dict - * - * @mbg.generated - */ - public List getOredCriteria() { - return oredCriteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_dict - * - * @mbg.generated - */ - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_dict - * - * @mbg.generated - */ - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_dict - * - * @mbg.generated - */ - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_dict - * - * @mbg.generated - */ - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_dict - * - * @mbg.generated - */ - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table form_dict - * - * @mbg.generated - */ - 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 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 andRemarksIsNull() { - addCriterion("remarks is null"); - return (Criteria) this; - } - - public Criteria andRemarksIsNotNull() { - addCriterion("remarks is not null"); - return (Criteria) this; - } - - public Criteria andRemarksEqualTo(String value) { - addCriterion("remarks =", value, "remarks"); - return (Criteria) this; - } - - public Criteria andRemarksNotEqualTo(String value) { - addCriterion("remarks <>", value, "remarks"); - return (Criteria) this; - } - - public Criteria andRemarksGreaterThan(String value) { - addCriterion("remarks >", value, "remarks"); - return (Criteria) this; - } - - public Criteria andRemarksGreaterThanOrEqualTo(String value) { - addCriterion("remarks >=", value, "remarks"); - return (Criteria) this; - } - - public Criteria andRemarksLessThan(String value) { - addCriterion("remarks <", value, "remarks"); - return (Criteria) this; - } - - public Criteria andRemarksLessThanOrEqualTo(String value) { - addCriterion("remarks <=", value, "remarks"); - return (Criteria) this; - } - - public Criteria andRemarksLike(String value) { - addCriterion("remarks like", value, "remarks"); - return (Criteria) this; - } - - public Criteria andRemarksNotLike(String value) { - addCriterion("remarks not like", value, "remarks"); - return (Criteria) this; - } - - public Criteria andRemarksIn(List values) { - addCriterion("remarks in", values, "remarks"); - return (Criteria) this; - } - - public Criteria andRemarksNotIn(List values) { - addCriterion("remarks not in", values, "remarks"); - return (Criteria) this; - } - - public Criteria andRemarksBetween(String value1, String value2) { - addCriterion("remarks between", value1, value2, "remarks"); - return (Criteria) this; - } - - public Criteria andRemarksNotBetween(String value1, String value2) { - addCriterion("remarks not between", value1, value2, "remarks"); - return (Criteria) this; - } - - public Criteria andCreatedByIsNull() { - addCriterion("created_by is null"); - return (Criteria) this; - } - - public Criteria andCreatedByIsNotNull() { - addCriterion("created_by is not null"); - return (Criteria) this; - } - - public Criteria andCreatedByEqualTo(Long value) { - addCriterion("created_by =", value, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByNotEqualTo(Long value) { - addCriterion("created_by <>", value, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByGreaterThan(Long value) { - addCriterion("created_by >", value, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByGreaterThanOrEqualTo(Long value) { - addCriterion("created_by >=", value, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByLessThan(Long value) { - addCriterion("created_by <", value, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByLessThanOrEqualTo(Long value) { - addCriterion("created_by <=", value, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByIn(List values) { - addCriterion("created_by in", values, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByNotIn(List values) { - addCriterion("created_by not in", values, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByBetween(Long value1, Long value2) { - addCriterion("created_by between", value1, value2, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByNotBetween(Long value1, Long value2) { - addCriterion("created_by not between", value1, value2, "createdBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByIsNull() { - addCriterion("updated_by is null"); - return (Criteria) this; - } - - public Criteria andUpdatedByIsNotNull() { - addCriterion("updated_by is not null"); - return (Criteria) this; - } - - public Criteria andUpdatedByEqualTo(Long value) { - addCriterion("updated_by =", value, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByNotEqualTo(Long value) { - addCriterion("updated_by <>", value, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByGreaterThan(Long value) { - addCriterion("updated_by >", value, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByGreaterThanOrEqualTo(Long value) { - addCriterion("updated_by >=", value, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByLessThan(Long value) { - addCriterion("updated_by <", value, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByLessThanOrEqualTo(Long value) { - addCriterion("updated_by <=", value, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByIn(List values) { - addCriterion("updated_by in", values, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByNotIn(List values) { - addCriterion("updated_by not in", values, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByBetween(Long value1, Long value2) { - addCriterion("updated_by between", value1, value2, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByNotBetween(Long value1, Long value2) { - addCriterion("updated_by not between", value1, value2, "updatedBy"); - 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 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 andDeletedIsNull() { - addCriterion("deleted is null"); - return (Criteria) this; - } - - public Criteria andDeletedIsNotNull() { - addCriterion("deleted is not null"); - return (Criteria) this; - } - - public Criteria andDeletedEqualTo(Integer value) { - addCriterion("deleted =", value, "deleted"); - return (Criteria) this; - } - - public Criteria andDeletedNotEqualTo(Integer value) { - addCriterion("deleted <>", value, "deleted"); - return (Criteria) this; - } - - public Criteria andDeletedGreaterThan(Integer value) { - addCriterion("deleted >", value, "deleted"); - return (Criteria) this; - } - - public Criteria andDeletedGreaterThanOrEqualTo(Integer value) { - addCriterion("deleted >=", value, "deleted"); - return (Criteria) this; - } - - public Criteria andDeletedLessThan(Integer value) { - addCriterion("deleted <", value, "deleted"); - return (Criteria) this; - } - - public Criteria andDeletedLessThanOrEqualTo(Integer value) { - addCriterion("deleted <=", value, "deleted"); - return (Criteria) this; - } - - public Criteria andDeletedIn(List values) { - addCriterion("deleted in", values, "deleted"); - return (Criteria) this; - } - - public Criteria andDeletedNotIn(List values) { - addCriterion("deleted not in", values, "deleted"); - return (Criteria) this; - } - - public Criteria andDeletedBetween(Integer value1, Integer value2) { - addCriterion("deleted between", value1, value2, "deleted"); - return (Criteria) this; - } - - public Criteria andDeletedNotBetween(Integer value1, Integer value2) { - addCriterion("deleted not between", value1, value2, "deleted"); - return (Criteria) this; - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table form_dict - * - * @mbg.generated do_not_delete_during_merge - */ - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table form_dict - * - * @mbg.generated - */ - 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/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormExample.java b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormExample.java deleted file mode 100644 index a9ff7672c..000000000 --- a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormExample.java +++ /dev/null @@ -1,501 +0,0 @@ -package com.pcloud.booksflow.form.mybatis.entity; - -import java.util.ArrayList; -import java.util.List; - -public class FormExample { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table form - * - * @mbg.generated - */ - protected String orderByClause; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table form - * - * @mbg.generated - */ - protected boolean distinct; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table form - * - * @mbg.generated - */ - protected List oredCriteria; - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form - * - * @mbg.generated - */ - public FormExample() { - oredCriteria = new ArrayList<>(); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form - * - * @mbg.generated - */ - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form - * - * @mbg.generated - */ - public String getOrderByClause() { - return orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form - * - * @mbg.generated - */ - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form - * - * @mbg.generated - */ - public boolean isDistinct() { - return distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form - * - * @mbg.generated - */ - public List getOredCriteria() { - return oredCriteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form - * - * @mbg.generated - */ - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form - * - * @mbg.generated - */ - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form - * - * @mbg.generated - */ - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form - * - * @mbg.generated - */ - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form - * - * @mbg.generated - */ - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table form - * - * @mbg.generated - */ - 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 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; - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table form - * - * @mbg.generated do_not_delete_during_merge - */ - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table form - * - * @mbg.generated - */ - 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/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormFieldDict.java b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormFieldDict.java index 6bc26b620..679ef0a10 100644 --- a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormFieldDict.java +++ b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormFieldDict.java @@ -2,24 +2,13 @@ package com.pcloud.booksflow.form.mybatis.entity; import java.io.Serializable; import java.util.Date; -import lombok.AllArgsConstructor; -import lombok.Builder; -import lombok.Getter; -import lombok.NoArgsConstructor; -import lombok.Setter; -import lombok.ToString; -/** - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table form_field_dict - */ -@Getter -@Setter -@Builder -@ToString -@NoArgsConstructor -@AllArgsConstructor +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.*; + + +@Data +@TableName("form_print_config_tpl") public class FormFieldDict implements Serializable { /** * Database Column Remarks: @@ -182,4 +171,4 @@ public class FormFieldDict implements Serializable { * @mbg.generated */ private static final long serialVersionUID = 1L; -} \ No newline at end of file +} diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormFieldDictExample.java b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormFieldDictExample.java deleted file mode 100644 index 33d406647..000000000 --- a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormFieldDictExample.java +++ /dev/null @@ -1,1122 +0,0 @@ -package com.pcloud.booksflow.form.mybatis.entity; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class FormFieldDictExample { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table form_field_dict - * - * @mbg.generated - */ - protected String orderByClause; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table form_field_dict - * - * @mbg.generated - */ - protected boolean distinct; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table form_field_dict - * - * @mbg.generated - */ - protected List oredCriteria; - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_field_dict - * - * @mbg.generated - */ - public FormFieldDictExample() { - oredCriteria = new ArrayList<>(); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_field_dict - * - * @mbg.generated - */ - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_field_dict - * - * @mbg.generated - */ - public String getOrderByClause() { - return orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_field_dict - * - * @mbg.generated - */ - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_field_dict - * - * @mbg.generated - */ - public boolean isDistinct() { - return distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_field_dict - * - * @mbg.generated - */ - public List getOredCriteria() { - return oredCriteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_field_dict - * - * @mbg.generated - */ - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_field_dict - * - * @mbg.generated - */ - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_field_dict - * - * @mbg.generated - */ - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_field_dict - * - * @mbg.generated - */ - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_field_dict - * - * @mbg.generated - */ - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table form_field_dict - * - * @mbg.generated - */ - 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 andConfigTypeIsNull() { - addCriterion("config_type is null"); - return (Criteria) this; - } - - public Criteria andConfigTypeIsNotNull() { - addCriterion("config_type is not null"); - return (Criteria) this; - } - - public Criteria andConfigTypeEqualTo(String value) { - addCriterion("config_type =", value, "configType"); - return (Criteria) this; - } - - public Criteria andConfigTypeNotEqualTo(String value) { - addCriterion("config_type <>", value, "configType"); - return (Criteria) this; - } - - public Criteria andConfigTypeGreaterThan(String value) { - addCriterion("config_type >", value, "configType"); - return (Criteria) this; - } - - public Criteria andConfigTypeGreaterThanOrEqualTo(String value) { - addCriterion("config_type >=", value, "configType"); - return (Criteria) this; - } - - public Criteria andConfigTypeLessThan(String value) { - addCriterion("config_type <", value, "configType"); - return (Criteria) this; - } - - public Criteria andConfigTypeLessThanOrEqualTo(String value) { - addCriterion("config_type <=", value, "configType"); - return (Criteria) this; - } - - public Criteria andConfigTypeLike(String value) { - addCriterion("config_type like", value, "configType"); - return (Criteria) this; - } - - public Criteria andConfigTypeNotLike(String value) { - addCriterion("config_type not like", value, "configType"); - return (Criteria) this; - } - - public Criteria andConfigTypeIn(List values) { - addCriterion("config_type in", values, "configType"); - return (Criteria) this; - } - - public Criteria andConfigTypeNotIn(List values) { - addCriterion("config_type not in", values, "configType"); - return (Criteria) this; - } - - public Criteria andConfigTypeBetween(String value1, String value2) { - addCriterion("config_type between", value1, value2, "configType"); - return (Criteria) this; - } - - public Criteria andConfigTypeNotBetween(String value1, String value2) { - addCriterion("config_type not between", value1, value2, "configType"); - 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 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 andParentIdIsNull() { - addCriterion("parent_id is null"); - return (Criteria) this; - } - - public Criteria andParentIdIsNotNull() { - addCriterion("parent_id is not null"); - return (Criteria) this; - } - - public Criteria andParentIdEqualTo(Long value) { - addCriterion("parent_id =", value, "parentId"); - return (Criteria) this; - } - - public Criteria andParentIdNotEqualTo(Long value) { - addCriterion("parent_id <>", value, "parentId"); - return (Criteria) this; - } - - public Criteria andParentIdGreaterThan(Long value) { - addCriterion("parent_id >", value, "parentId"); - return (Criteria) this; - } - - public Criteria andParentIdGreaterThanOrEqualTo(Long value) { - addCriterion("parent_id >=", value, "parentId"); - return (Criteria) this; - } - - public Criteria andParentIdLessThan(Long value) { - addCriterion("parent_id <", value, "parentId"); - return (Criteria) this; - } - - public Criteria andParentIdLessThanOrEqualTo(Long value) { - addCriterion("parent_id <=", value, "parentId"); - return (Criteria) this; - } - - public Criteria andParentIdIn(List values) { - addCriterion("parent_id in", values, "parentId"); - return (Criteria) this; - } - - public Criteria andParentIdNotIn(List values) { - addCriterion("parent_id not in", values, "parentId"); - return (Criteria) this; - } - - public Criteria andParentIdBetween(Long value1, Long value2) { - addCriterion("parent_id between", value1, value2, "parentId"); - return (Criteria) this; - } - - public Criteria andParentIdNotBetween(Long value1, Long value2) { - addCriterion("parent_id not between", value1, value2, "parentId"); - return (Criteria) this; - } - - public Criteria andCheckIdsIsNull() { - addCriterion("check_ids is null"); - return (Criteria) this; - } - - public Criteria andCheckIdsIsNotNull() { - addCriterion("check_ids is not null"); - return (Criteria) this; - } - - public Criteria andCheckIdsEqualTo(String value) { - addCriterion("check_ids =", value, "checkIds"); - return (Criteria) this; - } - - public Criteria andCheckIdsNotEqualTo(String value) { - addCriterion("check_ids <>", value, "checkIds"); - return (Criteria) this; - } - - public Criteria andCheckIdsGreaterThan(String value) { - addCriterion("check_ids >", value, "checkIds"); - return (Criteria) this; - } - - public Criteria andCheckIdsGreaterThanOrEqualTo(String value) { - addCriterion("check_ids >=", value, "checkIds"); - return (Criteria) this; - } - - public Criteria andCheckIdsLessThan(String value) { - addCriterion("check_ids <", value, "checkIds"); - return (Criteria) this; - } - - public Criteria andCheckIdsLessThanOrEqualTo(String value) { - addCriterion("check_ids <=", value, "checkIds"); - return (Criteria) this; - } - - public Criteria andCheckIdsLike(String value) { - addCriterion("check_ids like", value, "checkIds"); - return (Criteria) this; - } - - public Criteria andCheckIdsNotLike(String value) { - addCriterion("check_ids not like", value, "checkIds"); - return (Criteria) this; - } - - public Criteria andCheckIdsIn(List values) { - addCriterion("check_ids in", values, "checkIds"); - return (Criteria) this; - } - - public Criteria andCheckIdsNotIn(List values) { - addCriterion("check_ids not in", values, "checkIds"); - return (Criteria) this; - } - - public Criteria andCheckIdsBetween(String value1, String value2) { - addCriterion("check_ids between", value1, value2, "checkIds"); - return (Criteria) this; - } - - public Criteria andCheckIdsNotBetween(String value1, String value2) { - addCriterion("check_ids not between", value1, value2, "checkIds"); - return (Criteria) this; - } - - public Criteria andSortOrderIsNull() { - addCriterion("sort_order is null"); - return (Criteria) this; - } - - public Criteria andSortOrderIsNotNull() { - addCriterion("sort_order is not null"); - return (Criteria) this; - } - - public Criteria andSortOrderEqualTo(Integer value) { - addCriterion("sort_order =", value, "sortOrder"); - return (Criteria) this; - } - - public Criteria andSortOrderNotEqualTo(Integer value) { - addCriterion("sort_order <>", value, "sortOrder"); - return (Criteria) this; - } - - public Criteria andSortOrderGreaterThan(Integer value) { - addCriterion("sort_order >", value, "sortOrder"); - return (Criteria) this; - } - - public Criteria andSortOrderGreaterThanOrEqualTo(Integer value) { - addCriterion("sort_order >=", value, "sortOrder"); - return (Criteria) this; - } - - public Criteria andSortOrderLessThan(Integer value) { - addCriterion("sort_order <", value, "sortOrder"); - return (Criteria) this; - } - - public Criteria andSortOrderLessThanOrEqualTo(Integer value) { - addCriterion("sort_order <=", value, "sortOrder"); - return (Criteria) this; - } - - public Criteria andSortOrderIn(List values) { - addCriterion("sort_order in", values, "sortOrder"); - return (Criteria) this; - } - - public Criteria andSortOrderNotIn(List values) { - addCriterion("sort_order not in", values, "sortOrder"); - return (Criteria) this; - } - - public Criteria andSortOrderBetween(Integer value1, Integer value2) { - addCriterion("sort_order between", value1, value2, "sortOrder"); - return (Criteria) this; - } - - public Criteria andSortOrderNotBetween(Integer value1, Integer value2) { - addCriterion("sort_order not between", value1, value2, "sortOrder"); - 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(Integer value) { - addCriterion("`status` =", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusNotEqualTo(Integer value) { - addCriterion("`status` <>", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusGreaterThan(Integer value) { - addCriterion("`status` >", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("`status` >=", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusLessThan(Integer value) { - addCriterion("`status` <", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusLessThanOrEqualTo(Integer 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(Integer value1, Integer value2) { - addCriterion("`status` between", value1, value2, "status"); - return (Criteria) this; - } - - public Criteria andStatusNotBetween(Integer value1, Integer value2) { - addCriterion("`status` not between", value1, value2, "status"); - return (Criteria) this; - } - - public Criteria andCreatedByIsNull() { - addCriterion("created_by is null"); - return (Criteria) this; - } - - public Criteria andCreatedByIsNotNull() { - addCriterion("created_by is not null"); - return (Criteria) this; - } - - public Criteria andCreatedByEqualTo(Long value) { - addCriterion("created_by =", value, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByNotEqualTo(Long value) { - addCriterion("created_by <>", value, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByGreaterThan(Long value) { - addCriterion("created_by >", value, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByGreaterThanOrEqualTo(Long value) { - addCriterion("created_by >=", value, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByLessThan(Long value) { - addCriterion("created_by <", value, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByLessThanOrEqualTo(Long value) { - addCriterion("created_by <=", value, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByIn(List values) { - addCriterion("created_by in", values, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByNotIn(List values) { - addCriterion("created_by not in", values, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByBetween(Long value1, Long value2) { - addCriterion("created_by between", value1, value2, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByNotBetween(Long value1, Long value2) { - addCriterion("created_by not between", value1, value2, "createdBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByIsNull() { - addCriterion("updated_by is null"); - return (Criteria) this; - } - - public Criteria andUpdatedByIsNotNull() { - addCriterion("updated_by is not null"); - return (Criteria) this; - } - - public Criteria andUpdatedByEqualTo(Long value) { - addCriterion("updated_by =", value, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByNotEqualTo(Long value) { - addCriterion("updated_by <>", value, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByGreaterThan(Long value) { - addCriterion("updated_by >", value, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByGreaterThanOrEqualTo(Long value) { - addCriterion("updated_by >=", value, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByLessThan(Long value) { - addCriterion("updated_by <", value, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByLessThanOrEqualTo(Long value) { - addCriterion("updated_by <=", value, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByIn(List values) { - addCriterion("updated_by in", values, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByNotIn(List values) { - addCriterion("updated_by not in", values, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByBetween(Long value1, Long value2) { - addCriterion("updated_by between", value1, value2, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByNotBetween(Long value1, Long value2) { - addCriterion("updated_by not between", value1, value2, "updatedBy"); - 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 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 andDeletedIsNull() { - addCriterion("deleted is null"); - return (Criteria) this; - } - - public Criteria andDeletedIsNotNull() { - addCriterion("deleted is not null"); - return (Criteria) this; - } - - public Criteria andDeletedEqualTo(Integer value) { - addCriterion("deleted =", value, "deleted"); - return (Criteria) this; - } - - public Criteria andDeletedNotEqualTo(Integer value) { - addCriterion("deleted <>", value, "deleted"); - return (Criteria) this; - } - - public Criteria andDeletedGreaterThan(Integer value) { - addCriterion("deleted >", value, "deleted"); - return (Criteria) this; - } - - public Criteria andDeletedGreaterThanOrEqualTo(Integer value) { - addCriterion("deleted >=", value, "deleted"); - return (Criteria) this; - } - - public Criteria andDeletedLessThan(Integer value) { - addCriterion("deleted <", value, "deleted"); - return (Criteria) this; - } - - public Criteria andDeletedLessThanOrEqualTo(Integer value) { - addCriterion("deleted <=", value, "deleted"); - return (Criteria) this; - } - - public Criteria andDeletedIn(List values) { - addCriterion("deleted in", values, "deleted"); - return (Criteria) this; - } - - public Criteria andDeletedNotIn(List values) { - addCriterion("deleted not in", values, "deleted"); - return (Criteria) this; - } - - public Criteria andDeletedBetween(Integer value1, Integer value2) { - addCriterion("deleted between", value1, value2, "deleted"); - return (Criteria) this; - } - - public Criteria andDeletedNotBetween(Integer value1, Integer value2) { - addCriterion("deleted not between", value1, value2, "deleted"); - return (Criteria) this; - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table form_field_dict - * - * @mbg.generated do_not_delete_during_merge - */ - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table form_field_dict - * - * @mbg.generated - */ - 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/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormPrintConfig.java b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormPrintConfig.java index 874bd234f..442ab3f59 100644 --- a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormPrintConfig.java +++ b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormPrintConfig.java @@ -2,24 +2,13 @@ package com.pcloud.booksflow.form.mybatis.entity; import java.io.Serializable; import java.util.Date; -import lombok.AllArgsConstructor; -import lombok.Builder; -import lombok.Getter; -import lombok.NoArgsConstructor; -import lombok.Setter; -import lombok.ToString; -/** - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table form_print_config - */ -@Getter -@Setter -@Builder -@ToString -@NoArgsConstructor -@AllArgsConstructor +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.*; + + +@Data +@TableName("form_print_config_tpl") public class FormPrintConfig implements Serializable { /** * Database Column Remarks: @@ -292,4 +281,4 @@ public class FormPrintConfig implements Serializable { * @mbg.generated */ private static final long serialVersionUID = 1L; -} \ No newline at end of file +} diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormPrintConfigExample.java b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormPrintConfigExample.java deleted file mode 100644 index d061a44a6..000000000 --- a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormPrintConfigExample.java +++ /dev/null @@ -1,1872 +0,0 @@ -package com.pcloud.booksflow.form.mybatis.entity; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class FormPrintConfigExample { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table form_print_config - * - * @mbg.generated - */ - protected String orderByClause; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table form_print_config - * - * @mbg.generated - */ - protected boolean distinct; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table form_print_config - * - * @mbg.generated - */ - protected List oredCriteria; - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config - * - * @mbg.generated - */ - public FormPrintConfigExample() { - oredCriteria = new ArrayList<>(); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config - * - * @mbg.generated - */ - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config - * - * @mbg.generated - */ - public String getOrderByClause() { - return orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config - * - * @mbg.generated - */ - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config - * - * @mbg.generated - */ - public boolean isDistinct() { - return distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config - * - * @mbg.generated - */ - public List getOredCriteria() { - return oredCriteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config - * - * @mbg.generated - */ - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config - * - * @mbg.generated - */ - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config - * - * @mbg.generated - */ - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config - * - * @mbg.generated - */ - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config - * - * @mbg.generated - */ - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table form_print_config - * - * @mbg.generated - */ - 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 andFormIdIsNull() { - addCriterion("form_id is null"); - return (Criteria) this; - } - - public Criteria andFormIdIsNotNull() { - addCriterion("form_id is not null"); - return (Criteria) this; - } - - public Criteria andFormIdEqualTo(Long value) { - addCriterion("form_id =", value, "formId"); - return (Criteria) this; - } - - public Criteria andFormIdNotEqualTo(Long value) { - addCriterion("form_id <>", value, "formId"); - return (Criteria) this; - } - - public Criteria andFormIdGreaterThan(Long value) { - addCriterion("form_id >", value, "formId"); - return (Criteria) this; - } - - public Criteria andFormIdGreaterThanOrEqualTo(Long value) { - addCriterion("form_id >=", value, "formId"); - return (Criteria) this; - } - - public Criteria andFormIdLessThan(Long value) { - addCriterion("form_id <", value, "formId"); - return (Criteria) this; - } - - public Criteria andFormIdLessThanOrEqualTo(Long value) { - addCriterion("form_id <=", value, "formId"); - return (Criteria) this; - } - - public Criteria andFormIdIn(List values) { - addCriterion("form_id in", values, "formId"); - return (Criteria) this; - } - - public Criteria andFormIdNotIn(List values) { - addCriterion("form_id not in", values, "formId"); - return (Criteria) this; - } - - public Criteria andFormIdBetween(Long value1, Long value2) { - addCriterion("form_id between", value1, value2, "formId"); - return (Criteria) this; - } - - public Criteria andFormIdNotBetween(Long value1, Long value2) { - addCriterion("form_id not between", value1, value2, "formId"); - return (Criteria) this; - } - - public Criteria andMainTitleIsNull() { - addCriterion("main_title is null"); - return (Criteria) this; - } - - public Criteria andMainTitleIsNotNull() { - addCriterion("main_title is not null"); - return (Criteria) this; - } - - public Criteria andMainTitleEqualTo(String value) { - addCriterion("main_title =", value, "mainTitle"); - return (Criteria) this; - } - - public Criteria andMainTitleNotEqualTo(String value) { - addCriterion("main_title <>", value, "mainTitle"); - return (Criteria) this; - } - - public Criteria andMainTitleGreaterThan(String value) { - addCriterion("main_title >", value, "mainTitle"); - return (Criteria) this; - } - - public Criteria andMainTitleGreaterThanOrEqualTo(String value) { - addCriterion("main_title >=", value, "mainTitle"); - return (Criteria) this; - } - - public Criteria andMainTitleLessThan(String value) { - addCriterion("main_title <", value, "mainTitle"); - return (Criteria) this; - } - - public Criteria andMainTitleLessThanOrEqualTo(String value) { - addCriterion("main_title <=", value, "mainTitle"); - return (Criteria) this; - } - - public Criteria andMainTitleLike(String value) { - addCriterion("main_title like", value, "mainTitle"); - return (Criteria) this; - } - - public Criteria andMainTitleNotLike(String value) { - addCriterion("main_title not like", value, "mainTitle"); - return (Criteria) this; - } - - public Criteria andMainTitleIn(List values) { - addCriterion("main_title in", values, "mainTitle"); - return (Criteria) this; - } - - public Criteria andMainTitleNotIn(List values) { - addCriterion("main_title not in", values, "mainTitle"); - return (Criteria) this; - } - - public Criteria andMainTitleBetween(String value1, String value2) { - addCriterion("main_title between", value1, value2, "mainTitle"); - return (Criteria) this; - } - - public Criteria andMainTitleNotBetween(String value1, String value2) { - addCriterion("main_title not between", value1, value2, "mainTitle"); - return (Criteria) this; - } - - public Criteria andSubTitleIsNull() { - addCriterion("sub_title is null"); - return (Criteria) this; - } - - public Criteria andSubTitleIsNotNull() { - addCriterion("sub_title is not null"); - return (Criteria) this; - } - - public Criteria andSubTitleEqualTo(String value) { - addCriterion("sub_title =", value, "subTitle"); - return (Criteria) this; - } - - public Criteria andSubTitleNotEqualTo(String value) { - addCriterion("sub_title <>", value, "subTitle"); - return (Criteria) this; - } - - public Criteria andSubTitleGreaterThan(String value) { - addCriterion("sub_title >", value, "subTitle"); - return (Criteria) this; - } - - public Criteria andSubTitleGreaterThanOrEqualTo(String value) { - addCriterion("sub_title >=", value, "subTitle"); - return (Criteria) this; - } - - public Criteria andSubTitleLessThan(String value) { - addCriterion("sub_title <", value, "subTitle"); - return (Criteria) this; - } - - public Criteria andSubTitleLessThanOrEqualTo(String value) { - addCriterion("sub_title <=", value, "subTitle"); - return (Criteria) this; - } - - public Criteria andSubTitleLike(String value) { - addCriterion("sub_title like", value, "subTitle"); - return (Criteria) this; - } - - public Criteria andSubTitleNotLike(String value) { - addCriterion("sub_title not like", value, "subTitle"); - return (Criteria) this; - } - - public Criteria andSubTitleIn(List values) { - addCriterion("sub_title in", values, "subTitle"); - return (Criteria) this; - } - - public Criteria andSubTitleNotIn(List values) { - addCriterion("sub_title not in", values, "subTitle"); - return (Criteria) this; - } - - public Criteria andSubTitleBetween(String value1, String value2) { - addCriterion("sub_title between", value1, value2, "subTitle"); - return (Criteria) this; - } - - public Criteria andSubTitleNotBetween(String value1, String value2) { - addCriterion("sub_title not between", value1, value2, "subTitle"); - return (Criteria) this; - } - - public Criteria andDisplayFormatIsNull() { - addCriterion("display_format is null"); - return (Criteria) this; - } - - public Criteria andDisplayFormatIsNotNull() { - addCriterion("display_format is not null"); - return (Criteria) this; - } - - public Criteria andDisplayFormatEqualTo(String value) { - addCriterion("display_format =", value, "displayFormat"); - return (Criteria) this; - } - - public Criteria andDisplayFormatNotEqualTo(String value) { - addCriterion("display_format <>", value, "displayFormat"); - return (Criteria) this; - } - - public Criteria andDisplayFormatGreaterThan(String value) { - addCriterion("display_format >", value, "displayFormat"); - return (Criteria) this; - } - - public Criteria andDisplayFormatGreaterThanOrEqualTo(String value) { - addCriterion("display_format >=", value, "displayFormat"); - return (Criteria) this; - } - - public Criteria andDisplayFormatLessThan(String value) { - addCriterion("display_format <", value, "displayFormat"); - return (Criteria) this; - } - - public Criteria andDisplayFormatLessThanOrEqualTo(String value) { - addCriterion("display_format <=", value, "displayFormat"); - return (Criteria) this; - } - - public Criteria andDisplayFormatLike(String value) { - addCriterion("display_format like", value, "displayFormat"); - return (Criteria) this; - } - - public Criteria andDisplayFormatNotLike(String value) { - addCriterion("display_format not like", value, "displayFormat"); - return (Criteria) this; - } - - public Criteria andDisplayFormatIn(List values) { - addCriterion("display_format in", values, "displayFormat"); - return (Criteria) this; - } - - public Criteria andDisplayFormatNotIn(List values) { - addCriterion("display_format not in", values, "displayFormat"); - return (Criteria) this; - } - - public Criteria andDisplayFormatBetween(String value1, String value2) { - addCriterion("display_format between", value1, value2, "displayFormat"); - return (Criteria) this; - } - - public Criteria andDisplayFormatNotBetween(String value1, String value2) { - addCriterion("display_format not between", value1, value2, "displayFormat"); - return (Criteria) this; - } - - public Criteria andDocumentNoPrefixIsNull() { - addCriterion("document_no_prefix is null"); - return (Criteria) this; - } - - public Criteria andDocumentNoPrefixIsNotNull() { - addCriterion("document_no_prefix is not null"); - return (Criteria) this; - } - - public Criteria andDocumentNoPrefixEqualTo(String value) { - addCriterion("document_no_prefix =", value, "documentNoPrefix"); - return (Criteria) this; - } - - public Criteria andDocumentNoPrefixNotEqualTo(String value) { - addCriterion("document_no_prefix <>", value, "documentNoPrefix"); - return (Criteria) this; - } - - public Criteria andDocumentNoPrefixGreaterThan(String value) { - addCriterion("document_no_prefix >", value, "documentNoPrefix"); - return (Criteria) this; - } - - public Criteria andDocumentNoPrefixGreaterThanOrEqualTo(String value) { - addCriterion("document_no_prefix >=", value, "documentNoPrefix"); - return (Criteria) this; - } - - public Criteria andDocumentNoPrefixLessThan(String value) { - addCriterion("document_no_prefix <", value, "documentNoPrefix"); - return (Criteria) this; - } - - public Criteria andDocumentNoPrefixLessThanOrEqualTo(String value) { - addCriterion("document_no_prefix <=", value, "documentNoPrefix"); - return (Criteria) this; - } - - public Criteria andDocumentNoPrefixLike(String value) { - addCriterion("document_no_prefix like", value, "documentNoPrefix"); - return (Criteria) this; - } - - public Criteria andDocumentNoPrefixNotLike(String value) { - addCriterion("document_no_prefix not like", value, "documentNoPrefix"); - return (Criteria) this; - } - - public Criteria andDocumentNoPrefixIn(List values) { - addCriterion("document_no_prefix in", values, "documentNoPrefix"); - return (Criteria) this; - } - - public Criteria andDocumentNoPrefixNotIn(List values) { - addCriterion("document_no_prefix not in", values, "documentNoPrefix"); - return (Criteria) this; - } - - public Criteria andDocumentNoPrefixBetween(String value1, String value2) { - addCriterion("document_no_prefix between", value1, value2, "documentNoPrefix"); - return (Criteria) this; - } - - public Criteria andDocumentNoPrefixNotBetween(String value1, String value2) { - addCriterion("document_no_prefix not between", value1, value2, "documentNoPrefix"); - return (Criteria) this; - } - - public Criteria andShowDocumentNoIsNull() { - addCriterion("show_document_no is null"); - return (Criteria) this; - } - - public Criteria andShowDocumentNoIsNotNull() { - addCriterion("show_document_no is not null"); - return (Criteria) this; - } - - public Criteria andShowDocumentNoEqualTo(Boolean value) { - addCriterion("show_document_no =", value, "showDocumentNo"); - return (Criteria) this; - } - - public Criteria andShowDocumentNoNotEqualTo(Boolean value) { - addCriterion("show_document_no <>", value, "showDocumentNo"); - return (Criteria) this; - } - - public Criteria andShowDocumentNoGreaterThan(Boolean value) { - addCriterion("show_document_no >", value, "showDocumentNo"); - return (Criteria) this; - } - - public Criteria andShowDocumentNoGreaterThanOrEqualTo(Boolean value) { - addCriterion("show_document_no >=", value, "showDocumentNo"); - return (Criteria) this; - } - - public Criteria andShowDocumentNoLessThan(Boolean value) { - addCriterion("show_document_no <", value, "showDocumentNo"); - return (Criteria) this; - } - - public Criteria andShowDocumentNoLessThanOrEqualTo(Boolean value) { - addCriterion("show_document_no <=", value, "showDocumentNo"); - return (Criteria) this; - } - - public Criteria andShowDocumentNoIn(List values) { - addCriterion("show_document_no in", values, "showDocumentNo"); - return (Criteria) this; - } - - public Criteria andShowDocumentNoNotIn(List values) { - addCriterion("show_document_no not in", values, "showDocumentNo"); - return (Criteria) this; - } - - public Criteria andShowDocumentNoBetween(Boolean value1, Boolean value2) { - addCriterion("show_document_no between", value1, value2, "showDocumentNo"); - return (Criteria) this; - } - - public Criteria andShowDocumentNoNotBetween(Boolean value1, Boolean value2) { - addCriterion("show_document_no not between", value1, value2, "showDocumentNo"); - return (Criteria) this; - } - - public Criteria andPrintDateFormatIsNull() { - addCriterion("print_date_format is null"); - return (Criteria) this; - } - - public Criteria andPrintDateFormatIsNotNull() { - addCriterion("print_date_format is not null"); - return (Criteria) this; - } - - public Criteria andPrintDateFormatEqualTo(String value) { - addCriterion("print_date_format =", value, "printDateFormat"); - return (Criteria) this; - } - - public Criteria andPrintDateFormatNotEqualTo(String value) { - addCriterion("print_date_format <>", value, "printDateFormat"); - return (Criteria) this; - } - - public Criteria andPrintDateFormatGreaterThan(String value) { - addCriterion("print_date_format >", value, "printDateFormat"); - return (Criteria) this; - } - - public Criteria andPrintDateFormatGreaterThanOrEqualTo(String value) { - addCriterion("print_date_format >=", value, "printDateFormat"); - return (Criteria) this; - } - - public Criteria andPrintDateFormatLessThan(String value) { - addCriterion("print_date_format <", value, "printDateFormat"); - return (Criteria) this; - } - - public Criteria andPrintDateFormatLessThanOrEqualTo(String value) { - addCriterion("print_date_format <=", value, "printDateFormat"); - return (Criteria) this; - } - - public Criteria andPrintDateFormatLike(String value) { - addCriterion("print_date_format like", value, "printDateFormat"); - return (Criteria) this; - } - - public Criteria andPrintDateFormatNotLike(String value) { - addCriterion("print_date_format not like", value, "printDateFormat"); - return (Criteria) this; - } - - public Criteria andPrintDateFormatIn(List values) { - addCriterion("print_date_format in", values, "printDateFormat"); - return (Criteria) this; - } - - public Criteria andPrintDateFormatNotIn(List values) { - addCriterion("print_date_format not in", values, "printDateFormat"); - return (Criteria) this; - } - - public Criteria andPrintDateFormatBetween(String value1, String value2) { - addCriterion("print_date_format between", value1, value2, "printDateFormat"); - return (Criteria) this; - } - - public Criteria andPrintDateFormatNotBetween(String value1, String value2) { - addCriterion("print_date_format not between", value1, value2, "printDateFormat"); - return (Criteria) this; - } - - public Criteria andShowPrintDateIsNull() { - addCriterion("show_print_date is null"); - return (Criteria) this; - } - - public Criteria andShowPrintDateIsNotNull() { - addCriterion("show_print_date is not null"); - return (Criteria) this; - } - - public Criteria andShowPrintDateEqualTo(Boolean value) { - addCriterion("show_print_date =", value, "showPrintDate"); - return (Criteria) this; - } - - public Criteria andShowPrintDateNotEqualTo(Boolean value) { - addCriterion("show_print_date <>", value, "showPrintDate"); - return (Criteria) this; - } - - public Criteria andShowPrintDateGreaterThan(Boolean value) { - addCriterion("show_print_date >", value, "showPrintDate"); - return (Criteria) this; - } - - public Criteria andShowPrintDateGreaterThanOrEqualTo(Boolean value) { - addCriterion("show_print_date >=", value, "showPrintDate"); - return (Criteria) this; - } - - public Criteria andShowPrintDateLessThan(Boolean value) { - addCriterion("show_print_date <", value, "showPrintDate"); - return (Criteria) this; - } - - public Criteria andShowPrintDateLessThanOrEqualTo(Boolean value) { - addCriterion("show_print_date <=", value, "showPrintDate"); - return (Criteria) this; - } - - public Criteria andShowPrintDateIn(List values) { - addCriterion("show_print_date in", values, "showPrintDate"); - return (Criteria) this; - } - - public Criteria andShowPrintDateNotIn(List values) { - addCriterion("show_print_date not in", values, "showPrintDate"); - return (Criteria) this; - } - - public Criteria andShowPrintDateBetween(Boolean value1, Boolean value2) { - addCriterion("show_print_date between", value1, value2, "showPrintDate"); - return (Criteria) this; - } - - public Criteria andShowPrintDateNotBetween(Boolean value1, Boolean value2) { - addCriterion("show_print_date not between", value1, value2, "showPrintDate"); - return (Criteria) this; - } - - public Criteria andShowPageNumberIsNull() { - addCriterion("show_page_number is null"); - return (Criteria) this; - } - - public Criteria andShowPageNumberIsNotNull() { - addCriterion("show_page_number is not null"); - return (Criteria) this; - } - - public Criteria andShowPageNumberEqualTo(Boolean value) { - addCriterion("show_page_number =", value, "showPageNumber"); - return (Criteria) this; - } - - public Criteria andShowPageNumberNotEqualTo(Boolean value) { - addCriterion("show_page_number <>", value, "showPageNumber"); - return (Criteria) this; - } - - public Criteria andShowPageNumberGreaterThan(Boolean value) { - addCriterion("show_page_number >", value, "showPageNumber"); - return (Criteria) this; - } - - public Criteria andShowPageNumberGreaterThanOrEqualTo(Boolean value) { - addCriterion("show_page_number >=", value, "showPageNumber"); - return (Criteria) this; - } - - public Criteria andShowPageNumberLessThan(Boolean value) { - addCriterion("show_page_number <", value, "showPageNumber"); - return (Criteria) this; - } - - public Criteria andShowPageNumberLessThanOrEqualTo(Boolean value) { - addCriterion("show_page_number <=", value, "showPageNumber"); - return (Criteria) this; - } - - public Criteria andShowPageNumberIn(List values) { - addCriterion("show_page_number in", values, "showPageNumber"); - return (Criteria) this; - } - - public Criteria andShowPageNumberNotIn(List values) { - addCriterion("show_page_number not in", values, "showPageNumber"); - return (Criteria) this; - } - - public Criteria andShowPageNumberBetween(Boolean value1, Boolean value2) { - addCriterion("show_page_number between", value1, value2, "showPageNumber"); - return (Criteria) this; - } - - public Criteria andShowPageNumberNotBetween(Boolean value1, Boolean value2) { - addCriterion("show_page_number not between", value1, value2, "showPageNumber"); - return (Criteria) this; - } - - public Criteria andColumnWidthModeIsNull() { - addCriterion("column_width_mode is null"); - return (Criteria) this; - } - - public Criteria andColumnWidthModeIsNotNull() { - addCriterion("column_width_mode is not null"); - return (Criteria) this; - } - - public Criteria andColumnWidthModeEqualTo(String value) { - addCriterion("column_width_mode =", value, "columnWidthMode"); - return (Criteria) this; - } - - public Criteria andColumnWidthModeNotEqualTo(String value) { - addCriterion("column_width_mode <>", value, "columnWidthMode"); - return (Criteria) this; - } - - public Criteria andColumnWidthModeGreaterThan(String value) { - addCriterion("column_width_mode >", value, "columnWidthMode"); - return (Criteria) this; - } - - public Criteria andColumnWidthModeGreaterThanOrEqualTo(String value) { - addCriterion("column_width_mode >=", value, "columnWidthMode"); - return (Criteria) this; - } - - public Criteria andColumnWidthModeLessThan(String value) { - addCriterion("column_width_mode <", value, "columnWidthMode"); - return (Criteria) this; - } - - public Criteria andColumnWidthModeLessThanOrEqualTo(String value) { - addCriterion("column_width_mode <=", value, "columnWidthMode"); - return (Criteria) this; - } - - public Criteria andColumnWidthModeLike(String value) { - addCriterion("column_width_mode like", value, "columnWidthMode"); - return (Criteria) this; - } - - public Criteria andColumnWidthModeNotLike(String value) { - addCriterion("column_width_mode not like", value, "columnWidthMode"); - return (Criteria) this; - } - - public Criteria andColumnWidthModeIn(List values) { - addCriterion("column_width_mode in", values, "columnWidthMode"); - return (Criteria) this; - } - - public Criteria andColumnWidthModeNotIn(List values) { - addCriterion("column_width_mode not in", values, "columnWidthMode"); - return (Criteria) this; - } - - public Criteria andColumnWidthModeBetween(String value1, String value2) { - addCriterion("column_width_mode between", value1, value2, "columnWidthMode"); - return (Criteria) this; - } - - public Criteria andColumnWidthModeNotBetween(String value1, String value2) { - addCriterion("column_width_mode not between", value1, value2, "columnWidthMode"); - return (Criteria) this; - } - - public Criteria andTableStyleIsNull() { - addCriterion("table_style is null"); - return (Criteria) this; - } - - public Criteria andTableStyleIsNotNull() { - addCriterion("table_style is not null"); - return (Criteria) this; - } - - public Criteria andTableStyleEqualTo(String value) { - addCriterion("table_style =", value, "tableStyle"); - return (Criteria) this; - } - - public Criteria andTableStyleNotEqualTo(String value) { - addCriterion("table_style <>", value, "tableStyle"); - return (Criteria) this; - } - - public Criteria andTableStyleGreaterThan(String value) { - addCriterion("table_style >", value, "tableStyle"); - return (Criteria) this; - } - - public Criteria andTableStyleGreaterThanOrEqualTo(String value) { - addCriterion("table_style >=", value, "tableStyle"); - return (Criteria) this; - } - - public Criteria andTableStyleLessThan(String value) { - addCriterion("table_style <", value, "tableStyle"); - return (Criteria) this; - } - - public Criteria andTableStyleLessThanOrEqualTo(String value) { - addCriterion("table_style <=", value, "tableStyle"); - return (Criteria) this; - } - - public Criteria andTableStyleLike(String value) { - addCriterion("table_style like", value, "tableStyle"); - return (Criteria) this; - } - - public Criteria andTableStyleNotLike(String value) { - addCriterion("table_style not like", value, "tableStyle"); - return (Criteria) this; - } - - public Criteria andTableStyleIn(List values) { - addCriterion("table_style in", values, "tableStyle"); - return (Criteria) this; - } - - public Criteria andTableStyleNotIn(List values) { - addCriterion("table_style not in", values, "tableStyle"); - return (Criteria) this; - } - - public Criteria andTableStyleBetween(String value1, String value2) { - addCriterion("table_style between", value1, value2, "tableStyle"); - return (Criteria) this; - } - - public Criteria andTableStyleNotBetween(String value1, String value2) { - addCriterion("table_style not between", value1, value2, "tableStyle"); - return (Criteria) this; - } - - public Criteria andRowHeightIsNull() { - addCriterion("row_height is null"); - return (Criteria) this; - } - - public Criteria andRowHeightIsNotNull() { - addCriterion("row_height is not null"); - return (Criteria) this; - } - - public Criteria andRowHeightEqualTo(String value) { - addCriterion("row_height =", value, "rowHeight"); - return (Criteria) this; - } - - public Criteria andRowHeightNotEqualTo(String value) { - addCriterion("row_height <>", value, "rowHeight"); - return (Criteria) this; - } - - public Criteria andRowHeightGreaterThan(String value) { - addCriterion("row_height >", value, "rowHeight"); - return (Criteria) this; - } - - public Criteria andRowHeightGreaterThanOrEqualTo(String value) { - addCriterion("row_height >=", value, "rowHeight"); - return (Criteria) this; - } - - public Criteria andRowHeightLessThan(String value) { - addCriterion("row_height <", value, "rowHeight"); - return (Criteria) this; - } - - public Criteria andRowHeightLessThanOrEqualTo(String value) { - addCriterion("row_height <=", value, "rowHeight"); - return (Criteria) this; - } - - public Criteria andRowHeightLike(String value) { - addCriterion("row_height like", value, "rowHeight"); - return (Criteria) this; - } - - public Criteria andRowHeightNotLike(String value) { - addCriterion("row_height not like", value, "rowHeight"); - return (Criteria) this; - } - - public Criteria andRowHeightIn(List values) { - addCriterion("row_height in", values, "rowHeight"); - return (Criteria) this; - } - - public Criteria andRowHeightNotIn(List values) { - addCriterion("row_height not in", values, "rowHeight"); - return (Criteria) this; - } - - public Criteria andRowHeightBetween(String value1, String value2) { - addCriterion("row_height between", value1, value2, "rowHeight"); - return (Criteria) this; - } - - public Criteria andRowHeightNotBetween(String value1, String value2) { - addCriterion("row_height not between", value1, value2, "rowHeight"); - return (Criteria) this; - } - - public Criteria andFileSizeIsNull() { - addCriterion("file_size is null"); - return (Criteria) this; - } - - public Criteria andFileSizeIsNotNull() { - addCriterion("file_size is not null"); - return (Criteria) this; - } - - public Criteria andFileSizeEqualTo(Integer value) { - addCriterion("file_size =", value, "fileSize"); - return (Criteria) this; - } - - public Criteria andFileSizeNotEqualTo(Integer value) { - addCriterion("file_size <>", value, "fileSize"); - return (Criteria) this; - } - - public Criteria andFileSizeGreaterThan(Integer value) { - addCriterion("file_size >", value, "fileSize"); - return (Criteria) this; - } - - public Criteria andFileSizeGreaterThanOrEqualTo(Integer value) { - addCriterion("file_size >=", value, "fileSize"); - return (Criteria) this; - } - - public Criteria andFileSizeLessThan(Integer value) { - addCriterion("file_size <", value, "fileSize"); - return (Criteria) this; - } - - public Criteria andFileSizeLessThanOrEqualTo(Integer value) { - addCriterion("file_size <=", value, "fileSize"); - return (Criteria) this; - } - - public Criteria andFileSizeIn(List values) { - addCriterion("file_size in", values, "fileSize"); - return (Criteria) this; - } - - public Criteria andFileSizeNotIn(List values) { - addCriterion("file_size not in", values, "fileSize"); - return (Criteria) this; - } - - public Criteria andFileSizeBetween(Integer value1, Integer value2) { - addCriterion("file_size between", value1, value2, "fileSize"); - return (Criteria) this; - } - - public Criteria andFileSizeNotBetween(Integer value1, Integer value2) { - addCriterion("file_size not between", value1, value2, "fileSize"); - return (Criteria) this; - } - - public Criteria andFileNameIsNull() { - addCriterion("file_name is null"); - return (Criteria) this; - } - - public Criteria andFileNameIsNotNull() { - addCriterion("file_name is not null"); - return (Criteria) this; - } - - public Criteria andFileNameEqualTo(String value) { - addCriterion("file_name =", value, "fileName"); - return (Criteria) this; - } - - public Criteria andFileNameNotEqualTo(String value) { - addCriterion("file_name <>", value, "fileName"); - return (Criteria) this; - } - - public Criteria andFileNameGreaterThan(String value) { - addCriterion("file_name >", value, "fileName"); - return (Criteria) this; - } - - public Criteria andFileNameGreaterThanOrEqualTo(String value) { - addCriterion("file_name >=", value, "fileName"); - return (Criteria) this; - } - - public Criteria andFileNameLessThan(String value) { - addCriterion("file_name <", value, "fileName"); - return (Criteria) this; - } - - public Criteria andFileNameLessThanOrEqualTo(String value) { - addCriterion("file_name <=", value, "fileName"); - return (Criteria) this; - } - - public Criteria andFileNameLike(String value) { - addCriterion("file_name like", value, "fileName"); - return (Criteria) this; - } - - public Criteria andFileNameNotLike(String value) { - addCriterion("file_name not like", value, "fileName"); - return (Criteria) this; - } - - public Criteria andFileNameIn(List values) { - addCriterion("file_name in", values, "fileName"); - return (Criteria) this; - } - - public Criteria andFileNameNotIn(List values) { - addCriterion("file_name not in", values, "fileName"); - return (Criteria) this; - } - - public Criteria andFileNameBetween(String value1, String value2) { - addCriterion("file_name between", value1, value2, "fileName"); - return (Criteria) this; - } - - public Criteria andFileNameNotBetween(String value1, String value2) { - addCriterion("file_name not between", value1, value2, "fileName"); - return (Criteria) this; - } - - public Criteria andFileTypeIsNull() { - addCriterion("file_type is null"); - return (Criteria) this; - } - - public Criteria andFileTypeIsNotNull() { - addCriterion("file_type is not null"); - return (Criteria) this; - } - - public Criteria andFileTypeEqualTo(String value) { - addCriterion("file_type =", value, "fileType"); - return (Criteria) this; - } - - public Criteria andFileTypeNotEqualTo(String value) { - addCriterion("file_type <>", value, "fileType"); - return (Criteria) this; - } - - public Criteria andFileTypeGreaterThan(String value) { - addCriterion("file_type >", value, "fileType"); - return (Criteria) this; - } - - public Criteria andFileTypeGreaterThanOrEqualTo(String value) { - addCriterion("file_type >=", value, "fileType"); - return (Criteria) this; - } - - public Criteria andFileTypeLessThan(String value) { - addCriterion("file_type <", value, "fileType"); - return (Criteria) this; - } - - public Criteria andFileTypeLessThanOrEqualTo(String value) { - addCriterion("file_type <=", value, "fileType"); - return (Criteria) this; - } - - public Criteria andFileTypeLike(String value) { - addCriterion("file_type like", value, "fileType"); - return (Criteria) this; - } - - public Criteria andFileTypeNotLike(String value) { - addCriterion("file_type not like", value, "fileType"); - return (Criteria) this; - } - - public Criteria andFileTypeIn(List values) { - addCriterion("file_type in", values, "fileType"); - return (Criteria) this; - } - - public Criteria andFileTypeNotIn(List values) { - addCriterion("file_type not in", values, "fileType"); - return (Criteria) this; - } - - public Criteria andFileTypeBetween(String value1, String value2) { - addCriterion("file_type between", value1, value2, "fileType"); - return (Criteria) this; - } - - public Criteria andFileTypeNotBetween(String value1, String value2) { - addCriterion("file_type not between", value1, value2, "fileType"); - return (Criteria) this; - } - - public Criteria andFileWpsIdIsNull() { - addCriterion("file_wps_id is null"); - return (Criteria) this; - } - - public Criteria andFileWpsIdIsNotNull() { - addCriterion("file_wps_id is not null"); - return (Criteria) this; - } - - public Criteria andFileWpsIdEqualTo(String value) { - addCriterion("file_wps_id =", value, "fileWpsId"); - return (Criteria) this; - } - - public Criteria andFileWpsIdNotEqualTo(String value) { - addCriterion("file_wps_id <>", value, "fileWpsId"); - return (Criteria) this; - } - - public Criteria andFileWpsIdGreaterThan(String value) { - addCriterion("file_wps_id >", value, "fileWpsId"); - return (Criteria) this; - } - - public Criteria andFileWpsIdGreaterThanOrEqualTo(String value) { - addCriterion("file_wps_id >=", value, "fileWpsId"); - return (Criteria) this; - } - - public Criteria andFileWpsIdLessThan(String value) { - addCriterion("file_wps_id <", value, "fileWpsId"); - return (Criteria) this; - } - - public Criteria andFileWpsIdLessThanOrEqualTo(String value) { - addCriterion("file_wps_id <=", value, "fileWpsId"); - return (Criteria) this; - } - - public Criteria andFileWpsIdLike(String value) { - addCriterion("file_wps_id like", value, "fileWpsId"); - return (Criteria) this; - } - - public Criteria andFileWpsIdNotLike(String value) { - addCriterion("file_wps_id not like", value, "fileWpsId"); - return (Criteria) this; - } - - public Criteria andFileWpsIdIn(List values) { - addCriterion("file_wps_id in", values, "fileWpsId"); - return (Criteria) this; - } - - public Criteria andFileWpsIdNotIn(List values) { - addCriterion("file_wps_id not in", values, "fileWpsId"); - return (Criteria) this; - } - - public Criteria andFileWpsIdBetween(String value1, String value2) { - addCriterion("file_wps_id between", value1, value2, "fileWpsId"); - return (Criteria) this; - } - - public Criteria andFileWpsIdNotBetween(String value1, String value2) { - addCriterion("file_wps_id not between", value1, value2, "fileWpsId"); - return (Criteria) this; - } - - public Criteria andFileUrlAiIsNull() { - addCriterion("file_url_ai is null"); - return (Criteria) this; - } - - public Criteria andFileUrlAiIsNotNull() { - addCriterion("file_url_ai is not null"); - return (Criteria) this; - } - - public Criteria andFileUrlAiEqualTo(String value) { - addCriterion("file_url_ai =", value, "fileUrlAi"); - return (Criteria) this; - } - - public Criteria andFileUrlAiNotEqualTo(String value) { - addCriterion("file_url_ai <>", value, "fileUrlAi"); - return (Criteria) this; - } - - public Criteria andFileUrlAiGreaterThan(String value) { - addCriterion("file_url_ai >", value, "fileUrlAi"); - return (Criteria) this; - } - - public Criteria andFileUrlAiGreaterThanOrEqualTo(String value) { - addCriterion("file_url_ai >=", value, "fileUrlAi"); - return (Criteria) this; - } - - public Criteria andFileUrlAiLessThan(String value) { - addCriterion("file_url_ai <", value, "fileUrlAi"); - return (Criteria) this; - } - - public Criteria andFileUrlAiLessThanOrEqualTo(String value) { - addCriterion("file_url_ai <=", value, "fileUrlAi"); - return (Criteria) this; - } - - public Criteria andFileUrlAiLike(String value) { - addCriterion("file_url_ai like", value, "fileUrlAi"); - return (Criteria) this; - } - - public Criteria andFileUrlAiNotLike(String value) { - addCriterion("file_url_ai not like", value, "fileUrlAi"); - return (Criteria) this; - } - - public Criteria andFileUrlAiIn(List values) { - addCriterion("file_url_ai in", values, "fileUrlAi"); - return (Criteria) this; - } - - public Criteria andFileUrlAiNotIn(List values) { - addCriterion("file_url_ai not in", values, "fileUrlAi"); - return (Criteria) this; - } - - public Criteria andFileUrlAiBetween(String value1, String value2) { - addCriterion("file_url_ai between", value1, value2, "fileUrlAi"); - return (Criteria) this; - } - - public Criteria andFileUrlAiNotBetween(String value1, String value2) { - addCriterion("file_url_ai not between", value1, value2, "fileUrlAi"); - return (Criteria) this; - } - - public Criteria andFileUrlIsNull() { - addCriterion("file_url is null"); - return (Criteria) this; - } - - public Criteria andFileUrlIsNotNull() { - addCriterion("file_url is not null"); - return (Criteria) this; - } - - public Criteria andFileUrlEqualTo(String value) { - addCriterion("file_url =", value, "fileUrl"); - return (Criteria) this; - } - - public Criteria andFileUrlNotEqualTo(String value) { - addCriterion("file_url <>", value, "fileUrl"); - return (Criteria) this; - } - - public Criteria andFileUrlGreaterThan(String value) { - addCriterion("file_url >", value, "fileUrl"); - return (Criteria) this; - } - - public Criteria andFileUrlGreaterThanOrEqualTo(String value) { - addCriterion("file_url >=", value, "fileUrl"); - return (Criteria) this; - } - - public Criteria andFileUrlLessThan(String value) { - addCriterion("file_url <", value, "fileUrl"); - return (Criteria) this; - } - - public Criteria andFileUrlLessThanOrEqualTo(String value) { - addCriterion("file_url <=", value, "fileUrl"); - return (Criteria) this; - } - - public Criteria andFileUrlLike(String value) { - addCriterion("file_url like", value, "fileUrl"); - return (Criteria) this; - } - - public Criteria andFileUrlNotLike(String value) { - addCriterion("file_url not like", value, "fileUrl"); - return (Criteria) this; - } - - public Criteria andFileUrlIn(List values) { - addCriterion("file_url in", values, "fileUrl"); - return (Criteria) this; - } - - public Criteria andFileUrlNotIn(List values) { - addCriterion("file_url not in", values, "fileUrl"); - return (Criteria) this; - } - - public Criteria andFileUrlBetween(String value1, String value2) { - addCriterion("file_url between", value1, value2, "fileUrl"); - return (Criteria) this; - } - - public Criteria andFileUrlNotBetween(String value1, String value2) { - addCriterion("file_url not between", value1, value2, "fileUrl"); - return (Criteria) this; - } - - public Criteria andModeIsNull() { - addCriterion("`mode` is null"); - return (Criteria) this; - } - - public Criteria andModeIsNotNull() { - addCriterion("`mode` is not null"); - return (Criteria) this; - } - - public Criteria andModeEqualTo(Integer value) { - addCriterion("`mode` =", value, "mode"); - return (Criteria) this; - } - - public Criteria andModeNotEqualTo(Integer value) { - addCriterion("`mode` <>", value, "mode"); - return (Criteria) this; - } - - public Criteria andModeGreaterThan(Integer value) { - addCriterion("`mode` >", value, "mode"); - return (Criteria) this; - } - - public Criteria andModeGreaterThanOrEqualTo(Integer value) { - addCriterion("`mode` >=", value, "mode"); - return (Criteria) this; - } - - public Criteria andModeLessThan(Integer value) { - addCriterion("`mode` <", value, "mode"); - return (Criteria) this; - } - - public Criteria andModeLessThanOrEqualTo(Integer value) { - addCriterion("`mode` <=", value, "mode"); - return (Criteria) this; - } - - public Criteria andModeIn(List values) { - addCriterion("`mode` in", values, "mode"); - return (Criteria) this; - } - - public Criteria andModeNotIn(List values) { - addCriterion("`mode` not in", values, "mode"); - return (Criteria) this; - } - - public Criteria andModeBetween(Integer value1, Integer value2) { - addCriterion("`mode` between", value1, value2, "mode"); - return (Criteria) this; - } - - public Criteria andModeNotBetween(Integer value1, Integer value2) { - addCriterion("`mode` not between", value1, value2, "mode"); - return (Criteria) this; - } - - public Criteria andCreatedByIsNull() { - addCriterion("created_by is null"); - return (Criteria) this; - } - - public Criteria andCreatedByIsNotNull() { - addCriterion("created_by is not null"); - return (Criteria) this; - } - - public Criteria andCreatedByEqualTo(Long value) { - addCriterion("created_by =", value, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByNotEqualTo(Long value) { - addCriterion("created_by <>", value, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByGreaterThan(Long value) { - addCriterion("created_by >", value, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByGreaterThanOrEqualTo(Long value) { - addCriterion("created_by >=", value, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByLessThan(Long value) { - addCriterion("created_by <", value, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByLessThanOrEqualTo(Long value) { - addCriterion("created_by <=", value, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByIn(List values) { - addCriterion("created_by in", values, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByNotIn(List values) { - addCriterion("created_by not in", values, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByBetween(Long value1, Long value2) { - addCriterion("created_by between", value1, value2, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByNotBetween(Long value1, Long value2) { - addCriterion("created_by not between", value1, value2, "createdBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByIsNull() { - addCriterion("updated_by is null"); - return (Criteria) this; - } - - public Criteria andUpdatedByIsNotNull() { - addCriterion("updated_by is not null"); - return (Criteria) this; - } - - public Criteria andUpdatedByEqualTo(Long value) { - addCriterion("updated_by =", value, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByNotEqualTo(Long value) { - addCriterion("updated_by <>", value, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByGreaterThan(Long value) { - addCriterion("updated_by >", value, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByGreaterThanOrEqualTo(Long value) { - addCriterion("updated_by >=", value, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByLessThan(Long value) { - addCriterion("updated_by <", value, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByLessThanOrEqualTo(Long value) { - addCriterion("updated_by <=", value, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByIn(List values) { - addCriterion("updated_by in", values, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByNotIn(List values) { - addCriterion("updated_by not in", values, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByBetween(Long value1, Long value2) { - addCriterion("updated_by between", value1, value2, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByNotBetween(Long value1, Long value2) { - addCriterion("updated_by not between", value1, value2, "updatedBy"); - 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 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; - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table form_print_config - * - * @mbg.generated do_not_delete_during_merge - */ - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table form_print_config - * - * @mbg.generated - */ - 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/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormPrintConfigTpl.java b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormPrintConfigTpl.java index 1a0e6723a..a02eb27c1 100644 --- a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormPrintConfigTpl.java +++ b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormPrintConfigTpl.java @@ -1,141 +1,71 @@ package com.pcloud.booksflow.form.mybatis.entity; +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.Data; + import java.io.Serializable; import java.util.Date; -import lombok.AllArgsConstructor; -import lombok.Builder; -import lombok.Getter; -import lombok.NoArgsConstructor; -import lombok.Setter; -import lombok.ToString; -/** - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table form_print_config_tpl - */ -@Getter -@Setter -@Builder -@ToString -@NoArgsConstructor -@AllArgsConstructor + +@Data +@TableName("form_print_config_tpl") public class FormPrintConfigTpl implements Serializable { - /** - * Database Column Remarks: - * 主键ID - * - * This field was generated by MyBatis Generator. - * This field corresponds to the database column form_print_config_tpl.id - * - * @mbg.generated - */ - private Long id; + private Long id; /** - * Database Column Remarks: - * 表单打印配置 ID - * - * This field was generated by MyBatis Generator. - * This field corresponds to the database column form_print_config_tpl.form_print_config_id - * - * @mbg.generated + * 表单打印配置 ID */ private Long formPrintConfigId; /** - * Database Column Remarks: - * 模板文件url - * - * This field was generated by MyBatis Generator. - * This field corresponds to the database column form_print_config_tpl.file_url - * - * @mbg.generated + * 模板文件url */ private String fileUrl; /** - * Database Column Remarks: - * 文件类型:doc、excel - * - * This field was generated by MyBatis Generator. - * This field corresponds to the database column form_print_config_tpl.file_type - * - * @mbg.generated + * 文件类型:doc、excel */ private String fileType; /** - * Database Column Remarks: - * file_wps_id - * - * This field was generated by MyBatis Generator. - * This field corresponds to the database column form_print_config_tpl.file_wps_id - * - * @mbg.generated + * file_wps_id */ private String fileWpsId; /** - * Database Column Remarks: - * 创建人 - * - * This field was generated by MyBatis Generator. - * This field corresponds to the database column form_print_config_tpl.created_by - * - * @mbg.generated + * 创建人 */ private Long createdBy; /** - * Database Column Remarks: - * 更新人 - * - * This field was generated by MyBatis Generator. - * This field corresponds to the database column form_print_config_tpl.updated_by - * - * @mbg.generated + * 更新人 */ private Long updatedBy; /** - * Database Column Remarks: - * 创建时间 - * - * This field was generated by MyBatis Generator. - * This field corresponds to the database column form_print_config_tpl.create_time - * - * @mbg.generated + * 创建时间 */ private Date createTime; /** - * Database Column Remarks: - * 更新时间 - * - * This field was generated by MyBatis Generator. - * This field corresponds to the database column form_print_config_tpl.update_time - * - * @mbg.generated + * 更新时间 */ private Date updateTime; /** - * Database Column Remarks: - * 是否删除(0:否,1:是) - * - * This field was generated by MyBatis Generator. - * This field corresponds to the database column form_print_config_tpl.deleted - * - * @mbg.generated + * 打印字段 + */ + private String printFields; + + /** + * 扩展属性(JSON格式) + */ + private String ext; + + /** + * 是否删除(0:否,1:是) */ private Integer deleted; - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table form_print_config_tpl - * - * @mbg.generated - */ private static final long serialVersionUID = 1L; -} \ No newline at end of file +} diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormPrintConfigTplExample.java b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormPrintConfigTplExample.java deleted file mode 100644 index b5ce52a51..000000000 --- a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormPrintConfigTplExample.java +++ /dev/null @@ -1,932 +0,0 @@ -package com.pcloud.booksflow.form.mybatis.entity; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class FormPrintConfigTplExample { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table form_print_config_tpl - * - * @mbg.generated - */ - protected String orderByClause; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table form_print_config_tpl - * - * @mbg.generated - */ - protected boolean distinct; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table form_print_config_tpl - * - * @mbg.generated - */ - protected List oredCriteria; - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config_tpl - * - * @mbg.generated - */ - public FormPrintConfigTplExample() { - oredCriteria = new ArrayList<>(); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config_tpl - * - * @mbg.generated - */ - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config_tpl - * - * @mbg.generated - */ - public String getOrderByClause() { - return orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config_tpl - * - * @mbg.generated - */ - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config_tpl - * - * @mbg.generated - */ - public boolean isDistinct() { - return distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config_tpl - * - * @mbg.generated - */ - public List getOredCriteria() { - return oredCriteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config_tpl - * - * @mbg.generated - */ - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config_tpl - * - * @mbg.generated - */ - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config_tpl - * - * @mbg.generated - */ - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config_tpl - * - * @mbg.generated - */ - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config_tpl - * - * @mbg.generated - */ - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table form_print_config_tpl - * - * @mbg.generated - */ - 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 andFormPrintConfigIdIsNull() { - addCriterion("form_print_config_id is null"); - return (Criteria) this; - } - - public Criteria andFormPrintConfigIdIsNotNull() { - addCriterion("form_print_config_id is not null"); - return (Criteria) this; - } - - public Criteria andFormPrintConfigIdEqualTo(Long value) { - addCriterion("form_print_config_id =", value, "formPrintConfigId"); - return (Criteria) this; - } - - public Criteria andFormPrintConfigIdNotEqualTo(Long value) { - addCriterion("form_print_config_id <>", value, "formPrintConfigId"); - return (Criteria) this; - } - - public Criteria andFormPrintConfigIdGreaterThan(Long value) { - addCriterion("form_print_config_id >", value, "formPrintConfigId"); - return (Criteria) this; - } - - public Criteria andFormPrintConfigIdGreaterThanOrEqualTo(Long value) { - addCriterion("form_print_config_id >=", value, "formPrintConfigId"); - return (Criteria) this; - } - - public Criteria andFormPrintConfigIdLessThan(Long value) { - addCriterion("form_print_config_id <", value, "formPrintConfigId"); - return (Criteria) this; - } - - public Criteria andFormPrintConfigIdLessThanOrEqualTo(Long value) { - addCriterion("form_print_config_id <=", value, "formPrintConfigId"); - return (Criteria) this; - } - - public Criteria andFormPrintConfigIdIn(List values) { - addCriterion("form_print_config_id in", values, "formPrintConfigId"); - return (Criteria) this; - } - - public Criteria andFormPrintConfigIdNotIn(List values) { - addCriterion("form_print_config_id not in", values, "formPrintConfigId"); - return (Criteria) this; - } - - public Criteria andFormPrintConfigIdBetween(Long value1, Long value2) { - addCriterion("form_print_config_id between", value1, value2, "formPrintConfigId"); - return (Criteria) this; - } - - public Criteria andFormPrintConfigIdNotBetween(Long value1, Long value2) { - addCriterion("form_print_config_id not between", value1, value2, "formPrintConfigId"); - return (Criteria) this; - } - - public Criteria andFileUrlIsNull() { - addCriterion("file_url is null"); - return (Criteria) this; - } - - public Criteria andFileUrlIsNotNull() { - addCriterion("file_url is not null"); - return (Criteria) this; - } - - public Criteria andFileUrlEqualTo(String value) { - addCriterion("file_url =", value, "fileUrl"); - return (Criteria) this; - } - - public Criteria andFileUrlNotEqualTo(String value) { - addCriterion("file_url <>", value, "fileUrl"); - return (Criteria) this; - } - - public Criteria andFileUrlGreaterThan(String value) { - addCriterion("file_url >", value, "fileUrl"); - return (Criteria) this; - } - - public Criteria andFileUrlGreaterThanOrEqualTo(String value) { - addCriterion("file_url >=", value, "fileUrl"); - return (Criteria) this; - } - - public Criteria andFileUrlLessThan(String value) { - addCriterion("file_url <", value, "fileUrl"); - return (Criteria) this; - } - - public Criteria andFileUrlLessThanOrEqualTo(String value) { - addCriterion("file_url <=", value, "fileUrl"); - return (Criteria) this; - } - - public Criteria andFileUrlLike(String value) { - addCriterion("file_url like", value, "fileUrl"); - return (Criteria) this; - } - - public Criteria andFileUrlNotLike(String value) { - addCriterion("file_url not like", value, "fileUrl"); - return (Criteria) this; - } - - public Criteria andFileUrlIn(List values) { - addCriterion("file_url in", values, "fileUrl"); - return (Criteria) this; - } - - public Criteria andFileUrlNotIn(List values) { - addCriterion("file_url not in", values, "fileUrl"); - return (Criteria) this; - } - - public Criteria andFileUrlBetween(String value1, String value2) { - addCriterion("file_url between", value1, value2, "fileUrl"); - return (Criteria) this; - } - - public Criteria andFileUrlNotBetween(String value1, String value2) { - addCriterion("file_url not between", value1, value2, "fileUrl"); - return (Criteria) this; - } - - public Criteria andFileTypeIsNull() { - addCriterion("file_type is null"); - return (Criteria) this; - } - - public Criteria andFileTypeIsNotNull() { - addCriterion("file_type is not null"); - return (Criteria) this; - } - - public Criteria andFileTypeEqualTo(String value) { - addCriterion("file_type =", value, "fileType"); - return (Criteria) this; - } - - public Criteria andFileTypeNotEqualTo(String value) { - addCriterion("file_type <>", value, "fileType"); - return (Criteria) this; - } - - public Criteria andFileTypeGreaterThan(String value) { - addCriterion("file_type >", value, "fileType"); - return (Criteria) this; - } - - public Criteria andFileTypeGreaterThanOrEqualTo(String value) { - addCriterion("file_type >=", value, "fileType"); - return (Criteria) this; - } - - public Criteria andFileTypeLessThan(String value) { - addCriterion("file_type <", value, "fileType"); - return (Criteria) this; - } - - public Criteria andFileTypeLessThanOrEqualTo(String value) { - addCriterion("file_type <=", value, "fileType"); - return (Criteria) this; - } - - public Criteria andFileTypeLike(String value) { - addCriterion("file_type like", value, "fileType"); - return (Criteria) this; - } - - public Criteria andFileTypeNotLike(String value) { - addCriterion("file_type not like", value, "fileType"); - return (Criteria) this; - } - - public Criteria andFileTypeIn(List values) { - addCriterion("file_type in", values, "fileType"); - return (Criteria) this; - } - - public Criteria andFileTypeNotIn(List values) { - addCriterion("file_type not in", values, "fileType"); - return (Criteria) this; - } - - public Criteria andFileTypeBetween(String value1, String value2) { - addCriterion("file_type between", value1, value2, "fileType"); - return (Criteria) this; - } - - public Criteria andFileTypeNotBetween(String value1, String value2) { - addCriterion("file_type not between", value1, value2, "fileType"); - return (Criteria) this; - } - - public Criteria andFileWpsIdIsNull() { - addCriterion("file_wps_id is null"); - return (Criteria) this; - } - - public Criteria andFileWpsIdIsNotNull() { - addCriterion("file_wps_id is not null"); - return (Criteria) this; - } - - public Criteria andFileWpsIdEqualTo(String value) { - addCriterion("file_wps_id =", value, "fileWpsId"); - return (Criteria) this; - } - - public Criteria andFileWpsIdNotEqualTo(String value) { - addCriterion("file_wps_id <>", value, "fileWpsId"); - return (Criteria) this; - } - - public Criteria andFileWpsIdGreaterThan(String value) { - addCriterion("file_wps_id >", value, "fileWpsId"); - return (Criteria) this; - } - - public Criteria andFileWpsIdGreaterThanOrEqualTo(String value) { - addCriterion("file_wps_id >=", value, "fileWpsId"); - return (Criteria) this; - } - - public Criteria andFileWpsIdLessThan(String value) { - addCriterion("file_wps_id <", value, "fileWpsId"); - return (Criteria) this; - } - - public Criteria andFileWpsIdLessThanOrEqualTo(String value) { - addCriterion("file_wps_id <=", value, "fileWpsId"); - return (Criteria) this; - } - - public Criteria andFileWpsIdLike(String value) { - addCriterion("file_wps_id like", value, "fileWpsId"); - return (Criteria) this; - } - - public Criteria andFileWpsIdNotLike(String value) { - addCriterion("file_wps_id not like", value, "fileWpsId"); - return (Criteria) this; - } - - public Criteria andFileWpsIdIn(List values) { - addCriterion("file_wps_id in", values, "fileWpsId"); - return (Criteria) this; - } - - public Criteria andFileWpsIdNotIn(List values) { - addCriterion("file_wps_id not in", values, "fileWpsId"); - return (Criteria) this; - } - - public Criteria andFileWpsIdBetween(String value1, String value2) { - addCriterion("file_wps_id between", value1, value2, "fileWpsId"); - return (Criteria) this; - } - - public Criteria andFileWpsIdNotBetween(String value1, String value2) { - addCriterion("file_wps_id not between", value1, value2, "fileWpsId"); - return (Criteria) this; - } - - public Criteria andCreatedByIsNull() { - addCriterion("created_by is null"); - return (Criteria) this; - } - - public Criteria andCreatedByIsNotNull() { - addCriterion("created_by is not null"); - return (Criteria) this; - } - - public Criteria andCreatedByEqualTo(Long value) { - addCriterion("created_by =", value, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByNotEqualTo(Long value) { - addCriterion("created_by <>", value, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByGreaterThan(Long value) { - addCriterion("created_by >", value, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByGreaterThanOrEqualTo(Long value) { - addCriterion("created_by >=", value, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByLessThan(Long value) { - addCriterion("created_by <", value, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByLessThanOrEqualTo(Long value) { - addCriterion("created_by <=", value, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByIn(List values) { - addCriterion("created_by in", values, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByNotIn(List values) { - addCriterion("created_by not in", values, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByBetween(Long value1, Long value2) { - addCriterion("created_by between", value1, value2, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByNotBetween(Long value1, Long value2) { - addCriterion("created_by not between", value1, value2, "createdBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByIsNull() { - addCriterion("updated_by is null"); - return (Criteria) this; - } - - public Criteria andUpdatedByIsNotNull() { - addCriterion("updated_by is not null"); - return (Criteria) this; - } - - public Criteria andUpdatedByEqualTo(Long value) { - addCriterion("updated_by =", value, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByNotEqualTo(Long value) { - addCriterion("updated_by <>", value, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByGreaterThan(Long value) { - addCriterion("updated_by >", value, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByGreaterThanOrEqualTo(Long value) { - addCriterion("updated_by >=", value, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByLessThan(Long value) { - addCriterion("updated_by <", value, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByLessThanOrEqualTo(Long value) { - addCriterion("updated_by <=", value, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByIn(List values) { - addCriterion("updated_by in", values, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByNotIn(List values) { - addCriterion("updated_by not in", values, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByBetween(Long value1, Long value2) { - addCriterion("updated_by between", value1, value2, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByNotBetween(Long value1, Long value2) { - addCriterion("updated_by not between", value1, value2, "updatedBy"); - 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 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 andDeletedIsNull() { - addCriterion("deleted is null"); - return (Criteria) this; - } - - public Criteria andDeletedIsNotNull() { - addCriterion("deleted is not null"); - return (Criteria) this; - } - - public Criteria andDeletedEqualTo(Integer value) { - addCriterion("deleted =", value, "deleted"); - return (Criteria) this; - } - - public Criteria andDeletedNotEqualTo(Integer value) { - addCriterion("deleted <>", value, "deleted"); - return (Criteria) this; - } - - public Criteria andDeletedGreaterThan(Integer value) { - addCriterion("deleted >", value, "deleted"); - return (Criteria) this; - } - - public Criteria andDeletedGreaterThanOrEqualTo(Integer value) { - addCriterion("deleted >=", value, "deleted"); - return (Criteria) this; - } - - public Criteria andDeletedLessThan(Integer value) { - addCriterion("deleted <", value, "deleted"); - return (Criteria) this; - } - - public Criteria andDeletedLessThanOrEqualTo(Integer value) { - addCriterion("deleted <=", value, "deleted"); - return (Criteria) this; - } - - public Criteria andDeletedIn(List values) { - addCriterion("deleted in", values, "deleted"); - return (Criteria) this; - } - - public Criteria andDeletedNotIn(List values) { - addCriterion("deleted not in", values, "deleted"); - return (Criteria) this; - } - - public Criteria andDeletedBetween(Integer value1, Integer value2) { - addCriterion("deleted between", value1, value2, "deleted"); - return (Criteria) this; - } - - public Criteria andDeletedNotBetween(Integer value1, Integer value2) { - addCriterion("deleted not between", value1, value2, "deleted"); - return (Criteria) this; - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table form_print_config_tpl - * - * @mbg.generated do_not_delete_during_merge - */ - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table form_print_config_tpl - * - * @mbg.generated - */ - 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/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormPrintConfigWithBLOBs.java b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormPrintConfigWithBLOBs.java deleted file mode 100644 index 85f557053..000000000 --- a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormPrintConfigWithBLOBs.java +++ /dev/null @@ -1,47 +0,0 @@ -package com.pcloud.booksflow.form.mybatis.entity; - -import lombok.*; - -import java.io.Serializable; - -/** - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table form_print_config - */ -@Getter -@Setter -@ToString -@NoArgsConstructor -@AllArgsConstructor -public class FormPrintConfigWithBLOBs extends FormPrintConfig implements Serializable { - /** - * Database Column Remarks: - * 打印字段 - * - * This field was generated by MyBatis Generator. - * This field corresponds to the database column form_print_config.print_fields - * - * @mbg.generated - */ - private String printFields; - - /** - * Database Column Remarks: - * 扩展属性(JSON格式) - * - * This field was generated by MyBatis Generator. - * This field corresponds to the database column form_print_config.ext - * - * @mbg.generated - */ - private String ext; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table form_print_config - * - * @mbg.generated - */ - private static final long serialVersionUID = 1L; -} \ No newline at end of file diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormTemplate.java b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormTemplate.java index 41b525700..33487ef10 100644 --- a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormTemplate.java +++ b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormTemplate.java @@ -2,24 +2,15 @@ package com.pcloud.booksflow.form.mybatis.entity; import java.io.Serializable; import java.util.Date; -import lombok.AllArgsConstructor; -import lombok.Builder; -import lombok.Getter; -import lombok.NoArgsConstructor; -import lombok.Setter; -import lombok.ToString; + +import lombok.*; /** * * This class was generated by MyBatis Generator. * This class corresponds to the database table form_template */ -@Getter -@Setter -@Builder -@ToString -@NoArgsConstructor -@AllArgsConstructor +@Data public class FormTemplate implements Serializable { /** * Database Column Remarks: @@ -116,4 +107,4 @@ public class FormTemplate implements Serializable { * @mbg.generated */ private static final long serialVersionUID = 1L; -} \ No newline at end of file +} diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormTemplateExample.java b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormTemplateExample.java deleted file mode 100644 index e194783b6..000000000 --- a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormTemplateExample.java +++ /dev/null @@ -1,792 +0,0 @@ -package com.pcloud.booksflow.form.mybatis.entity; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class FormTemplateExample { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table form_template - * - * @mbg.generated - */ - protected String orderByClause; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table form_template - * - * @mbg.generated - */ - protected boolean distinct; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table form_template - * - * @mbg.generated - */ - protected List oredCriteria; - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template - * - * @mbg.generated - */ - public FormTemplateExample() { - oredCriteria = new ArrayList<>(); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template - * - * @mbg.generated - */ - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template - * - * @mbg.generated - */ - public String getOrderByClause() { - return orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template - * - * @mbg.generated - */ - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template - * - * @mbg.generated - */ - public boolean isDistinct() { - return distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template - * - * @mbg.generated - */ - public List getOredCriteria() { - return oredCriteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template - * - * @mbg.generated - */ - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template - * - * @mbg.generated - */ - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template - * - * @mbg.generated - */ - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template - * - * @mbg.generated - */ - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template - * - * @mbg.generated - */ - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table form_template - * - * @mbg.generated - */ - 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 andFormIdIsNull() { - addCriterion("form_id is null"); - return (Criteria) this; - } - - public Criteria andFormIdIsNotNull() { - addCriterion("form_id is not null"); - return (Criteria) this; - } - - public Criteria andFormIdEqualTo(Long value) { - addCriterion("form_id =", value, "formId"); - return (Criteria) this; - } - - public Criteria andFormIdNotEqualTo(Long value) { - addCriterion("form_id <>", value, "formId"); - return (Criteria) this; - } - - public Criteria andFormIdGreaterThan(Long value) { - addCriterion("form_id >", value, "formId"); - return (Criteria) this; - } - - public Criteria andFormIdGreaterThanOrEqualTo(Long value) { - addCriterion("form_id >=", value, "formId"); - return (Criteria) this; - } - - public Criteria andFormIdLessThan(Long value) { - addCriterion("form_id <", value, "formId"); - return (Criteria) this; - } - - public Criteria andFormIdLessThanOrEqualTo(Long value) { - addCriterion("form_id <=", value, "formId"); - return (Criteria) this; - } - - public Criteria andFormIdIn(List values) { - addCriterion("form_id in", values, "formId"); - return (Criteria) this; - } - - public Criteria andFormIdNotIn(List values) { - addCriterion("form_id not in", values, "formId"); - return (Criteria) this; - } - - public Criteria andFormIdBetween(Long value1, Long value2) { - addCriterion("form_id between", value1, value2, "formId"); - return (Criteria) this; - } - - public Criteria andFormIdNotBetween(Long value1, Long value2) { - addCriterion("form_id not between", value1, value2, "formId"); - return (Criteria) this; - } - - public Criteria andVersionIsNull() { - addCriterion("version is null"); - return (Criteria) this; - } - - public Criteria andVersionIsNotNull() { - addCriterion("version is not null"); - return (Criteria) this; - } - - public Criteria andVersionEqualTo(Integer value) { - addCriterion("version =", value, "version"); - return (Criteria) this; - } - - public Criteria andVersionNotEqualTo(Integer value) { - addCriterion("version <>", value, "version"); - return (Criteria) this; - } - - public Criteria andVersionGreaterThan(Integer value) { - addCriterion("version >", value, "version"); - return (Criteria) this; - } - - public Criteria andVersionGreaterThanOrEqualTo(Integer value) { - addCriterion("version >=", value, "version"); - return (Criteria) this; - } - - public Criteria andVersionLessThan(Integer value) { - addCriterion("version <", value, "version"); - return (Criteria) this; - } - - public Criteria andVersionLessThanOrEqualTo(Integer value) { - addCriterion("version <=", value, "version"); - return (Criteria) this; - } - - public Criteria andVersionIn(List values) { - addCriterion("version in", values, "version"); - return (Criteria) this; - } - - public Criteria andVersionNotIn(List values) { - addCriterion("version not in", values, "version"); - return (Criteria) this; - } - - public Criteria andVersionBetween(Integer value1, Integer value2) { - addCriterion("version between", value1, value2, "version"); - return (Criteria) this; - } - - public Criteria andVersionNotBetween(Integer value1, Integer value2) { - addCriterion("version not between", value1, value2, "version"); - return (Criteria) this; - } - - public Criteria andContentEncodingIsNull() { - addCriterion("content_encoding is null"); - return (Criteria) this; - } - - public Criteria andContentEncodingIsNotNull() { - addCriterion("content_encoding is not null"); - return (Criteria) this; - } - - public Criteria andContentEncodingEqualTo(String value) { - addCriterion("content_encoding =", value, "contentEncoding"); - return (Criteria) this; - } - - public Criteria andContentEncodingNotEqualTo(String value) { - addCriterion("content_encoding <>", value, "contentEncoding"); - return (Criteria) this; - } - - public Criteria andContentEncodingGreaterThan(String value) { - addCriterion("content_encoding >", value, "contentEncoding"); - return (Criteria) this; - } - - public Criteria andContentEncodingGreaterThanOrEqualTo(String value) { - addCriterion("content_encoding >=", value, "contentEncoding"); - return (Criteria) this; - } - - public Criteria andContentEncodingLessThan(String value) { - addCriterion("content_encoding <", value, "contentEncoding"); - return (Criteria) this; - } - - public Criteria andContentEncodingLessThanOrEqualTo(String value) { - addCriterion("content_encoding <=", value, "contentEncoding"); - return (Criteria) this; - } - - public Criteria andContentEncodingLike(String value) { - addCriterion("content_encoding like", value, "contentEncoding"); - return (Criteria) this; - } - - public Criteria andContentEncodingNotLike(String value) { - addCriterion("content_encoding not like", value, "contentEncoding"); - return (Criteria) this; - } - - public Criteria andContentEncodingIn(List values) { - addCriterion("content_encoding in", values, "contentEncoding"); - return (Criteria) this; - } - - public Criteria andContentEncodingNotIn(List values) { - addCriterion("content_encoding not in", values, "contentEncoding"); - return (Criteria) this; - } - - public Criteria andContentEncodingBetween(String value1, String value2) { - addCriterion("content_encoding between", value1, value2, "contentEncoding"); - return (Criteria) this; - } - - public Criteria andContentEncodingNotBetween(String value1, String value2) { - addCriterion("content_encoding not between", value1, value2, "contentEncoding"); - return (Criteria) this; - } - - public Criteria andCreatedByIsNull() { - addCriterion("created_by is null"); - return (Criteria) this; - } - - public Criteria andCreatedByIsNotNull() { - addCriterion("created_by is not null"); - return (Criteria) this; - } - - public Criteria andCreatedByEqualTo(Long value) { - addCriterion("created_by =", value, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByNotEqualTo(Long value) { - addCriterion("created_by <>", value, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByGreaterThan(Long value) { - addCriterion("created_by >", value, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByGreaterThanOrEqualTo(Long value) { - addCriterion("created_by >=", value, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByLessThan(Long value) { - addCriterion("created_by <", value, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByLessThanOrEqualTo(Long value) { - addCriterion("created_by <=", value, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByIn(List values) { - addCriterion("created_by in", values, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByNotIn(List values) { - addCriterion("created_by not in", values, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByBetween(Long value1, Long value2) { - addCriterion("created_by between", value1, value2, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByNotBetween(Long value1, Long value2) { - addCriterion("created_by not between", value1, value2, "createdBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByIsNull() { - addCriterion("updated_by is null"); - return (Criteria) this; - } - - public Criteria andUpdatedByIsNotNull() { - addCriterion("updated_by is not null"); - return (Criteria) this; - } - - public Criteria andUpdatedByEqualTo(Long value) { - addCriterion("updated_by =", value, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByNotEqualTo(Long value) { - addCriterion("updated_by <>", value, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByGreaterThan(Long value) { - addCriterion("updated_by >", value, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByGreaterThanOrEqualTo(Long value) { - addCriterion("updated_by >=", value, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByLessThan(Long value) { - addCriterion("updated_by <", value, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByLessThanOrEqualTo(Long value) { - addCriterion("updated_by <=", value, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByIn(List values) { - addCriterion("updated_by in", values, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByNotIn(List values) { - addCriterion("updated_by not in", values, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByBetween(Long value1, Long value2) { - addCriterion("updated_by between", value1, value2, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByNotBetween(Long value1, Long value2) { - addCriterion("updated_by not between", value1, value2, "updatedBy"); - 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 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; - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table form_template - * - * @mbg.generated do_not_delete_during_merge - */ - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table form_template - * - * @mbg.generated - */ - 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/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormTemplateField.java b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormTemplateField.java index 4e6ed1156..7ba73cd81 100644 --- a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormTemplateField.java +++ b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormTemplateField.java @@ -2,24 +2,13 @@ package com.pcloud.booksflow.form.mybatis.entity; import java.io.Serializable; import java.util.Date; -import lombok.AllArgsConstructor; -import lombok.Builder; -import lombok.Getter; -import lombok.NoArgsConstructor; -import lombok.Setter; -import lombok.ToString; -/** - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table form_template_field - */ -@Getter -@Setter -@Builder -@ToString -@NoArgsConstructor -@AllArgsConstructor +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.*; + + +@Data +@TableName("form_print_config_tpl") public class FormTemplateField implements Serializable { /** * Database Column Remarks: @@ -314,4 +303,4 @@ public class FormTemplateField implements Serializable { * @mbg.generated */ private static final long serialVersionUID = 1L; -} \ No newline at end of file +} diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormTemplateFieldExample.java b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormTemplateFieldExample.java deleted file mode 100644 index df3266137..000000000 --- a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/FormTemplateFieldExample.java +++ /dev/null @@ -1,1912 +0,0 @@ -package com.pcloud.booksflow.form.mybatis.entity; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class FormTemplateFieldExample { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table form_template_field - * - * @mbg.generated - */ - protected String orderByClause; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table form_template_field - * - * @mbg.generated - */ - protected boolean distinct; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table form_template_field - * - * @mbg.generated - */ - protected List oredCriteria; - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template_field - * - * @mbg.generated - */ - public FormTemplateFieldExample() { - oredCriteria = new ArrayList<>(); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template_field - * - * @mbg.generated - */ - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template_field - * - * @mbg.generated - */ - public String getOrderByClause() { - return orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template_field - * - * @mbg.generated - */ - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template_field - * - * @mbg.generated - */ - public boolean isDistinct() { - return distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template_field - * - * @mbg.generated - */ - public List getOredCriteria() { - return oredCriteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template_field - * - * @mbg.generated - */ - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template_field - * - * @mbg.generated - */ - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template_field - * - * @mbg.generated - */ - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template_field - * - * @mbg.generated - */ - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template_field - * - * @mbg.generated - */ - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table form_template_field - * - * @mbg.generated - */ - 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 andTemplateIdIsNull() { - addCriterion("template_id is null"); - return (Criteria) this; - } - - public Criteria andTemplateIdIsNotNull() { - addCriterion("template_id is not null"); - return (Criteria) this; - } - - public Criteria andTemplateIdEqualTo(Long value) { - addCriterion("template_id =", value, "templateId"); - return (Criteria) this; - } - - public Criteria andTemplateIdNotEqualTo(Long value) { - addCriterion("template_id <>", value, "templateId"); - return (Criteria) this; - } - - public Criteria andTemplateIdGreaterThan(Long value) { - addCriterion("template_id >", value, "templateId"); - return (Criteria) this; - } - - public Criteria andTemplateIdGreaterThanOrEqualTo(Long value) { - addCriterion("template_id >=", value, "templateId"); - return (Criteria) this; - } - - public Criteria andTemplateIdLessThan(Long value) { - addCriterion("template_id <", value, "templateId"); - return (Criteria) this; - } - - public Criteria andTemplateIdLessThanOrEqualTo(Long value) { - addCriterion("template_id <=", value, "templateId"); - return (Criteria) this; - } - - public Criteria andTemplateIdIn(List values) { - addCriterion("template_id in", values, "templateId"); - return (Criteria) this; - } - - public Criteria andTemplateIdNotIn(List values) { - addCriterion("template_id not in", values, "templateId"); - return (Criteria) this; - } - - public Criteria andTemplateIdBetween(Long value1, Long value2) { - addCriterion("template_id between", value1, value2, "templateId"); - return (Criteria) this; - } - - public Criteria andTemplateIdNotBetween(Long value1, Long value2) { - addCriterion("template_id not between", value1, value2, "templateId"); - 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 andParentIdIsNull() { - addCriterion("parent_id is null"); - return (Criteria) this; - } - - public Criteria andParentIdIsNotNull() { - addCriterion("parent_id is not null"); - return (Criteria) this; - } - - public Criteria andParentIdEqualTo(Long value) { - addCriterion("parent_id =", value, "parentId"); - return (Criteria) this; - } - - public Criteria andParentIdNotEqualTo(Long value) { - addCriterion("parent_id <>", value, "parentId"); - return (Criteria) this; - } - - public Criteria andParentIdGreaterThan(Long value) { - addCriterion("parent_id >", value, "parentId"); - return (Criteria) this; - } - - public Criteria andParentIdGreaterThanOrEqualTo(Long value) { - addCriterion("parent_id >=", value, "parentId"); - return (Criteria) this; - } - - public Criteria andParentIdLessThan(Long value) { - addCriterion("parent_id <", value, "parentId"); - return (Criteria) this; - } - - public Criteria andParentIdLessThanOrEqualTo(Long value) { - addCriterion("parent_id <=", value, "parentId"); - return (Criteria) this; - } - - public Criteria andParentIdIn(List values) { - addCriterion("parent_id in", values, "parentId"); - return (Criteria) this; - } - - public Criteria andParentIdNotIn(List values) { - addCriterion("parent_id not in", values, "parentId"); - return (Criteria) this; - } - - public Criteria andParentIdBetween(Long value1, Long value2) { - addCriterion("parent_id between", value1, value2, "parentId"); - return (Criteria) this; - } - - public Criteria andParentIdNotBetween(Long value1, Long value2) { - addCriterion("parent_id not between", value1, value2, "parentId"); - return (Criteria) this; - } - - public Criteria andTitleIsNull() { - addCriterion("title is null"); - return (Criteria) this; - } - - public Criteria andTitleIsNotNull() { - addCriterion("title is not null"); - return (Criteria) this; - } - - public Criteria andTitleEqualTo(String value) { - addCriterion("title =", value, "title"); - return (Criteria) this; - } - - public Criteria andTitleNotEqualTo(String value) { - addCriterion("title <>", value, "title"); - return (Criteria) this; - } - - public Criteria andTitleGreaterThan(String value) { - addCriterion("title >", value, "title"); - return (Criteria) this; - } - - public Criteria andTitleGreaterThanOrEqualTo(String value) { - addCriterion("title >=", value, "title"); - return (Criteria) this; - } - - public Criteria andTitleLessThan(String value) { - addCriterion("title <", value, "title"); - return (Criteria) this; - } - - public Criteria andTitleLessThanOrEqualTo(String value) { - addCriterion("title <=", value, "title"); - return (Criteria) this; - } - - public Criteria andTitleLike(String value) { - addCriterion("title like", value, "title"); - return (Criteria) this; - } - - public Criteria andTitleNotLike(String value) { - addCriterion("title not like", value, "title"); - return (Criteria) this; - } - - public Criteria andTitleIn(List values) { - addCriterion("title in", values, "title"); - return (Criteria) this; - } - - public Criteria andTitleNotIn(List values) { - addCriterion("title not in", values, "title"); - return (Criteria) this; - } - - public Criteria andTitleBetween(String value1, String value2) { - addCriterion("title between", value1, value2, "title"); - return (Criteria) this; - } - - public Criteria andTitleNotBetween(String value1, String value2) { - addCriterion("title not between", value1, value2, "title"); - return (Criteria) this; - } - - public Criteria andShowTitleIsNull() { - addCriterion("show_title is null"); - return (Criteria) this; - } - - public Criteria andShowTitleIsNotNull() { - addCriterion("show_title is not null"); - return (Criteria) this; - } - - public Criteria andShowTitleEqualTo(String value) { - addCriterion("show_title =", value, "showTitle"); - return (Criteria) this; - } - - public Criteria andShowTitleNotEqualTo(String value) { - addCriterion("show_title <>", value, "showTitle"); - return (Criteria) this; - } - - public Criteria andShowTitleGreaterThan(String value) { - addCriterion("show_title >", value, "showTitle"); - return (Criteria) this; - } - - public Criteria andShowTitleGreaterThanOrEqualTo(String value) { - addCriterion("show_title >=", value, "showTitle"); - return (Criteria) this; - } - - public Criteria andShowTitleLessThan(String value) { - addCriterion("show_title <", value, "showTitle"); - return (Criteria) this; - } - - public Criteria andShowTitleLessThanOrEqualTo(String value) { - addCriterion("show_title <=", value, "showTitle"); - return (Criteria) this; - } - - public Criteria andShowTitleLike(String value) { - addCriterion("show_title like", value, "showTitle"); - return (Criteria) this; - } - - public Criteria andShowTitleNotLike(String value) { - addCriterion("show_title not like", value, "showTitle"); - return (Criteria) this; - } - - public Criteria andShowTitleIn(List values) { - addCriterion("show_title in", values, "showTitle"); - return (Criteria) this; - } - - public Criteria andShowTitleNotIn(List values) { - addCriterion("show_title not in", values, "showTitle"); - return (Criteria) this; - } - - public Criteria andShowTitleBetween(String value1, String value2) { - addCriterion("show_title between", value1, value2, "showTitle"); - return (Criteria) this; - } - - public Criteria andShowTitleNotBetween(String value1, String value2) { - addCriterion("show_title not between", value1, value2, "showTitle"); - return (Criteria) this; - } - - public Criteria andDbFieldIsNull() { - addCriterion("db_field is null"); - return (Criteria) this; - } - - public Criteria andDbFieldIsNotNull() { - addCriterion("db_field is not null"); - return (Criteria) this; - } - - public Criteria andDbFieldEqualTo(String value) { - addCriterion("db_field =", value, "dbField"); - return (Criteria) this; - } - - public Criteria andDbFieldNotEqualTo(String value) { - addCriterion("db_field <>", value, "dbField"); - return (Criteria) this; - } - - public Criteria andDbFieldGreaterThan(String value) { - addCriterion("db_field >", value, "dbField"); - return (Criteria) this; - } - - public Criteria andDbFieldGreaterThanOrEqualTo(String value) { - addCriterion("db_field >=", value, "dbField"); - return (Criteria) this; - } - - public Criteria andDbFieldLessThan(String value) { - addCriterion("db_field <", value, "dbField"); - return (Criteria) this; - } - - public Criteria andDbFieldLessThanOrEqualTo(String value) { - addCriterion("db_field <=", value, "dbField"); - return (Criteria) this; - } - - public Criteria andDbFieldLike(String value) { - addCriterion("db_field like", value, "dbField"); - return (Criteria) this; - } - - public Criteria andDbFieldNotLike(String value) { - addCriterion("db_field not like", value, "dbField"); - return (Criteria) this; - } - - public Criteria andDbFieldIn(List values) { - addCriterion("db_field in", values, "dbField"); - return (Criteria) this; - } - - public Criteria andDbFieldNotIn(List values) { - addCriterion("db_field not in", values, "dbField"); - return (Criteria) this; - } - - public Criteria andDbFieldBetween(String value1, String value2) { - addCriterion("db_field between", value1, value2, "dbField"); - return (Criteria) this; - } - - public Criteria andDbFieldNotBetween(String value1, String value2) { - addCriterion("db_field not between", value1, value2, "dbField"); - return (Criteria) this; - } - - public Criteria andRequiredIsNull() { - addCriterion("required is null"); - return (Criteria) this; - } - - public Criteria andRequiredIsNotNull() { - addCriterion("required is not null"); - return (Criteria) this; - } - - public Criteria andRequiredEqualTo(Boolean value) { - addCriterion("required =", value, "required"); - return (Criteria) this; - } - - public Criteria andRequiredNotEqualTo(Boolean value) { - addCriterion("required <>", value, "required"); - return (Criteria) this; - } - - public Criteria andRequiredGreaterThan(Boolean value) { - addCriterion("required >", value, "required"); - return (Criteria) this; - } - - public Criteria andRequiredGreaterThanOrEqualTo(Boolean value) { - addCriterion("required >=", value, "required"); - return (Criteria) this; - } - - public Criteria andRequiredLessThan(Boolean value) { - addCriterion("required <", value, "required"); - return (Criteria) this; - } - - public Criteria andRequiredLessThanOrEqualTo(Boolean value) { - addCriterion("required <=", value, "required"); - return (Criteria) this; - } - - public Criteria andRequiredIn(List values) { - addCriterion("required in", values, "required"); - return (Criteria) this; - } - - public Criteria andRequiredNotIn(List values) { - addCriterion("required not in", values, "required"); - return (Criteria) this; - } - - public Criteria andRequiredBetween(Boolean value1, Boolean value2) { - addCriterion("required between", value1, value2, "required"); - return (Criteria) this; - } - - public Criteria andRequiredNotBetween(Boolean value1, Boolean value2) { - addCriterion("required not between", value1, value2, "required"); - return (Criteria) this; - } - - public Criteria andShowIsNull() { - addCriterion("`show` is null"); - return (Criteria) this; - } - - public Criteria andShowIsNotNull() { - addCriterion("`show` is not null"); - return (Criteria) this; - } - - public Criteria andShowEqualTo(Boolean value) { - addCriterion("`show` =", value, "show"); - return (Criteria) this; - } - - public Criteria andShowNotEqualTo(Boolean value) { - addCriterion("`show` <>", value, "show"); - return (Criteria) this; - } - - public Criteria andShowGreaterThan(Boolean value) { - addCriterion("`show` >", value, "show"); - return (Criteria) this; - } - - public Criteria andShowGreaterThanOrEqualTo(Boolean value) { - addCriterion("`show` >=", value, "show"); - return (Criteria) this; - } - - public Criteria andShowLessThan(Boolean value) { - addCriterion("`show` <", value, "show"); - return (Criteria) this; - } - - public Criteria andShowLessThanOrEqualTo(Boolean value) { - addCriterion("`show` <=", value, "show"); - return (Criteria) this; - } - - public Criteria andShowIn(List values) { - addCriterion("`show` in", values, "show"); - return (Criteria) this; - } - - public Criteria andShowNotIn(List values) { - addCriterion("`show` not in", values, "show"); - return (Criteria) this; - } - - public Criteria andShowBetween(Boolean value1, Boolean value2) { - addCriterion("`show` between", value1, value2, "show"); - return (Criteria) this; - } - - public Criteria andShowNotBetween(Boolean value1, Boolean value2) { - addCriterion("`show` not between", value1, value2, "show"); - return (Criteria) this; - } - - public Criteria andDcodeIsNull() { - addCriterion("dcode is null"); - return (Criteria) this; - } - - public Criteria andDcodeIsNotNull() { - addCriterion("dcode is not null"); - return (Criteria) this; - } - - public Criteria andDcodeEqualTo(String value) { - addCriterion("dcode =", value, "dcode"); - return (Criteria) this; - } - - public Criteria andDcodeNotEqualTo(String value) { - addCriterion("dcode <>", value, "dcode"); - return (Criteria) this; - } - - public Criteria andDcodeGreaterThan(String value) { - addCriterion("dcode >", value, "dcode"); - return (Criteria) this; - } - - public Criteria andDcodeGreaterThanOrEqualTo(String value) { - addCriterion("dcode >=", value, "dcode"); - return (Criteria) this; - } - - public Criteria andDcodeLessThan(String value) { - addCriterion("dcode <", value, "dcode"); - return (Criteria) this; - } - - public Criteria andDcodeLessThanOrEqualTo(String value) { - addCriterion("dcode <=", value, "dcode"); - return (Criteria) this; - } - - public Criteria andDcodeLike(String value) { - addCriterion("dcode like", value, "dcode"); - return (Criteria) this; - } - - public Criteria andDcodeNotLike(String value) { - addCriterion("dcode not like", value, "dcode"); - return (Criteria) this; - } - - public Criteria andDcodeIn(List values) { - addCriterion("dcode in", values, "dcode"); - return (Criteria) this; - } - - public Criteria andDcodeNotIn(List values) { - addCriterion("dcode not in", values, "dcode"); - return (Criteria) this; - } - - public Criteria andDcodeBetween(String value1, String value2) { - addCriterion("dcode between", value1, value2, "dcode"); - return (Criteria) this; - } - - public Criteria andDcodeNotBetween(String value1, String value2) { - addCriterion("dcode not between", value1, value2, "dcode"); - return (Criteria) this; - } - - public Criteria andLineIsNull() { - addCriterion("line is null"); - return (Criteria) this; - } - - public Criteria andLineIsNotNull() { - addCriterion("line is not null"); - return (Criteria) this; - } - - public Criteria andLineEqualTo(Integer value) { - addCriterion("line =", value, "line"); - return (Criteria) this; - } - - public Criteria andLineNotEqualTo(Integer value) { - addCriterion("line <>", value, "line"); - return (Criteria) this; - } - - public Criteria andLineGreaterThan(Integer value) { - addCriterion("line >", value, "line"); - return (Criteria) this; - } - - public Criteria andLineGreaterThanOrEqualTo(Integer value) { - addCriterion("line >=", value, "line"); - return (Criteria) this; - } - - public Criteria andLineLessThan(Integer value) { - addCriterion("line <", value, "line"); - return (Criteria) this; - } - - public Criteria andLineLessThanOrEqualTo(Integer value) { - addCriterion("line <=", value, "line"); - return (Criteria) this; - } - - public Criteria andLineIn(List values) { - addCriterion("line in", values, "line"); - return (Criteria) this; - } - - public Criteria andLineNotIn(List values) { - addCriterion("line not in", values, "line"); - return (Criteria) this; - } - - public Criteria andLineBetween(Integer value1, Integer value2) { - addCriterion("line between", value1, value2, "line"); - return (Criteria) this; - } - - public Criteria andLineNotBetween(Integer value1, Integer value2) { - addCriterion("line not between", value1, value2, "line"); - return (Criteria) this; - } - - public Criteria andTypeIsNull() { - addCriterion("`type` is null"); - return (Criteria) this; - } - - public Criteria andTypeIsNotNull() { - addCriterion("`type` is not null"); - return (Criteria) this; - } - - public Criteria andTypeEqualTo(String value) { - addCriterion("`type` =", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotEqualTo(String value) { - addCriterion("`type` <>", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeGreaterThan(String value) { - addCriterion("`type` >", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeGreaterThanOrEqualTo(String value) { - addCriterion("`type` >=", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeLessThan(String value) { - addCriterion("`type` <", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeLessThanOrEqualTo(String value) { - addCriterion("`type` <=", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeLike(String value) { - addCriterion("`type` like", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotLike(String value) { - addCriterion("`type` not like", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeIn(List values) { - addCriterion("`type` in", values, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotIn(List values) { - addCriterion("`type` not in", values, "type"); - return (Criteria) this; - } - - public Criteria andTypeBetween(String value1, String value2) { - addCriterion("`type` between", value1, value2, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotBetween(String value1, String value2) { - addCriterion("`type` not between", value1, value2, "type"); - return (Criteria) this; - } - - public Criteria andFixedIsNull() { - addCriterion("fixed is null"); - return (Criteria) this; - } - - public Criteria andFixedIsNotNull() { - addCriterion("fixed is not null"); - return (Criteria) this; - } - - public Criteria andFixedEqualTo(Boolean value) { - addCriterion("fixed =", value, "fixed"); - return (Criteria) this; - } - - public Criteria andFixedNotEqualTo(Boolean value) { - addCriterion("fixed <>", value, "fixed"); - return (Criteria) this; - } - - public Criteria andFixedGreaterThan(Boolean value) { - addCriterion("fixed >", value, "fixed"); - return (Criteria) this; - } - - public Criteria andFixedGreaterThanOrEqualTo(Boolean value) { - addCriterion("fixed >=", value, "fixed"); - return (Criteria) this; - } - - public Criteria andFixedLessThan(Boolean value) { - addCriterion("fixed <", value, "fixed"); - return (Criteria) this; - } - - public Criteria andFixedLessThanOrEqualTo(Boolean value) { - addCriterion("fixed <=", value, "fixed"); - return (Criteria) this; - } - - public Criteria andFixedIn(List values) { - addCriterion("fixed in", values, "fixed"); - return (Criteria) this; - } - - public Criteria andFixedNotIn(List values) { - addCriterion("fixed not in", values, "fixed"); - return (Criteria) this; - } - - public Criteria andFixedBetween(Boolean value1, Boolean value2) { - addCriterion("fixed between", value1, value2, "fixed"); - return (Criteria) this; - } - - public Criteria andFixedNotBetween(Boolean value1, Boolean value2) { - addCriterion("fixed not between", value1, value2, "fixed"); - return (Criteria) this; - } - - public Criteria andFmtConstraintIsNull() { - addCriterion("fmt_constraint is null"); - return (Criteria) this; - } - - public Criteria andFmtConstraintIsNotNull() { - addCriterion("fmt_constraint is not null"); - return (Criteria) this; - } - - public Criteria andFmtConstraintEqualTo(String value) { - addCriterion("fmt_constraint =", value, "fmtConstraint"); - return (Criteria) this; - } - - public Criteria andFmtConstraintNotEqualTo(String value) { - addCriterion("fmt_constraint <>", value, "fmtConstraint"); - return (Criteria) this; - } - - public Criteria andFmtConstraintGreaterThan(String value) { - addCriterion("fmt_constraint >", value, "fmtConstraint"); - return (Criteria) this; - } - - public Criteria andFmtConstraintGreaterThanOrEqualTo(String value) { - addCriterion("fmt_constraint >=", value, "fmtConstraint"); - return (Criteria) this; - } - - public Criteria andFmtConstraintLessThan(String value) { - addCriterion("fmt_constraint <", value, "fmtConstraint"); - return (Criteria) this; - } - - public Criteria andFmtConstraintLessThanOrEqualTo(String value) { - addCriterion("fmt_constraint <=", value, "fmtConstraint"); - return (Criteria) this; - } - - public Criteria andFmtConstraintLike(String value) { - addCriterion("fmt_constraint like", value, "fmtConstraint"); - return (Criteria) this; - } - - public Criteria andFmtConstraintNotLike(String value) { - addCriterion("fmt_constraint not like", value, "fmtConstraint"); - return (Criteria) this; - } - - public Criteria andFmtConstraintIn(List values) { - addCriterion("fmt_constraint in", values, "fmtConstraint"); - return (Criteria) this; - } - - public Criteria andFmtConstraintNotIn(List values) { - addCriterion("fmt_constraint not in", values, "fmtConstraint"); - return (Criteria) this; - } - - public Criteria andFmtConstraintBetween(String value1, String value2) { - addCriterion("fmt_constraint between", value1, value2, "fmtConstraint"); - return (Criteria) this; - } - - public Criteria andFmtConstraintNotBetween(String value1, String value2) { - addCriterion("fmt_constraint not between", value1, value2, "fmtConstraint"); - return (Criteria) this; - } - - public Criteria andEditIsNull() { - addCriterion("edit is null"); - return (Criteria) this; - } - - public Criteria andEditIsNotNull() { - addCriterion("edit is not null"); - return (Criteria) this; - } - - public Criteria andEditEqualTo(Boolean value) { - addCriterion("edit =", value, "edit"); - return (Criteria) this; - } - - public Criteria andEditNotEqualTo(Boolean value) { - addCriterion("edit <>", value, "edit"); - return (Criteria) this; - } - - public Criteria andEditGreaterThan(Boolean value) { - addCriterion("edit >", value, "edit"); - return (Criteria) this; - } - - public Criteria andEditGreaterThanOrEqualTo(Boolean value) { - addCriterion("edit >=", value, "edit"); - return (Criteria) this; - } - - public Criteria andEditLessThan(Boolean value) { - addCriterion("edit <", value, "edit"); - return (Criteria) this; - } - - public Criteria andEditLessThanOrEqualTo(Boolean value) { - addCriterion("edit <=", value, "edit"); - return (Criteria) this; - } - - public Criteria andEditIn(List values) { - addCriterion("edit in", values, "edit"); - return (Criteria) this; - } - - public Criteria andEditNotIn(List values) { - addCriterion("edit not in", values, "edit"); - return (Criteria) this; - } - - public Criteria andEditBetween(Boolean value1, Boolean value2) { - addCriterion("edit between", value1, value2, "edit"); - return (Criteria) this; - } - - public Criteria andEditNotBetween(Boolean value1, Boolean value2) { - addCriterion("edit not between", value1, value2, "edit"); - return (Criteria) this; - } - - public Criteria andSortOrderIsNull() { - addCriterion("sort_order is null"); - return (Criteria) this; - } - - public Criteria andSortOrderIsNotNull() { - addCriterion("sort_order is not null"); - return (Criteria) this; - } - - public Criteria andSortOrderEqualTo(Integer value) { - addCriterion("sort_order =", value, "sortOrder"); - return (Criteria) this; - } - - public Criteria andSortOrderNotEqualTo(Integer value) { - addCriterion("sort_order <>", value, "sortOrder"); - return (Criteria) this; - } - - public Criteria andSortOrderGreaterThan(Integer value) { - addCriterion("sort_order >", value, "sortOrder"); - return (Criteria) this; - } - - public Criteria andSortOrderGreaterThanOrEqualTo(Integer value) { - addCriterion("sort_order >=", value, "sortOrder"); - return (Criteria) this; - } - - public Criteria andSortOrderLessThan(Integer value) { - addCriterion("sort_order <", value, "sortOrder"); - return (Criteria) this; - } - - public Criteria andSortOrderLessThanOrEqualTo(Integer value) { - addCriterion("sort_order <=", value, "sortOrder"); - return (Criteria) this; - } - - public Criteria andSortOrderIn(List values) { - addCriterion("sort_order in", values, "sortOrder"); - return (Criteria) this; - } - - public Criteria andSortOrderNotIn(List values) { - addCriterion("sort_order not in", values, "sortOrder"); - return (Criteria) this; - } - - public Criteria andSortOrderBetween(Integer value1, Integer value2) { - addCriterion("sort_order between", value1, value2, "sortOrder"); - return (Criteria) this; - } - - public Criteria andSortOrderNotBetween(Integer value1, Integer value2) { - addCriterion("sort_order not between", value1, value2, "sortOrder"); - return (Criteria) this; - } - - public Criteria andCascadeCloseIsNull() { - addCriterion("cascade_close is null"); - return (Criteria) this; - } - - public Criteria andCascadeCloseIsNotNull() { - addCriterion("cascade_close is not null"); - return (Criteria) this; - } - - public Criteria andCascadeCloseEqualTo(String value) { - addCriterion("cascade_close =", value, "cascadeClose"); - return (Criteria) this; - } - - public Criteria andCascadeCloseNotEqualTo(String value) { - addCriterion("cascade_close <>", value, "cascadeClose"); - return (Criteria) this; - } - - public Criteria andCascadeCloseGreaterThan(String value) { - addCriterion("cascade_close >", value, "cascadeClose"); - return (Criteria) this; - } - - public Criteria andCascadeCloseGreaterThanOrEqualTo(String value) { - addCriterion("cascade_close >=", value, "cascadeClose"); - return (Criteria) this; - } - - public Criteria andCascadeCloseLessThan(String value) { - addCriterion("cascade_close <", value, "cascadeClose"); - return (Criteria) this; - } - - public Criteria andCascadeCloseLessThanOrEqualTo(String value) { - addCriterion("cascade_close <=", value, "cascadeClose"); - return (Criteria) this; - } - - public Criteria andCascadeCloseLike(String value) { - addCriterion("cascade_close like", value, "cascadeClose"); - return (Criteria) this; - } - - public Criteria andCascadeCloseNotLike(String value) { - addCriterion("cascade_close not like", value, "cascadeClose"); - return (Criteria) this; - } - - public Criteria andCascadeCloseIn(List values) { - addCriterion("cascade_close in", values, "cascadeClose"); - return (Criteria) this; - } - - public Criteria andCascadeCloseNotIn(List values) { - addCriterion("cascade_close not in", values, "cascadeClose"); - return (Criteria) this; - } - - public Criteria andCascadeCloseBetween(String value1, String value2) { - addCriterion("cascade_close between", value1, value2, "cascadeClose"); - return (Criteria) this; - } - - public Criteria andCascadeCloseNotBetween(String value1, String value2) { - addCriterion("cascade_close not between", value1, value2, "cascadeClose"); - return (Criteria) this; - } - - public Criteria andCascadeOpenIsNull() { - addCriterion("cascade_open is null"); - return (Criteria) this; - } - - public Criteria andCascadeOpenIsNotNull() { - addCriterion("cascade_open is not null"); - return (Criteria) this; - } - - public Criteria andCascadeOpenEqualTo(String value) { - addCriterion("cascade_open =", value, "cascadeOpen"); - return (Criteria) this; - } - - public Criteria andCascadeOpenNotEqualTo(String value) { - addCriterion("cascade_open <>", value, "cascadeOpen"); - return (Criteria) this; - } - - public Criteria andCascadeOpenGreaterThan(String value) { - addCriterion("cascade_open >", value, "cascadeOpen"); - return (Criteria) this; - } - - public Criteria andCascadeOpenGreaterThanOrEqualTo(String value) { - addCriterion("cascade_open >=", value, "cascadeOpen"); - return (Criteria) this; - } - - public Criteria andCascadeOpenLessThan(String value) { - addCriterion("cascade_open <", value, "cascadeOpen"); - return (Criteria) this; - } - - public Criteria andCascadeOpenLessThanOrEqualTo(String value) { - addCriterion("cascade_open <=", value, "cascadeOpen"); - return (Criteria) this; - } - - public Criteria andCascadeOpenLike(String value) { - addCriterion("cascade_open like", value, "cascadeOpen"); - return (Criteria) this; - } - - public Criteria andCascadeOpenNotLike(String value) { - addCriterion("cascade_open not like", value, "cascadeOpen"); - return (Criteria) this; - } - - public Criteria andCascadeOpenIn(List values) { - addCriterion("cascade_open in", values, "cascadeOpen"); - return (Criteria) this; - } - - public Criteria andCascadeOpenNotIn(List values) { - addCriterion("cascade_open not in", values, "cascadeOpen"); - return (Criteria) this; - } - - public Criteria andCascadeOpenBetween(String value1, String value2) { - addCriterion("cascade_open between", value1, value2, "cascadeOpen"); - return (Criteria) this; - } - - public Criteria andCascadeOpenNotBetween(String value1, String value2) { - addCriterion("cascade_open not between", value1, value2, "cascadeOpen"); - return (Criteria) this; - } - - public Criteria andEditDisabledMsgIsNull() { - addCriterion("edit_disabled_msg is null"); - return (Criteria) this; - } - - public Criteria andEditDisabledMsgIsNotNull() { - addCriterion("edit_disabled_msg is not null"); - return (Criteria) this; - } - - public Criteria andEditDisabledMsgEqualTo(String value) { - addCriterion("edit_disabled_msg =", value, "editDisabledMsg"); - return (Criteria) this; - } - - public Criteria andEditDisabledMsgNotEqualTo(String value) { - addCriterion("edit_disabled_msg <>", value, "editDisabledMsg"); - return (Criteria) this; - } - - public Criteria andEditDisabledMsgGreaterThan(String value) { - addCriterion("edit_disabled_msg >", value, "editDisabledMsg"); - return (Criteria) this; - } - - public Criteria andEditDisabledMsgGreaterThanOrEqualTo(String value) { - addCriterion("edit_disabled_msg >=", value, "editDisabledMsg"); - return (Criteria) this; - } - - public Criteria andEditDisabledMsgLessThan(String value) { - addCriterion("edit_disabled_msg <", value, "editDisabledMsg"); - return (Criteria) this; - } - - public Criteria andEditDisabledMsgLessThanOrEqualTo(String value) { - addCriterion("edit_disabled_msg <=", value, "editDisabledMsg"); - return (Criteria) this; - } - - public Criteria andEditDisabledMsgLike(String value) { - addCriterion("edit_disabled_msg like", value, "editDisabledMsg"); - return (Criteria) this; - } - - public Criteria andEditDisabledMsgNotLike(String value) { - addCriterion("edit_disabled_msg not like", value, "editDisabledMsg"); - return (Criteria) this; - } - - public Criteria andEditDisabledMsgIn(List values) { - addCriterion("edit_disabled_msg in", values, "editDisabledMsg"); - return (Criteria) this; - } - - public Criteria andEditDisabledMsgNotIn(List values) { - addCriterion("edit_disabled_msg not in", values, "editDisabledMsg"); - return (Criteria) this; - } - - public Criteria andEditDisabledMsgBetween(String value1, String value2) { - addCriterion("edit_disabled_msg between", value1, value2, "editDisabledMsg"); - return (Criteria) this; - } - - public Criteria andEditDisabledMsgNotBetween(String value1, String value2) { - addCriterion("edit_disabled_msg not between", value1, value2, "editDisabledMsg"); - return (Criteria) this; - } - - public Criteria andEditDisabledIsNull() { - addCriterion("edit_disabled is null"); - return (Criteria) this; - } - - public Criteria andEditDisabledIsNotNull() { - addCriterion("edit_disabled is not null"); - return (Criteria) this; - } - - public Criteria andEditDisabledEqualTo(Boolean value) { - addCriterion("edit_disabled =", value, "editDisabled"); - return (Criteria) this; - } - - public Criteria andEditDisabledNotEqualTo(Boolean value) { - addCriterion("edit_disabled <>", value, "editDisabled"); - return (Criteria) this; - } - - public Criteria andEditDisabledGreaterThan(Boolean value) { - addCriterion("edit_disabled >", value, "editDisabled"); - return (Criteria) this; - } - - public Criteria andEditDisabledGreaterThanOrEqualTo(Boolean value) { - addCriterion("edit_disabled >=", value, "editDisabled"); - return (Criteria) this; - } - - public Criteria andEditDisabledLessThan(Boolean value) { - addCriterion("edit_disabled <", value, "editDisabled"); - return (Criteria) this; - } - - public Criteria andEditDisabledLessThanOrEqualTo(Boolean value) { - addCriterion("edit_disabled <=", value, "editDisabled"); - return (Criteria) this; - } - - public Criteria andEditDisabledIn(List values) { - addCriterion("edit_disabled in", values, "editDisabled"); - return (Criteria) this; - } - - public Criteria andEditDisabledNotIn(List values) { - addCriterion("edit_disabled not in", values, "editDisabled"); - return (Criteria) this; - } - - public Criteria andEditDisabledBetween(Boolean value1, Boolean value2) { - addCriterion("edit_disabled between", value1, value2, "editDisabled"); - return (Criteria) this; - } - - public Criteria andEditDisabledNotBetween(Boolean value1, Boolean value2) { - addCriterion("edit_disabled not between", value1, value2, "editDisabled"); - return (Criteria) this; - } - - public Criteria andShowCascadeIsNull() { - addCriterion("show_cascade is null"); - return (Criteria) this; - } - - public Criteria andShowCascadeIsNotNull() { - addCriterion("show_cascade is not null"); - return (Criteria) this; - } - - public Criteria andShowCascadeEqualTo(String value) { - addCriterion("show_cascade =", value, "showCascade"); - return (Criteria) this; - } - - public Criteria andShowCascadeNotEqualTo(String value) { - addCriterion("show_cascade <>", value, "showCascade"); - return (Criteria) this; - } - - public Criteria andShowCascadeGreaterThan(String value) { - addCriterion("show_cascade >", value, "showCascade"); - return (Criteria) this; - } - - public Criteria andShowCascadeGreaterThanOrEqualTo(String value) { - addCriterion("show_cascade >=", value, "showCascade"); - return (Criteria) this; - } - - public Criteria andShowCascadeLessThan(String value) { - addCriterion("show_cascade <", value, "showCascade"); - return (Criteria) this; - } - - public Criteria andShowCascadeLessThanOrEqualTo(String value) { - addCriterion("show_cascade <=", value, "showCascade"); - return (Criteria) this; - } - - public Criteria andShowCascadeLike(String value) { - addCriterion("show_cascade like", value, "showCascade"); - return (Criteria) this; - } - - public Criteria andShowCascadeNotLike(String value) { - addCriterion("show_cascade not like", value, "showCascade"); - return (Criteria) this; - } - - public Criteria andShowCascadeIn(List values) { - addCriterion("show_cascade in", values, "showCascade"); - return (Criteria) this; - } - - public Criteria andShowCascadeNotIn(List values) { - addCriterion("show_cascade not in", values, "showCascade"); - return (Criteria) this; - } - - public Criteria andShowCascadeBetween(String value1, String value2) { - addCriterion("show_cascade between", value1, value2, "showCascade"); - return (Criteria) this; - } - - public Criteria andShowCascadeNotBetween(String value1, String value2) { - addCriterion("show_cascade not between", value1, value2, "showCascade"); - return (Criteria) this; - } - - public Criteria andCreatedByIsNull() { - addCriterion("created_by is null"); - return (Criteria) this; - } - - public Criteria andCreatedByIsNotNull() { - addCriterion("created_by is not null"); - return (Criteria) this; - } - - public Criteria andCreatedByEqualTo(Long value) { - addCriterion("created_by =", value, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByNotEqualTo(Long value) { - addCriterion("created_by <>", value, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByGreaterThan(Long value) { - addCriterion("created_by >", value, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByGreaterThanOrEqualTo(Long value) { - addCriterion("created_by >=", value, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByLessThan(Long value) { - addCriterion("created_by <", value, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByLessThanOrEqualTo(Long value) { - addCriterion("created_by <=", value, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByIn(List values) { - addCriterion("created_by in", values, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByNotIn(List values) { - addCriterion("created_by not in", values, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByBetween(Long value1, Long value2) { - addCriterion("created_by between", value1, value2, "createdBy"); - return (Criteria) this; - } - - public Criteria andCreatedByNotBetween(Long value1, Long value2) { - addCriterion("created_by not between", value1, value2, "createdBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByIsNull() { - addCriterion("updated_by is null"); - return (Criteria) this; - } - - public Criteria andUpdatedByIsNotNull() { - addCriterion("updated_by is not null"); - return (Criteria) this; - } - - public Criteria andUpdatedByEqualTo(Long value) { - addCriterion("updated_by =", value, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByNotEqualTo(Long value) { - addCriterion("updated_by <>", value, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByGreaterThan(Long value) { - addCriterion("updated_by >", value, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByGreaterThanOrEqualTo(Long value) { - addCriterion("updated_by >=", value, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByLessThan(Long value) { - addCriterion("updated_by <", value, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByLessThanOrEqualTo(Long value) { - addCriterion("updated_by <=", value, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByIn(List values) { - addCriterion("updated_by in", values, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByNotIn(List values) { - addCriterion("updated_by not in", values, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByBetween(Long value1, Long value2) { - addCriterion("updated_by between", value1, value2, "updatedBy"); - return (Criteria) this; - } - - public Criteria andUpdatedByNotBetween(Long value1, Long value2) { - addCriterion("updated_by not between", value1, value2, "updatedBy"); - 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 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; - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table form_template_field - * - * @mbg.generated do_not_delete_during_merge - */ - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table form_template_field - * - * @mbg.generated - */ - 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/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/ModifyLogRecord.java b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/ModifyLogRecord.java index 1de0a359d..ec189c942 100644 --- a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/ModifyLogRecord.java +++ b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/ModifyLogRecord.java @@ -2,24 +2,13 @@ package com.pcloud.booksflow.form.mybatis.entity; import java.io.Serializable; import java.util.Date; -import lombok.AllArgsConstructor; -import lombok.Builder; -import lombok.Getter; -import lombok.NoArgsConstructor; -import lombok.Setter; -import lombok.ToString; -/** - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table modify_log_record - */ -@Getter -@Setter -@Builder -@ToString -@NoArgsConstructor -@AllArgsConstructor +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.*; + + +@Data +@TableName("") public class ModifyLogRecord implements Serializable { /** * Database Column Remarks: @@ -204,4 +193,4 @@ public class ModifyLogRecord implements Serializable { * @mbg.generated */ private static final long serialVersionUID = 1L; -} \ No newline at end of file +} diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/ModifyLogRecordExample.java b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/ModifyLogRecordExample.java deleted file mode 100644 index 6bb5e50ed..000000000 --- a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/ModifyLogRecordExample.java +++ /dev/null @@ -1,1362 +0,0 @@ -package com.pcloud.booksflow.form.mybatis.entity; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class ModifyLogRecordExample { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table modify_log_record - * - * @mbg.generated - */ - protected String orderByClause; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table modify_log_record - * - * @mbg.generated - */ - protected boolean distinct; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table modify_log_record - * - * @mbg.generated - */ - protected List oredCriteria; - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table modify_log_record - * - * @mbg.generated - */ - public ModifyLogRecordExample() { - oredCriteria = new ArrayList<>(); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table modify_log_record - * - * @mbg.generated - */ - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table modify_log_record - * - * @mbg.generated - */ - public String getOrderByClause() { - return orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table modify_log_record - * - * @mbg.generated - */ - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table modify_log_record - * - * @mbg.generated - */ - public boolean isDistinct() { - return distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table modify_log_record - * - * @mbg.generated - */ - public List getOredCriteria() { - return oredCriteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table modify_log_record - * - * @mbg.generated - */ - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table modify_log_record - * - * @mbg.generated - */ - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table modify_log_record - * - * @mbg.generated - */ - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table modify_log_record - * - * @mbg.generated - */ - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table modify_log_record - * - * @mbg.generated - */ - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table modify_log_record - * - * @mbg.generated - */ - 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 andEntityTypeIsNull() { - addCriterion("entity_type is null"); - return (Criteria) this; - } - - public Criteria andEntityTypeIsNotNull() { - addCriterion("entity_type is not null"); - return (Criteria) this; - } - - public Criteria andEntityTypeEqualTo(String value) { - addCriterion("entity_type =", value, "entityType"); - return (Criteria) this; - } - - public Criteria andEntityTypeNotEqualTo(String value) { - addCriterion("entity_type <>", value, "entityType"); - return (Criteria) this; - } - - public Criteria andEntityTypeGreaterThan(String value) { - addCriterion("entity_type >", value, "entityType"); - return (Criteria) this; - } - - public Criteria andEntityTypeGreaterThanOrEqualTo(String value) { - addCriterion("entity_type >=", value, "entityType"); - return (Criteria) this; - } - - public Criteria andEntityTypeLessThan(String value) { - addCriterion("entity_type <", value, "entityType"); - return (Criteria) this; - } - - public Criteria andEntityTypeLessThanOrEqualTo(String value) { - addCriterion("entity_type <=", value, "entityType"); - return (Criteria) this; - } - - public Criteria andEntityTypeLike(String value) { - addCriterion("entity_type like", value, "entityType"); - return (Criteria) this; - } - - public Criteria andEntityTypeNotLike(String value) { - addCriterion("entity_type not like", value, "entityType"); - return (Criteria) this; - } - - public Criteria andEntityTypeIn(List values) { - addCriterion("entity_type in", values, "entityType"); - return (Criteria) this; - } - - public Criteria andEntityTypeNotIn(List values) { - addCriterion("entity_type not in", values, "entityType"); - return (Criteria) this; - } - - public Criteria andEntityTypeBetween(String value1, String value2) { - addCriterion("entity_type between", value1, value2, "entityType"); - return (Criteria) this; - } - - public Criteria andEntityTypeNotBetween(String value1, String value2) { - addCriterion("entity_type not between", value1, value2, "entityType"); - return (Criteria) this; - } - - public Criteria andEntityIdIsNull() { - addCriterion("entity_id is null"); - return (Criteria) this; - } - - public Criteria andEntityIdIsNotNull() { - addCriterion("entity_id is not null"); - return (Criteria) this; - } - - public Criteria andEntityIdEqualTo(String value) { - addCriterion("entity_id =", value, "entityId"); - return (Criteria) this; - } - - public Criteria andEntityIdNotEqualTo(String value) { - addCriterion("entity_id <>", value, "entityId"); - return (Criteria) this; - } - - public Criteria andEntityIdGreaterThan(String value) { - addCriterion("entity_id >", value, "entityId"); - return (Criteria) this; - } - - public Criteria andEntityIdGreaterThanOrEqualTo(String value) { - addCriterion("entity_id >=", value, "entityId"); - return (Criteria) this; - } - - public Criteria andEntityIdLessThan(String value) { - addCriterion("entity_id <", value, "entityId"); - return (Criteria) this; - } - - public Criteria andEntityIdLessThanOrEqualTo(String value) { - addCriterion("entity_id <=", value, "entityId"); - return (Criteria) this; - } - - public Criteria andEntityIdLike(String value) { - addCriterion("entity_id like", value, "entityId"); - return (Criteria) this; - } - - public Criteria andEntityIdNotLike(String value) { - addCriterion("entity_id not like", value, "entityId"); - return (Criteria) this; - } - - public Criteria andEntityIdIn(List values) { - addCriterion("entity_id in", values, "entityId"); - return (Criteria) this; - } - - public Criteria andEntityIdNotIn(List values) { - addCriterion("entity_id not in", values, "entityId"); - return (Criteria) this; - } - - public Criteria andEntityIdBetween(String value1, String value2) { - addCriterion("entity_id between", value1, value2, "entityId"); - return (Criteria) this; - } - - public Criteria andEntityIdNotBetween(String value1, String value2) { - addCriterion("entity_id not between", value1, value2, "entityId"); - return (Criteria) this; - } - - public Criteria andFormCodeIsNull() { - addCriterion("form_code is null"); - return (Criteria) this; - } - - public Criteria andFormCodeIsNotNull() { - addCriterion("form_code is not null"); - return (Criteria) this; - } - - public Criteria andFormCodeEqualTo(String value) { - addCriterion("form_code =", value, "formCode"); - return (Criteria) this; - } - - public Criteria andFormCodeNotEqualTo(String value) { - addCriterion("form_code <>", value, "formCode"); - return (Criteria) this; - } - - public Criteria andFormCodeGreaterThan(String value) { - addCriterion("form_code >", value, "formCode"); - return (Criteria) this; - } - - public Criteria andFormCodeGreaterThanOrEqualTo(String value) { - addCriterion("form_code >=", value, "formCode"); - return (Criteria) this; - } - - public Criteria andFormCodeLessThan(String value) { - addCriterion("form_code <", value, "formCode"); - return (Criteria) this; - } - - public Criteria andFormCodeLessThanOrEqualTo(String value) { - addCriterion("form_code <=", value, "formCode"); - return (Criteria) this; - } - - public Criteria andFormCodeLike(String value) { - addCriterion("form_code like", value, "formCode"); - return (Criteria) this; - } - - public Criteria andFormCodeNotLike(String value) { - addCriterion("form_code not like", value, "formCode"); - return (Criteria) this; - } - - public Criteria andFormCodeIn(List values) { - addCriterion("form_code in", values, "formCode"); - return (Criteria) this; - } - - public Criteria andFormCodeNotIn(List values) { - addCriterion("form_code not in", values, "formCode"); - return (Criteria) this; - } - - public Criteria andFormCodeBetween(String value1, String value2) { - addCriterion("form_code between", value1, value2, "formCode"); - return (Criteria) this; - } - - public Criteria andFormCodeNotBetween(String value1, String value2) { - addCriterion("form_code not between", value1, value2, "formCode"); - return (Criteria) this; - } - - public Criteria andDescriptionIsNull() { - addCriterion("description is null"); - return (Criteria) this; - } - - public Criteria andDescriptionIsNotNull() { - addCriterion("description is not null"); - return (Criteria) this; - } - - public Criteria andDescriptionEqualTo(String value) { - addCriterion("description =", value, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionNotEqualTo(String value) { - addCriterion("description <>", value, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionGreaterThan(String value) { - addCriterion("description >", value, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionGreaterThanOrEqualTo(String value) { - addCriterion("description >=", value, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionLessThan(String value) { - addCriterion("description <", value, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionLessThanOrEqualTo(String value) { - addCriterion("description <=", value, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionLike(String value) { - addCriterion("description like", value, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionNotLike(String value) { - addCriterion("description not like", value, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionIn(List values) { - addCriterion("description in", values, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionNotIn(List values) { - addCriterion("description not in", values, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionBetween(String value1, String value2) { - addCriterion("description between", value1, value2, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionNotBetween(String value1, String value2) { - addCriterion("description not between", value1, value2, "description"); - return (Criteria) this; - } - - public Criteria andFieldChineseNameIsNull() { - addCriterion("field_chinese_name is null"); - return (Criteria) this; - } - - public Criteria andFieldChineseNameIsNotNull() { - addCriterion("field_chinese_name is not null"); - return (Criteria) this; - } - - public Criteria andFieldChineseNameEqualTo(String value) { - addCriterion("field_chinese_name =", value, "fieldChineseName"); - return (Criteria) this; - } - - public Criteria andFieldChineseNameNotEqualTo(String value) { - addCriterion("field_chinese_name <>", value, "fieldChineseName"); - return (Criteria) this; - } - - public Criteria andFieldChineseNameGreaterThan(String value) { - addCriterion("field_chinese_name >", value, "fieldChineseName"); - return (Criteria) this; - } - - public Criteria andFieldChineseNameGreaterThanOrEqualTo(String value) { - addCriterion("field_chinese_name >=", value, "fieldChineseName"); - return (Criteria) this; - } - - public Criteria andFieldChineseNameLessThan(String value) { - addCriterion("field_chinese_name <", value, "fieldChineseName"); - return (Criteria) this; - } - - public Criteria andFieldChineseNameLessThanOrEqualTo(String value) { - addCriterion("field_chinese_name <=", value, "fieldChineseName"); - return (Criteria) this; - } - - public Criteria andFieldChineseNameLike(String value) { - addCriterion("field_chinese_name like", value, "fieldChineseName"); - return (Criteria) this; - } - - public Criteria andFieldChineseNameNotLike(String value) { - addCriterion("field_chinese_name not like", value, "fieldChineseName"); - return (Criteria) this; - } - - public Criteria andFieldChineseNameIn(List values) { - addCriterion("field_chinese_name in", values, "fieldChineseName"); - return (Criteria) this; - } - - public Criteria andFieldChineseNameNotIn(List values) { - addCriterion("field_chinese_name not in", values, "fieldChineseName"); - return (Criteria) this; - } - - public Criteria andFieldChineseNameBetween(String value1, String value2) { - addCriterion("field_chinese_name between", value1, value2, "fieldChineseName"); - return (Criteria) this; - } - - public Criteria andFieldChineseNameNotBetween(String value1, String value2) { - addCriterion("field_chinese_name not between", value1, value2, "fieldChineseName"); - return (Criteria) this; - } - - public Criteria andFieldEnglishNameIsNull() { - addCriterion("field_english_name is null"); - return (Criteria) this; - } - - public Criteria andFieldEnglishNameIsNotNull() { - addCriterion("field_english_name is not null"); - return (Criteria) this; - } - - public Criteria andFieldEnglishNameEqualTo(String value) { - addCriterion("field_english_name =", value, "fieldEnglishName"); - return (Criteria) this; - } - - public Criteria andFieldEnglishNameNotEqualTo(String value) { - addCriterion("field_english_name <>", value, "fieldEnglishName"); - return (Criteria) this; - } - - public Criteria andFieldEnglishNameGreaterThan(String value) { - addCriterion("field_english_name >", value, "fieldEnglishName"); - return (Criteria) this; - } - - public Criteria andFieldEnglishNameGreaterThanOrEqualTo(String value) { - addCriterion("field_english_name >=", value, "fieldEnglishName"); - return (Criteria) this; - } - - public Criteria andFieldEnglishNameLessThan(String value) { - addCriterion("field_english_name <", value, "fieldEnglishName"); - return (Criteria) this; - } - - public Criteria andFieldEnglishNameLessThanOrEqualTo(String value) { - addCriterion("field_english_name <=", value, "fieldEnglishName"); - return (Criteria) this; - } - - public Criteria andFieldEnglishNameLike(String value) { - addCriterion("field_english_name like", value, "fieldEnglishName"); - return (Criteria) this; - } - - public Criteria andFieldEnglishNameNotLike(String value) { - addCriterion("field_english_name not like", value, "fieldEnglishName"); - return (Criteria) this; - } - - public Criteria andFieldEnglishNameIn(List values) { - addCriterion("field_english_name in", values, "fieldEnglishName"); - return (Criteria) this; - } - - public Criteria andFieldEnglishNameNotIn(List values) { - addCriterion("field_english_name not in", values, "fieldEnglishName"); - return (Criteria) this; - } - - public Criteria andFieldEnglishNameBetween(String value1, String value2) { - addCriterion("field_english_name between", value1, value2, "fieldEnglishName"); - return (Criteria) this; - } - - public Criteria andFieldEnglishNameNotBetween(String value1, String value2) { - addCriterion("field_english_name not between", value1, value2, "fieldEnglishName"); - return (Criteria) this; - } - - public Criteria andOldValueIsNull() { - addCriterion("old_value is null"); - return (Criteria) this; - } - - public Criteria andOldValueIsNotNull() { - addCriterion("old_value is not null"); - return (Criteria) this; - } - - public Criteria andOldValueEqualTo(String value) { - addCriterion("old_value =", value, "oldValue"); - return (Criteria) this; - } - - public Criteria andOldValueNotEqualTo(String value) { - addCriterion("old_value <>", value, "oldValue"); - return (Criteria) this; - } - - public Criteria andOldValueGreaterThan(String value) { - addCriterion("old_value >", value, "oldValue"); - return (Criteria) this; - } - - public Criteria andOldValueGreaterThanOrEqualTo(String value) { - addCriterion("old_value >=", value, "oldValue"); - return (Criteria) this; - } - - public Criteria andOldValueLessThan(String value) { - addCriterion("old_value <", value, "oldValue"); - return (Criteria) this; - } - - public Criteria andOldValueLessThanOrEqualTo(String value) { - addCriterion("old_value <=", value, "oldValue"); - return (Criteria) this; - } - - public Criteria andOldValueLike(String value) { - addCriterion("old_value like", value, "oldValue"); - return (Criteria) this; - } - - public Criteria andOldValueNotLike(String value) { - addCriterion("old_value not like", value, "oldValue"); - return (Criteria) this; - } - - public Criteria andOldValueIn(List values) { - addCriterion("old_value in", values, "oldValue"); - return (Criteria) this; - } - - public Criteria andOldValueNotIn(List values) { - addCriterion("old_value not in", values, "oldValue"); - return (Criteria) this; - } - - public Criteria andOldValueBetween(String value1, String value2) { - addCriterion("old_value between", value1, value2, "oldValue"); - return (Criteria) this; - } - - public Criteria andOldValueNotBetween(String value1, String value2) { - addCriterion("old_value not between", value1, value2, "oldValue"); - return (Criteria) this; - } - - public Criteria andNewValueIsNull() { - addCriterion("new_value is null"); - return (Criteria) this; - } - - public Criteria andNewValueIsNotNull() { - addCriterion("new_value is not null"); - return (Criteria) this; - } - - public Criteria andNewValueEqualTo(String value) { - addCriterion("new_value =", value, "newValue"); - return (Criteria) this; - } - - public Criteria andNewValueNotEqualTo(String value) { - addCriterion("new_value <>", value, "newValue"); - return (Criteria) this; - } - - public Criteria andNewValueGreaterThan(String value) { - addCriterion("new_value >", value, "newValue"); - return (Criteria) this; - } - - public Criteria andNewValueGreaterThanOrEqualTo(String value) { - addCriterion("new_value >=", value, "newValue"); - return (Criteria) this; - } - - public Criteria andNewValueLessThan(String value) { - addCriterion("new_value <", value, "newValue"); - return (Criteria) this; - } - - public Criteria andNewValueLessThanOrEqualTo(String value) { - addCriterion("new_value <=", value, "newValue"); - return (Criteria) this; - } - - public Criteria andNewValueLike(String value) { - addCriterion("new_value like", value, "newValue"); - return (Criteria) this; - } - - public Criteria andNewValueNotLike(String value) { - addCriterion("new_value not like", value, "newValue"); - return (Criteria) this; - } - - public Criteria andNewValueIn(List values) { - addCriterion("new_value in", values, "newValue"); - return (Criteria) this; - } - - public Criteria andNewValueNotIn(List values) { - addCriterion("new_value not in", values, "newValue"); - return (Criteria) this; - } - - public Criteria andNewValueBetween(String value1, String value2) { - addCriterion("new_value between", value1, value2, "newValue"); - return (Criteria) this; - } - - public Criteria andNewValueNotBetween(String value1, String value2) { - addCriterion("new_value not between", value1, value2, "newValue"); - return (Criteria) this; - } - - public Criteria andOperatorIsNull() { - addCriterion("`operator` is null"); - return (Criteria) this; - } - - public Criteria andOperatorIsNotNull() { - addCriterion("`operator` is not null"); - return (Criteria) this; - } - - public Criteria andOperatorEqualTo(Long value) { - addCriterion("`operator` =", value, "operator"); - return (Criteria) this; - } - - public Criteria andOperatorNotEqualTo(Long value) { - addCriterion("`operator` <>", value, "operator"); - return (Criteria) this; - } - - public Criteria andOperatorGreaterThan(Long value) { - addCriterion("`operator` >", value, "operator"); - return (Criteria) this; - } - - public Criteria andOperatorGreaterThanOrEqualTo(Long value) { - addCriterion("`operator` >=", value, "operator"); - return (Criteria) this; - } - - public Criteria andOperatorLessThan(Long value) { - addCriterion("`operator` <", value, "operator"); - return (Criteria) this; - } - - public Criteria andOperatorLessThanOrEqualTo(Long value) { - addCriterion("`operator` <=", value, "operator"); - return (Criteria) this; - } - - public Criteria andOperatorIn(List values) { - addCriterion("`operator` in", values, "operator"); - return (Criteria) this; - } - - public Criteria andOperatorNotIn(List values) { - addCriterion("`operator` not in", values, "operator"); - return (Criteria) this; - } - - public Criteria andOperatorBetween(Long value1, Long value2) { - addCriterion("`operator` between", value1, value2, "operator"); - return (Criteria) this; - } - - public Criteria andOperatorNotBetween(Long value1, Long value2) { - addCriterion("`operator` not between", value1, value2, "operator"); - return (Criteria) this; - } - - public Criteria andOperatorNameIsNull() { - addCriterion("operator_name is null"); - return (Criteria) this; - } - - public Criteria andOperatorNameIsNotNull() { - addCriterion("operator_name is not null"); - return (Criteria) this; - } - - public Criteria andOperatorNameEqualTo(String value) { - addCriterion("operator_name =", value, "operatorName"); - return (Criteria) this; - } - - public Criteria andOperatorNameNotEqualTo(String value) { - addCriterion("operator_name <>", value, "operatorName"); - return (Criteria) this; - } - - public Criteria andOperatorNameGreaterThan(String value) { - addCriterion("operator_name >", value, "operatorName"); - return (Criteria) this; - } - - public Criteria andOperatorNameGreaterThanOrEqualTo(String value) { - addCriterion("operator_name >=", value, "operatorName"); - return (Criteria) this; - } - - public Criteria andOperatorNameLessThan(String value) { - addCriterion("operator_name <", value, "operatorName"); - return (Criteria) this; - } - - public Criteria andOperatorNameLessThanOrEqualTo(String value) { - addCriterion("operator_name <=", value, "operatorName"); - return (Criteria) this; - } - - public Criteria andOperatorNameLike(String value) { - addCriterion("operator_name like", value, "operatorName"); - return (Criteria) this; - } - - public Criteria andOperatorNameNotLike(String value) { - addCriterion("operator_name not like", value, "operatorName"); - return (Criteria) this; - } - - public Criteria andOperatorNameIn(List values) { - addCriterion("operator_name in", values, "operatorName"); - return (Criteria) this; - } - - public Criteria andOperatorNameNotIn(List values) { - addCriterion("operator_name not in", values, "operatorName"); - return (Criteria) this; - } - - public Criteria andOperatorNameBetween(String value1, String value2) { - addCriterion("operator_name between", value1, value2, "operatorName"); - return (Criteria) this; - } - - public Criteria andOperatorNameNotBetween(String value1, String value2) { - addCriterion("operator_name not between", value1, value2, "operatorName"); - return (Criteria) this; - } - - public Criteria andOperationTimeIsNull() { - addCriterion("operation_time is null"); - return (Criteria) this; - } - - public Criteria andOperationTimeIsNotNull() { - addCriterion("operation_time is not null"); - return (Criteria) this; - } - - public Criteria andOperationTimeEqualTo(Date value) { - addCriterion("operation_time =", value, "operationTime"); - return (Criteria) this; - } - - public Criteria andOperationTimeNotEqualTo(Date value) { - addCriterion("operation_time <>", value, "operationTime"); - return (Criteria) this; - } - - public Criteria andOperationTimeGreaterThan(Date value) { - addCriterion("operation_time >", value, "operationTime"); - return (Criteria) this; - } - - public Criteria andOperationTimeGreaterThanOrEqualTo(Date value) { - addCriterion("operation_time >=", value, "operationTime"); - return (Criteria) this; - } - - public Criteria andOperationTimeLessThan(Date value) { - addCriterion("operation_time <", value, "operationTime"); - return (Criteria) this; - } - - public Criteria andOperationTimeLessThanOrEqualTo(Date value) { - addCriterion("operation_time <=", value, "operationTime"); - return (Criteria) this; - } - - public Criteria andOperationTimeIn(List values) { - addCriterion("operation_time in", values, "operationTime"); - return (Criteria) this; - } - - public Criteria andOperationTimeNotIn(List values) { - addCriterion("operation_time not in", values, "operationTime"); - return (Criteria) this; - } - - public Criteria andOperationTimeBetween(Date value1, Date value2) { - addCriterion("operation_time between", value1, value2, "operationTime"); - return (Criteria) this; - } - - public Criteria andOperationTimeNotBetween(Date value1, Date value2) { - addCriterion("operation_time not between", value1, value2, "operationTime"); - 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 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 andServiceNameIsNull() { - addCriterion("service_name is null"); - return (Criteria) this; - } - - public Criteria andServiceNameIsNotNull() { - addCriterion("service_name is not null"); - return (Criteria) this; - } - - public Criteria andServiceNameEqualTo(String value) { - addCriterion("service_name =", value, "serviceName"); - return (Criteria) this; - } - - public Criteria andServiceNameNotEqualTo(String value) { - addCriterion("service_name <>", value, "serviceName"); - return (Criteria) this; - } - - public Criteria andServiceNameGreaterThan(String value) { - addCriterion("service_name >", value, "serviceName"); - return (Criteria) this; - } - - public Criteria andServiceNameGreaterThanOrEqualTo(String value) { - addCriterion("service_name >=", value, "serviceName"); - return (Criteria) this; - } - - public Criteria andServiceNameLessThan(String value) { - addCriterion("service_name <", value, "serviceName"); - return (Criteria) this; - } - - public Criteria andServiceNameLessThanOrEqualTo(String value) { - addCriterion("service_name <=", value, "serviceName"); - return (Criteria) this; - } - - public Criteria andServiceNameLike(String value) { - addCriterion("service_name like", value, "serviceName"); - return (Criteria) this; - } - - public Criteria andServiceNameNotLike(String value) { - addCriterion("service_name not like", value, "serviceName"); - return (Criteria) this; - } - - public Criteria andServiceNameIn(List values) { - addCriterion("service_name in", values, "serviceName"); - return (Criteria) this; - } - - public Criteria andServiceNameNotIn(List values) { - addCriterion("service_name not in", values, "serviceName"); - return (Criteria) this; - } - - public Criteria andServiceNameBetween(String value1, String value2) { - addCriterion("service_name between", value1, value2, "serviceName"); - return (Criteria) this; - } - - public Criteria andServiceNameNotBetween(String value1, String value2) { - addCriterion("service_name not between", value1, value2, "serviceName"); - return (Criteria) this; - } - - public Criteria andDeletedIsNull() { - addCriterion("deleted is null"); - return (Criteria) this; - } - - public Criteria andDeletedIsNotNull() { - addCriterion("deleted is not null"); - return (Criteria) this; - } - - public Criteria andDeletedEqualTo(Integer value) { - addCriterion("deleted =", value, "deleted"); - return (Criteria) this; - } - - public Criteria andDeletedNotEqualTo(Integer value) { - addCriterion("deleted <>", value, "deleted"); - return (Criteria) this; - } - - public Criteria andDeletedGreaterThan(Integer value) { - addCriterion("deleted >", value, "deleted"); - return (Criteria) this; - } - - public Criteria andDeletedGreaterThanOrEqualTo(Integer value) { - addCriterion("deleted >=", value, "deleted"); - return (Criteria) this; - } - - public Criteria andDeletedLessThan(Integer value) { - addCriterion("deleted <", value, "deleted"); - return (Criteria) this; - } - - public Criteria andDeletedLessThanOrEqualTo(Integer value) { - addCriterion("deleted <=", value, "deleted"); - return (Criteria) this; - } - - public Criteria andDeletedIn(List values) { - addCriterion("deleted in", values, "deleted"); - return (Criteria) this; - } - - public Criteria andDeletedNotIn(List values) { - addCriterion("deleted not in", values, "deleted"); - return (Criteria) this; - } - - public Criteria andDeletedBetween(Integer value1, Integer value2) { - addCriterion("deleted between", value1, value2, "deleted"); - return (Criteria) this; - } - - public Criteria andDeletedNotBetween(Integer value1, Integer value2) { - addCriterion("deleted not between", value1, value2, "deleted"); - return (Criteria) this; - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table modify_log_record - * - * @mbg.generated do_not_delete_during_merge - */ - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table modify_log_record - * - * @mbg.generated - */ - 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/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/TenantInitStatus.java b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/TenantInitStatus.java index 92d73c217..0d1f1dc72 100644 --- a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/TenantInitStatus.java +++ b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/TenantInitStatus.java @@ -2,24 +2,13 @@ package com.pcloud.booksflow.form.mybatis.entity; import java.io.Serializable; import java.util.Date; -import lombok.AllArgsConstructor; -import lombok.Builder; -import lombok.Getter; -import lombok.NoArgsConstructor; -import lombok.Setter; -import lombok.ToString; -/** - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table tenant_init_status - */ -@Getter -@Setter -@Builder -@ToString -@NoArgsConstructor -@AllArgsConstructor +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.*; + + +@Data +@TableName("") public class TenantInitStatus implements Serializable { /** * Database Column Remarks: @@ -83,4 +72,4 @@ public class TenantInitStatus implements Serializable { * @mbg.generated */ private static final long serialVersionUID = 1L; -} \ No newline at end of file +} diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/TenantInitStatusExample.java b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/TenantInitStatusExample.java deleted file mode 100644 index 819f95d80..000000000 --- a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/entity/TenantInitStatusExample.java +++ /dev/null @@ -1,602 +0,0 @@ -package com.pcloud.booksflow.form.mybatis.entity; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class TenantInitStatusExample { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table tenant_init_status - * - * @mbg.generated - */ - protected String orderByClause; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table tenant_init_status - * - * @mbg.generated - */ - protected boolean distinct; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table tenant_init_status - * - * @mbg.generated - */ - protected List oredCriteria; - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table tenant_init_status - * - * @mbg.generated - */ - public TenantInitStatusExample() { - oredCriteria = new ArrayList<>(); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table tenant_init_status - * - * @mbg.generated - */ - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table tenant_init_status - * - * @mbg.generated - */ - public String getOrderByClause() { - return orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table tenant_init_status - * - * @mbg.generated - */ - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table tenant_init_status - * - * @mbg.generated - */ - public boolean isDistinct() { - return distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table tenant_init_status - * - * @mbg.generated - */ - public List getOredCriteria() { - return oredCriteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table tenant_init_status - * - * @mbg.generated - */ - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table tenant_init_status - * - * @mbg.generated - */ - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table tenant_init_status - * - * @mbg.generated - */ - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table tenant_init_status - * - * @mbg.generated - */ - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table tenant_init_status - * - * @mbg.generated - */ - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table tenant_init_status - * - * @mbg.generated - */ - 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 andInitializedIsNull() { - addCriterion("initialized is null"); - return (Criteria) this; - } - - public Criteria andInitializedIsNotNull() { - addCriterion("initialized is not null"); - return (Criteria) this; - } - - public Criteria andInitializedEqualTo(Integer value) { - addCriterion("initialized =", value, "initialized"); - return (Criteria) this; - } - - public Criteria andInitializedNotEqualTo(Integer value) { - addCriterion("initialized <>", value, "initialized"); - return (Criteria) this; - } - - public Criteria andInitializedGreaterThan(Integer value) { - addCriterion("initialized >", value, "initialized"); - return (Criteria) this; - } - - public Criteria andInitializedGreaterThanOrEqualTo(Integer value) { - addCriterion("initialized >=", value, "initialized"); - return (Criteria) this; - } - - public Criteria andInitializedLessThan(Integer value) { - addCriterion("initialized <", value, "initialized"); - return (Criteria) this; - } - - public Criteria andInitializedLessThanOrEqualTo(Integer value) { - addCriterion("initialized <=", value, "initialized"); - return (Criteria) this; - } - - public Criteria andInitializedIn(List values) { - addCriterion("initialized in", values, "initialized"); - return (Criteria) this; - } - - public Criteria andInitializedNotIn(List values) { - addCriterion("initialized not in", values, "initialized"); - return (Criteria) this; - } - - public Criteria andInitializedBetween(Integer value1, Integer value2) { - addCriterion("initialized between", value1, value2, "initialized"); - return (Criteria) this; - } - - public Criteria andInitializedNotBetween(Integer value1, Integer value2) { - addCriterion("initialized not between", value1, value2, "initialized"); - 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 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 andAgentIdIsNull() { - addCriterion("agent_id is null"); - return (Criteria) this; - } - - public Criteria andAgentIdIsNotNull() { - addCriterion("agent_id is not null"); - return (Criteria) this; - } - - public Criteria andAgentIdEqualTo(Long value) { - addCriterion("agent_id =", value, "agentId"); - return (Criteria) this; - } - - public Criteria andAgentIdNotEqualTo(Long value) { - addCriterion("agent_id <>", value, "agentId"); - return (Criteria) this; - } - - public Criteria andAgentIdGreaterThan(Long value) { - addCriterion("agent_id >", value, "agentId"); - return (Criteria) this; - } - - public Criteria andAgentIdGreaterThanOrEqualTo(Long value) { - addCriterion("agent_id >=", value, "agentId"); - return (Criteria) this; - } - - public Criteria andAgentIdLessThan(Long value) { - addCriterion("agent_id <", value, "agentId"); - return (Criteria) this; - } - - public Criteria andAgentIdLessThanOrEqualTo(Long value) { - addCriterion("agent_id <=", value, "agentId"); - return (Criteria) this; - } - - public Criteria andAgentIdIn(List values) { - addCriterion("agent_id in", values, "agentId"); - return (Criteria) this; - } - - public Criteria andAgentIdNotIn(List values) { - addCriterion("agent_id not in", values, "agentId"); - return (Criteria) this; - } - - public Criteria andAgentIdBetween(Long value1, Long value2) { - addCriterion("agent_id between", value1, value2, "agentId"); - return (Criteria) this; - } - - public Criteria andAgentIdNotBetween(Long value1, Long value2) { - addCriterion("agent_id not between", value1, value2, "agentId"); - return (Criteria) this; - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table tenant_init_status - * - * @mbg.generated do_not_delete_during_merge - */ - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table tenant_init_status - * - * @mbg.generated - */ - 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/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormDictMapper.java b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormDictMapper.java index 1abb43ac5..2b78c2601 100644 --- a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormDictMapper.java +++ b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormDictMapper.java @@ -1,121 +1,8 @@ package com.pcloud.booksflow.form.mybatis.mapper; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.pcloud.booksflow.form.mybatis.entity.FormDict; -import com.pcloud.booksflow.form.mybatis.entity.FormDictExample; -import com.pcloud.universe.commons.paging.PaginationMapper; -import java.util.List; -import org.apache.ibatis.annotations.Param; -public interface FormDictMapper extends PaginationMapper { - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_dict - * - * @mbg.generated - */ - long countByExample(FormDictExample example); +public interface FormDictMapper extends BaseMapper { - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_dict - * - * @mbg.generated - */ - int deleteByExample(FormDictExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_dict - * - * @mbg.generated - */ - int deleteByPrimaryKey(Long id); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_dict - * - * @mbg.generated - */ - int insert(FormDict record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_dict - * - * @mbg.generated - */ - int insertSelective(FormDict record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_dict - * - * @mbg.generated - */ - List selectByExample(FormDictExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_dict - * - * @mbg.generated - */ - FormDict selectByPrimaryKey(Long id); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_dict - * - * @mbg.generated - */ - int updateByExampleSelective(@Param("record") FormDict record, @Param("example") FormDictExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_dict - * - * @mbg.generated - */ - int updateByExample(@Param("record") FormDict record, @Param("example") FormDictExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_dict - * - * @mbg.generated - */ - int updateByPrimaryKeySelective(FormDict record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_dict - * - * @mbg.generated - */ - int updateByPrimaryKey(FormDict record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_dict - * - * @mbg.generated - */ - List selectByExampleWithPaging(@Param("example") FormDictExample example, @Param("offset") int offset, @Param("limit") int limit); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_dict - * - * @mbg.generated - */ - FormDict selectOneByExample(FormDictExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_dict - * - * @mbg.generated - */ - int batchInsert(@Param("list") List list); -} \ No newline at end of file +} diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormDictMapperExt.java b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormDictMapperExt.java deleted file mode 100644 index bbb3a9e70..000000000 --- a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormDictMapperExt.java +++ /dev/null @@ -1,4 +0,0 @@ -package com.pcloud.booksflow.form.mybatis.mapper; - -public interface FormDictMapperExt extends FormDictMapper { -} \ No newline at end of file diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormFieldDictMapper.java b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormFieldDictMapper.java index cb334934b..b3675be23 100644 --- a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormFieldDictMapper.java +++ b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormFieldDictMapper.java @@ -1,145 +1,22 @@ package com.pcloud.booksflow.form.mybatis.mapper; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.pcloud.booksflow.form.api.dto.DictCodesDTO; import com.pcloud.booksflow.form.mybatis.entity.FormFieldDict; import com.pcloud.booksflow.form.mybatis.entity.FormFieldDictExample; -import com.pcloud.universe.commons.paging.PaginationMapper; -import java.util.List; +import com.pcloud.universe.commons.paging.BaseMapper; import org.apache.ibatis.annotations.Param; -public interface FormFieldDictMapper extends PaginationMapper { - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_field_dict - * - * @mbg.generated - */ - long countByExample(FormFieldDictExample example); +import java.util.List; - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_field_dict - * - * @mbg.generated - */ - int deleteByExample(FormFieldDictExample example); +public interface FormFieldDictMapper extends BaseMapper { + List selectByExampleWithPagingBLOBs(@Param("example") FormFieldDictExample example, + @Param("offset") int offset, + @Param("limit") int limit, + @Param("queryStr") String queryStr); - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_field_dict - * - * @mbg.generated - */ - int deleteByPrimaryKey(Long id); + long countByExampleExt(@Param("example") FormFieldDictExample example, @Param("queryStr") String queryStr); - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_field_dict - * - * @mbg.generated - */ - int insert(FormFieldDict record); + List getByCodes(@Param("list") List dtos); - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_field_dict - * - * @mbg.generated - */ - int insertSelective(FormFieldDict record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_field_dict - * - * @mbg.generated - */ - List selectByExampleWithBLOBs(FormFieldDictExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_field_dict - * - * @mbg.generated - */ - List selectByExample(FormFieldDictExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_field_dict - * - * @mbg.generated - */ - FormFieldDict selectByPrimaryKey(Long id); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_field_dict - * - * @mbg.generated - */ - int updateByExampleSelective(@Param("record") FormFieldDict record, @Param("example") FormFieldDictExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_field_dict - * - * @mbg.generated - */ - int updateByExampleWithBLOBs(@Param("record") FormFieldDict record, @Param("example") FormFieldDictExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_field_dict - * - * @mbg.generated - */ - int updateByExample(@Param("record") FormFieldDict record, @Param("example") FormFieldDictExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_field_dict - * - * @mbg.generated - */ - int updateByPrimaryKeySelective(FormFieldDict record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_field_dict - * - * @mbg.generated - */ - int updateByPrimaryKeyWithBLOBs(FormFieldDict record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_field_dict - * - * @mbg.generated - */ - int updateByPrimaryKey(FormFieldDict record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_field_dict - * - * @mbg.generated - */ - List selectByExampleWithPaging(@Param("example") FormFieldDictExample example, @Param("offset") int offset, @Param("limit") int limit); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_field_dict - * - * @mbg.generated - */ - FormFieldDict selectOneByExample(FormFieldDictExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_field_dict - * - * @mbg.generated - */ - int batchInsert(@Param("list") List list); -} \ No newline at end of file +} diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormFieldDictMapperExt.java b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormFieldDictMapperExt.java deleted file mode 100644 index 2528f4fad..000000000 --- a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormFieldDictMapperExt.java +++ /dev/null @@ -1,21 +0,0 @@ -package com.pcloud.booksflow.form.mybatis.mapper; - -import com.pcloud.booksflow.form.api.dto.DictCodesDTO; -import com.pcloud.booksflow.form.mybatis.entity.FormFieldDict; -import com.pcloud.booksflow.form.mybatis.entity.FormFieldDictExample; -import org.apache.ibatis.annotations.Param; - -import java.util.List; - -public interface FormFieldDictMapperExt extends FormFieldDictMapper { - - List selectByExampleWithPagingBLOBs(@Param("example") FormFieldDictExample example, - @Param("offset") int offset, - @Param("limit") int limit, - @Param("queryStr") String queryStr); - - long countByExampleExt(@Param("example") FormFieldDictExample example, @Param("queryStr") String queryStr); - - List getByCodes(@Param("list") List dtos); - -} \ No newline at end of file diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormMapper.java b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormMapper.java index 60303861b..f69cb6301 100644 --- a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormMapper.java +++ b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormMapper.java @@ -1,121 +1,8 @@ package com.pcloud.booksflow.form.mybatis.mapper; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.pcloud.booksflow.form.mybatis.entity.Form; -import com.pcloud.booksflow.form.mybatis.entity.FormExample; -import com.pcloud.universe.commons.paging.PaginationMapper; -import java.util.List; -import org.apache.ibatis.annotations.Param; -public interface FormMapper extends PaginationMapper { - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form - * - * @mbg.generated - */ - long countByExample(FormExample example); +public interface FormMapper extends BaseMapper
{ - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form - * - * @mbg.generated - */ - int deleteByExample(FormExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form - * - * @mbg.generated - */ - int deleteByPrimaryKey(Long id); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form - * - * @mbg.generated - */ - int insert(Form record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form - * - * @mbg.generated - */ - int insertSelective(Form record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form - * - * @mbg.generated - */ - List selectByExample(FormExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form - * - * @mbg.generated - */ - Form selectByPrimaryKey(Long id); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form - * - * @mbg.generated - */ - int updateByExampleSelective(@Param("record") Form record, @Param("example") FormExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form - * - * @mbg.generated - */ - int updateByExample(@Param("record") Form record, @Param("example") FormExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form - * - * @mbg.generated - */ - int updateByPrimaryKeySelective(Form record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form - * - * @mbg.generated - */ - int updateByPrimaryKey(Form record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form - * - * @mbg.generated - */ - List selectByExampleWithPaging(@Param("example") FormExample example, @Param("offset") int offset, @Param("limit") int limit); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form - * - * @mbg.generated - */ - Form selectOneByExample(FormExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form - * - * @mbg.generated - */ - int batchInsert(@Param("list") List list); -} \ No newline at end of file +} diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormMapperExt.java b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormMapperExt.java deleted file mode 100644 index 679b6e53f..000000000 --- a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormMapperExt.java +++ /dev/null @@ -1,4 +0,0 @@ -package com.pcloud.booksflow.form.mybatis.mapper; - -public interface FormMapperExt extends FormMapper { -} \ No newline at end of file diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormPrintConfigMapper.java b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormPrintConfigMapper.java index 494c8d74e..9410cc084 100644 --- a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormPrintConfigMapper.java +++ b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormPrintConfigMapper.java @@ -1,146 +1,10 @@ package com.pcloud.booksflow.form.mybatis.mapper; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.pcloud.booksflow.form.mybatis.entity.FormPrintConfig; -import com.pcloud.booksflow.form.mybatis.entity.FormPrintConfigExample; -import com.pcloud.booksflow.form.mybatis.entity.FormPrintConfigWithBLOBs; -import com.pcloud.universe.commons.paging.PaginationMapper; -import java.util.List; -import org.apache.ibatis.annotations.Param; +import org.apache.ibatis.annotations.Mapper; -public interface FormPrintConfigMapper extends PaginationMapper { - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config - * - * @mbg.generated - */ - long countByExample(FormPrintConfigExample example); +@Mapper +public interface FormPrintConfigMapper extends BaseMapper { - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config - * - * @mbg.generated - */ - int deleteByExample(FormPrintConfigExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config - * - * @mbg.generated - */ - int deleteByPrimaryKey(Long id); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config - * - * @mbg.generated - */ - int insert(FormPrintConfigWithBLOBs record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config - * - * @mbg.generated - */ - int insertSelective(FormPrintConfigWithBLOBs record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config - * - * @mbg.generated - */ - List selectByExampleWithBLOBs(FormPrintConfigExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config - * - * @mbg.generated - */ - List selectByExample(FormPrintConfigExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config - * - * @mbg.generated - */ - FormPrintConfigWithBLOBs selectByPrimaryKey(Long id); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config - * - * @mbg.generated - */ - int updateByExampleSelective(@Param("record") FormPrintConfigWithBLOBs record, @Param("example") FormPrintConfigExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config - * - * @mbg.generated - */ - int updateByExampleWithBLOBs(@Param("record") FormPrintConfigWithBLOBs record, @Param("example") FormPrintConfigExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config - * - * @mbg.generated - */ - int updateByExample(@Param("record") FormPrintConfig record, @Param("example") FormPrintConfigExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config - * - * @mbg.generated - */ - int updateByPrimaryKeySelective(FormPrintConfigWithBLOBs record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config - * - * @mbg.generated - */ - int updateByPrimaryKeyWithBLOBs(FormPrintConfigWithBLOBs record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config - * - * @mbg.generated - */ - int updateByPrimaryKey(FormPrintConfig record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config - * - * @mbg.generated - */ - List selectByExampleWithPaging(@Param("example") FormPrintConfigExample example, @Param("offset") int offset, @Param("limit") int limit); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config - * - * @mbg.generated - */ - FormPrintConfig selectOneByExample(FormPrintConfigExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config - * - * @mbg.generated - */ - int batchInsert(@Param("list") List list); -} \ No newline at end of file +} diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormPrintConfigMapperExt.java b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormPrintConfigMapperExt.java deleted file mode 100644 index 2d01fb49d..000000000 --- a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormPrintConfigMapperExt.java +++ /dev/null @@ -1,4 +0,0 @@ -package com.pcloud.booksflow.form.mybatis.mapper; - -public interface FormPrintConfigMapperExt extends FormPrintConfigMapper { -} \ No newline at end of file diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormPrintConfigTplMapper.java b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormPrintConfigTplMapper.java index 03f9c68c1..5f3968111 100644 --- a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormPrintConfigTplMapper.java +++ b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormPrintConfigTplMapper.java @@ -1,121 +1,8 @@ package com.pcloud.booksflow.form.mybatis.mapper; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.pcloud.booksflow.form.mybatis.entity.FormPrintConfigTpl; -import com.pcloud.booksflow.form.mybatis.entity.FormPrintConfigTplExample; -import com.pcloud.universe.commons.paging.PaginationMapper; -import java.util.List; -import org.apache.ibatis.annotations.Param; -public interface FormPrintConfigTplMapper extends PaginationMapper { - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config_tpl - * - * @mbg.generated - */ - long countByExample(FormPrintConfigTplExample example); +public interface FormPrintConfigTplMapper extends BaseMapper { - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config_tpl - * - * @mbg.generated - */ - int deleteByExample(FormPrintConfigTplExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config_tpl - * - * @mbg.generated - */ - int deleteByPrimaryKey(Long id); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config_tpl - * - * @mbg.generated - */ - int insert(FormPrintConfigTpl record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config_tpl - * - * @mbg.generated - */ - int insertSelective(FormPrintConfigTpl record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config_tpl - * - * @mbg.generated - */ - List selectByExample(FormPrintConfigTplExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config_tpl - * - * @mbg.generated - */ - FormPrintConfigTpl selectByPrimaryKey(Long id); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config_tpl - * - * @mbg.generated - */ - int updateByExampleSelective(@Param("record") FormPrintConfigTpl record, @Param("example") FormPrintConfigTplExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config_tpl - * - * @mbg.generated - */ - int updateByExample(@Param("record") FormPrintConfigTpl record, @Param("example") FormPrintConfigTplExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config_tpl - * - * @mbg.generated - */ - int updateByPrimaryKeySelective(FormPrintConfigTpl record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config_tpl - * - * @mbg.generated - */ - int updateByPrimaryKey(FormPrintConfigTpl record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config_tpl - * - * @mbg.generated - */ - List selectByExampleWithPaging(@Param("example") FormPrintConfigTplExample example, @Param("offset") int offset, @Param("limit") int limit); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config_tpl - * - * @mbg.generated - */ - FormPrintConfigTpl selectOneByExample(FormPrintConfigTplExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_print_config_tpl - * - * @mbg.generated - */ - int batchInsert(@Param("list") List list); -} \ No newline at end of file +} diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormPrintConfigTplMapperExt.java b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormPrintConfigTplMapperExt.java deleted file mode 100644 index ddfd98d34..000000000 --- a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormPrintConfigTplMapperExt.java +++ /dev/null @@ -1,4 +0,0 @@ -package com.pcloud.booksflow.form.mybatis.mapper; - -public interface FormPrintConfigTplMapperExt extends FormPrintConfigTplMapper { -} \ No newline at end of file diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormTemplateFieldMapper.java b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormTemplateFieldMapper.java index f57f883ea..09b1209bb 100644 --- a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormTemplateFieldMapper.java +++ b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormTemplateFieldMapper.java @@ -1,145 +1,8 @@ package com.pcloud.booksflow.form.mybatis.mapper; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.pcloud.booksflow.form.mybatis.entity.FormTemplateField; -import com.pcloud.booksflow.form.mybatis.entity.FormTemplateFieldExample; -import com.pcloud.universe.commons.paging.PaginationMapper; -import java.util.List; -import org.apache.ibatis.annotations.Param; -public interface FormTemplateFieldMapper extends PaginationMapper { - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template_field - * - * @mbg.generated - */ - long countByExample(FormTemplateFieldExample example); +public interface FormTemplateFieldMapper extends BaseMapper { - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template_field - * - * @mbg.generated - */ - int deleteByExample(FormTemplateFieldExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template_field - * - * @mbg.generated - */ - int deleteByPrimaryKey(Long id); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template_field - * - * @mbg.generated - */ - int insert(FormTemplateField record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template_field - * - * @mbg.generated - */ - int insertSelective(FormTemplateField record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template_field - * - * @mbg.generated - */ - List selectByExampleWithBLOBs(FormTemplateFieldExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template_field - * - * @mbg.generated - */ - List selectByExample(FormTemplateFieldExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template_field - * - * @mbg.generated - */ - FormTemplateField selectByPrimaryKey(Long id); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template_field - * - * @mbg.generated - */ - int updateByExampleSelective(@Param("record") FormTemplateField record, @Param("example") FormTemplateFieldExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template_field - * - * @mbg.generated - */ - int updateByExampleWithBLOBs(@Param("record") FormTemplateField record, @Param("example") FormTemplateFieldExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template_field - * - * @mbg.generated - */ - int updateByExample(@Param("record") FormTemplateField record, @Param("example") FormTemplateFieldExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template_field - * - * @mbg.generated - */ - int updateByPrimaryKeySelective(FormTemplateField record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template_field - * - * @mbg.generated - */ - int updateByPrimaryKeyWithBLOBs(FormTemplateField record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template_field - * - * @mbg.generated - */ - int updateByPrimaryKey(FormTemplateField record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template_field - * - * @mbg.generated - */ - List selectByExampleWithPaging(@Param("example") FormTemplateFieldExample example, @Param("offset") int offset, @Param("limit") int limit); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template_field - * - * @mbg.generated - */ - FormTemplateField selectOneByExample(FormTemplateFieldExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template_field - * - * @mbg.generated - */ - int batchInsert(@Param("list") List list); -} \ No newline at end of file +} diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormTemplateFieldMapperExt.java b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormTemplateFieldMapperExt.java deleted file mode 100644 index 4715f0ddd..000000000 --- a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormTemplateFieldMapperExt.java +++ /dev/null @@ -1,4 +0,0 @@ -package com.pcloud.booksflow.form.mybatis.mapper; - -public interface FormTemplateFieldMapperExt extends FormTemplateFieldMapper { -} \ No newline at end of file diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormTemplateMapper.java b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormTemplateMapper.java index 5b24bb810..cfacc8a9d 100644 --- a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormTemplateMapper.java +++ b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormTemplateMapper.java @@ -1,121 +1,8 @@ package com.pcloud.booksflow.form.mybatis.mapper; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.pcloud.booksflow.form.mybatis.entity.FormTemplate; -import com.pcloud.booksflow.form.mybatis.entity.FormTemplateExample; -import com.pcloud.universe.commons.paging.PaginationMapper; -import java.util.List; -import org.apache.ibatis.annotations.Param; -public interface FormTemplateMapper extends PaginationMapper { - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template - * - * @mbg.generated - */ - long countByExample(FormTemplateExample example); +public interface FormTemplateMapper extends BaseMapper { - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template - * - * @mbg.generated - */ - int deleteByExample(FormTemplateExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template - * - * @mbg.generated - */ - int deleteByPrimaryKey(Long id); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template - * - * @mbg.generated - */ - int insert(FormTemplate record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template - * - * @mbg.generated - */ - int insertSelective(FormTemplate record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template - * - * @mbg.generated - */ - List selectByExample(FormTemplateExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template - * - * @mbg.generated - */ - FormTemplate selectByPrimaryKey(Long id); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template - * - * @mbg.generated - */ - int updateByExampleSelective(@Param("record") FormTemplate record, @Param("example") FormTemplateExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template - * - * @mbg.generated - */ - int updateByExample(@Param("record") FormTemplate record, @Param("example") FormTemplateExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template - * - * @mbg.generated - */ - int updateByPrimaryKeySelective(FormTemplate record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template - * - * @mbg.generated - */ - int updateByPrimaryKey(FormTemplate record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template - * - * @mbg.generated - */ - List selectByExampleWithPaging(@Param("example") FormTemplateExample example, @Param("offset") int offset, @Param("limit") int limit); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template - * - * @mbg.generated - */ - FormTemplate selectOneByExample(FormTemplateExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table form_template - * - * @mbg.generated - */ - int batchInsert(@Param("list") List list); -} \ No newline at end of file +} diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormTemplateMapperExt.java b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormTemplateMapperExt.java deleted file mode 100644 index c7bdc4cd4..000000000 --- a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/FormTemplateMapperExt.java +++ /dev/null @@ -1,4 +0,0 @@ -package com.pcloud.booksflow.form.mybatis.mapper; - -public interface FormTemplateMapperExt extends FormTemplateMapper { -} \ No newline at end of file diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/ModifyLogRecordMapper.java b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/ModifyLogRecordMapper.java index 5be9e2407..0e00117f5 100644 --- a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/ModifyLogRecordMapper.java +++ b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/ModifyLogRecordMapper.java @@ -1,121 +1,8 @@ package com.pcloud.booksflow.form.mybatis.mapper; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.pcloud.booksflow.form.mybatis.entity.ModifyLogRecord; -import com.pcloud.booksflow.form.mybatis.entity.ModifyLogRecordExample; -import com.pcloud.universe.commons.paging.PaginationMapper; -import java.util.List; -import org.apache.ibatis.annotations.Param; -public interface ModifyLogRecordMapper extends PaginationMapper { - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table modify_log_record - * - * @mbg.generated - */ - long countByExample(ModifyLogRecordExample example); +public interface ModifyLogRecordMapper extends BaseMapper { - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table modify_log_record - * - * @mbg.generated - */ - int deleteByExample(ModifyLogRecordExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table modify_log_record - * - * @mbg.generated - */ - int deleteByPrimaryKey(Long id); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table modify_log_record - * - * @mbg.generated - */ - int insert(ModifyLogRecord record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table modify_log_record - * - * @mbg.generated - */ - int insertSelective(ModifyLogRecord record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table modify_log_record - * - * @mbg.generated - */ - List selectByExample(ModifyLogRecordExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table modify_log_record - * - * @mbg.generated - */ - ModifyLogRecord selectByPrimaryKey(Long id); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table modify_log_record - * - * @mbg.generated - */ - int updateByExampleSelective(@Param("record") ModifyLogRecord record, @Param("example") ModifyLogRecordExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table modify_log_record - * - * @mbg.generated - */ - int updateByExample(@Param("record") ModifyLogRecord record, @Param("example") ModifyLogRecordExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table modify_log_record - * - * @mbg.generated - */ - int updateByPrimaryKeySelective(ModifyLogRecord record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table modify_log_record - * - * @mbg.generated - */ - int updateByPrimaryKey(ModifyLogRecord record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table modify_log_record - * - * @mbg.generated - */ - List selectByExampleWithPaging(@Param("example") ModifyLogRecordExample example, @Param("offset") int offset, @Param("limit") int limit); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table modify_log_record - * - * @mbg.generated - */ - ModifyLogRecord selectOneByExample(ModifyLogRecordExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table modify_log_record - * - * @mbg.generated - */ - int batchInsert(@Param("list") List list); -} \ No newline at end of file +} diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/ModifyLogRecordMapperExt.java b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/ModifyLogRecordMapperExt.java deleted file mode 100644 index 94310ec5f..000000000 --- a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/ModifyLogRecordMapperExt.java +++ /dev/null @@ -1,4 +0,0 @@ -package com.pcloud.booksflow.form.mybatis.mapper; - -public interface ModifyLogRecordMapperExt extends ModifyLogRecordMapper { -} \ No newline at end of file diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/TenantInitStatusMapper.java b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/TenantInitStatusMapper.java index 4766d8b87..71f1d700a 100644 --- a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/TenantInitStatusMapper.java +++ b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/TenantInitStatusMapper.java @@ -1,121 +1,8 @@ package com.pcloud.booksflow.form.mybatis.mapper; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.pcloud.booksflow.form.mybatis.entity.TenantInitStatus; -import com.pcloud.booksflow.form.mybatis.entity.TenantInitStatusExample; -import com.pcloud.universe.commons.paging.PaginationMapper; -import java.util.List; -import org.apache.ibatis.annotations.Param; -public interface TenantInitStatusMapper extends PaginationMapper { - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table tenant_init_status - * - * @mbg.generated - */ - long countByExample(TenantInitStatusExample example); +public interface TenantInitStatusMapper extends BaseMapper { - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table tenant_init_status - * - * @mbg.generated - */ - int deleteByExample(TenantInitStatusExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table tenant_init_status - * - * @mbg.generated - */ - int deleteByPrimaryKey(Long id); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table tenant_init_status - * - * @mbg.generated - */ - int insert(TenantInitStatus record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table tenant_init_status - * - * @mbg.generated - */ - int insertSelective(TenantInitStatus record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table tenant_init_status - * - * @mbg.generated - */ - List selectByExample(TenantInitStatusExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table tenant_init_status - * - * @mbg.generated - */ - TenantInitStatus selectByPrimaryKey(Long id); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table tenant_init_status - * - * @mbg.generated - */ - int updateByExampleSelective(@Param("record") TenantInitStatus record, @Param("example") TenantInitStatusExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table tenant_init_status - * - * @mbg.generated - */ - int updateByExample(@Param("record") TenantInitStatus record, @Param("example") TenantInitStatusExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table tenant_init_status - * - * @mbg.generated - */ - int updateByPrimaryKeySelective(TenantInitStatus record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table tenant_init_status - * - * @mbg.generated - */ - int updateByPrimaryKey(TenantInitStatus record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table tenant_init_status - * - * @mbg.generated - */ - List selectByExampleWithPaging(@Param("example") TenantInitStatusExample example, @Param("offset") int offset, @Param("limit") int limit); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table tenant_init_status - * - * @mbg.generated - */ - TenantInitStatus selectOneByExample(TenantInitStatusExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table tenant_init_status - * - * @mbg.generated - */ - int batchInsert(@Param("list") List list); -} \ No newline at end of file +} diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/TenantInitStatusMapperExt.java b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/TenantInitStatusMapperExt.java deleted file mode 100644 index 6963be845..000000000 --- a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/java/com/pcloud/booksflow/form/mybatis/mapper/TenantInitStatusMapperExt.java +++ /dev/null @@ -1,4 +0,0 @@ -package com.pcloud.booksflow.form.mybatis.mapper; - -public interface TenantInitStatusMapperExt extends TenantInitStatusMapper { -} \ No newline at end of file diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/resources/mapper/FormPrintConfigMapper.xml b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/resources/mapper/FormPrintConfigMapper.xml index e77ae7b4a..2cf6b2162 100644 --- a/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/resources/mapper/FormPrintConfigMapper.xml +++ b/ruoyi-modules/ruoyi-form/booksflow-form-mapper/src/main/resources/mapper/FormPrintConfigMapper.xml @@ -31,7 +31,7 @@ - + - id, form_id, main_title, sub_title, display_format, document_no_prefix, show_document_no, - print_date_format, show_print_date, show_page_number, column_width_mode, table_style, - row_height, file_size, file_name, file_type, file_wps_id, file_url_ai, file_url, + id, form_id, main_title, sub_title, display_format, document_no_prefix, show_document_no, + print_date_format, show_print_date, show_page_number, column_width_mode, table_style, + row_height, file_size, file_name, file_type, file_wps_id, file_url_ai, file_url, `mode`, created_by, updated_by, create_time, update_time @@ -165,7 +165,7 @@ WARNING - @mbg.generated This element is automatically generated by MyBatis Generator, do not modify. --> - select + select , @@ -190,7 +190,7 @@ - + - insert into form_print_config (form_id, - main_title, sub_title, display_format, - document_no_prefix, show_document_no, - print_date_format, show_print_date, show_page_number, - column_width_mode, table_style, - row_height, file_size, file_name, - file_type, file_wps_id, file_url_ai, - file_url, `mode`, created_by, - updated_by, create_time, update_time, + insert into form_print_config (form_id, + main_title, sub_title, display_format, + document_no_prefix, show_document_no, + print_date_format, show_print_date, show_page_number, + column_width_mode, table_style, + row_height, file_size, file_name, + file_type, file_wps_id, file_url_ai, + file_url, `mode`, created_by, + updated_by, create_time, update_time, print_fields, ext) - values (#{item.formId,jdbcType=BIGINT}, - #{item.mainTitle,jdbcType=VARCHAR}, #{item.subTitle,jdbcType=VARCHAR}, #{item.displayFormat,jdbcType=VARCHAR}, - #{item.documentNoPrefix,jdbcType=VARCHAR}, #{item.showDocumentNo,jdbcType=BIT}, - #{item.printDateFormat,jdbcType=VARCHAR}, #{item.showPrintDate,jdbcType=BIT}, #{item.showPageNumber,jdbcType=BIT}, - #{item.columnWidthMode,jdbcType=VARCHAR}, #{item.tableStyle,jdbcType=VARCHAR}, - #{item.rowHeight,jdbcType=VARCHAR}, #{item.fileSize,jdbcType=INTEGER}, #{item.fileName,jdbcType=VARCHAR}, - #{item.fileType,jdbcType=VARCHAR}, #{item.fileWpsId,jdbcType=VARCHAR}, #{item.fileUrlAi,jdbcType=VARCHAR}, - #{item.fileUrl,jdbcType=VARCHAR}, #{item.mode,jdbcType=INTEGER}, #{item.createdBy,jdbcType=BIGINT}, - #{item.updatedBy,jdbcType=BIGINT}, #{item.createTime,jdbcType=TIMESTAMP}, #{item.updateTime,jdbcType=TIMESTAMP}, + values (#{item.formId,jdbcType=BIGINT}, + #{item.mainTitle,jdbcType=VARCHAR}, #{item.subTitle,jdbcType=VARCHAR}, #{item.displayFormat,jdbcType=VARCHAR}, + #{item.documentNoPrefix,jdbcType=VARCHAR}, #{item.showDocumentNo,jdbcType=BIT}, + #{item.printDateFormat,jdbcType=VARCHAR}, #{item.showPrintDate,jdbcType=BIT}, #{item.showPageNumber,jdbcType=BIT}, + #{item.columnWidthMode,jdbcType=VARCHAR}, #{item.tableStyle,jdbcType=VARCHAR}, + #{item.rowHeight,jdbcType=VARCHAR}, #{item.fileSize,jdbcType=INTEGER}, #{item.fileName,jdbcType=VARCHAR}, + #{item.fileType,jdbcType=VARCHAR}, #{item.fileWpsId,jdbcType=VARCHAR}, #{item.fileUrlAi,jdbcType=VARCHAR}, + #{item.fileUrl,jdbcType=VARCHAR}, #{item.mode,jdbcType=INTEGER}, #{item.createdBy,jdbcType=BIGINT}, + #{item.updatedBy,jdbcType=BIGINT}, #{item.createTime,jdbcType=TIMESTAMP}, #{item.updateTime,jdbcType=TIMESTAMP}, #{item.printFields,jdbcType=LONGVARCHAR}, #{item.ext,jdbcType=LONGVARCHAR}) - \ No newline at end of file + diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-service/src/main/java/com/pcloud/booksflow/form/controller/FormPrintConfigController.java b/ruoyi-modules/ruoyi-form/booksflow-form-service/src/main/java/com/pcloud/booksflow/form/controller/FormPrintConfigController.java index a53463cce..34a6b7e0c 100644 --- a/ruoyi-modules/ruoyi-form/booksflow-form-service/src/main/java/com/pcloud/booksflow/form/controller/FormPrintConfigController.java +++ b/ruoyi-modules/ruoyi-form/booksflow-form-service/src/main/java/com/pcloud/booksflow/form/controller/FormPrintConfigController.java @@ -6,7 +6,7 @@ import com.pcloud.booksflow.form.api.dto.FormPrintConfigModeDTO; import com.pcloud.booksflow.form.api.dto.FormPrintConfigUploadDTO; import com.pcloud.booksflow.form.api.dto.FormPrintDTO; import com.pcloud.booksflow.form.api.vo.FormPrintConfigVO; -import com.pcloud.booksflow.form.mybatis.entity.FormPrintConfigWithBLOBs; +import com.pcloud.booksflow.form.mybatis.entity.FormPrintConfigTpl; import com.pcloud.booksflow.form.service.FormPrintConfigService; import com.pcloud.common.dto.ResponseDto; import com.pcloud.common.entity.UploadResultInfo; @@ -39,7 +39,7 @@ public class FormPrintConfigController { */ @ApiOperation("创建或更新表单打印配置") @PostMapping("/createOrUpdate") - public ResponseDto createOrUpdate(@Validated @RequestBody FormPrintConfigDTO dto) { + public ResponseDto createOrUpdate(@Validated @RequestBody FormPrintConfigDTO dto) { return new ResponseDto<>(formPrintConfigService.createOrUpdate(dto)); } @@ -89,4 +89,4 @@ public class FormPrintConfigController { } -} \ No newline at end of file +} diff --git a/ruoyi-modules/ruoyi-form/booksflow-form-service/src/main/java/com/pcloud/booksflow/form/service/FormPrintConfigService.java b/ruoyi-modules/ruoyi-form/booksflow-form-service/src/main/java/com/pcloud/booksflow/form/service/FormPrintConfigService.java index e0c52b9e5..0fac5c5db 100644 --- a/ruoyi-modules/ruoyi-form/booksflow-form-service/src/main/java/com/pcloud/booksflow/form/service/FormPrintConfigService.java +++ b/ruoyi-modules/ruoyi-form/booksflow-form-service/src/main/java/com/pcloud/booksflow/form/service/FormPrintConfigService.java @@ -14,7 +14,7 @@ import com.pcloud.booksflow.form.api.vo.FormPrintConfigVO; import com.pcloud.booksflow.form.mybatis.entity.Form; import com.pcloud.booksflow.form.mybatis.entity.FormPrintConfig; import com.pcloud.booksflow.form.mybatis.entity.FormPrintConfigExample; -import com.pcloud.booksflow.form.mybatis.entity.FormPrintConfigWithBLOBs; +import com.pcloud.booksflow.form.mybatis.entity.FormPrintConfigTpl; import com.pcloud.booksflow.form.mybatis.mapper.FormPrintConfigMapperExt; import com.pcloud.booksflow.form.utils.UserUtils; import com.pcloud.booksflow.form.utils.poi.WordTemplateProcessor; @@ -62,10 +62,10 @@ public class FormPrintConfigService { * @param dto 表单打印配置对象 * @return 创建或更新后的表单打印配置对象 */ - public FormPrintConfigWithBLOBs createOrUpdate(FormPrintConfigDTO dto) { + public FormPrintConfigTpl createOrUpdate(FormPrintConfigDTO dto) { // 创建操作 FormPrintConfig config = getEntityByFormId(dto.getFormId()); - FormPrintConfigWithBLOBs entity = new FormPrintConfigWithBLOBs(); + FormPrintConfigTpl entity = new FormPrintConfigTpl(); if (config != null) { // 更新操作 BeanUtil.copyProperties(dto, entity, "printFields"); @@ -102,7 +102,7 @@ public class FormPrintConfigService { example.createCriteria() .andFormIdEqualTo(formId); example.setOrderByClause("id desc"); - List formPrintConfigs = formPrintConfigMapperExt.selectByExampleWithBLOBs(example); + List formPrintConfigs = formPrintConfigMapperExt.selectByExampleWithBLOBs(example); if (!formPrintConfigs.isEmpty()) { return BeanUtil.copyProperties(formPrintConfigs.get(0), FormPrintConfigVO.class); } else { @@ -110,12 +110,12 @@ public class FormPrintConfigService { } } - public FormPrintConfigWithBLOBs getEntityByFormId(Long formId) { + public FormPrintConfigTpl getEntityByFormId(Long formId) { FormPrintConfigExample example = new FormPrintConfigExample(); example.createCriteria() .andFormIdEqualTo(formId); example.setOrderByClause("id desc"); - List formPrintConfigs = formPrintConfigMapperExt.selectByExampleWithBLOBs(example); + List formPrintConfigs = formPrintConfigMapperExt.selectByExampleWithBLOBs(example); if (!formPrintConfigs.isEmpty()) { return formPrintConfigs.get(0); } else { @@ -137,7 +137,7 @@ public class FormPrintConfigService { return getByFormId(form.getId()); } - public FormPrintConfigWithBLOBs getEntityByFormCode(String formCode) { + public FormPrintConfigTpl getEntityByFormCode(String formCode) { Form form = formService.getByCode(formCode); if (form == null) { return null; @@ -146,8 +146,8 @@ public class FormPrintConfigService { } public int updateMode(FormPrintConfigModeDTO dto) { - FormPrintConfigWithBLOBs entity = new FormPrintConfigWithBLOBs(); - FormPrintConfigWithBLOBs config = getEntityByFormId(dto.getFormId()); + FormPrintConfigTpl entity = new FormPrintConfigTpl(); + FormPrintConfigTpl config = getEntityByFormId(dto.getFormId()); if (config != null) { entity.setId(config.getId()); entity.setMode(dto.getMode()); @@ -163,8 +163,8 @@ public class FormPrintConfigService { public void createOrUpdate(FormPrintConfigUploadDTO dto) { // 创建操作 Long userId = UserUtils.getUserId(); - FormPrintConfigWithBLOBs upEntity = new FormPrintConfigWithBLOBs(); - FormPrintConfigWithBLOBs _config = getEntityByFormId(dto.getFormId()); + FormPrintConfigTpl upEntity = new FormPrintConfigTpl(); + FormPrintConfigTpl _config = getEntityByFormId(dto.getFormId()); if (_config != null) { // 更新操作 BeanUtil.copyProperties(dto, upEntity); @@ -209,7 +209,7 @@ public class FormPrintConfigService { log.info("dify response: {}", response); //更新 - FormPrintConfigWithBLOBs upEntity = new FormPrintConfigWithBLOBs(); + FormPrintConfigTpl upEntity = new FormPrintConfigTpl(); upEntity.setId(entity.getId()); upEntity.setFileWpsId(fileId); return formPrintConfigMapperExt.updateByPrimaryKeySelective(upEntity); @@ -227,7 +227,7 @@ public class FormPrintConfigService { String fileId = fileRecord.getFileId(); //更新 - FormPrintConfigWithBLOBs upEntity = new FormPrintConfigWithBLOBs(); + FormPrintConfigTpl upEntity = new FormPrintConfigTpl(); upEntity.setId(_entity.getId()); upEntity.setFileWpsId(fileId); return formPrintConfigMapperExt.updateByPrimaryKeySelective(upEntity); @@ -285,4 +285,4 @@ public class FormPrintConfigService { } } } -} \ No newline at end of file +}