diff --git a/agri-system/src/main/java/com/agri/system/domain/SysAgriInfo.java b/agri-system/src/main/java/com/agri/system/domain/SysAgriInfo.java index 18fdf84..c5035b1 100644 --- a/agri-system/src/main/java/com/agri/system/domain/SysAgriInfo.java +++ b/agri-system/src/main/java/com/agri/system/domain/SysAgriInfo.java @@ -41,22 +41,6 @@ public class SysAgriInfo extends BaseEntity @Excel(name = "关联用户ID") private Long userId; - /** 温度上限(℃) */ - @Excel(name = "温度上限(℃)") - private BigDecimal tempUpper; - - /** 温度下限(℃) */ - @Excel(name = "温度下限(℃)") - private BigDecimal tempLower; - - /** 湿度上限(%RH) */ - @Excel(name = "湿度上限(%RH)") - private BigDecimal humiUpper; - - /** 湿度下限(%RH) */ - @Excel(name = "湿度下限(%RH)") - private BigDecimal humiLower; - /** 告警开关(0-关闭,1-开启) */ @Excel(name = "告警开关(0-关闭,1-开启)") private Integer alarmStatus; @@ -118,46 +102,6 @@ public class SysAgriInfo extends BaseEntity return userId; } - public void setTempUpper(BigDecimal tempUpper) - { - this.tempUpper = tempUpper; - } - - public BigDecimal getTempUpper() - { - return tempUpper; - } - - public void setTempLower(BigDecimal tempLower) - { - this.tempLower = tempLower; - } - - public BigDecimal getTempLower() - { - return tempLower; - } - - public void setHumiUpper(BigDecimal humiUpper) - { - this.humiUpper = humiUpper; - } - - public BigDecimal getHumiUpper() - { - return humiUpper; - } - - public void setHumiLower(BigDecimal humiLower) - { - this.humiLower = humiLower; - } - - public BigDecimal getHumiLower() - { - return humiLower; - } - public void setAlarmStatus(Integer alarmStatus) { this.alarmStatus = alarmStatus; @@ -215,10 +159,6 @@ public class SysAgriInfo extends BaseEntity .append("imei", getImei()) .append("agriName", getAgriName()) .append("userId", getUserId()) - .append("tempUpper", getTempUpper()) - .append("tempLower", getTempLower()) - .append("humiUpper", getHumiUpper()) - .append("humiLower", getHumiLower()) .append("alarmStatus", getAlarmStatus()) .append("deviceStatus", getDeviceStatus()) .append("installTime", getInstallTime()) diff --git a/agri-system/src/main/resources/mapper/system/SysAgriInfoMapper.xml b/agri-system/src/main/resources/mapper/system/SysAgriInfoMapper.xml index 3f00d20..1963b7d 100644 --- a/agri-system/src/main/resources/mapper/system/SysAgriInfoMapper.xml +++ b/agri-system/src/main/resources/mapper/system/SysAgriInfoMapper.xml @@ -9,10 +9,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - - - - @@ -26,7 +22,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - select id, imei, agri_name, user_id, temp_upper, temp_lower, humi_upper, humi_lower, alarm_status, device_status, install_time, location, remark, create_time, create_by, update_time, update_by, is_deleted from sys_agri_info + select id, imei, agri_name, user_id, alarm_status, device_status, install_time, location, remark, create_time, create_by, update_time, update_by, is_deleted from sys_agri_info @@ -34,10 +30,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" agri.id, agri.imei, agri.agri_name, - agri.temp_upper, - agri.temp_lower, - agri.humi_upper, - agri.humi_lower, agri.alarm_status, agri.device_status, agri.install_time, @@ -61,10 +53,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and imei = #{imei} and agri_name like concat('%', #{agriName}, '%') and user_id = #{userId} - and temp_upper = #{tempUpper} - and temp_lower = #{tempLower} - and humi_upper = #{humiUpper} - and humi_lower = #{humiLower} and alarm_status = #{alarmStatus} and device_status = #{deviceStatus} and install_time = #{installTime} @@ -84,10 +72,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" imei, agri_name, user_id, - temp_upper, - temp_lower, - humi_upper, - humi_lower, alarm_status, device_status, install_time, @@ -103,10 +87,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{imei}, #{agriName}, #{userId}, - #{tempUpper}, - #{tempLower}, - #{humiUpper}, - #{humiLower}, #{alarmStatus}, #{deviceStatus}, #{installTime}, @@ -126,10 +106,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" imei = #{imei}, agri_name = #{agriName}, user_id = #{userId}, - temp_upper = #{tempUpper}, - temp_lower = #{tempLower}, - humi_upper = #{humiUpper}, - humi_lower = #{humiLower}, alarm_status = #{alarmStatus}, device_status = #{deviceStatus}, install_time = #{installTime}, @@ -159,12 +135,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"