From 3af797a48c8abadb69da1901b5a97e990a70587d Mon Sep 17 00:00:00 2001 From: mqh <1571896045@qq.com> Date: Mon, 10 Jul 2023 18:44:54 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E6=8F=90=E4=BA=A4=E5=AF=BC=E5=85=A5?= =?UTF-8?q?=E5=AE=9E=E4=BD=93vo=E7=B1=BB"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 83d56726 --- .../modules/tablex/mapper/TablexMapper.java | 2 - .../modules/tablex/mapper/TablexVoMapper.java | 18 - .../tablex/mapper/xml/TablexMapper.xml | 2 +- .../tablex/mapper/xml/TablexVoMapper.xml | 5 - .../service/impl/TablexVoServiceImpl.java | 22 -- .../org/jeecg/modules/tablex/vo/TablexVo.java | 331 ------------------ 6 files changed, 1 insertion(+), 379 deletions(-) delete mode 100644 jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/tablex/mapper/TablexVoMapper.java delete mode 100644 jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/tablex/mapper/xml/TablexVoMapper.xml delete mode 100644 jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/tablex/service/impl/TablexVoServiceImpl.java delete mode 100644 jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/tablex/vo/TablexVo.java diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/tablex/mapper/TablexMapper.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/tablex/mapper/TablexMapper.java index 05b8718..8911f7b 100644 --- a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/tablex/mapper/TablexMapper.java +++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/tablex/mapper/TablexMapper.java @@ -2,7 +2,6 @@ package org.jeecg.modules.tablex.mapper; import java.util.List; -import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Update; import org.checkerframework.checker.guieffect.qual.UI; @@ -15,7 +14,6 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper; * @Date: 2023-04-10 * @Version: V1.0 */ -@Mapper public interface TablexMapper extends BaseMapper { @Update("update tablex set table_structure = #{sql} where id = #{tableId}") diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/tablex/mapper/TablexVoMapper.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/tablex/mapper/TablexVoMapper.java deleted file mode 100644 index f554a76..0000000 --- a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/tablex/mapper/TablexVoMapper.java +++ /dev/null @@ -1,18 +0,0 @@ -package org.jeecg.modules.tablex.mapper; - -import com.baomidou.mybatisplus.core.mapper.BaseMapper; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Update; -import org.jeecg.modules.tablex.entity.Tablex; -import org.jeecg.modules.tablex.vo.TablexVo; - -/** - * @Description: 实体表 - * @Author: jeecg-boot - * @Date: 2023-04-10 - * @Version: V1.0 - */ -@Mapper -public interface TablexVoMapper extends BaseMapper { - -} diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/tablex/mapper/xml/TablexMapper.xml b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/tablex/mapper/xml/TablexMapper.xml index 1ae4119..3e55de2 100644 --- a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/tablex/mapper/xml/TablexMapper.xml +++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/tablex/mapper/xml/TablexMapper.xml @@ -1,5 +1,5 @@ - + \ No newline at end of file diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/tablex/mapper/xml/TablexVoMapper.xml b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/tablex/mapper/xml/TablexVoMapper.xml deleted file mode 100644 index f964916..0000000 --- a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/tablex/mapper/xml/TablexVoMapper.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/tablex/service/impl/TablexVoServiceImpl.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/tablex/service/impl/TablexVoServiceImpl.java deleted file mode 100644 index 2526ae6..0000000 --- a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/tablex/service/impl/TablexVoServiceImpl.java +++ /dev/null @@ -1,22 +0,0 @@ -package org.jeecg.modules.tablex.service.impl; - -import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; -import org.jeecg.modules.tablex.entity.Tablex; -import org.jeecg.modules.tablex.mapper.TablexMapper; -import org.jeecg.modules.tablex.mapper.TablexVoMapper; -import org.jeecg.modules.tablex.service.ITablexService; -import org.jeecg.modules.tablex.service.ITablexVoService; -import org.jeecg.modules.tablex.vo.TablexVo; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; - -/** - * @Description: 实体表 - * @Author: jeecg-boot - * @Date: 2023-04-10 - * @Version: V1.0 - */ -@Service -public class TablexVoServiceImpl extends ServiceImpl implements ITablexVoService { - -} diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/tablex/vo/TablexVo.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/tablex/vo/TablexVo.java deleted file mode 100644 index 0b9d199..0000000 --- a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/tablex/vo/TablexVo.java +++ /dev/null @@ -1,331 +0,0 @@ -package org.jeecg.modules.tablex.vo; - -import org.jeecg.modules.tablex.entity.Tablex; - -import java.io.Serializable; - -/** - * - * @TableName tablex_vo - */ -public class TablexVo extends Tablex implements Serializable { - /** - * - */ - private String id; - - /** - * 对应模块id - */ - private String moduleId; - - /** - * 中文名称 - */ - private String tableName; - - /** - * 英文名称 - */ - private String tableEnName; - - /** - * 表结构SQL - */ - private String tableStructure; - - /** - * 结构图 - */ - private String structuralDiagram; - - /** - * 创建人 - */ - private String createBy; - - /** - * 创建时间 - */ - private String createTime; - - /** - * 修改人 - */ - private String updateBy; - - /** - * 修改时间 - */ - private String updateTime; - - /** - * 实体状态 - */ - private String status; - - /** - * 版本状态 - */ - private String verisonStatus; - - /** - * 版本号 - */ - private String verison; - - private static final long serialVersionUID = 1L; - - /** - * - */ - public String getId() { - return id; - } - - /** - * - */ - public void setId(String id) { - this.id = id; - } - - /** - * 对应模块id - */ - public String getModuleId() { - return moduleId; - } - - /** - * 对应模块id - */ - public void setModuleId(String moduleId) { - this.moduleId = moduleId; - } - - /** - * 中文名称 - */ - public String getTableName() { - return tableName; - } - - /** - * 中文名称 - */ - public void setTableName(String tableName) { - this.tableName = tableName; - } - - /** - * 英文名称 - */ - public String getTableEnName() { - return tableEnName; - } - - /** - * 英文名称 - */ - public void setTableEnName(String tableEnName) { - this.tableEnName = tableEnName; - } - - /** - * 表结构SQL - */ - public String getTableStructure() { - return tableStructure; - } - - /** - * 表结构SQL - */ - public void setTableStructure(String tableStructure) { - this.tableStructure = tableStructure; - } - - /** - * 结构图 - */ - public String getStructuralDiagram() { - return structuralDiagram; - } - - /** - * 结构图 - */ - public void setStructuralDiagram(String structuralDiagram) { - this.structuralDiagram = structuralDiagram; - } - - /** - * 创建人 - */ - public String getCreateBy() { - return createBy; - } - - /** - * 创建人 - */ - public void setCreateBy(String createBy) { - this.createBy = createBy; - } - - /** - * 创建时间 - */ - public String getCreateTime() { - return createTime; - } - - /** - * 创建时间 - */ - public void setCreateTime(String createTime) { - this.createTime = createTime; - } - - /** - * 修改人 - */ - public String getUpdateBy() { - return updateBy; - } - - /** - * 修改人 - */ - public void setUpdateBy(String updateBy) { - this.updateBy = updateBy; - } - - /** - * 修改时间 - */ - public String getUpdateTime() { - return updateTime; - } - - /** - * 修改时间 - */ - public void setUpdateTime(String updateTime) { - this.updateTime = updateTime; - } - - /** - * 实体状态 - */ - public String getStatus() { - return status; - } - - /** - * 实体状态 - */ - public void setStatus(String status) { - this.status = status; - } - - /** - * 版本状态 - */ - public String getVerisonStatus() { - return verisonStatus; - } - - /** - * 版本状态 - */ - public void setVerisonStatus(String verisonStatus) { - this.verisonStatus = verisonStatus; - } - - /** - * 版本号 - */ - public String getVerison() { - return verison; - } - - /** - * 版本号 - */ - public void setVerison(String verison) { - this.verison = verison; - } - - @Override - public boolean equals(Object that) { - if (this == that) { - return true; - } - if (that == null) { - return false; - } - if (getClass() != that.getClass()) { - return false; - } - TablexVo other = (TablexVo) that; - return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId())) - && (this.getModuleId() == null ? other.getModuleId() == null : this.getModuleId().equals(other.getModuleId())) - && (this.getTableName() == null ? other.getTableName() == null : this.getTableName().equals(other.getTableName())) - && (this.getTableEnName() == null ? other.getTableEnName() == null : this.getTableEnName().equals(other.getTableEnName())) - && (this.getTableStructure() == null ? other.getTableStructure() == null : this.getTableStructure().equals(other.getTableStructure())) - && (this.getStructuralDiagram() == null ? other.getStructuralDiagram() == null : this.getStructuralDiagram().equals(other.getStructuralDiagram())) - && (this.getCreateBy() == null ? other.getCreateBy() == null : this.getCreateBy().equals(other.getCreateBy())) - && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime())) - && (this.getUpdateBy() == null ? other.getUpdateBy() == null : this.getUpdateBy().equals(other.getUpdateBy())) - && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime())) - && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus())) - && (this.getVerisonStatus() == null ? other.getVerisonStatus() == null : this.getVerisonStatus().equals(other.getVerisonStatus())) - && (this.getVerison() == null ? other.getVerison() == null : this.getVerison().equals(other.getVerison())); - } - - @Override - public int hashCode() { - final int prime = 31; - int result = 1; - result = prime * result + ((getId() == null) ? 0 : getId().hashCode()); - result = prime * result + ((getModuleId() == null) ? 0 : getModuleId().hashCode()); - result = prime * result + ((getTableName() == null) ? 0 : getTableName().hashCode()); - result = prime * result + ((getTableEnName() == null) ? 0 : getTableEnName().hashCode()); - result = prime * result + ((getTableStructure() == null) ? 0 : getTableStructure().hashCode()); - result = prime * result + ((getStructuralDiagram() == null) ? 0 : getStructuralDiagram().hashCode()); - result = prime * result + ((getCreateBy() == null) ? 0 : getCreateBy().hashCode()); - result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode()); - result = prime * result + ((getUpdateBy() == null) ? 0 : getUpdateBy().hashCode()); - result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode()); - result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode()); - result = prime * result + ((getVerisonStatus() == null) ? 0 : getVerisonStatus().hashCode()); - result = prime * result + ((getVerison() == null) ? 0 : getVerison().hashCode()); - return result; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", moduleId=").append(moduleId); - sb.append(", tableName=").append(tableName); - sb.append(", tableEnName=").append(tableEnName); - sb.append(", tableStructure=").append(tableStructure); - sb.append(", structuralDiagram=").append(structuralDiagram); - sb.append(", createBy=").append(createBy); - sb.append(", createTime=").append(createTime); - sb.append(", updateBy=").append(updateBy); - sb.append(", updateTime=").append(updateTime); - sb.append(", status=").append(status); - sb.append(", verisonStatus=").append(verisonStatus); - sb.append(", verison=").append(verison); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file