From ddf9568f31d8e9fe7f5e563912752c1911ac06bf Mon Sep 17 00:00:00 2001 From: liuguijing <123456> Date: Tue, 5 Mar 2024 17:00:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9D=83=E9=99=90=E6=8E=A5=E5=8F=A3=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xymanager_common/entity/DyLevelBak.java | 24 - .../xymanager_common/entity/LinesBak.java | 28 -- .../xymanager_common/entity/TerminalsBak.java | 258 ---------- .../xymanager_common/entity/TowersBak.java | 88 ---- .../shxy/xymanager_dao/dao/DyLevelBakDao.java | 31 -- .../shxy/xymanager_dao/dao/DyLevelDao.java | 1 - .../shxy/xymanager_dao/dao/LinesBakDao.java | 30 -- .../xymanager_dao/dao/TerminalsBakDao.java | 30 -- .../shxy/xymanager_dao/dao/TowersBakDao.java | 30 -- .../main/resources/mappers/DyLevelBakDao.xml | 228 --------- .../main/resources/mappers/LinesBakDao.xml | 244 --------- .../resources/mappers/TerminalsBakDao.xml | 466 ------------------ .../main/resources/mappers/TowersBakDao.xml | 244 --------- 13 files changed, 1702 deletions(-) delete mode 100644 xymanager_common/src/main/java/com/shxy/xymanager_common/entity/DyLevelBak.java delete mode 100644 xymanager_common/src/main/java/com/shxy/xymanager_common/entity/LinesBak.java delete mode 100644 xymanager_common/src/main/java/com/shxy/xymanager_common/entity/TerminalsBak.java delete mode 100644 xymanager_common/src/main/java/com/shxy/xymanager_common/entity/TowersBak.java delete mode 100644 xymanager_dao/src/main/java/com/shxy/xymanager_dao/dao/DyLevelBakDao.java delete mode 100644 xymanager_dao/src/main/java/com/shxy/xymanager_dao/dao/LinesBakDao.java delete mode 100644 xymanager_dao/src/main/java/com/shxy/xymanager_dao/dao/TerminalsBakDao.java delete mode 100644 xymanager_dao/src/main/java/com/shxy/xymanager_dao/dao/TowersBakDao.java delete mode 100644 xymanager_dao/src/main/resources/mappers/DyLevelBakDao.xml delete mode 100644 xymanager_dao/src/main/resources/mappers/LinesBakDao.xml delete mode 100644 xymanager_dao/src/main/resources/mappers/TerminalsBakDao.xml delete mode 100644 xymanager_dao/src/main/resources/mappers/TowersBakDao.xml diff --git a/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/DyLevelBak.java b/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/DyLevelBak.java deleted file mode 100644 index 63d367f..0000000 --- a/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/DyLevelBak.java +++ /dev/null @@ -1,24 +0,0 @@ -package com.shxy.xymanager_common.entity; - -import lombok.Data; - -import java.io.Serializable; -import java.util.Date; - -@Data -public class DyLevelBak implements Serializable { - private Integer id; - - private String name; - - private Integer dyValue; - - private Integer status; - - private Date createTime; - - private Date updateTime; - - private static final long serialVersionUID = 1L; - -} \ No newline at end of file diff --git a/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/LinesBak.java b/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/LinesBak.java deleted file mode 100644 index 347b54d..0000000 --- a/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/LinesBak.java +++ /dev/null @@ -1,28 +0,0 @@ -package com.shxy.xymanager_common.entity; - -import lombok.Data; - -import java.io.Serializable; -import java.util.Date; - -@Data -public class LinesBak implements Serializable { - private Integer id; - - private String name; - - private String bsManufacturer; - - private Integer dyLevelId; - - private Integer status; - - private Date createTime; - - private Date updateTime; - - private Float tes; - - private static final long serialVersionUID = 1L; - -} \ No newline at end of file diff --git a/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/TerminalsBak.java b/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/TerminalsBak.java deleted file mode 100644 index 7732f8f..0000000 --- a/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/TerminalsBak.java +++ /dev/null @@ -1,258 +0,0 @@ -package com.shxy.xymanager_common.entity; - -import java.io.Serializable; -import java.util.Date; - -public class TerminalsBak implements Serializable { - private Integer id; - - private Integer lineId; - - private Integer towerId; - - private String cmdid; - - private Integer status; - - private Short orgId; - - private String equipName; - - private String displayName; - - private String model; - - private String essentialInfoVersion; - - private Byte hasPan; - - private String bsManufacturer; - - private Date bsProductionDate; - - private String bsIdentifier; - - private Double latitude; - - private Double longitude; - - private Date createTime; - - private Date updateTime; - - private String sim; - - private Date workingDate; - - private Integer netType; - - private Integer isfavor; - - private Integer protocol; - - private String phase; - - private String equipmentType; - - private static final long serialVersionUID = 1L; - - public Integer getId() { - return id; - } - - public void setId(Integer id) { - this.id = id; - } - - public Integer getLineId() { - return lineId; - } - - public void setLineId(Integer lineId) { - this.lineId = lineId; - } - - public Integer getTowerId() { - return towerId; - } - - public void setTowerId(Integer towerId) { - this.towerId = towerId; - } - - public String getCmdid() { - return cmdid; - } - - public void setCmdid(String cmdid) { - this.cmdid = cmdid == null ? null : cmdid.trim(); - } - - public Integer getStatus() { - return status; - } - - public void setStatus(Integer status) { - this.status = status; - } - - public Short getOrgId() { - return orgId; - } - - public void setOrgId(Short orgId) { - this.orgId = orgId; - } - - public String getEquipName() { - return equipName; - } - - public void setEquipName(String equipName) { - this.equipName = equipName == null ? null : equipName.trim(); - } - - public String getDisplayName() { - return displayName; - } - - public void setDisplayName(String displayName) { - this.displayName = displayName == null ? null : displayName.trim(); - } - - public String getModel() { - return model; - } - - public void setModel(String model) { - this.model = model == null ? null : model.trim(); - } - - public String getEssentialInfoVersion() { - return essentialInfoVersion; - } - - public void setEssentialInfoVersion(String essentialInfoVersion) { - this.essentialInfoVersion = essentialInfoVersion == null ? null : essentialInfoVersion.trim(); - } - - public Byte getHasPan() { - return hasPan; - } - - public void setHasPan(Byte hasPan) { - this.hasPan = hasPan; - } - - public String getBsManufacturer() { - return bsManufacturer; - } - - public void setBsManufacturer(String bsManufacturer) { - this.bsManufacturer = bsManufacturer == null ? null : bsManufacturer.trim(); - } - - public Date getBsProductionDate() { - return bsProductionDate; - } - - public void setBsProductionDate(Date bsProductionDate) { - this.bsProductionDate = bsProductionDate; - } - - public String getBsIdentifier() { - return bsIdentifier; - } - - public void setBsIdentifier(String bsIdentifier) { - this.bsIdentifier = bsIdentifier == null ? null : bsIdentifier.trim(); - } - - public Double getLatitude() { - return latitude; - } - - public void setLatitude(Double latitude) { - this.latitude = latitude; - } - - public Double getLongitude() { - return longitude; - } - - public void setLongitude(Double longitude) { - this.longitude = longitude; - } - - public Date getCreateTime() { - return createTime; - } - - public void setCreateTime(Date createTime) { - this.createTime = createTime; - } - - public Date getUpdateTime() { - return updateTime; - } - - public void setUpdateTime(Date updateTime) { - this.updateTime = updateTime; - } - - public String getSim() { - return sim; - } - - public void setSim(String sim) { - this.sim = sim == null ? null : sim.trim(); - } - - public Date getWorkingDate() { - return workingDate; - } - - public void setWorkingDate(Date workingDate) { - this.workingDate = workingDate; - } - - public Integer getNetType() { - return netType; - } - - public void setNetType(Integer netType) { - this.netType = netType; - } - - public Integer getIsfavor() { - return isfavor; - } - - public void setIsfavor(Integer isfavor) { - this.isfavor = isfavor; - } - - public Integer getProtocol() { - return protocol; - } - - public void setProtocol(Integer protocol) { - this.protocol = protocol; - } - - public String getPhase() { - return phase; - } - - public void setPhase(String phase) { - this.phase = phase == null ? null : phase.trim(); - } - - public String getEquipmentType() { - return equipmentType; - } - - public void setEquipmentType(String equipmentType) { - this.equipmentType = equipmentType == null ? null : equipmentType.trim(); - } -} \ No newline at end of file diff --git a/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/TowersBak.java b/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/TowersBak.java deleted file mode 100644 index 45a3a26..0000000 --- a/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/TowersBak.java +++ /dev/null @@ -1,88 +0,0 @@ -package com.shxy.xymanager_common.entity; - -import java.io.Serializable; -import java.util.Date; - -public class TowersBak implements Serializable { - private Integer id; - - private String name; - - private Integer lineId; - - private Date createTime; - - private Date updateTime; - - private Integer status; - - private Integer order; - - private String address; - - private static final long serialVersionUID = 1L; - - public Integer getId() { - return id; - } - - public void setId(Integer id) { - this.id = id; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name == null ? null : name.trim(); - } - - public Integer getLineId() { - return lineId; - } - - public void setLineId(Integer lineId) { - this.lineId = lineId; - } - - public Date getCreateTime() { - return createTime; - } - - public void setCreateTime(Date createTime) { - this.createTime = createTime; - } - - public Date getUpdateTime() { - return updateTime; - } - - public void setUpdateTime(Date updateTime) { - this.updateTime = updateTime; - } - - public Integer getStatus() { - return status; - } - - public void setStatus(Integer status) { - this.status = status; - } - - public Integer getOrder() { - return order; - } - - public void setOrder(Integer order) { - this.order = order; - } - - public String getAddress() { - return address; - } - - public void setAddress(String address) { - this.address = address == null ? null : address.trim(); - } -} \ No newline at end of file diff --git a/xymanager_dao/src/main/java/com/shxy/xymanager_dao/dao/DyLevelBakDao.java b/xymanager_dao/src/main/java/com/shxy/xymanager_dao/dao/DyLevelBakDao.java deleted file mode 100644 index 1f1c0db..0000000 --- a/xymanager_dao/src/main/java/com/shxy/xymanager_dao/dao/DyLevelBakDao.java +++ /dev/null @@ -1,31 +0,0 @@ -package com.shxy.xymanager_dao.dao; - -import com.shxy.xymanager_common.entity.DyLevel; -import com.shxy.xymanager_common.entity.DyLevelBak; -import com.shxy.xymanager_common.entity.DyLevelExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface DyLevelBakDao { - long countByExample(DyLevelExample example); - - int deleteByExample(DyLevelExample example); - - int deleteByPrimaryKey(Integer id); - - int insert(DyLevelBak record); - - int insertSelective(DyLevel record); - - List selectByExample(DyLevelExample example); - - DyLevelBak selectByPrimaryKey(Integer id); - - int updateByExampleSelective(@Param("record") DyLevel record, @Param("example") DyLevelExample example); - - int updateByExample(@Param("record") DyLevel record, @Param("example") DyLevelExample example); - - int updateByPrimaryKeySelective(DyLevelBak record); - - int updateByPrimaryKey(DyLevelBak record); -} \ No newline at end of file diff --git a/xymanager_dao/src/main/java/com/shxy/xymanager_dao/dao/DyLevelDao.java b/xymanager_dao/src/main/java/com/shxy/xymanager_dao/dao/DyLevelDao.java index e5c2430..11a0273 100644 --- a/xymanager_dao/src/main/java/com/shxy/xymanager_dao/dao/DyLevelDao.java +++ b/xymanager_dao/src/main/java/com/shxy/xymanager_dao/dao/DyLevelDao.java @@ -5,7 +5,6 @@ import com.shxy.xymanager_common.dto.DyLineAndTerminalNoHeartDto; import com.shxy.xymanager_common.dto.DyLineAndTerminalWithHeartDto; import com.shxy.xymanager_common.dto.DyLineAndTowertDto; import com.shxy.xymanager_common.entity.DyLevel; -import com.shxy.xymanager_common.entity.DyLevelBak; import com.shxy.xymanager_common.entity.DyLevelExample; import org.apache.ibatis.annotations.Param; diff --git a/xymanager_dao/src/main/java/com/shxy/xymanager_dao/dao/LinesBakDao.java b/xymanager_dao/src/main/java/com/shxy/xymanager_dao/dao/LinesBakDao.java deleted file mode 100644 index 883dcb9..0000000 --- a/xymanager_dao/src/main/java/com/shxy/xymanager_dao/dao/LinesBakDao.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.shxy.xymanager_dao.dao; - -import com.shxy.xymanager_common.entity.LinesBak; -import com.shxy.xymanager_common.entity.LinesExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface LinesBakDao { - long countByExample(LinesExample example); - - int deleteByExample(LinesExample example); - - int deleteByPrimaryKey(Integer id); - - int insert(LinesBak record); - - int insertSelective(LinesBak record); - - List selectByExample(LinesExample example); - - LinesBak selectByPrimaryKey(Integer id); - - int updateByExampleSelective(@Param("record") LinesBak record, @Param("example") LinesExample example); - - int updateByExample(@Param("record") LinesBak record, @Param("example") LinesExample example); - - int updateByPrimaryKeySelective(LinesBak record); - - int updateByPrimaryKey(LinesBak record); -} \ No newline at end of file diff --git a/xymanager_dao/src/main/java/com/shxy/xymanager_dao/dao/TerminalsBakDao.java b/xymanager_dao/src/main/java/com/shxy/xymanager_dao/dao/TerminalsBakDao.java deleted file mode 100644 index e22d136..0000000 --- a/xymanager_dao/src/main/java/com/shxy/xymanager_dao/dao/TerminalsBakDao.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.shxy.xymanager_dao.dao; - -import com.shxy.xymanager_common.entity.TerminalsBak; -import com.shxy.xymanager_common.entity.TerminalsExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface TerminalsBakDao { - long countByExample(TerminalsExample example); - - int deleteByExample(TerminalsExample example); - - int deleteByPrimaryKey(Integer id); - - int insert(TerminalsBak record); - - int insertSelective(TerminalsBak record); - - List selectByExample(TerminalsExample example); - - TerminalsBak selectByPrimaryKey(Integer id); - - int updateByExampleSelective(@Param("record") TerminalsBak record, @Param("example") TerminalsExample example); - - int updateByExample(@Param("record") TerminalsBak record, @Param("example") TerminalsExample example); - - int updateByPrimaryKeySelective(TerminalsBak record); - - int updateByPrimaryKey(TerminalsBak record); -} \ No newline at end of file diff --git a/xymanager_dao/src/main/java/com/shxy/xymanager_dao/dao/TowersBakDao.java b/xymanager_dao/src/main/java/com/shxy/xymanager_dao/dao/TowersBakDao.java deleted file mode 100644 index c82f04f..0000000 --- a/xymanager_dao/src/main/java/com/shxy/xymanager_dao/dao/TowersBakDao.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.shxy.xymanager_dao.dao; - -import com.shxy.xymanager_common.entity.TowersBak; -import com.shxy.xymanager_common.entity.TowersExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface TowersBakDao { - long countByExample(TowersExample example); - - int deleteByExample(TowersExample example); - - int deleteByPrimaryKey(Integer id); - - int insert(TowersBak record); - - int insertSelective(TowersBak record); - - List selectByExample(TowersExample example); - - TowersBak selectByPrimaryKey(Integer id); - - int updateByExampleSelective(@Param("record") TowersBak record, @Param("example") TowersExample example); - - int updateByExample(@Param("record") TowersBak record, @Param("example") TowersExample example); - - int updateByPrimaryKeySelective(TowersBak record); - - int updateByPrimaryKey(TowersBak record); -} \ No newline at end of file diff --git a/xymanager_dao/src/main/resources/mappers/DyLevelBakDao.xml b/xymanager_dao/src/main/resources/mappers/DyLevelBakDao.xml deleted file mode 100644 index a1b4f00..0000000 --- a/xymanager_dao/src/main/resources/mappers/DyLevelBakDao.xml +++ /dev/null @@ -1,228 +0,0 @@ - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, dy_value, status, create_time, update_time - - - - - delete from dy_level - where id = #{id,jdbcType=INTEGER} - - - delete from dy_level - - - - - - insert into dy_level (id, name, dy_value, - status, create_time, update_time - ) - values (#{id,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{dyValue,jdbcType=INTEGER}, - #{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP} - ) - - - insert into dy_level - - - id, - - - name, - - - dy_value, - - - status, - - - create_time, - - - update_time, - - - - - #{id,jdbcType=INTEGER}, - - - #{name,jdbcType=VARCHAR}, - - - #{dyValue,jdbcType=INTEGER}, - - - #{status,jdbcType=INTEGER}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{updateTime,jdbcType=TIMESTAMP}, - - - - - - update dy_level - - - id = #{record.id,jdbcType=INTEGER}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - dy_value = #{record.dyValue,jdbcType=INTEGER}, - - - status = #{record.status,jdbcType=INTEGER}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - update_time = #{record.updateTime,jdbcType=TIMESTAMP}, - - - - - - - - update dy_level - set id = #{record.id,jdbcType=INTEGER}, - name = #{record.name,jdbcType=VARCHAR}, - dy_value = #{record.dyValue,jdbcType=INTEGER}, - status = #{record.status,jdbcType=INTEGER}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - update_time = #{record.updateTime,jdbcType=TIMESTAMP} - - - - - - update dy_level - - - name = #{name,jdbcType=VARCHAR}, - - - dy_value = #{dyValue,jdbcType=INTEGER}, - - - status = #{status,jdbcType=INTEGER}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - where id = #{id,jdbcType=INTEGER} - - - update dy_level - set name = #{name,jdbcType=VARCHAR}, - dy_value = #{dyValue,jdbcType=INTEGER}, - status = #{status,jdbcType=INTEGER}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - update_time = #{updateTime,jdbcType=TIMESTAMP} - where id = #{id,jdbcType=INTEGER} - - \ No newline at end of file diff --git a/xymanager_dao/src/main/resources/mappers/LinesBakDao.xml b/xymanager_dao/src/main/resources/mappers/LinesBakDao.xml deleted file mode 100644 index 1de15fd..0000000 --- a/xymanager_dao/src/main/resources/mappers/LinesBakDao.xml +++ /dev/null @@ -1,244 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, bs_manufacturer, dy_level_id, status, create_time, update_time - - - - - delete from lines - where id = #{id,jdbcType=INTEGER} - - - delete from lines - - - - - - insert into lines (id, name, bs_manufacturer, - dy_level_id, status, create_time, - update_time) - values (#{id,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{bsManufacturer,jdbcType=VARCHAR}, - #{dyLevelId,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, - #{updateTime,jdbcType=TIMESTAMP}) - - - insert into lines - - - id, - - - name, - - - bs_manufacturer, - - - dy_level_id, - - - status, - - - create_time, - - - update_time, - - - - - #{id,jdbcType=INTEGER}, - - - #{name,jdbcType=VARCHAR}, - - - #{bsManufacturer,jdbcType=VARCHAR}, - - - #{dyLevelId,jdbcType=INTEGER}, - - - #{status,jdbcType=INTEGER}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{updateTime,jdbcType=TIMESTAMP}, - - - - - - update lines - - - id = #{record.id,jdbcType=INTEGER}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - bs_manufacturer = #{record.bsManufacturer,jdbcType=VARCHAR}, - - - dy_level_id = #{record.dyLevelId,jdbcType=INTEGER}, - - - status = #{record.status,jdbcType=INTEGER}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - update_time = #{record.updateTime,jdbcType=TIMESTAMP}, - - - - - - - - update lines - set id = #{record.id,jdbcType=INTEGER}, - name = #{record.name,jdbcType=VARCHAR}, - bs_manufacturer = #{record.bsManufacturer,jdbcType=VARCHAR}, - dy_level_id = #{record.dyLevelId,jdbcType=INTEGER}, - status = #{record.status,jdbcType=INTEGER}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - update_time = #{record.updateTime,jdbcType=TIMESTAMP} - - - - - - update lines - - - name = #{name,jdbcType=VARCHAR}, - - - bs_manufacturer = #{bsManufacturer,jdbcType=VARCHAR}, - - - dy_level_id = #{dyLevelId,jdbcType=INTEGER}, - - - status = #{status,jdbcType=INTEGER}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - where id = #{id,jdbcType=INTEGER} - - - update lines - set name = #{name,jdbcType=VARCHAR}, - bs_manufacturer = #{bsManufacturer,jdbcType=VARCHAR}, - dy_level_id = #{dyLevelId,jdbcType=INTEGER}, - status = #{status,jdbcType=INTEGER}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - update_time = #{updateTime,jdbcType=TIMESTAMP} - where id = #{id,jdbcType=INTEGER} - - - \ No newline at end of file diff --git a/xymanager_dao/src/main/resources/mappers/TerminalsBakDao.xml b/xymanager_dao/src/main/resources/mappers/TerminalsBakDao.xml deleted file mode 100644 index 1a86aeb..0000000 --- a/xymanager_dao/src/main/resources/mappers/TerminalsBakDao.xml +++ /dev/null @@ -1,466 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, line_id, tower_id, cmdid, status, org_id, iccid, protocol, cellphone, equip_name, - display_name, model, essential_info_version, has_pan, bs_manufacturer, bs_production_date, - bs_identifier, latitude, longitude, create_time, update_time - - - - - delete from terminals - where id = #{id,jdbcType=INTEGER} - - - delete from terminals - - - - - - insert into terminals (id, line_id, tower_id, - cmdid, status, org_id, - iccid, protocol, cellphone, - equip_name, display_name, model, - essential_info_version, has_pan, bs_manufacturer, - bs_production_date, bs_identifier, latitude, - longitude, create_time, update_time - ) - values (#{id,jdbcType=INTEGER}, #{lineId,jdbcType=INTEGER}, #{towerId,jdbcType=INTEGER}, - #{cmdid,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{orgId,jdbcType=SMALLINT}, - #{iccid,jdbcType=VARCHAR}, #{protocol,jdbcType=INTEGER}, #{cellphone,jdbcType=VARCHAR}, - #{equipName,jdbcType=VARCHAR}, #{displayName,jdbcType=VARCHAR}, #{model,jdbcType=VARCHAR}, - #{essentialInfoVersion,jdbcType=VARCHAR}, #{hasPan,jdbcType=TINYINT}, #{bsManufacturer,jdbcType=VARCHAR}, - #{bsProductionDate,jdbcType=DATE}, #{bsIdentifier,jdbcType=VARCHAR}, #{latitude,jdbcType=DOUBLE}, - #{longitude,jdbcType=DOUBLE}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP} - ) - - - insert into terminals - - - id, - - - line_id, - - - tower_id, - - - cmdid, - - - status, - - - org_id, - - - iccid, - - - protocol, - - - cellphone, - - - equip_name, - - - display_name, - - - model, - - - essential_info_version, - - - has_pan, - - - bs_manufacturer, - - - bs_production_date, - - - bs_identifier, - - - latitude, - - - longitude, - - - create_time, - - - update_time, - - - - - #{id,jdbcType=INTEGER}, - - - #{lineId,jdbcType=INTEGER}, - - - #{towerId,jdbcType=INTEGER}, - - - #{cmdid,jdbcType=VARCHAR}, - - - #{status,jdbcType=INTEGER}, - - - #{orgId,jdbcType=SMALLINT}, - - - #{iccid,jdbcType=VARCHAR}, - - - #{protocol,jdbcType=INTEGER}, - - - #{cellphone,jdbcType=VARCHAR}, - - - #{equipName,jdbcType=VARCHAR}, - - - #{displayName,jdbcType=VARCHAR}, - - - #{model,jdbcType=VARCHAR}, - - - #{essentialInfoVersion,jdbcType=VARCHAR}, - - - #{hasPan,jdbcType=TINYINT}, - - - #{bsManufacturer,jdbcType=VARCHAR}, - - - #{bsProductionDate,jdbcType=DATE}, - - - #{bsIdentifier,jdbcType=VARCHAR}, - - - #{latitude,jdbcType=DOUBLE}, - - - #{longitude,jdbcType=DOUBLE}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{updateTime,jdbcType=TIMESTAMP}, - - - - - - update terminals - - - id = #{record.id,jdbcType=INTEGER}, - - - line_id = #{record.lineId,jdbcType=INTEGER}, - - - tower_id = #{record.towerId,jdbcType=INTEGER}, - - - cmdid = #{record.cmdid,jdbcType=VARCHAR}, - - - status = #{record.status,jdbcType=INTEGER}, - - - org_id = #{record.orgId,jdbcType=SMALLINT}, - - - iccid = #{record.iccid,jdbcType=VARCHAR}, - - - protocol = #{record.protocol,jdbcType=INTEGER}, - - - cellphone = #{record.cellphone,jdbcType=VARCHAR}, - - - equip_name = #{record.equipName,jdbcType=VARCHAR}, - - - display_name = #{record.displayName,jdbcType=VARCHAR}, - - - model = #{record.model,jdbcType=VARCHAR}, - - - essential_info_version = #{record.essentialInfoVersion,jdbcType=VARCHAR}, - - - has_pan = #{record.hasPan,jdbcType=TINYINT}, - - - bs_manufacturer = #{record.bsManufacturer,jdbcType=VARCHAR}, - - - bs_production_date = #{record.bsProductionDate,jdbcType=DATE}, - - - bs_identifier = #{record.bsIdentifier,jdbcType=VARCHAR}, - - - latitude = #{record.latitude,jdbcType=DOUBLE}, - - - longitude = #{record.longitude,jdbcType=DOUBLE}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - update_time = #{record.updateTime,jdbcType=TIMESTAMP}, - - - - - - - - update terminals - set id = #{record.id,jdbcType=INTEGER}, - line_id = #{record.lineId,jdbcType=INTEGER}, - tower_id = #{record.towerId,jdbcType=INTEGER}, - cmdid = #{record.cmdid,jdbcType=VARCHAR}, - status = #{record.status,jdbcType=INTEGER}, - org_id = #{record.orgId,jdbcType=SMALLINT}, - iccid = #{record.iccid,jdbcType=VARCHAR}, - protocol = #{record.protocol,jdbcType=INTEGER}, - cellphone = #{record.cellphone,jdbcType=VARCHAR}, - equip_name = #{record.equipName,jdbcType=VARCHAR}, - display_name = #{record.displayName,jdbcType=VARCHAR}, - model = #{record.model,jdbcType=VARCHAR}, - essential_info_version = #{record.essentialInfoVersion,jdbcType=VARCHAR}, - has_pan = #{record.hasPan,jdbcType=TINYINT}, - bs_manufacturer = #{record.bsManufacturer,jdbcType=VARCHAR}, - bs_production_date = #{record.bsProductionDate,jdbcType=DATE}, - bs_identifier = #{record.bsIdentifier,jdbcType=VARCHAR}, - latitude = #{record.latitude,jdbcType=DOUBLE}, - longitude = #{record.longitude,jdbcType=DOUBLE}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - update_time = #{record.updateTime,jdbcType=TIMESTAMP} - - - - - - update terminals - - - line_id = #{lineId,jdbcType=INTEGER}, - - - tower_id = #{towerId,jdbcType=INTEGER}, - - - cmdid = #{cmdid,jdbcType=VARCHAR}, - - - status = #{status,jdbcType=INTEGER}, - - - org_id = #{orgId,jdbcType=SMALLINT}, - - - iccid = #{iccid,jdbcType=VARCHAR}, - - - protocol = #{protocol,jdbcType=INTEGER}, - - - cellphone = #{cellphone,jdbcType=VARCHAR}, - - - equip_name = #{equipName,jdbcType=VARCHAR}, - - - display_name = #{displayName,jdbcType=VARCHAR}, - - - model = #{model,jdbcType=VARCHAR}, - - - essential_info_version = #{essentialInfoVersion,jdbcType=VARCHAR}, - - - has_pan = #{hasPan,jdbcType=TINYINT}, - - - bs_manufacturer = #{bsManufacturer,jdbcType=VARCHAR}, - - - bs_production_date = #{bsProductionDate,jdbcType=DATE}, - - - bs_identifier = #{bsIdentifier,jdbcType=VARCHAR}, - - - latitude = #{latitude,jdbcType=DOUBLE}, - - - longitude = #{longitude,jdbcType=DOUBLE}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - where id = #{id,jdbcType=INTEGER} - - - update terminals - set line_id = #{lineId,jdbcType=INTEGER}, - tower_id = #{towerId,jdbcType=INTEGER}, - cmdid = #{cmdid,jdbcType=VARCHAR}, - status = #{status,jdbcType=INTEGER}, - org_id = #{orgId,jdbcType=SMALLINT}, - iccid = #{iccid,jdbcType=VARCHAR}, - protocol = #{protocol,jdbcType=INTEGER}, - cellphone = #{cellphone,jdbcType=VARCHAR}, - equip_name = #{equipName,jdbcType=VARCHAR}, - display_name = #{displayName,jdbcType=VARCHAR}, - model = #{model,jdbcType=VARCHAR}, - essential_info_version = #{essentialInfoVersion,jdbcType=VARCHAR}, - has_pan = #{hasPan,jdbcType=TINYINT}, - bs_manufacturer = #{bsManufacturer,jdbcType=VARCHAR}, - bs_production_date = #{bsProductionDate,jdbcType=DATE}, - bs_identifier = #{bsIdentifier,jdbcType=VARCHAR}, - latitude = #{latitude,jdbcType=DOUBLE}, - longitude = #{longitude,jdbcType=DOUBLE}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - update_time = #{updateTime,jdbcType=TIMESTAMP} - where id = #{id,jdbcType=INTEGER} - - - \ No newline at end of file diff --git a/xymanager_dao/src/main/resources/mappers/TowersBakDao.xml b/xymanager_dao/src/main/resources/mappers/TowersBakDao.xml deleted file mode 100644 index bdebeff..0000000 --- a/xymanager_dao/src/main/resources/mappers/TowersBakDao.xml +++ /dev/null @@ -1,244 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, line_id, create_time, update_time, status, order - - - - - delete from towers - where id = #{id,jdbcType=INTEGER} - - - delete from towers - - - - - - insert into towers (id, name, line_id, - create_time, update_time, status, - order) - values (#{id,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{lineId,jdbcType=INTEGER}, - #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, - #{order,jdbcType=INTEGER}) - - - insert into towers - - - id, - - - name, - - - line_id, - - - create_time, - - - update_time, - - - status, - - - order, - - - - - #{id,jdbcType=INTEGER}, - - - #{name,jdbcType=VARCHAR}, - - - #{lineId,jdbcType=INTEGER}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{updateTime,jdbcType=TIMESTAMP}, - - - #{status,jdbcType=INTEGER}, - - - #{order,jdbcType=INTEGER}, - - - - - - update towers - - - id = #{record.id,jdbcType=INTEGER}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - line_id = #{record.lineId,jdbcType=INTEGER}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - update_time = #{record.updateTime,jdbcType=TIMESTAMP}, - - - status = #{record.status,jdbcType=INTEGER}, - - - order = #{record.order,jdbcType=INTEGER}, - - - - - - - - update towers - set id = #{record.id,jdbcType=INTEGER}, - name = #{record.name,jdbcType=VARCHAR}, - line_id = #{record.lineId,jdbcType=INTEGER}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - update_time = #{record.updateTime,jdbcType=TIMESTAMP}, - status = #{record.status,jdbcType=INTEGER}, - order = #{record.order,jdbcType=INTEGER} - - - - - - update towers - - - name = #{name,jdbcType=VARCHAR}, - - - line_id = #{lineId,jdbcType=INTEGER}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - status = #{status,jdbcType=INTEGER}, - - - order = #{order,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=INTEGER} - - - update towers - set name = #{name,jdbcType=VARCHAR}, - line_id = #{lineId,jdbcType=INTEGER}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - update_time = #{updateTime,jdbcType=TIMESTAMP}, - status = #{status,jdbcType=INTEGER}, - order = #{order,jdbcType=INTEGER} - where id = #{id,jdbcType=INTEGER} - - - \ No newline at end of file