Commit cea68f20 authored by 赵啸非's avatar 赵啸非

添加样表设备列表

parent 6f742a77
......@@ -2,23 +2,27 @@ package com.mortals.xhx.common.pdu.device;
import java.util.Date;
import java.util.List;
import com.mortals.framework.model.BaseEntityLong;
import lombok.Data;
/**
* 设备Pdu对象
*
* @author zxfei
* @date 2022-10-26
* @date 2023-02-25
*/
@Data
public class DevicePdu extends BaseEntityLong {
private static final long serialVersionUID = 1L;
/**
* 设备id
*/
private Long deviceId;
/**
* 设备名称
*/
private String deviceName;
/**
* 设备编码,SN码等,默认为MAC地址
* 设备编码
*/
private String deviceCode;
/**
......@@ -26,7 +30,7 @@ public class DevicePdu extends BaseEntityLong {
*/
private String deviceMac;
/**
* 站点Id,来源基础服务平台
* 站点Id
*/
private Long siteId;
/**
......@@ -38,70 +42,26 @@ public class DevicePdu extends BaseEntityLong {
*/
private String siteName;
/**
* 平台系统Id
*/
private Long platformId;
/**
* 平台系统名称
*/
private String platformName;
/**
* 产品Id
* 产品编码
*/
private Long productId;
private String productCode;
/**
* 产品名称
*/
private String productName;
/**
* 皮肤id
*/
private Long skinId;
/**
* 皮肤名称
*/
private String skinName;
/**
* 首页地址
*/
private String homeUrl;
/**
* 设备生产厂商ID
*/
private Long deviceFirmId;
/**
* 设备生产厂商名称
*/
private String deviceFirmname;
/**
* 设备来源(0.子设备,1.网关设备,2.直连设备)
*/
private Integer deviceSrc;
/**
* 数据获取方式(0.主动上报,1.被动拉取)
*/
private Integer deviceDataSourceWay;
/**
* 经度
*/
private String lon;
/**
*
*
*/
private String lati;
/**
* 所属楼栋
*/
private Integer deviceInBuilding;
/**
* 所属楼层
*/
private Integer deviceInFloor;
/**
* 保修期至
*/
private Date defectsLiabilityPeriod;
/**
* 负责人
*/
private String leadingOfficial;
......@@ -110,3814 +70,52 @@ public class DevicePdu extends BaseEntityLong {
*/
private String leadingOfficialTelephone;
/**
* 是否接收异常短(0.否,1.是)
*/
private Integer isReceiveMess;
/**
* 设备图片
*/
private String devicePhotoPath;
/**
* 设备访问ip
*/
private String ip;
/**
* 中心设备编码
*/
private String centernum;
/**
* 端口
*/
private String port;
/**
* 设备topic信息
*/
private String deviceTopic;
/**
* 设备状态 (0.未激活,1.离线,2.在线)
*/
private Integer deviceStatus;
/**
* 启用状态 (0.停止,1.启用)
*/
private Integer enabled;
/**
* 设备授权码
*/
private String deviceAuthCode;
/**
* 备注
*/
private String deviceRemark;
/**
* 最近上线时间
*/
private Date onlineTime;
/**
* 最近离线时间
*/
private Date offlineTime;
/**
* 是否删除(0.否,1.是)
*/
private Integer deleted;
/**
* 设备来源(0.旧设备,1.新设备)
*/
private Integer source;
/**
* 设备SN码
*/
private String deviceSN;
/** 开始 主键ID,主键,自增长 */
private Long idStart;
/** 结束 主键ID,主键,自增长 */
private Long idEnd;
/** 增加 主键ID,主键,自增长 */
private Long idIncrement;
/** 主键ID,主键,自增长列表 */
private List <Long> idList;
/** 设备名称 */
private List<String> deviceNameList;
/** 设备编码,SN码等,默认为MAC地址 */
private List<String> deviceCodeList;
/** 设备的MAC地址 */
private List<String> deviceMacList;
/** 开始 站点Id,来源基础服务平台 */
private Long siteIdStart;
/** 结束 站点Id,来源基础服务平台 */
private Long siteIdEnd;
/** 增加 站点Id,来源基础服务平台 */
private Long siteIdIncrement;
/** 站点Id,来源基础服务平台列表 */
private List <Long> siteIdList;
/** 站点编号,来源基础服务平台 */
private List<String> siteCodeList;
/** 站点名称 */
private List<String> siteNameList;
/** 开始 平台系统Id */
private Long platformIdStart;
/** 结束 平台系统Id */
private Long platformIdEnd;
/** 增加 平台系统Id */
private Long platformIdIncrement;
/** 平台系统Id列表 */
private List <Long> platformIdList;
/** 平台系统名称 */
private List<String> platformNameList;
/** 开始 产品Id */
private Long productIdStart;
/** 结束 产品Id */
private Long productIdEnd;
/** 增加 产品Id */
private Long productIdIncrement;
/** 产品Id列表 */
private List <Long> productIdList;
/** 产品名称 */
private List<String> productNameList;
/** 开始 皮肤id */
private Long skinIdStart;
/** 结束 皮肤id */
private Long skinIdEnd;
/** 增加 皮肤id */
private Long skinIdIncrement;
/** 皮肤id列表 */
private List <Long> skinIdList;
/** 皮肤名称 */
private List<String> skinNameList;
/** 首页地址 */
private List<String> homeUrlList;
/** 开始 设备生产厂商ID */
private Long deviceFirmIdStart;
/** 结束 设备生产厂商ID */
private Long deviceFirmIdEnd;
/** 增加 设备生产厂商ID */
private Long deviceFirmIdIncrement;
/** 设备生产厂商ID列表 */
private List <Long> deviceFirmIdList;
/** 设备生产厂商名称 */
private List<String> deviceFirmnameList;
/** 开始 设备来源(0.子设备,1.网关设备,2.直连设备) */
private Integer deviceSrcStart;
/** 结束 设备来源(0.子设备,1.网关设备,2.直连设备) */
private Integer deviceSrcEnd;
/** 增加 设备来源(0.子设备,1.网关设备,2.直连设备) */
private Integer deviceSrcIncrement;
/** 设备来源(0.子设备,1.网关设备,2.直连设备)列表 */
private List <Integer> deviceSrcList;
/** 开始 数据获取方式(0.主动上报,1.被动拉取) */
private Integer deviceDataSourceWayStart;
/** 结束 数据获取方式(0.主动上报,1.被动拉取) */
private Integer deviceDataSourceWayEnd;
/** 增加 数据获取方式(0.主动上报,1.被动拉取) */
private Integer deviceDataSourceWayIncrement;
/** 数据获取方式(0.主动上报,1.被动拉取)列表 */
private List <Integer> deviceDataSourceWayList;
/** 经度 */
private List<String> lonList;
/** 经度 */
private List<String> latiList;
/** 开始 所属楼栋 */
private Integer deviceInBuildingStart;
/** 结束 所属楼栋 */
private Integer deviceInBuildingEnd;
/** 增加 所属楼栋 */
private Integer deviceInBuildingIncrement;
/** 所属楼栋列表 */
private List <Integer> deviceInBuildingList;
/** 开始 所属楼层 */
private Integer deviceInFloorStart;
/** 结束 所属楼层 */
private Integer deviceInFloorEnd;
/** 增加 所属楼层 */
private Integer deviceInFloorIncrement;
/** 所属楼层列表 */
private List <Integer> deviceInFloorList;
/** 开始 保修期至 */
private String defectsLiabilityPeriodStart;
/** 结束 保修期至 */
private String defectsLiabilityPeriodEnd;
/** 负责人 */
private List<String> leadingOfficialList;
/** 联系电话 */
private List<String> leadingOfficialTelephoneList;
/** 开始 是否接收异常短(0.否,1.是) */
private Integer isReceiveMessStart;
/** 结束 是否接收异常短(0.否,1.是) */
private Integer isReceiveMessEnd;
/** 增加 是否接收异常短(0.否,1.是) */
private Integer isReceiveMessIncrement;
/** 是否接收异常短(0.否,1.是)列表 */
private List <Integer> isReceiveMessList;
/** 设备图片 */
private List<String> devicePhotoPathList;
/** 设备访问ip */
private List<String> ipList;
/** 中心设备编码 */
private List<String> centernumList;
/** 端口 */
private List<String> portList;
/** 设备topic信息 */
private List<String> deviceTopicList;
/** 开始 设备状态 (0.未激活,1.离线,2.在线) */
private Integer deviceStatusStart;
/** 结束 设备状态 (0.未激活,1.离线,2.在线) */
private Integer deviceStatusEnd;
/** 增加 设备状态 (0.未激活,1.离线,2.在线) */
private Integer deviceStatusIncrement;
/** 设备状态 (0.未激活,1.离线,2.在线)列表 */
private List <Integer> deviceStatusList;
/** 开始 启用状态 (0.停止,1.启用) */
private Integer enabledStart;
/** 结束 启用状态 (0.停止,1.启用) */
private Integer enabledEnd;
/** 增加 启用状态 (0.停止,1.启用) */
private Integer enabledIncrement;
/** 启用状态 (0.停止,1.启用)列表 */
private List <Integer> enabledList;
/** 设备授权码 */
private List<String> deviceAuthCodeList;
/** 备注 */
private List<String> deviceRemarkList;
/** 开始 最近上线时间 */
private String onlineTimeStart;
/** 结束 最近上线时间 */
private String onlineTimeEnd;
/** 开始 最近离线时间 */
private String offlineTimeStart;
public void initAttrValue(){
/** 结束 最近离线时间 */
private String offlineTimeEnd;
this.deviceId = null;
/** 开始 是否删除(0.否,1.是) */
private Integer deletedStart;
this.deviceName = null;
/** 结束 是否删除(0.否,1.是) */
private Integer deletedEnd;
this.deviceCode = null;
/** 增加 是否删除(0.否,1.是) */
private Integer deletedIncrement;
this.deviceMac = null;
/** 是否删除(0.否,1.是)列表 */
private List <Integer> deletedList;
/** 开始 设备来源(0.旧设备,1.新设备) */
private Integer sourceStart;
/** 结束 设备来源(0.旧设备,1.新设备) */
private Integer sourceEnd;
/** 增加 设备来源(0.旧设备,1.新设备) */
private Integer sourceIncrement;
/** 设备来源(0.旧设备,1.新设备)列表 */
private List <Integer> sourceList;
/** 开始 创建用户 */
private Long createUserIdStart;
/** 结束 创建用户 */
private Long createUserIdEnd;
/** 增加 创建用户 */
private Long createUserIdIncrement;
/** 创建用户列表 */
private List <Long> createUserIdList;
/** 开始 创建时间 */
private String createTimeStart;
this.siteId = null;
/** 结束 创建时间 */
private String createTimeEnd;
this.siteCode = null;
/** 开始 更新用户 */
private Long updateUserIdStart;
this.siteName = null;
/** 结束 更新用户 */
private Long updateUserIdEnd;
this.productCode = null;
/** 增加 更新用户 */
private Long updateUserIdIncrement;
this.productName = null;
/** 更新用户列表 */
private List <Long> updateUserIdList;
this.deviceSrc = 2;
/** 开始 更新时间 */
private String updateTimeStart;
this.lon = null;
/** 结束 更新时间 */
private String updateTimeEnd;
this.lati = null;
/** 设备SN码 */
private List<String> deviceSNList;
this.leadingOfficial = null;
this.leadingOfficialTelephone = null;
/** OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) */
private List<DevicePdu> orConditionList;
this.deviceStatus = null;
/** AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4) */
private List<DevicePdu> andConditionList;
public DevicePdu(){}
/**
* 获取 设备名称
* @return String
*/
public String getDeviceName(){
return deviceName;
}
/**
* 设置 设备名称
* @param deviceName
*/
public void setDeviceName(String deviceName){
this.deviceName = deviceName;
}
/**
* 获取 设备编码,SN码等,默认为MAC地址
* @return String
*/
public String getDeviceCode(){
return deviceCode;
}
/**
* 设置 设备编码,SN码等,默认为MAC地址
* @param deviceCode
*/
public void setDeviceCode(String deviceCode){
this.deviceCode = deviceCode;
}
/**
* 获取 设备的MAC地址
* @return String
*/
public String getDeviceMac(){
return deviceMac;
}
/**
* 设置 设备的MAC地址
* @param deviceMac
*/
public void setDeviceMac(String deviceMac){
this.deviceMac = deviceMac;
}
/**
* 获取 站点Id,来源基础服务平台
* @return Long
*/
public Long getSiteId(){
return siteId;
}
/**
* 设置 站点Id,来源基础服务平台
* @param siteId
*/
public void setSiteId(Long siteId){
this.siteId = siteId;
}
/**
* 获取 站点编号,来源基础服务平台
* @return String
*/
public String getSiteCode(){
return siteCode;
}
/**
* 设置 站点编号,来源基础服务平台
* @param siteCode
*/
public void setSiteCode(String siteCode){
this.siteCode = siteCode;
}
/**
* 获取 站点名称
* @return String
*/
public String getSiteName(){
return siteName;
}
/**
* 设置 站点名称
* @param siteName
*/
public void setSiteName(String siteName){
this.siteName = siteName;
}
/**
* 获取 平台系统Id
* @return Long
*/
public Long getPlatformId(){
return platformId;
}
/**
* 设置 平台系统Id
* @param platformId
*/
public void setPlatformId(Long platformId){
this.platformId = platformId;
}
/**
* 获取 平台系统名称
* @return String
*/
public String getPlatformName(){
return platformName;
}
/**
* 设置 平台系统名称
* @param platformName
*/
public void setPlatformName(String platformName){
this.platformName = platformName;
}
/**
* 获取 产品Id
* @return Long
*/
public Long getProductId(){
return productId;
}
/**
* 设置 产品Id
* @param productId
*/
public void setProductId(Long productId){
this.productId = productId;
}
/**
* 获取 产品名称
* @return String
*/
public String getProductName(){
return productName;
}
/**
* 设置 产品名称
* @param productName
*/
public void setProductName(String productName){
this.productName = productName;
}
/**
* 获取 皮肤id
* @return Long
*/
public Long getSkinId(){
return skinId;
}
/**
* 设置 皮肤id
* @param skinId
*/
public void setSkinId(Long skinId){
this.skinId = skinId;
}
/**
* 获取 皮肤名称
* @return String
*/
public String getSkinName(){
return skinName;
}
/**
* 设置 皮肤名称
* @param skinName
*/
public void setSkinName(String skinName){
this.skinName = skinName;
}
/**
* 获取 首页地址
* @return String
*/
public String getHomeUrl(){
return homeUrl;
}
/**
* 设置 首页地址
* @param homeUrl
*/
public void setHomeUrl(String homeUrl){
this.homeUrl = homeUrl;
}
/**
* 获取 设备生产厂商ID
* @return Long
*/
public Long getDeviceFirmId(){
return deviceFirmId;
}
/**
* 设置 设备生产厂商ID
* @param deviceFirmId
*/
public void setDeviceFirmId(Long deviceFirmId){
this.deviceFirmId = deviceFirmId;
}
/**
* 获取 设备生产厂商名称
* @return String
*/
public String getDeviceFirmname(){
return deviceFirmname;
}
/**
* 设置 设备生产厂商名称
* @param deviceFirmname
*/
public void setDeviceFirmname(String deviceFirmname){
this.deviceFirmname = deviceFirmname;
}
/**
* 获取 设备来源(0.子设备,1.网关设备,2.直连设备)
* @return Integer
*/
public Integer getDeviceSrc(){
return deviceSrc;
}
/**
* 设置 设备来源(0.子设备,1.网关设备,2.直连设备)
* @param deviceSrc
*/
public void setDeviceSrc(Integer deviceSrc){
this.deviceSrc = deviceSrc;
}
/**
* 获取 数据获取方式(0.主动上报,1.被动拉取)
* @return Integer
*/
public Integer getDeviceDataSourceWay(){
return deviceDataSourceWay;
}
/**
* 设置 数据获取方式(0.主动上报,1.被动拉取)
* @param deviceDataSourceWay
*/
public void setDeviceDataSourceWay(Integer deviceDataSourceWay){
this.deviceDataSourceWay = deviceDataSourceWay;
}
/**
* 获取 经度
* @return String
*/
public String getLon(){
return lon;
}
/**
* 设置 经度
* @param lon
*/
public void setLon(String lon){
this.lon = lon;
}
/**
* 获取 经度
* @return String
*/
public String getLati(){
return lati;
}
/**
* 设置 经度
* @param lati
*/
public void setLati(String lati){
this.lati = lati;
}
/**
* 获取 所属楼栋
* @return Integer
*/
public Integer getDeviceInBuilding(){
return deviceInBuilding;
}
/**
* 设置 所属楼栋
* @param deviceInBuilding
*/
public void setDeviceInBuilding(Integer deviceInBuilding){
this.deviceInBuilding = deviceInBuilding;
}
/**
* 获取 所属楼层
* @return Integer
*/
public Integer getDeviceInFloor(){
return deviceInFloor;
}
/**
* 设置 所属楼层
* @param deviceInFloor
*/
public void setDeviceInFloor(Integer deviceInFloor){
this.deviceInFloor = deviceInFloor;
}
/**
* 获取 保修期至
* @return Date
*/
public Date getDefectsLiabilityPeriod(){
return defectsLiabilityPeriod;
}
/**
* 设置 保修期至
* @param defectsLiabilityPeriod
*/
public void setDefectsLiabilityPeriod(Date defectsLiabilityPeriod){
this.defectsLiabilityPeriod = defectsLiabilityPeriod;
}
/**
* 获取 负责人
* @return String
*/
public String getLeadingOfficial(){
return leadingOfficial;
}
/**
* 设置 负责人
* @param leadingOfficial
*/
public void setLeadingOfficial(String leadingOfficial){
this.leadingOfficial = leadingOfficial;
}
/**
* 获取 联系电话
* @return String
*/
public String getLeadingOfficialTelephone(){
return leadingOfficialTelephone;
}
/**
* 设置 联系电话
* @param leadingOfficialTelephone
*/
public void setLeadingOfficialTelephone(String leadingOfficialTelephone){
this.leadingOfficialTelephone = leadingOfficialTelephone;
}
/**
* 获取 是否接收异常短(0.否,1.是)
* @return Integer
*/
public Integer getIsReceiveMess(){
return isReceiveMess;
}
/**
* 设置 是否接收异常短(0.否,1.是)
* @param isReceiveMess
*/
public void setIsReceiveMess(Integer isReceiveMess){
this.isReceiveMess = isReceiveMess;
}
/**
* 获取 设备图片
* @return String
*/
public String getDevicePhotoPath(){
return devicePhotoPath;
}
/**
* 设置 设备图片
* @param devicePhotoPath
*/
public void setDevicePhotoPath(String devicePhotoPath){
this.devicePhotoPath = devicePhotoPath;
}
/**
* 获取 设备访问ip
* @return String
*/
public String getIp(){
return ip;
}
/**
* 设置 设备访问ip
* @param ip
*/
public void setIp(String ip){
this.ip = ip;
}
/**
* 获取 中心设备编码
* @return String
*/
public String getCenternum(){
return centernum;
}
/**
* 设置 中心设备编码
* @param centernum
*/
public void setCenternum(String centernum){
this.centernum = centernum;
}
/**
* 获取 端口
* @return String
*/
public String getPort(){
return port;
}
/**
* 设置 端口
* @param port
*/
public void setPort(String port){
this.port = port;
}
/**
* 获取 设备topic信息
* @return String
*/
public String getDeviceTopic(){
return deviceTopic;
}
/**
* 设置 设备topic信息
* @param deviceTopic
*/
public void setDeviceTopic(String deviceTopic){
this.deviceTopic = deviceTopic;
}
/**
* 获取 设备状态 (0.未激活,1.离线,2.在线)
* @return Integer
*/
public Integer getDeviceStatus(){
return deviceStatus;
}
/**
* 设置 设备状态 (0.未激活,1.离线,2.在线)
* @param deviceStatus
*/
public void setDeviceStatus(Integer deviceStatus){
this.deviceStatus = deviceStatus;
}
/**
* 获取 启用状态 (0.停止,1.启用)
* @return Integer
*/
public Integer getEnabled(){
return enabled;
}
/**
* 设置 启用状态 (0.停止,1.启用)
* @param enabled
*/
public void setEnabled(Integer enabled){
this.enabled = enabled;
}
/**
* 获取 设备授权码
* @return String
*/
public String getDeviceAuthCode(){
return deviceAuthCode;
}
/**
* 设置 设备授权码
* @param deviceAuthCode
*/
public void setDeviceAuthCode(String deviceAuthCode){
this.deviceAuthCode = deviceAuthCode;
}
/**
* 获取 备注
* @return String
*/
public String getDeviceRemark(){
return deviceRemark;
}
/**
* 设置 备注
* @param deviceRemark
*/
public void setDeviceRemark(String deviceRemark){
this.deviceRemark = deviceRemark;
}
/**
* 获取 最近上线时间
* @return Date
*/
public Date getOnlineTime(){
return onlineTime;
}
/**
* 设置 最近上线时间
* @param onlineTime
*/
public void setOnlineTime(Date onlineTime){
this.onlineTime = onlineTime;
}
/**
* 获取 最近离线时间
* @return Date
*/
public Date getOfflineTime(){
return offlineTime;
}
/**
* 设置 最近离线时间
* @param offlineTime
*/
public void setOfflineTime(Date offlineTime){
this.offlineTime = offlineTime;
}
/**
* 获取 是否删除(0.否,1.是)
* @return Integer
*/
public Integer getDeleted(){
return deleted;
}
/**
* 设置 是否删除(0.否,1.是)
* @param deleted
*/
public void setDeleted(Integer deleted){
this.deleted = deleted;
}
/**
* 获取 设备来源(0.旧设备,1.新设备)
* @return Integer
*/
public Integer getSource(){
return source;
}
/**
* 设置 设备来源(0.旧设备,1.新设备)
* @param source
*/
public void setSource(Integer source){
this.source = source;
}
/**
* 获取 设备SN码
* @return String
*/
public String getDeviceSN(){
return deviceSN;
}
/**
* 设置 设备SN码
* @param deviceSN
*/
public void setDeviceSN(String deviceSN){
this.deviceSN = deviceSN;
}
/**
* 获取 开始 主键ID,主键,自增长
* @return idStart
*/
public Long getIdStart(){
return this.idStart;
}
/**
* 设置 开始 主键ID,主键,自增长
* @param idStart
*/
public void setIdStart(Long idStart){
this.idStart = idStart;
}
/**
* 获取 结束 主键ID,主键,自增长
* @return $idEnd
*/
public Long getIdEnd(){
return this.idEnd;
}
/**
* 设置 结束 主键ID,主键,自增长
* @param idEnd
*/
public void setIdEnd(Long idEnd){
this.idEnd = idEnd;
}
/**
* 获取 增加 主键ID,主键,自增长
* @return idIncrement
*/
public Long getIdIncrement(){
return this.idIncrement;
}
/**
* 设置 增加 主键ID,主键,自增长
* @param idIncrement
*/
public void setIdIncrement(Long idIncrement){
this.idIncrement = idIncrement;
}
/**
* 获取 主键ID,主键,自增长
* @return idList
*/
public List<Long> getIdList(){
return this.idList;
}
/**
* 设置 主键ID,主键,自增长
* @param idList
*/
public void setIdList(List<Long> idList){
this.idList = idList;
}
/**
* 获取 设备名称
* @return deviceNameList
*/
public List<String> getDeviceNameList(){
return this.deviceNameList;
}
/**
* 设置 设备名称
* @param deviceNameList
*/
public void setDeviceNameList(List<String> deviceNameList){
this.deviceNameList = deviceNameList;
}
/**
* 获取 设备编码,SN码等,默认为MAC地址
* @return deviceCodeList
*/
public List<String> getDeviceCodeList(){
return this.deviceCodeList;
}
/**
* 设置 设备编码,SN码等,默认为MAC地址
* @param deviceCodeList
*/
public void setDeviceCodeList(List<String> deviceCodeList){
this.deviceCodeList = deviceCodeList;
}
/**
* 获取 设备的MAC地址
* @return deviceMacList
*/
public List<String> getDeviceMacList(){
return this.deviceMacList;
}
/**
* 设置 设备的MAC地址
* @param deviceMacList
*/
public void setDeviceMacList(List<String> deviceMacList){
this.deviceMacList = deviceMacList;
}
/**
* 获取 开始 站点Id,来源基础服务平台
* @return siteIdStart
*/
public Long getSiteIdStart(){
return this.siteIdStart;
}
/**
* 设置 开始 站点Id,来源基础服务平台
* @param siteIdStart
*/
public void setSiteIdStart(Long siteIdStart){
this.siteIdStart = siteIdStart;
}
/**
* 获取 结束 站点Id,来源基础服务平台
* @return $siteIdEnd
*/
public Long getSiteIdEnd(){
return this.siteIdEnd;
}
/**
* 设置 结束 站点Id,来源基础服务平台
* @param siteIdEnd
*/
public void setSiteIdEnd(Long siteIdEnd){
this.siteIdEnd = siteIdEnd;
}
/**
* 获取 增加 站点Id,来源基础服务平台
* @return siteIdIncrement
*/
public Long getSiteIdIncrement(){
return this.siteIdIncrement;
}
/**
* 设置 增加 站点Id,来源基础服务平台
* @param siteIdIncrement
*/
public void setSiteIdIncrement(Long siteIdIncrement){
this.siteIdIncrement = siteIdIncrement;
}
/**
* 获取 站点Id,来源基础服务平台
* @return siteIdList
*/
public List<Long> getSiteIdList(){
return this.siteIdList;
}
/**
* 设置 站点Id,来源基础服务平台
* @param siteIdList
*/
public void setSiteIdList(List<Long> siteIdList){
this.siteIdList = siteIdList;
}
/**
* 获取 站点编号,来源基础服务平台
* @return siteCodeList
*/
public List<String> getSiteCodeList(){
return this.siteCodeList;
}
/**
* 设置 站点编号,来源基础服务平台
* @param siteCodeList
*/
public void setSiteCodeList(List<String> siteCodeList){
this.siteCodeList = siteCodeList;
}
/**
* 获取 站点名称
* @return siteNameList
*/
public List<String> getSiteNameList(){
return this.siteNameList;
}
/**
* 设置 站点名称
* @param siteNameList
*/
public void setSiteNameList(List<String> siteNameList){
this.siteNameList = siteNameList;
}
/**
* 获取 开始 平台系统Id
* @return platformIdStart
*/
public Long getPlatformIdStart(){
return this.platformIdStart;
}
/**
* 设置 开始 平台系统Id
* @param platformIdStart
*/
public void setPlatformIdStart(Long platformIdStart){
this.platformIdStart = platformIdStart;
}
/**
* 获取 结束 平台系统Id
* @return $platformIdEnd
*/
public Long getPlatformIdEnd(){
return this.platformIdEnd;
}
/**
* 设置 结束 平台系统Id
* @param platformIdEnd
*/
public void setPlatformIdEnd(Long platformIdEnd){
this.platformIdEnd = platformIdEnd;
}
/**
* 获取 增加 平台系统Id
* @return platformIdIncrement
*/
public Long getPlatformIdIncrement(){
return this.platformIdIncrement;
}
/**
* 设置 增加 平台系统Id
* @param platformIdIncrement
*/
public void setPlatformIdIncrement(Long platformIdIncrement){
this.platformIdIncrement = platformIdIncrement;
}
/**
* 获取 平台系统Id
* @return platformIdList
*/
public List<Long> getPlatformIdList(){
return this.platformIdList;
}
/**
* 设置 平台系统Id
* @param platformIdList
*/
public void setPlatformIdList(List<Long> platformIdList){
this.platformIdList = platformIdList;
}
/**
* 获取 平台系统名称
* @return platformNameList
*/
public List<String> getPlatformNameList(){
return this.platformNameList;
}
/**
* 设置 平台系统名称
* @param platformNameList
*/
public void setPlatformNameList(List<String> platformNameList){
this.platformNameList = platformNameList;
}
/**
* 获取 开始 产品Id
* @return productIdStart
*/
public Long getProductIdStart(){
return this.productIdStart;
}
/**
* 设置 开始 产品Id
* @param productIdStart
*/
public void setProductIdStart(Long productIdStart){
this.productIdStart = productIdStart;
}
/**
* 获取 结束 产品Id
* @return $productIdEnd
*/
public Long getProductIdEnd(){
return this.productIdEnd;
}
/**
* 设置 结束 产品Id
* @param productIdEnd
*/
public void setProductIdEnd(Long productIdEnd){
this.productIdEnd = productIdEnd;
}
/**
* 获取 增加 产品Id
* @return productIdIncrement
*/
public Long getProductIdIncrement(){
return this.productIdIncrement;
}
/**
* 设置 增加 产品Id
* @param productIdIncrement
*/
public void setProductIdIncrement(Long productIdIncrement){
this.productIdIncrement = productIdIncrement;
}
/**
* 获取 产品Id
* @return productIdList
*/
public List<Long> getProductIdList(){
return this.productIdList;
}
/**
* 设置 产品Id
* @param productIdList
*/
public void setProductIdList(List<Long> productIdList){
this.productIdList = productIdList;
}
/**
* 获取 产品名称
* @return productNameList
*/
public List<String> getProductNameList(){
return this.productNameList;
}
/**
* 设置 产品名称
* @param productNameList
*/
public void setProductNameList(List<String> productNameList){
this.productNameList = productNameList;
}
/**
* 获取 开始 皮肤id
* @return skinIdStart
*/
public Long getSkinIdStart(){
return this.skinIdStart;
}
/**
* 设置 开始 皮肤id
* @param skinIdStart
*/
public void setSkinIdStart(Long skinIdStart){
this.skinIdStart = skinIdStart;
}
/**
* 获取 结束 皮肤id
* @return $skinIdEnd
*/
public Long getSkinIdEnd(){
return this.skinIdEnd;
}
/**
* 设置 结束 皮肤id
* @param skinIdEnd
*/
public void setSkinIdEnd(Long skinIdEnd){
this.skinIdEnd = skinIdEnd;
}
/**
* 获取 增加 皮肤id
* @return skinIdIncrement
*/
public Long getSkinIdIncrement(){
return this.skinIdIncrement;
}
/**
* 设置 增加 皮肤id
* @param skinIdIncrement
*/
public void setSkinIdIncrement(Long skinIdIncrement){
this.skinIdIncrement = skinIdIncrement;
}
/**
* 获取 皮肤id
* @return skinIdList
*/
public List<Long> getSkinIdList(){
return this.skinIdList;
}
/**
* 设置 皮肤id
* @param skinIdList
*/
public void setSkinIdList(List<Long> skinIdList){
this.skinIdList = skinIdList;
}
/**
* 获取 皮肤名称
* @return skinNameList
*/
public List<String> getSkinNameList(){
return this.skinNameList;
}
/**
* 设置 皮肤名称
* @param skinNameList
*/
public void setSkinNameList(List<String> skinNameList){
this.skinNameList = skinNameList;
}
/**
* 获取 首页地址
* @return homeUrlList
*/
public List<String> getHomeUrlList(){
return this.homeUrlList;
}
/**
* 设置 首页地址
* @param homeUrlList
*/
public void setHomeUrlList(List<String> homeUrlList){
this.homeUrlList = homeUrlList;
}
/**
* 获取 开始 设备生产厂商ID
* @return deviceFirmIdStart
*/
public Long getDeviceFirmIdStart(){
return this.deviceFirmIdStart;
}
/**
* 设置 开始 设备生产厂商ID
* @param deviceFirmIdStart
*/
public void setDeviceFirmIdStart(Long deviceFirmIdStart){
this.deviceFirmIdStart = deviceFirmIdStart;
}
/**
* 获取 结束 设备生产厂商ID
* @return $deviceFirmIdEnd
*/
public Long getDeviceFirmIdEnd(){
return this.deviceFirmIdEnd;
}
/**
* 设置 结束 设备生产厂商ID
* @param deviceFirmIdEnd
*/
public void setDeviceFirmIdEnd(Long deviceFirmIdEnd){
this.deviceFirmIdEnd = deviceFirmIdEnd;
}
/**
* 获取 增加 设备生产厂商ID
* @return deviceFirmIdIncrement
*/
public Long getDeviceFirmIdIncrement(){
return this.deviceFirmIdIncrement;
}
/**
* 设置 增加 设备生产厂商ID
* @param deviceFirmIdIncrement
*/
public void setDeviceFirmIdIncrement(Long deviceFirmIdIncrement){
this.deviceFirmIdIncrement = deviceFirmIdIncrement;
}
/**
* 获取 设备生产厂商ID
* @return deviceFirmIdList
*/
public List<Long> getDeviceFirmIdList(){
return this.deviceFirmIdList;
}
/**
* 设置 设备生产厂商ID
* @param deviceFirmIdList
*/
public void setDeviceFirmIdList(List<Long> deviceFirmIdList){
this.deviceFirmIdList = deviceFirmIdList;
}
/**
* 获取 设备生产厂商名称
* @return deviceFirmnameList
*/
public List<String> getDeviceFirmnameList(){
return this.deviceFirmnameList;
}
/**
* 设置 设备生产厂商名称
* @param deviceFirmnameList
*/
public void setDeviceFirmnameList(List<String> deviceFirmnameList){
this.deviceFirmnameList = deviceFirmnameList;
}
/**
* 获取 开始 设备来源(0.子设备,1.网关设备,2.直连设备)
* @return deviceSrcStart
*/
public Integer getDeviceSrcStart(){
return this.deviceSrcStart;
}
/**
* 设置 开始 设备来源(0.子设备,1.网关设备,2.直连设备)
* @param deviceSrcStart
*/
public void setDeviceSrcStart(Integer deviceSrcStart){
this.deviceSrcStart = deviceSrcStart;
}
/**
* 获取 结束 设备来源(0.子设备,1.网关设备,2.直连设备)
* @return $deviceSrcEnd
*/
public Integer getDeviceSrcEnd(){
return this.deviceSrcEnd;
}
/**
* 设置 结束 设备来源(0.子设备,1.网关设备,2.直连设备)
* @param deviceSrcEnd
*/
public void setDeviceSrcEnd(Integer deviceSrcEnd){
this.deviceSrcEnd = deviceSrcEnd;
}
/**
* 获取 增加 设备来源(0.子设备,1.网关设备,2.直连设备)
* @return deviceSrcIncrement
*/
public Integer getDeviceSrcIncrement(){
return this.deviceSrcIncrement;
}
/**
* 设置 增加 设备来源(0.子设备,1.网关设备,2.直连设备)
* @param deviceSrcIncrement
*/
public void setDeviceSrcIncrement(Integer deviceSrcIncrement){
this.deviceSrcIncrement = deviceSrcIncrement;
}
/**
* 获取 设备来源(0.子设备,1.网关设备,2.直连设备)
* @return deviceSrcList
*/
public List<Integer> getDeviceSrcList(){
return this.deviceSrcList;
}
/**
* 设置 设备来源(0.子设备,1.网关设备,2.直连设备)
* @param deviceSrcList
*/
public void setDeviceSrcList(List<Integer> deviceSrcList){
this.deviceSrcList = deviceSrcList;
}
/**
* 获取 开始 数据获取方式(0.主动上报,1.被动拉取)
* @return deviceDataSourceWayStart
*/
public Integer getDeviceDataSourceWayStart(){
return this.deviceDataSourceWayStart;
}
/**
* 设置 开始 数据获取方式(0.主动上报,1.被动拉取)
* @param deviceDataSourceWayStart
*/
public void setDeviceDataSourceWayStart(Integer deviceDataSourceWayStart){
this.deviceDataSourceWayStart = deviceDataSourceWayStart;
}
/**
* 获取 结束 数据获取方式(0.主动上报,1.被动拉取)
* @return $deviceDataSourceWayEnd
*/
public Integer getDeviceDataSourceWayEnd(){
return this.deviceDataSourceWayEnd;
}
/**
* 设置 结束 数据获取方式(0.主动上报,1.被动拉取)
* @param deviceDataSourceWayEnd
*/
public void setDeviceDataSourceWayEnd(Integer deviceDataSourceWayEnd){
this.deviceDataSourceWayEnd = deviceDataSourceWayEnd;
}
/**
* 获取 增加 数据获取方式(0.主动上报,1.被动拉取)
* @return deviceDataSourceWayIncrement
*/
public Integer getDeviceDataSourceWayIncrement(){
return this.deviceDataSourceWayIncrement;
}
/**
* 设置 增加 数据获取方式(0.主动上报,1.被动拉取)
* @param deviceDataSourceWayIncrement
*/
public void setDeviceDataSourceWayIncrement(Integer deviceDataSourceWayIncrement){
this.deviceDataSourceWayIncrement = deviceDataSourceWayIncrement;
}
/**
* 获取 数据获取方式(0.主动上报,1.被动拉取)
* @return deviceDataSourceWayList
*/
public List<Integer> getDeviceDataSourceWayList(){
return this.deviceDataSourceWayList;
}
/**
* 设置 数据获取方式(0.主动上报,1.被动拉取)
* @param deviceDataSourceWayList
*/
public void setDeviceDataSourceWayList(List<Integer> deviceDataSourceWayList){
this.deviceDataSourceWayList = deviceDataSourceWayList;
}
/**
* 获取 经度
* @return lonList
*/
public List<String> getLonList(){
return this.lonList;
}
/**
* 设置 经度
* @param lonList
*/
public void setLonList(List<String> lonList){
this.lonList = lonList;
}
/**
* 获取 经度
* @return latiList
*/
public List<String> getLatiList(){
return this.latiList;
}
/**
* 设置 经度
* @param latiList
*/
public void setLatiList(List<String> latiList){
this.latiList = latiList;
}
/**
* 获取 开始 所属楼栋
* @return deviceInBuildingStart
*/
public Integer getDeviceInBuildingStart(){
return this.deviceInBuildingStart;
}
/**
* 设置 开始 所属楼栋
* @param deviceInBuildingStart
*/
public void setDeviceInBuildingStart(Integer deviceInBuildingStart){
this.deviceInBuildingStart = deviceInBuildingStart;
}
/**
* 获取 结束 所属楼栋
* @return $deviceInBuildingEnd
*/
public Integer getDeviceInBuildingEnd(){
return this.deviceInBuildingEnd;
}
/**
* 设置 结束 所属楼栋
* @param deviceInBuildingEnd
*/
public void setDeviceInBuildingEnd(Integer deviceInBuildingEnd){
this.deviceInBuildingEnd = deviceInBuildingEnd;
}
/**
* 获取 增加 所属楼栋
* @return deviceInBuildingIncrement
*/
public Integer getDeviceInBuildingIncrement(){
return this.deviceInBuildingIncrement;
}
/**
* 设置 增加 所属楼栋
* @param deviceInBuildingIncrement
*/
public void setDeviceInBuildingIncrement(Integer deviceInBuildingIncrement){
this.deviceInBuildingIncrement = deviceInBuildingIncrement;
}
/**
* 获取 所属楼栋
* @return deviceInBuildingList
*/
public List<Integer> getDeviceInBuildingList(){
return this.deviceInBuildingList;
}
/**
* 设置 所属楼栋
* @param deviceInBuildingList
*/
public void setDeviceInBuildingList(List<Integer> deviceInBuildingList){
this.deviceInBuildingList = deviceInBuildingList;
}
/**
* 获取 开始 所属楼层
* @return deviceInFloorStart
*/
public Integer getDeviceInFloorStart(){
return this.deviceInFloorStart;
}
/**
* 设置 开始 所属楼层
* @param deviceInFloorStart
*/
public void setDeviceInFloorStart(Integer deviceInFloorStart){
this.deviceInFloorStart = deviceInFloorStart;
}
/**
* 获取 结束 所属楼层
* @return $deviceInFloorEnd
*/
public Integer getDeviceInFloorEnd(){
return this.deviceInFloorEnd;
}
/**
* 设置 结束 所属楼层
* @param deviceInFloorEnd
*/
public void setDeviceInFloorEnd(Integer deviceInFloorEnd){
this.deviceInFloorEnd = deviceInFloorEnd;
}
/**
* 获取 增加 所属楼层
* @return deviceInFloorIncrement
*/
public Integer getDeviceInFloorIncrement(){
return this.deviceInFloorIncrement;
}
/**
* 设置 增加 所属楼层
* @param deviceInFloorIncrement
*/
public void setDeviceInFloorIncrement(Integer deviceInFloorIncrement){
this.deviceInFloorIncrement = deviceInFloorIncrement;
}
/**
* 获取 所属楼层
* @return deviceInFloorList
*/
public List<Integer> getDeviceInFloorList(){
return this.deviceInFloorList;
}
/**
* 设置 所属楼层
* @param deviceInFloorList
*/
public void setDeviceInFloorList(List<Integer> deviceInFloorList){
this.deviceInFloorList = deviceInFloorList;
}
/**
* 获取 开始 保修期至
* @return defectsLiabilityPeriodStart
*/
public String getDefectsLiabilityPeriodStart(){
return this.defectsLiabilityPeriodStart;
}
/**
* 设置 开始 保修期至
* @param defectsLiabilityPeriodStart
*/
public void setDefectsLiabilityPeriodStart(String defectsLiabilityPeriodStart){
this.defectsLiabilityPeriodStart = defectsLiabilityPeriodStart;
}
/**
* 获取 结束 保修期至
* @return defectsLiabilityPeriodEnd
*/
public String getDefectsLiabilityPeriodEnd(){
return this.defectsLiabilityPeriodEnd;
}
/**
* 设置 结束 保修期至
* @param defectsLiabilityPeriodEnd
*/
public void setDefectsLiabilityPeriodEnd(String defectsLiabilityPeriodEnd){
this.defectsLiabilityPeriodEnd = defectsLiabilityPeriodEnd;
}
/**
* 获取 负责人
* @return leadingOfficialList
*/
public List<String> getLeadingOfficialList(){
return this.leadingOfficialList;
}
/**
* 设置 负责人
* @param leadingOfficialList
*/
public void setLeadingOfficialList(List<String> leadingOfficialList){
this.leadingOfficialList = leadingOfficialList;
}
/**
* 获取 联系电话
* @return leadingOfficialTelephoneList
*/
public List<String> getLeadingOfficialTelephoneList(){
return this.leadingOfficialTelephoneList;
}
/**
* 设置 联系电话
* @param leadingOfficialTelephoneList
*/
public void setLeadingOfficialTelephoneList(List<String> leadingOfficialTelephoneList){
this.leadingOfficialTelephoneList = leadingOfficialTelephoneList;
}
/**
* 获取 开始 是否接收异常短(0.否,1.是)
* @return isReceiveMessStart
*/
public Integer getIsReceiveMessStart(){
return this.isReceiveMessStart;
}
/**
* 设置 开始 是否接收异常短(0.否,1.是)
* @param isReceiveMessStart
*/
public void setIsReceiveMessStart(Integer isReceiveMessStart){
this.isReceiveMessStart = isReceiveMessStart;
}
/**
* 获取 结束 是否接收异常短(0.否,1.是)
* @return $isReceiveMessEnd
*/
public Integer getIsReceiveMessEnd(){
return this.isReceiveMessEnd;
}
/**
* 设置 结束 是否接收异常短(0.否,1.是)
* @param isReceiveMessEnd
*/
public void setIsReceiveMessEnd(Integer isReceiveMessEnd){
this.isReceiveMessEnd = isReceiveMessEnd;
}
/**
* 获取 增加 是否接收异常短(0.否,1.是)
* @return isReceiveMessIncrement
*/
public Integer getIsReceiveMessIncrement(){
return this.isReceiveMessIncrement;
}
/**
* 设置 增加 是否接收异常短(0.否,1.是)
* @param isReceiveMessIncrement
*/
public void setIsReceiveMessIncrement(Integer isReceiveMessIncrement){
this.isReceiveMessIncrement = isReceiveMessIncrement;
}
/**
* 获取 是否接收异常短(0.否,1.是)
* @return isReceiveMessList
*/
public List<Integer> getIsReceiveMessList(){
return this.isReceiveMessList;
}
/**
* 设置 是否接收异常短(0.否,1.是)
* @param isReceiveMessList
*/
public void setIsReceiveMessList(List<Integer> isReceiveMessList){
this.isReceiveMessList = isReceiveMessList;
}
/**
* 获取 设备图片
* @return devicePhotoPathList
*/
public List<String> getDevicePhotoPathList(){
return this.devicePhotoPathList;
}
/**
* 设置 设备图片
* @param devicePhotoPathList
*/
public void setDevicePhotoPathList(List<String> devicePhotoPathList){
this.devicePhotoPathList = devicePhotoPathList;
}
/**
* 获取 设备访问ip
* @return ipList
*/
public List<String> getIpList(){
return this.ipList;
}
/**
* 设置 设备访问ip
* @param ipList
*/
public void setIpList(List<String> ipList){
this.ipList = ipList;
}
/**
* 获取 中心设备编码
* @return centernumList
*/
public List<String> getCenternumList(){
return this.centernumList;
}
/**
* 设置 中心设备编码
* @param centernumList
*/
public void setCenternumList(List<String> centernumList){
this.centernumList = centernumList;
}
/**
* 获取 端口
* @return portList
*/
public List<String> getPortList(){
return this.portList;
}
/**
* 设置 端口
* @param portList
*/
public void setPortList(List<String> portList){
this.portList = portList;
}
/**
* 获取 设备topic信息
* @return deviceTopicList
*/
public List<String> getDeviceTopicList(){
return this.deviceTopicList;
}
/**
* 设置 设备topic信息
* @param deviceTopicList
*/
public void setDeviceTopicList(List<String> deviceTopicList){
this.deviceTopicList = deviceTopicList;
}
/**
* 获取 开始 设备状态 (0.未激活,1.离线,2.在线)
* @return deviceStatusStart
*/
public Integer getDeviceStatusStart(){
return this.deviceStatusStart;
}
/**
* 设置 开始 设备状态 (0.未激活,1.离线,2.在线)
* @param deviceStatusStart
*/
public void setDeviceStatusStart(Integer deviceStatusStart){
this.deviceStatusStart = deviceStatusStart;
}
/**
* 获取 结束 设备状态 (0.未激活,1.离线,2.在线)
* @return $deviceStatusEnd
*/
public Integer getDeviceStatusEnd(){
return this.deviceStatusEnd;
}
/**
* 设置 结束 设备状态 (0.未激活,1.离线,2.在线)
* @param deviceStatusEnd
*/
public void setDeviceStatusEnd(Integer deviceStatusEnd){
this.deviceStatusEnd = deviceStatusEnd;
}
/**
* 获取 增加 设备状态 (0.未激活,1.离线,2.在线)
* @return deviceStatusIncrement
*/
public Integer getDeviceStatusIncrement(){
return this.deviceStatusIncrement;
}
/**
* 设置 增加 设备状态 (0.未激活,1.离线,2.在线)
* @param deviceStatusIncrement
*/
public void setDeviceStatusIncrement(Integer deviceStatusIncrement){
this.deviceStatusIncrement = deviceStatusIncrement;
}
/**
* 获取 设备状态 (0.未激活,1.离线,2.在线)
* @return deviceStatusList
*/
public List<Integer> getDeviceStatusList(){
return this.deviceStatusList;
}
/**
* 设置 设备状态 (0.未激活,1.离线,2.在线)
* @param deviceStatusList
*/
public void setDeviceStatusList(List<Integer> deviceStatusList){
this.deviceStatusList = deviceStatusList;
}
/**
* 获取 开始 启用状态 (0.停止,1.启用)
* @return enabledStart
*/
public Integer getEnabledStart(){
return this.enabledStart;
}
/**
* 设置 开始 启用状态 (0.停止,1.启用)
* @param enabledStart
*/
public void setEnabledStart(Integer enabledStart){
this.enabledStart = enabledStart;
}
/**
* 获取 结束 启用状态 (0.停止,1.启用)
* @return $enabledEnd
*/
public Integer getEnabledEnd(){
return this.enabledEnd;
}
/**
* 设置 结束 启用状态 (0.停止,1.启用)
* @param enabledEnd
*/
public void setEnabledEnd(Integer enabledEnd){
this.enabledEnd = enabledEnd;
}
/**
* 获取 增加 启用状态 (0.停止,1.启用)
* @return enabledIncrement
*/
public Integer getEnabledIncrement(){
return this.enabledIncrement;
}
/**
* 设置 增加 启用状态 (0.停止,1.启用)
* @param enabledIncrement
*/
public void setEnabledIncrement(Integer enabledIncrement){
this.enabledIncrement = enabledIncrement;
}
/**
* 获取 启用状态 (0.停止,1.启用)
* @return enabledList
*/
public List<Integer> getEnabledList(){
return this.enabledList;
}
/**
* 设置 启用状态 (0.停止,1.启用)
* @param enabledList
*/
public void setEnabledList(List<Integer> enabledList){
this.enabledList = enabledList;
}
/**
* 获取 设备授权码
* @return deviceAuthCodeList
*/
public List<String> getDeviceAuthCodeList(){
return this.deviceAuthCodeList;
}
/**
* 设置 设备授权码
* @param deviceAuthCodeList
*/
public void setDeviceAuthCodeList(List<String> deviceAuthCodeList){
this.deviceAuthCodeList = deviceAuthCodeList;
}
/**
* 获取 备注
* @return deviceRemarkList
*/
public List<String> getDeviceRemarkList(){
return this.deviceRemarkList;
}
/**
* 设置 备注
* @param deviceRemarkList
*/
public void setDeviceRemarkList(List<String> deviceRemarkList){
this.deviceRemarkList = deviceRemarkList;
}
/**
* 获取 开始 最近上线时间
* @return onlineTimeStart
*/
public String getOnlineTimeStart(){
return this.onlineTimeStart;
}
/**
* 设置 开始 最近上线时间
* @param onlineTimeStart
*/
public void setOnlineTimeStart(String onlineTimeStart){
this.onlineTimeStart = onlineTimeStart;
}
/**
* 获取 结束 最近上线时间
* @return onlineTimeEnd
*/
public String getOnlineTimeEnd(){
return this.onlineTimeEnd;
}
/**
* 设置 结束 最近上线时间
* @param onlineTimeEnd
*/
public void setOnlineTimeEnd(String onlineTimeEnd){
this.onlineTimeEnd = onlineTimeEnd;
}
/**
* 获取 开始 最近离线时间
* @return offlineTimeStart
*/
public String getOfflineTimeStart(){
return this.offlineTimeStart;
}
/**
* 设置 开始 最近离线时间
* @param offlineTimeStart
*/
public void setOfflineTimeStart(String offlineTimeStart){
this.offlineTimeStart = offlineTimeStart;
}
/**
* 获取 结束 最近离线时间
* @return offlineTimeEnd
*/
public String getOfflineTimeEnd(){
return this.offlineTimeEnd;
}
/**
* 设置 结束 最近离线时间
* @param offlineTimeEnd
*/
public void setOfflineTimeEnd(String offlineTimeEnd){
this.offlineTimeEnd = offlineTimeEnd;
}
/**
* 获取 开始 是否删除(0.否,1.是)
* @return deletedStart
*/
public Integer getDeletedStart(){
return this.deletedStart;
}
/**
* 设置 开始 是否删除(0.否,1.是)
* @param deletedStart
*/
public void setDeletedStart(Integer deletedStart){
this.deletedStart = deletedStart;
}
/**
* 获取 结束 是否删除(0.否,1.是)
* @return $deletedEnd
*/
public Integer getDeletedEnd(){
return this.deletedEnd;
}
/**
* 设置 结束 是否删除(0.否,1.是)
* @param deletedEnd
*/
public void setDeletedEnd(Integer deletedEnd){
this.deletedEnd = deletedEnd;
}
/**
* 获取 增加 是否删除(0.否,1.是)
* @return deletedIncrement
*/
public Integer getDeletedIncrement(){
return this.deletedIncrement;
}
/**
* 设置 增加 是否删除(0.否,1.是)
* @param deletedIncrement
*/
public void setDeletedIncrement(Integer deletedIncrement){
this.deletedIncrement = deletedIncrement;
}
/**
* 获取 是否删除(0.否,1.是)
* @return deletedList
*/
public List<Integer> getDeletedList(){
return this.deletedList;
}
/**
* 设置 是否删除(0.否,1.是)
* @param deletedList
*/
public void setDeletedList(List<Integer> deletedList){
this.deletedList = deletedList;
}
/**
* 获取 开始 设备来源(0.旧设备,1.新设备)
* @return sourceStart
*/
public Integer getSourceStart(){
return this.sourceStart;
}
/**
* 设置 开始 设备来源(0.旧设备,1.新设备)
* @param sourceStart
*/
public void setSourceStart(Integer sourceStart){
this.sourceStart = sourceStart;
}
/**
* 获取 结束 设备来源(0.旧设备,1.新设备)
* @return $sourceEnd
*/
public Integer getSourceEnd(){
return this.sourceEnd;
}
/**
* 设置 结束 设备来源(0.旧设备,1.新设备)
* @param sourceEnd
*/
public void setSourceEnd(Integer sourceEnd){
this.sourceEnd = sourceEnd;
}
/**
* 获取 增加 设备来源(0.旧设备,1.新设备)
* @return sourceIncrement
*/
public Integer getSourceIncrement(){
return this.sourceIncrement;
}
/**
* 设置 增加 设备来源(0.旧设备,1.新设备)
* @param sourceIncrement
*/
public void setSourceIncrement(Integer sourceIncrement){
this.sourceIncrement = sourceIncrement;
}
/**
* 获取 设备来源(0.旧设备,1.新设备)
* @return sourceList
*/
public List<Integer> getSourceList(){
return this.sourceList;
}
/**
* 设置 设备来源(0.旧设备,1.新设备)
* @param sourceList
*/
public void setSourceList(List<Integer> sourceList){
this.sourceList = sourceList;
}
/**
* 获取 开始 创建用户
* @return createUserIdStart
*/
public Long getCreateUserIdStart(){
return this.createUserIdStart;
}
/**
* 设置 开始 创建用户
* @param createUserIdStart
*/
public void setCreateUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart;
}
/**
* 获取 结束 创建用户
* @return $createUserIdEnd
*/
public Long getCreateUserIdEnd(){
return this.createUserIdEnd;
}
/**
* 设置 结束 创建用户
* @param createUserIdEnd
*/
public void setCreateUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd;
}
/**
* 获取 增加 创建用户
* @return createUserIdIncrement
*/
public Long getCreateUserIdIncrement(){
return this.createUserIdIncrement;
}
/**
* 设置 增加 创建用户
* @param createUserIdIncrement
*/
public void setCreateUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement;
}
/**
* 获取 创建用户
* @return createUserIdList
*/
public List<Long> getCreateUserIdList(){
return this.createUserIdList;
}
/**
* 设置 创建用户
* @param createUserIdList
*/
public void setCreateUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList;
}
/**
* 获取 开始 创建时间
* @return createTimeStart
*/
public String getCreateTimeStart(){
return this.createTimeStart;
}
/**
* 设置 开始 创建时间
* @param createTimeStart
*/
public void setCreateTimeStart(String createTimeStart){
this.createTimeStart = createTimeStart;
}
/**
* 获取 结束 创建时间
* @return createTimeEnd
*/
public String getCreateTimeEnd(){
return this.createTimeEnd;
}
/**
* 设置 结束 创建时间
* @param createTimeEnd
*/
public void setCreateTimeEnd(String createTimeEnd){
this.createTimeEnd = createTimeEnd;
}
/**
* 获取 开始 更新用户
* @return updateUserIdStart
*/
public Long getUpdateUserIdStart(){
return this.updateUserIdStart;
}
/**
* 设置 开始 更新用户
* @param updateUserIdStart
*/
public void setUpdateUserIdStart(Long updateUserIdStart){
this.updateUserIdStart = updateUserIdStart;
}
/**
* 获取 结束 更新用户
* @return $updateUserIdEnd
*/
public Long getUpdateUserIdEnd(){
return this.updateUserIdEnd;
}
/**
* 设置 结束 更新用户
* @param updateUserIdEnd
*/
public void setUpdateUserIdEnd(Long updateUserIdEnd){
this.updateUserIdEnd = updateUserIdEnd;
}
/**
* 获取 增加 更新用户
* @return updateUserIdIncrement
*/
public Long getUpdateUserIdIncrement(){
return this.updateUserIdIncrement;
}
/**
* 设置 增加 更新用户
* @param updateUserIdIncrement
*/
public void setUpdateUserIdIncrement(Long updateUserIdIncrement){
this.updateUserIdIncrement = updateUserIdIncrement;
}
/**
* 获取 更新用户
* @return updateUserIdList
*/
public List<Long> getUpdateUserIdList(){
return this.updateUserIdList;
}
/**
* 设置 更新用户
* @param updateUserIdList
*/
public void setUpdateUserIdList(List<Long> updateUserIdList){
this.updateUserIdList = updateUserIdList;
}
/**
* 获取 开始 更新时间
* @return updateTimeStart
*/
public String getUpdateTimeStart(){
return this.updateTimeStart;
}
/**
* 设置 开始 更新时间
* @param updateTimeStart
*/
public void setUpdateTimeStart(String updateTimeStart){
this.updateTimeStart = updateTimeStart;
}
/**
* 获取 结束 更新时间
* @return updateTimeEnd
*/
public String getUpdateTimeEnd(){
return this.updateTimeEnd;
}
/**
* 设置 结束 更新时间
* @param updateTimeEnd
*/
public void setUpdateTimeEnd(String updateTimeEnd){
this.updateTimeEnd = updateTimeEnd;
}
/**
* 获取 设备SN码
* @return deviceSNList
*/
public List<String> getDeviceSNList(){
return this.deviceSNList;
}
/**
* 设置 设备SN码
* @param deviceSNList
*/
public void setDeviceSNList(List<String> deviceSNList){
this.deviceSNList = deviceSNList;
}
/**
* 设置 主键ID,主键,自增长
* @param id
*/
public DevicePdu id(Long id){
setId(id);
return this;
}
/**
* 设置 开始 主键ID,主键,自增长
* @param idStart
*/
public DevicePdu idStart(Long idStart){
this.idStart = idStart;
return this;
}
/**
* 设置 结束 主键ID,主键,自增长
* @param idEnd
*/
public DevicePdu idEnd(Long idEnd){
this.idEnd = idEnd;
return this;
}
/**
* 设置 增加 主键ID,主键,自增长
* @param idIncrement
*/
public DevicePdu idIncrement(Long idIncrement){
this.idIncrement = idIncrement;
return this;
}
/**
* 设置 主键ID,主键,自增长
* @param idList
*/
public DevicePdu idList(List<Long> idList){
this.idList = idList;
return this;
}
/**
* 设置 设备名称
* @param deviceName
*/
public DevicePdu deviceName(String deviceName){
setDeviceName(deviceName);
return this;
}
/**
* 设置 设备名称
* @param deviceNameList
*/
public DevicePdu deviceNameList(List<String> deviceNameList){
this.deviceNameList = deviceNameList;
return this;
}
/**
* 设置 设备编码,SN码等,默认为MAC地址
* @param deviceCode
*/
public DevicePdu deviceCode(String deviceCode){
setDeviceCode(deviceCode);
return this;
}
/**
* 设置 设备编码,SN码等,默认为MAC地址
* @param deviceCodeList
*/
public DevicePdu deviceCodeList(List<String> deviceCodeList){
this.deviceCodeList = deviceCodeList;
return this;
}
/**
* 设置 设备的MAC地址
* @param deviceMac
*/
public DevicePdu deviceMac(String deviceMac){
setDeviceMac(deviceMac);
return this;
}
/**
* 设置 设备的MAC地址
* @param deviceMacList
*/
public DevicePdu deviceMacList(List<String> deviceMacList){
this.deviceMacList = deviceMacList;
return this;
}
/**
* 设置 站点Id,来源基础服务平台
* @param siteId
*/
public DevicePdu siteId(Long siteId){
setSiteId(siteId);
return this;
}
/**
* 设置 开始 站点Id,来源基础服务平台
* @param siteIdStart
*/
public DevicePdu siteIdStart(Long siteIdStart){
this.siteIdStart = siteIdStart;
return this;
}
/**
* 设置 结束 站点Id,来源基础服务平台
* @param siteIdEnd
*/
public DevicePdu siteIdEnd(Long siteIdEnd){
this.siteIdEnd = siteIdEnd;
return this;
}
/**
* 设置 增加 站点Id,来源基础服务平台
* @param siteIdIncrement
*/
public DevicePdu siteIdIncrement(Long siteIdIncrement){
this.siteIdIncrement = siteIdIncrement;
return this;
}
/**
* 设置 站点Id,来源基础服务平台
* @param siteIdList
*/
public DevicePdu siteIdList(List<Long> siteIdList){
this.siteIdList = siteIdList;
return this;
}
/**
* 设置 站点编号,来源基础服务平台
* @param siteCode
*/
public DevicePdu siteCode(String siteCode){
setSiteCode(siteCode);
return this;
}
/**
* 设置 站点编号,来源基础服务平台
* @param siteCodeList
*/
public DevicePdu siteCodeList(List<String> siteCodeList){
this.siteCodeList = siteCodeList;
return this;
}
/**
* 设置 站点名称
* @param siteName
*/
public DevicePdu siteName(String siteName){
setSiteName(siteName);
return this;
}
/**
* 设置 站点名称
* @param siteNameList
*/
public DevicePdu siteNameList(List<String> siteNameList){
this.siteNameList = siteNameList;
return this;
}
/**
* 设置 平台系统Id
* @param platformId
*/
public DevicePdu platformId(Long platformId){
setPlatformId(platformId);
return this;
}
/**
* 设置 开始 平台系统Id
* @param platformIdStart
*/
public DevicePdu platformIdStart(Long platformIdStart){
this.platformIdStart = platformIdStart;
return this;
}
/**
* 设置 结束 平台系统Id
* @param platformIdEnd
*/
public DevicePdu platformIdEnd(Long platformIdEnd){
this.platformIdEnd = platformIdEnd;
return this;
}
/**
* 设置 增加 平台系统Id
* @param platformIdIncrement
*/
public DevicePdu platformIdIncrement(Long platformIdIncrement){
this.platformIdIncrement = platformIdIncrement;
return this;
}
/**
* 设置 平台系统Id
* @param platformIdList
*/
public DevicePdu platformIdList(List<Long> platformIdList){
this.platformIdList = platformIdList;
return this;
}
/**
* 设置 平台系统名称
* @param platformName
*/
public DevicePdu platformName(String platformName){
setPlatformName(platformName);
return this;
}
/**
* 设置 平台系统名称
* @param platformNameList
*/
public DevicePdu platformNameList(List<String> platformNameList){
this.platformNameList = platformNameList;
return this;
}
/**
* 设置 产品Id
* @param productId
*/
public DevicePdu productId(Long productId){
setProductId(productId);
return this;
}
/**
* 设置 开始 产品Id
* @param productIdStart
*/
public DevicePdu productIdStart(Long productIdStart){
this.productIdStart = productIdStart;
return this;
}
/**
* 设置 结束 产品Id
* @param productIdEnd
*/
public DevicePdu productIdEnd(Long productIdEnd){
this.productIdEnd = productIdEnd;
return this;
}
/**
* 设置 增加 产品Id
* @param productIdIncrement
*/
public DevicePdu productIdIncrement(Long productIdIncrement){
this.productIdIncrement = productIdIncrement;
return this;
}
/**
* 设置 产品Id
* @param productIdList
*/
public DevicePdu productIdList(List<Long> productIdList){
this.productIdList = productIdList;
return this;
}
/**
* 设置 产品名称
* @param productName
*/
public DevicePdu productName(String productName){
setProductName(productName);
return this;
}
/**
* 设置 产品名称
* @param productNameList
*/
public DevicePdu productNameList(List<String> productNameList){
this.productNameList = productNameList;
return this;
}
/**
* 设置 皮肤id
* @param skinId
*/
public DevicePdu skinId(Long skinId){
setSkinId(skinId);
return this;
}
/**
* 设置 开始 皮肤id
* @param skinIdStart
*/
public DevicePdu skinIdStart(Long skinIdStart){
this.skinIdStart = skinIdStart;
return this;
}
/**
* 设置 结束 皮肤id
* @param skinIdEnd
*/
public DevicePdu skinIdEnd(Long skinIdEnd){
this.skinIdEnd = skinIdEnd;
return this;
}
/**
* 设置 增加 皮肤id
* @param skinIdIncrement
*/
public DevicePdu skinIdIncrement(Long skinIdIncrement){
this.skinIdIncrement = skinIdIncrement;
return this;
}
/**
* 设置 皮肤id
* @param skinIdList
*/
public DevicePdu skinIdList(List<Long> skinIdList){
this.skinIdList = skinIdList;
return this;
}
/**
* 设置 皮肤名称
* @param skinName
*/
public DevicePdu skinName(String skinName){
setSkinName(skinName);
return this;
}
/**
* 设置 皮肤名称
* @param skinNameList
*/
public DevicePdu skinNameList(List<String> skinNameList){
this.skinNameList = skinNameList;
return this;
}
/**
* 设置 首页地址
* @param homeUrl
*/
public DevicePdu homeUrl(String homeUrl){
setHomeUrl(homeUrl);
return this;
}
/**
* 设置 首页地址
* @param homeUrlList
*/
public DevicePdu homeUrlList(List<String> homeUrlList){
this.homeUrlList = homeUrlList;
return this;
}
/**
* 设置 设备生产厂商ID
* @param deviceFirmId
*/
public DevicePdu deviceFirmId(Long deviceFirmId){
setDeviceFirmId(deviceFirmId);
return this;
}
/**
* 设置 开始 设备生产厂商ID
* @param deviceFirmIdStart
*/
public DevicePdu deviceFirmIdStart(Long deviceFirmIdStart){
this.deviceFirmIdStart = deviceFirmIdStart;
return this;
}
/**
* 设置 结束 设备生产厂商ID
* @param deviceFirmIdEnd
*/
public DevicePdu deviceFirmIdEnd(Long deviceFirmIdEnd){
this.deviceFirmIdEnd = deviceFirmIdEnd;
return this;
}
/**
* 设置 增加 设备生产厂商ID
* @param deviceFirmIdIncrement
*/
public DevicePdu deviceFirmIdIncrement(Long deviceFirmIdIncrement){
this.deviceFirmIdIncrement = deviceFirmIdIncrement;
return this;
}
/**
* 设置 设备生产厂商ID
* @param deviceFirmIdList
*/
public DevicePdu deviceFirmIdList(List<Long> deviceFirmIdList){
this.deviceFirmIdList = deviceFirmIdList;
return this;
}
/**
* 设置 设备生产厂商名称
* @param deviceFirmname
*/
public DevicePdu deviceFirmname(String deviceFirmname){
setDeviceFirmname(deviceFirmname);
return this;
}
/**
* 设置 设备生产厂商名称
* @param deviceFirmnameList
*/
public DevicePdu deviceFirmnameList(List<String> deviceFirmnameList){
this.deviceFirmnameList = deviceFirmnameList;
return this;
}
/**
* 设置 设备来源(0.子设备,1.网关设备,2.直连设备)
* @param deviceSrc
*/
public DevicePdu deviceSrc(Integer deviceSrc){
setDeviceSrc(deviceSrc);
return this;
}
/**
* 设置 开始 设备来源(0.子设备,1.网关设备,2.直连设备)
* @param deviceSrcStart
*/
public DevicePdu deviceSrcStart(Integer deviceSrcStart){
this.deviceSrcStart = deviceSrcStart;
return this;
}
/**
* 设置 结束 设备来源(0.子设备,1.网关设备,2.直连设备)
* @param deviceSrcEnd
*/
public DevicePdu deviceSrcEnd(Integer deviceSrcEnd){
this.deviceSrcEnd = deviceSrcEnd;
return this;
}
/**
* 设置 增加 设备来源(0.子设备,1.网关设备,2.直连设备)
* @param deviceSrcIncrement
*/
public DevicePdu deviceSrcIncrement(Integer deviceSrcIncrement){
this.deviceSrcIncrement = deviceSrcIncrement;
return this;
}
/**
* 设置 设备来源(0.子设备,1.网关设备,2.直连设备)
* @param deviceSrcList
*/
public DevicePdu deviceSrcList(List<Integer> deviceSrcList){
this.deviceSrcList = deviceSrcList;
return this;
}
/**
* 设置 数据获取方式(0.主动上报,1.被动拉取)
* @param deviceDataSourceWay
*/
public DevicePdu deviceDataSourceWay(Integer deviceDataSourceWay){
setDeviceDataSourceWay(deviceDataSourceWay);
return this;
}
/**
* 设置 开始 数据获取方式(0.主动上报,1.被动拉取)
* @param deviceDataSourceWayStart
*/
public DevicePdu deviceDataSourceWayStart(Integer deviceDataSourceWayStart){
this.deviceDataSourceWayStart = deviceDataSourceWayStart;
return this;
}
/**
* 设置 结束 数据获取方式(0.主动上报,1.被动拉取)
* @param deviceDataSourceWayEnd
*/
public DevicePdu deviceDataSourceWayEnd(Integer deviceDataSourceWayEnd){
this.deviceDataSourceWayEnd = deviceDataSourceWayEnd;
return this;
}
/**
* 设置 增加 数据获取方式(0.主动上报,1.被动拉取)
* @param deviceDataSourceWayIncrement
*/
public DevicePdu deviceDataSourceWayIncrement(Integer deviceDataSourceWayIncrement){
this.deviceDataSourceWayIncrement = deviceDataSourceWayIncrement;
return this;
}
/**
* 设置 数据获取方式(0.主动上报,1.被动拉取)
* @param deviceDataSourceWayList
*/
public DevicePdu deviceDataSourceWayList(List<Integer> deviceDataSourceWayList){
this.deviceDataSourceWayList = deviceDataSourceWayList;
return this;
}
/**
* 设置 经度
* @param lon
*/
public DevicePdu lon(String lon){
setLon(lon);
return this;
}
/**
* 设置 经度
* @param lonList
*/
public DevicePdu lonList(List<String> lonList){
this.lonList = lonList;
return this;
}
/**
* 设置 经度
* @param lati
*/
public DevicePdu lati(String lati){
setLati(lati);
return this;
}
/**
* 设置 经度
* @param latiList
*/
public DevicePdu latiList(List<String> latiList){
this.latiList = latiList;
return this;
}
/**
* 设置 所属楼栋
* @param deviceInBuilding
*/
public DevicePdu deviceInBuilding(Integer deviceInBuilding){
setDeviceInBuilding(deviceInBuilding);
return this;
}
/**
* 设置 开始 所属楼栋
* @param deviceInBuildingStart
*/
public DevicePdu deviceInBuildingStart(Integer deviceInBuildingStart){
this.deviceInBuildingStart = deviceInBuildingStart;
return this;
}
/**
* 设置 结束 所属楼栋
* @param deviceInBuildingEnd
*/
public DevicePdu deviceInBuildingEnd(Integer deviceInBuildingEnd){
this.deviceInBuildingEnd = deviceInBuildingEnd;
return this;
}
/**
* 设置 增加 所属楼栋
* @param deviceInBuildingIncrement
*/
public DevicePdu deviceInBuildingIncrement(Integer deviceInBuildingIncrement){
this.deviceInBuildingIncrement = deviceInBuildingIncrement;
return this;
}
/**
* 设置 所属楼栋
* @param deviceInBuildingList
*/
public DevicePdu deviceInBuildingList(List<Integer> deviceInBuildingList){
this.deviceInBuildingList = deviceInBuildingList;
return this;
}
/**
* 设置 所属楼层
* @param deviceInFloor
*/
public DevicePdu deviceInFloor(Integer deviceInFloor){
setDeviceInFloor(deviceInFloor);
return this;
}
/**
* 设置 开始 所属楼层
* @param deviceInFloorStart
*/
public DevicePdu deviceInFloorStart(Integer deviceInFloorStart){
this.deviceInFloorStart = deviceInFloorStart;
return this;
}
/**
* 设置 结束 所属楼层
* @param deviceInFloorEnd
*/
public DevicePdu deviceInFloorEnd(Integer deviceInFloorEnd){
this.deviceInFloorEnd = deviceInFloorEnd;
return this;
}
/**
* 设置 增加 所属楼层
* @param deviceInFloorIncrement
*/
public DevicePdu deviceInFloorIncrement(Integer deviceInFloorIncrement){
this.deviceInFloorIncrement = deviceInFloorIncrement;
return this;
}
/**
* 设置 所属楼层
* @param deviceInFloorList
*/
public DevicePdu deviceInFloorList(List<Integer> deviceInFloorList){
this.deviceInFloorList = deviceInFloorList;
return this;
}
/**
* 设置 负责人
* @param leadingOfficial
*/
public DevicePdu leadingOfficial(String leadingOfficial){
setLeadingOfficial(leadingOfficial);
return this;
}
/**
* 设置 负责人
* @param leadingOfficialList
*/
public DevicePdu leadingOfficialList(List<String> leadingOfficialList){
this.leadingOfficialList = leadingOfficialList;
return this;
}
/**
* 设置 联系电话
* @param leadingOfficialTelephone
*/
public DevicePdu leadingOfficialTelephone(String leadingOfficialTelephone){
setLeadingOfficialTelephone(leadingOfficialTelephone);
return this;
}
/**
* 设置 联系电话
* @param leadingOfficialTelephoneList
*/
public DevicePdu leadingOfficialTelephoneList(List<String> leadingOfficialTelephoneList){
this.leadingOfficialTelephoneList = leadingOfficialTelephoneList;
return this;
}
/**
* 设置 是否接收异常短(0.否,1.是)
* @param isReceiveMess
*/
public DevicePdu isReceiveMess(Integer isReceiveMess){
setIsReceiveMess(isReceiveMess);
return this;
}
/**
* 设置 开始 是否接收异常短(0.否,1.是)
* @param isReceiveMessStart
*/
public DevicePdu isReceiveMessStart(Integer isReceiveMessStart){
this.isReceiveMessStart = isReceiveMessStart;
return this;
}
/**
* 设置 结束 是否接收异常短(0.否,1.是)
* @param isReceiveMessEnd
*/
public DevicePdu isReceiveMessEnd(Integer isReceiveMessEnd){
this.isReceiveMessEnd = isReceiveMessEnd;
return this;
}
/**
* 设置 增加 是否接收异常短(0.否,1.是)
* @param isReceiveMessIncrement
*/
public DevicePdu isReceiveMessIncrement(Integer isReceiveMessIncrement){
this.isReceiveMessIncrement = isReceiveMessIncrement;
return this;
}
/**
* 设置 是否接收异常短(0.否,1.是)
* @param isReceiveMessList
*/
public DevicePdu isReceiveMessList(List<Integer> isReceiveMessList){
this.isReceiveMessList = isReceiveMessList;
return this;
}
/**
* 设置 设备图片
* @param devicePhotoPath
*/
public DevicePdu devicePhotoPath(String devicePhotoPath){
setDevicePhotoPath(devicePhotoPath);
return this;
}
/**
* 设置 设备图片
* @param devicePhotoPathList
*/
public DevicePdu devicePhotoPathList(List<String> devicePhotoPathList){
this.devicePhotoPathList = devicePhotoPathList;
return this;
}
/**
* 设置 设备访问ip
* @param ip
*/
public DevicePdu ip(String ip){
setIp(ip);
return this;
}
/**
* 设置 设备访问ip
* @param ipList
*/
public DevicePdu ipList(List<String> ipList){
this.ipList = ipList;
return this;
}
/**
* 设置 中心设备编码
* @param centernum
*/
public DevicePdu centernum(String centernum){
setCenternum(centernum);
return this;
}
/**
* 设置 中心设备编码
* @param centernumList
*/
public DevicePdu centernumList(List<String> centernumList){
this.centernumList = centernumList;
return this;
}
/**
* 设置 端口
* @param port
*/
public DevicePdu port(String port){
setPort(port);
return this;
}
/**
* 设置 端口
* @param portList
*/
public DevicePdu portList(List<String> portList){
this.portList = portList;
return this;
}
/**
* 设置 设备topic信息
* @param deviceTopic
*/
public DevicePdu deviceTopic(String deviceTopic){
setDeviceTopic(deviceTopic);
return this;
}
/**
* 设置 设备topic信息
* @param deviceTopicList
*/
public DevicePdu deviceTopicList(List<String> deviceTopicList){
this.deviceTopicList = deviceTopicList;
return this;
}
/**
* 设置 设备状态 (0.未激活,1.离线,2.在线)
* @param deviceStatus
*/
public DevicePdu deviceStatus(Integer deviceStatus){
setDeviceStatus(deviceStatus);
return this;
}
/**
* 设置 开始 设备状态 (0.未激活,1.离线,2.在线)
* @param deviceStatusStart
*/
public DevicePdu deviceStatusStart(Integer deviceStatusStart){
this.deviceStatusStart = deviceStatusStart;
return this;
}
/**
* 设置 结束 设备状态 (0.未激活,1.离线,2.在线)
* @param deviceStatusEnd
*/
public DevicePdu deviceStatusEnd(Integer deviceStatusEnd){
this.deviceStatusEnd = deviceStatusEnd;
return this;
}
/**
* 设置 增加 设备状态 (0.未激活,1.离线,2.在线)
* @param deviceStatusIncrement
*/
public DevicePdu deviceStatusIncrement(Integer deviceStatusIncrement){
this.deviceStatusIncrement = deviceStatusIncrement;
return this;
}
/**
* 设置 设备状态 (0.未激活,1.离线,2.在线)
* @param deviceStatusList
*/
public DevicePdu deviceStatusList(List<Integer> deviceStatusList){
this.deviceStatusList = deviceStatusList;
return this;
}
/**
* 设置 启用状态 (0.停止,1.启用)
* @param enabled
*/
public DevicePdu enabled(Integer enabled){
setEnabled(enabled);
return this;
}
/**
* 设置 开始 启用状态 (0.停止,1.启用)
* @param enabledStart
*/
public DevicePdu enabledStart(Integer enabledStart){
this.enabledStart = enabledStart;
return this;
}
/**
* 设置 结束 启用状态 (0.停止,1.启用)
* @param enabledEnd
*/
public DevicePdu enabledEnd(Integer enabledEnd){
this.enabledEnd = enabledEnd;
return this;
}
/**
* 设置 增加 启用状态 (0.停止,1.启用)
* @param enabledIncrement
*/
public DevicePdu enabledIncrement(Integer enabledIncrement){
this.enabledIncrement = enabledIncrement;
return this;
}
/**
* 设置 启用状态 (0.停止,1.启用)
* @param enabledList
*/
public DevicePdu enabledList(List<Integer> enabledList){
this.enabledList = enabledList;
return this;
}
/**
* 设置 设备授权码
* @param deviceAuthCode
*/
public DevicePdu deviceAuthCode(String deviceAuthCode){
setDeviceAuthCode(deviceAuthCode);
return this;
}
/**
* 设置 设备授权码
* @param deviceAuthCodeList
*/
public DevicePdu deviceAuthCodeList(List<String> deviceAuthCodeList){
this.deviceAuthCodeList = deviceAuthCodeList;
return this;
}
/**
* 设置 备注
* @param deviceRemark
*/
public DevicePdu deviceRemark(String deviceRemark){
setDeviceRemark(deviceRemark);
return this;
}
/**
* 设置 备注
* @param deviceRemarkList
*/
public DevicePdu deviceRemarkList(List<String> deviceRemarkList){
this.deviceRemarkList = deviceRemarkList;
return this;
}
/**
* 设置 是否删除(0.否,1.是)
* @param deleted
*/
public DevicePdu deleted(Integer deleted){
setDeleted(deleted);
return this;
}
/**
* 设置 开始 是否删除(0.否,1.是)
* @param deletedStart
*/
public DevicePdu deletedStart(Integer deletedStart){
this.deletedStart = deletedStart;
return this;
}
/**
* 设置 结束 是否删除(0.否,1.是)
* @param deletedEnd
*/
public DevicePdu deletedEnd(Integer deletedEnd){
this.deletedEnd = deletedEnd;
return this;
}
/**
* 设置 增加 是否删除(0.否,1.是)
* @param deletedIncrement
*/
public DevicePdu deletedIncrement(Integer deletedIncrement){
this.deletedIncrement = deletedIncrement;
return this;
}
/**
* 设置 是否删除(0.否,1.是)
* @param deletedList
*/
public DevicePdu deletedList(List<Integer> deletedList){
this.deletedList = deletedList;
return this;
}
/**
* 设置 设备来源(0.旧设备,1.新设备)
* @param source
*/
public DevicePdu source(Integer source){
setSource(source);
return this;
}
/**
* 设置 开始 设备来源(0.旧设备,1.新设备)
* @param sourceStart
*/
public DevicePdu sourceStart(Integer sourceStart){
this.sourceStart = sourceStart;
return this;
}
/**
* 设置 结束 设备来源(0.旧设备,1.新设备)
* @param sourceEnd
*/
public DevicePdu sourceEnd(Integer sourceEnd){
this.sourceEnd = sourceEnd;
return this;
}
/**
* 设置 增加 设备来源(0.旧设备,1.新设备)
* @param sourceIncrement
*/
public DevicePdu sourceIncrement(Integer sourceIncrement){
this.sourceIncrement = sourceIncrement;
return this;
}
/**
* 设置 设备来源(0.旧设备,1.新设备)
* @param sourceList
*/
public DevicePdu sourceList(List<Integer> sourceList){
this.sourceList = sourceList;
return this;
}
/**
* 设置 创建用户
* @param createUserId
*/
public DevicePdu createUserId(Long createUserId){
setCreateUserId(createUserId);
return this;
}
/**
* 设置 开始 创建用户
* @param createUserIdStart
*/
public DevicePdu createUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart;
return this;
}
/**
* 设置 结束 创建用户
* @param createUserIdEnd
*/
public DevicePdu createUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd;
return this;
}
/**
* 设置 增加 创建用户
* @param createUserIdIncrement
*/
public DevicePdu createUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement;
return this;
}
/**
* 设置 创建用户
* @param createUserIdList
*/
public DevicePdu createUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList;
return this;
}
/**
* 设置 更新用户
* @param updateUserId
*/
public DevicePdu updateUserId(Long updateUserId){
setUpdateUserId(updateUserId);
return this;
}
/**
* 设置 开始 更新用户
* @param updateUserIdStart
*/
public DevicePdu updateUserIdStart(Long updateUserIdStart){
this.updateUserIdStart = updateUserIdStart;
return this;
}
/**
* 设置 结束 更新用户
* @param updateUserIdEnd
*/
public DevicePdu updateUserIdEnd(Long updateUserIdEnd){
this.updateUserIdEnd = updateUserIdEnd;
return this;
}
/**
* 设置 增加 更新用户
* @param updateUserIdIncrement
*/
public DevicePdu updateUserIdIncrement(Long updateUserIdIncrement){
this.updateUserIdIncrement = updateUserIdIncrement;
return this;
}
/**
* 设置 更新用户
* @param updateUserIdList
*/
public DevicePdu updateUserIdList(List<Long> updateUserIdList){
this.updateUserIdList = updateUserIdList;
return this;
}
/**
* 设置 设备SN码
* @param deviceSN
*/
public DevicePdu deviceSN(String deviceSN){
setDeviceSN(deviceSN);
return this;
}
/**
* 设置 设备SN码
* @param deviceSNList
*/
public DevicePdu deviceSNList(List<String> deviceSNList){
this.deviceSNList = deviceSNList;
return this;
}
/**
* 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @return orConditionList
*/
public List<DevicePdu> getOrConditionList(){
return this.orConditionList;
}
/**
* 设置 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @param orConditionList
*/
public void setOrConditionList(List<DevicePdu> orConditionList){
this.orConditionList = orConditionList;
}
/**
* 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @return andConditionList
*/
public List<DevicePdu> getAndConditionList(){
return this.andConditionList;
}
/**
* 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @param andConditionList
*/
public void setAndConditionList(List<DevicePdu> andConditionList){
this.andConditionList = andConditionList;
}
@Override
public int hashCode() {
return this.getId().hashCode();
}
@Override
public boolean equals(Object obj) {
if (obj == null) return false;
if (obj instanceof DevicePdu) {
DevicePdu tmp = (DevicePdu) obj;
if (this.getId() == tmp.getId()) {
return true;
}
}
return false;
}
public void initAttrValue(){
this.deviceName = "";
this.deviceCode = "";
this.deviceMac = "";
this.siteId = null;
this.siteCode = "";
this.siteName = "";
this.platformId = null;
this.platformName = "";
this.productId = null;
this.productName = "";
this.skinId = null;
this.skinName = "";
this.homeUrl = "";
this.deviceFirmId = null;
this.deviceFirmname = "";
this.deviceSrc = 2;
this.deviceDataSourceWay = 0;
this.lon = "";
this.lati = "";
this.deviceInBuilding = null;
this.deviceInFloor = null;
this.defectsLiabilityPeriod = null;
this.leadingOfficial = "";
this.leadingOfficialTelephone = "";
this.isReceiveMess = 0;
this.devicePhotoPath = "";
this.ip = "";
this.centernum = "";
this.port = "";
this.deviceTopic = "";
this.deviceStatus = 0;
this.enabled = 0;
this.deviceAuthCode = "";
this.deviceRemark = "";
this.onlineTime = null;
this.offlineTime = null;
this.deleted = 0;
this.deviceRemark = null;
this.source = 1;
this.deviceSN = "";
}
}
\ No newline at end of file
......@@ -13,9 +13,9 @@ import java.util.List;
/**
* 设备 Feign接口
* @author zxfei
* @date 2022-10-26
* @date 2023-02-25
*/
@FeignClient(name = "device-manager", path = "/m", fallbackFactory = DeviceFeignFallbackFactory.class)
@FeignClient(name = "sampleform-platform", path = "/sampleform", fallbackFactory = DeviceFeignFallbackFactory.class)
public interface IDeviceFeign extends IFeign {
......
......@@ -212,1524 +212,40 @@ Content-Type: multipart/form-data
```
## 基础事项
## 设备
### 查询基础事项列表
**请求URL:** sheet/matter/list
**请求方式:** POST
**内容类型:** application/json;charset=utf-8
**简要描述:** 查询基础事项
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:------
page|Integer|否|当前页
size|Integer|否|每页条数,值为-1,查询所有记录
**请求样例:**
```
{
"page":1,
"size":10
}
```
**响应参数:**
参数名称|参数类型|描述
:---|:---|:------
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
&emsp;per_page|Integer|每页条数
&emsp;total|Integer|总条数
&emsp;last_page|Integer|总页数
&emsp;current_page|Integer|当前页
&emsp;data|array|结果集列表|数组
&emsp;&emsp;id|Long|序号,主键,自增长
&emsp;&emsp;siteId|Long|站点ID
&emsp;&emsp;tid|String|从政务系统来的事项id
&emsp;&emsp;tcode|String|从政务系统来的事项code
&emsp;&emsp;tname|String|从政务系统来的事项name
&emsp;&emsp;matterName|String|事项名称
&emsp;&emsp;englishName|String|英语事项名
&emsp;&emsp;matterNo|String|事项编号
&emsp;&emsp;appoveObjectShow|String|服务对象 (1.事业法人,2.社会组织法人,3.非法人企业,4.企业法人,5.自然人,6.其他组织)
&emsp;&emsp;operatScopeShow|String|通办范围 (1.无,2.全国,3.全省,4.全市,5.全县,6.全镇[乡、街道],7.跨村[社区])
&emsp;&emsp;appoveTimeLimitShow|String|办件类型(1.网络办件,2.行政审批一般件,3.综合窗口件)
&emsp;&emsp;handleType|String|办理形式(1.窗口办理,2.网上办理)
&emsp;&emsp;legalTimeLimitShow|String|法定办结时限
&emsp;&emsp;legalEndExplain|String|法定时限办结说明
&emsp;&emsp;promiseTimeLimitShow|String|承诺办结时限
&emsp;&emsp;promiseEndExplain|String|承诺时限办结说明
&emsp;&emsp;isChargesShow|String|是否收费(0.否,1.是)
&emsp;&emsp;certificationLevelsShow|String|认证等级需求(1.实名认证,2.单次面签,3.每次面签)
&emsp;&emsp;planTakeTime|Date|计划生效日期
&emsp;&emsp;promiseTakeTime|Date|承诺生效日期
&emsp;&emsp;specialProcedure|String|特别程序
&emsp;&emsp;windowToTheSceneNum|Integer|窗口到现场次数
&emsp;&emsp;isOnlineSubscribeShow|String|是否网上预约,窗口办理选(0.否,1.是)
&emsp;&emsp;isExpressTakeShow|String|物流快递,窗口办理选(0.否,1.是)
&emsp;&emsp;isProvinceAcquisitionShow|String|是否支持全省范围就近取件(0.否,1.是)
&emsp;&emsp;isApplyProvinceShow|String|是否支持全省范围就近办理(0.否,1.是)
&emsp;&emsp;mustSceneExplain|String|必须到现场原因
&emsp;&emsp;onlineType|String|网办类型(1.原件预审,2.原件核验,3.全程网办)
&emsp;&emsp;onlineToTheSceneNum|Integer|网办到现场次数
&emsp;&emsp;onlineOperatDeep|String|网络办理深度(1.互联网咨询,2.互联网收件,3.互联网预审,4.互联网受理,5.互联网办理,6.互联网办理结果信息反馈,7.其他)
&emsp;&emsp;isExpressTakeOnlineShow|String|物流快递,网上办理选(0.否,1.是)
&emsp;&emsp;isDoorTakeShow|String|是否支持上门收取申请(0.否,1.是)
&emsp;&emsp;onlineMustSceneExplain|String|网上必须到现场原因
&emsp;&emsp;performDeptType|String|实施主体
&emsp;&emsp;matterEdition|String|事项版本
&emsp;&emsp;eventTypeShow|String|事项类型名称(1A.行政许可,1B.行政处罚,1C.行政强制,1D.行政征收,1G.行政给付,1I.行政检查,1F.行政确认,1H.行政奖励,1E.行政裁决,1Z.其他行政权力,2A.主动服务,2B.依申请服务,2C.咨询查询,3A.未归类事项)
&emsp;&emsp;performHierarchyShow|String|行使层级名称(1.省级,2.市级,3.县级,4.镇[乡、街道],5.村[社区]级)
&emsp;&emsp;powerSourceShow|String|权力来源(1.法定本级行使,2.上级下放,3.上级授权,4.同级授权,5.上级委托,6.同级委托)
&emsp;&emsp;performDeptTypeShow|String|实施主体性质(1.法定机关,2.授权组织,3.受委托组织)
&emsp;&emsp;goveServiceCenterShow|String|是否进驻中心(0.否,1.是)
&emsp;&emsp;isConvenientCenterShow|String|是否纳入便民服务中心(0.否,1.是)
&emsp;&emsp;terminalHandle|Integer|自助终端办理 (0.否,1.是)
&emsp;&emsp;isOnline|Integer|是否网办 (0.否,1.是)
&emsp;&emsp;isOnlinePayShow|String|支持网上支付(0.否,1.是)
&emsp;&emsp;entrustmentDepartmen|String|委托部门(0.否,1.是)
&emsp;&emsp;jointInfoShow|String|联办机构
&emsp;&emsp;matterStatus|String|事项状态(0.停用,1.在用)
&emsp;&emsp;numberLimit|Long|数量限制
&emsp;&emsp;type|String|主题类型(1.法定机关,2.授权组织,3.受委托组织)
&emsp;&emsp;baseCode|String|基本编码
&emsp;&emsp;implementCode|String|实施编码
&emsp;&emsp;implementBodyCode|String|实施主体编码
&emsp;&emsp;operateItemCode|String|办理项编码
&emsp;&emsp;townshipName|String|乡镇街道名称
&emsp;&emsp;townshipCode|String|乡镇街道代码
&emsp;&emsp;villageName|String|村居社区名称
&emsp;&emsp;villageCode|String|村居社区代码
&emsp;&emsp;operateTime|String|办理时间
&emsp;&emsp;operateSite|String|办理地点
&emsp;&emsp;cousultingShow|String|咨询方式
&emsp;&emsp;cousultingTelephoneShow|String|咨询电话
&emsp;&emsp;superviseShow|String|监督方式
&emsp;&emsp;mattertype|Integer|是否样表展示(0.否,1.是)
&emsp;&emsp;deptCode|String|部门编号
&emsp;&emsp;dirListCode|String|目录清单编码
&emsp;&emsp;runSystemShow|String|运行系统名称
&emsp;&emsp;jointReviewInfoShow|String|联审信息
&emsp;&emsp;doThingTypeShow|String|办理类型
&emsp;&emsp;pubTimeShow|String|公示时限
&emsp;&emsp;supervisoryTelephoneShow|String|投诉电话
&emsp;&emsp;handleTimeShow|String|办公时间
&emsp;&emsp;handlePlaceShow|String|办公地址
&emsp;&emsp;daysTypeShow|String|节日类型
&emsp;&emsp;tradeShow|String|行业
&emsp;&emsp;eventSourceShow|String|事项来源
&emsp;&emsp;applyresultTypeShow|String|审批结果类型
&emsp;&emsp;typeOfReview|String|审查类型
&emsp;&emsp;enforcement|String|实施机构
&emsp;&emsp;serviceClassification|String|服务主题分类
&emsp;&emsp;licenseNumber|String|许可数量
&emsp;&emsp;number|Integer|办事者到办理现场次数
&emsp;&emsp;inquire|String|办理查询
&emsp;&emsp;handlingresultNames|String|办理结果名称
&emsp;&emsp;sampleApprovalResults|String|审批结果样本
&emsp;&emsp;performDeptName|String|实施主题
&emsp;&emsp;html|String|html存储地址
&emsp;&emsp;eventType|String|全债清单类型
&emsp;&emsp;shardKey|Long|
&emsp;&emsp;parson|Integer|个人1
&emsp;&emsp;lengal|Integer|法人 1
&emsp;&emsp;materialRemark|String|总材料说明
&emsp;&emsp;codeurl|String|事项二维码
&emsp;&emsp;applyObject|String|行使方式
&emsp;&emsp;isUniteAccept|String|统一受理模式
&emsp;&emsp;sort|Integer|排序
&emsp;&emsp;isRecommend|Integer|是否推荐(0.未推荐,1.推荐)
&emsp;&emsp;createTime|Date|创建时间
&emsp;&emsp;createUserId|Long|创建用户
&emsp;&emsp;updateTime|Date|修改时间
dict|object|字典对象
&emsp;appoveObjectShow|object|字典属性对象,详见附录
&emsp;operatScopeShow|object|字典属性对象,详见附录
&emsp;appoveTimeLimitShow|object|字典属性对象,详见附录
&emsp;handleType|object|字典属性对象,详见附录
&emsp;isChargesShow|object|字典属性对象,详见附录
&emsp;certificationLevelsShow|object|字典属性对象,详见附录
&emsp;isOnlineSubscribeShow|object|字典属性对象,详见附录
&emsp;isExpressTakeShow|object|字典属性对象,详见附录
&emsp;isProvinceAcquisitionShow|object|字典属性对象,详见附录
&emsp;isApplyProvinceShow|object|字典属性对象,详见附录
&emsp;onlineType|object|字典属性对象,详见附录
&emsp;onlineOperatDeep|object|字典属性对象,详见附录
&emsp;isExpressTakeOnlineShow|object|字典属性对象,详见附录
&emsp;isDoorTakeShow|object|字典属性对象,详见附录
&emsp;eventTypeShow|object|字典属性对象,详见附录
&emsp;performHierarchyShow|object|字典属性对象,详见附录
&emsp;powerSourceShow|object|字典属性对象,详见附录
&emsp;performDeptTypeShow|object|字典属性对象,详见附录
&emsp;goveServiceCenterShow|object|字典属性对象,详见附录
&emsp;isConvenientCenterShow|object|字典属性对象,详见附录
&emsp;terminalHandle|object|字典属性对象,详见附录
&emsp;isOnline|object|字典属性对象,详见附录
&emsp;isOnlinePayShow|object|字典属性对象,详见附录
&emsp;entrustmentDepartmen|object|字典属性对象,详见附录
&emsp;matterStatus|object|字典属性对象,详见附录
&emsp;type|object|字典属性对象,详见附录
&emsp;mattertype|object|字典属性对象,详见附录
&emsp;isRecommend|object|字典属性对象,详见附录
**响应消息样例:**
```
{
"code":1,
"data":{
}
}
```
### 查看基础事项
**请求URL:** sheet/matter/info
**请求方式:** GET
**内容类型:** application/json;charset=utf-8
**简要描述:** 查看基础事项,返回实例详细信息
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:------
id|Long|是|ID
**请求样例:**
```
http://localhost/sheet/matter/info?id=549
```
**响应参数:**
参数名称 |参数类型|描述
:---|:---|:-------
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
&emsp;id|Long|序号,主键,自增长
&emsp;siteId|Long|站点ID
&emsp;tid|String|从政务系统来的事项id
&emsp;tcode|String|从政务系统来的事项code
&emsp;tname|String|从政务系统来的事项name
&emsp;matterName|String|事项名称
&emsp;englishName|String|英语事项名
&emsp;matterNo|String|事项编号
&emsp;appoveObjectShow|String|服务对象 (1.事业法人,2.社会组织法人,3.非法人企业,4.企业法人,5.自然人,6.其他组织)
&emsp;operatScopeShow|String|通办范围 (1.无,2.全国,3.全省,4.全市,5.全县,6.全镇[乡、街道],7.跨村[社区])
&emsp;appoveTimeLimitShow|String|办件类型(1.网络办件,2.行政审批一般件,3.综合窗口件)
&emsp;handleType|String|办理形式(1.窗口办理,2.网上办理)
&emsp;legalTimeLimitShow|String|法定办结时限
&emsp;legalEndExplain|String|法定时限办结说明
&emsp;promiseTimeLimitShow|String|承诺办结时限
&emsp;promiseEndExplain|String|承诺时限办结说明
&emsp;isChargesShow|String|是否收费(0.否,1.是)
&emsp;certificationLevelsShow|String|认证等级需求(1.实名认证,2.单次面签,3.每次面签)
&emsp;planTakeTime|Date|计划生效日期
&emsp;promiseTakeTime|Date|承诺生效日期
&emsp;specialProcedure|String|特别程序
&emsp;windowToTheSceneNum|Integer|窗口到现场次数
&emsp;isOnlineSubscribeShow|String|是否网上预约,窗口办理选(0.否,1.是)
&emsp;isExpressTakeShow|String|物流快递,窗口办理选(0.否,1.是)
&emsp;isProvinceAcquisitionShow|String|是否支持全省范围就近取件(0.否,1.是)
&emsp;isApplyProvinceShow|String|是否支持全省范围就近办理(0.否,1.是)
&emsp;mustSceneExplain|String|必须到现场原因
&emsp;onlineType|String|网办类型(1.原件预审,2.原件核验,3.全程网办)
&emsp;onlineToTheSceneNum|Integer|网办到现场次数
&emsp;onlineOperatDeep|String|网络办理深度(1.互联网咨询,2.互联网收件,3.互联网预审,4.互联网受理,5.互联网办理,6.互联网办理结果信息反馈,7.其他)
&emsp;isExpressTakeOnlineShow|String|物流快递,网上办理选(0.否,1.是)
&emsp;isDoorTakeShow|String|是否支持上门收取申请(0.否,1.是)
&emsp;onlineMustSceneExplain|String|网上必须到现场原因
&emsp;performDeptType|String|实施主体
&emsp;matterEdition|String|事项版本
&emsp;eventTypeShow|String|事项类型名称(1A.行政许可,1B.行政处罚,1C.行政强制,1D.行政征收,1G.行政给付,1I.行政检查,1F.行政确认,1H.行政奖励,1E.行政裁决,1Z.其他行政权力,2A.主动服务,2B.依申请服务,2C.咨询查询,3A.未归类事项)
&emsp;performHierarchyShow|String|行使层级名称(1.省级,2.市级,3.县级,4.镇[乡、街道],5.村[社区]级)
&emsp;powerSourceShow|String|权力来源(1.法定本级行使,2.上级下放,3.上级授权,4.同级授权,5.上级委托,6.同级委托)
&emsp;performDeptTypeShow|String|实施主体性质(1.法定机关,2.授权组织,3.受委托组织)
&emsp;goveServiceCenterShow|String|是否进驻中心(0.否,1.是)
&emsp;isConvenientCenterShow|String|是否纳入便民服务中心(0.否,1.是)
&emsp;terminalHandle|Integer|自助终端办理 (0.否,1.是)
&emsp;isOnline|Integer|是否网办 (0.否,1.是)
&emsp;isOnlinePayShow|String|支持网上支付(0.否,1.是)
&emsp;entrustmentDepartmen|String|委托部门(0.否,1.是)
&emsp;jointInfoShow|String|联办机构
&emsp;matterStatus|String|事项状态(0.停用,1.在用)
&emsp;numberLimit|Long|数量限制
&emsp;type|String|主题类型(1.法定机关,2.授权组织,3.受委托组织)
&emsp;baseCode|String|基本编码
&emsp;implementCode|String|实施编码
&emsp;implementBodyCode|String|实施主体编码
&emsp;operateItemCode|String|办理项编码
&emsp;townshipName|String|乡镇街道名称
&emsp;townshipCode|String|乡镇街道代码
&emsp;villageName|String|村居社区名称
&emsp;villageCode|String|村居社区代码
&emsp;operateTime|String|办理时间
&emsp;operateSite|String|办理地点
&emsp;cousultingShow|String|咨询方式
&emsp;cousultingTelephoneShow|String|咨询电话
&emsp;superviseShow|String|监督方式
&emsp;mattertype|Integer|是否样表展示(0.否,1.是)
&emsp;deptCode|String|部门编号
&emsp;dirListCode|String|目录清单编码
&emsp;runSystemShow|String|运行系统名称
&emsp;jointReviewInfoShow|String|联审信息
&emsp;doThingTypeShow|String|办理类型
&emsp;pubTimeShow|String|公示时限
&emsp;supervisoryTelephoneShow|String|投诉电话
&emsp;handleTimeShow|String|办公时间
&emsp;handlePlaceShow|String|办公地址
&emsp;daysTypeShow|String|节日类型
&emsp;tradeShow|String|行业
&emsp;eventSourceShow|String|事项来源
&emsp;applyresultTypeShow|String|审批结果类型
&emsp;typeOfReview|String|审查类型
&emsp;enforcement|String|实施机构
&emsp;serviceClassification|String|服务主题分类
&emsp;licenseNumber|String|许可数量
&emsp;number|Integer|办事者到办理现场次数
&emsp;inquire|String|办理查询
&emsp;handlingresultNames|String|办理结果名称
&emsp;sampleApprovalResults|String|审批结果样本
&emsp;performDeptName|String|实施主题
&emsp;html|String|html存储地址
&emsp;eventType|String|全债清单类型
&emsp;shardKey|Long|
&emsp;parson|Integer|个人1
&emsp;lengal|Integer|法人 1
&emsp;materialRemark|String|总材料说明
&emsp;codeurl|String|事项二维码
&emsp;applyObject|String|行使方式
&emsp;isUniteAccept|String|统一受理模式
&emsp;sort|Integer|排序
&emsp;isRecommend|Integer|是否推荐(0.未推荐,1.推荐)
&emsp;createTime|Date|创建时间
&emsp;createUserId|Long|创建用户
&emsp;updateTime|Date|修改时间
dict|object|字典对象
&emsp;appoveObjectShow|object|字典属性对象,详见附录
&emsp;operatScopeShow|object|字典属性对象,详见附录
&emsp;appoveTimeLimitShow|object|字典属性对象,详见附录
&emsp;handleType|object|字典属性对象,详见附录
&emsp;isChargesShow|object|字典属性对象,详见附录
&emsp;certificationLevelsShow|object|字典属性对象,详见附录
&emsp;isOnlineSubscribeShow|object|字典属性对象,详见附录
&emsp;isExpressTakeShow|object|字典属性对象,详见附录
&emsp;isProvinceAcquisitionShow|object|字典属性对象,详见附录
&emsp;isApplyProvinceShow|object|字典属性对象,详见附录
&emsp;onlineType|object|字典属性对象,详见附录
&emsp;onlineOperatDeep|object|字典属性对象,详见附录
&emsp;isExpressTakeOnlineShow|object|字典属性对象,详见附录
&emsp;isDoorTakeShow|object|字典属性对象,详见附录
&emsp;eventTypeShow|object|字典属性对象,详见附录
&emsp;performHierarchyShow|object|字典属性对象,详见附录
&emsp;powerSourceShow|object|字典属性对象,详见附录
&emsp;performDeptTypeShow|object|字典属性对象,详见附录
&emsp;goveServiceCenterShow|object|字典属性对象,详见附录
&emsp;isConvenientCenterShow|object|字典属性对象,详见附录
&emsp;terminalHandle|object|字典属性对象,详见附录
&emsp;isOnline|object|字典属性对象,详见附录
&emsp;isOnlinePayShow|object|字典属性对象,详见附录
&emsp;entrustmentDepartmen|object|字典属性对象,详见附录
&emsp;matterStatus|object|字典属性对象,详见附录
&emsp;type|object|字典属性对象,详见附录
&emsp;mattertype|object|字典属性对象,详见附录
&emsp;isRecommend|object|字典属性对象,详见附录
**响应消息样例:**
```
{
"code": 1,
"data": {
"id":6417,
"siteId":3082,
"tid":"h1tqmk",
"tcode":"ezttn4",
"tname":"gcb2zr",
"matterName":"v2u1jl",
"englishName":"bvbly0",
"matterNo":"ybcbxn",
"appoveObjectShow":"7qog7s",
"operatScopeShow":"4kgkms",
"appoveTimeLimitShow":"6e59xq",
"handleType":"cqxn7i",
"legalTimeLimitShow":"ck0q39",
"legalEndExplain":"naoa2p",
"promiseTimeLimitShow":"qfdeap",
"promiseEndExplain":"m17ob8",
"isChargesShow":"o4kk2q",
"certificationLevelsShow":"uljb4g",
"planTakeTime":"2022-09-27",
"promiseTakeTime":"2022-09-27",
"specialProcedure":"tezyn0",
"windowToTheSceneNum":2785,
"isOnlineSubscribeShow":"ew4pjh",
"isExpressTakeShow":"wfv6zp",
"isProvinceAcquisitionShow":"b84um3",
"isApplyProvinceShow":"0ovleq",
"mustSceneExplain":"47oo67",
"onlineType":"btrqmp",
"onlineToTheSceneNum":4899,
"onlineOperatDeep":"du53an",
"isExpressTakeOnlineShow":"gxtmf7",
"isDoorTakeShow":"fc3qwp",
"onlineMustSceneExplain":"crmgwv",
"performDeptType":"0ofbu8",
"matterEdition":"xp0bbi",
"eventTypeShow":"e3rpir",
"performHierarchyShow":"qpf5wo",
"powerSourceShow":"ilp2hj",
"performDeptTypeShow":"t2gkgp",
"goveServiceCenterShow":"6n0hfz",
"isConvenientCenterShow":"55vlo1",
"terminalHandle":4182,
"isOnline":365,
"isOnlinePayShow":"vgpyqa",
"entrustmentDepartmen":"jgm8tn",
"jointInfoShow":"ul8rit",
"matterStatus":"tf5537",
"numberLimit":3303,
"type":"kyn6nd",
"baseCode":"n28h6a",
"implementCode":"o6f6du",
"implementBodyCode":"27mgnb",
"operateItemCode":"4u9mb2",
"townshipName":"bdixck",
"townshipCode":"p4s9mp",
"villageName":"wlb2v4",
"villageCode":"qzw4hu",
"operateTime":"w2w029",
"operateSite":"tuez9h",
"cousultingShow":"aht211",
"cousultingTelephoneShow":"0q8bpb",
"superviseShow":"3uc3da",
"mattertype":3570,
"deptCode":"ne6hcr",
"dirListCode":"3jw6in",
"runSystemShow":"swyjkx",
"jointReviewInfoShow":"bpb45c",
"doThingTypeShow":"wqojgv",
"pubTimeShow":"xgqaaf",
"supervisoryTelephoneShow":"l7ylxr",
"handleTimeShow":"4l8xql",
"handlePlaceShow":"r1ybik",
"daysTypeShow":"zu9ehw",
"tradeShow":"gvi73n",
"eventSourceShow":"yzvjq3",
"applyresultTypeShow":"8a1uy7",
"typeOfReview":"wkvhbi",
"enforcement":"pne32p",
"serviceClassification":"nasoo6",
"licenseNumber":"mslbix",
"number":5868,
"inquire":"6vfzel",
"handlingresultNames":"ytqzmd",
"sampleApprovalResults":"nt78c0",
"performDeptName":"nbaf2z",
"html":"p80o3g",
"eventType":"fksvok",
"shardKey":1244,
"parson":2862,
"lengal":8680,
"materialRemark":"3kss1h",
"codeurl":"9kjg5r",
"applyObject":"otmsfs",
"isUniteAccept":"yhgfn4",
"sort":1983,
"isRecommend":8439,
"createTime":"2022-09-27",
"createUserId":5122,
"updateTime":"2022-09-27"
}
}
```
### 保存更新基础事项
**请求URL:** sheet/matter/save
**请求方式:** POST
**内容类型:** application/json;charset=utf-8
**简要描述:** 保存或更新基础事项:id为空时为新增保存,否则为更新提交
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:-------
id|Long|否|序号,主键,自增长
createTime|Date|否|创建时间
createUserId|Long|否|创建用户
updateTime|Date|否|修改时间
**请求样例:**
```
{
"siteId":7275,
"tid":"l7v22z",
"tcode":"aiy99h",
"tname":"ptf5jy",
"matterName":"b1d0bl",
"englishName":"no2sx0",
"matterNo":"vvvyol",
"appoveObjectShow":"gmkycl",
"operatScopeShow":"r9qm33",
"appoveTimeLimitShow":"oz8x90",
"handleType":"pa7ssb",
"legalTimeLimitShow":"w0dzvp",
"legalEndExplain":"o1y68a",
"promiseTimeLimitShow":"h5xre8",
"promiseEndExplain":"jsf2s1",
"isChargesShow":"zv068y",
"certificationLevelsShow":"n80shl",
"planTakeTime":"2022-09-27",
"promiseTakeTime":"2022-09-27",
"specialProcedure":"8a6inz",
"windowToTheSceneNum":6034,
"isOnlineSubscribeShow":"ip0xoc",
"isExpressTakeShow":"pu4xwx",
"isProvinceAcquisitionShow":"8rn8el",
"isApplyProvinceShow":"fyhjhe",
"mustSceneExplain":"urrlnn",
"onlineType":"mvr3h0",
"onlineToTheSceneNum":5878,
"onlineOperatDeep":"7kyugd",
"isExpressTakeOnlineShow":"8kalb3",
"isDoorTakeShow":"owp2za",
"onlineMustSceneExplain":"hgqa28",
"performDeptType":"ekbu96",
"matterEdition":"llbk3w",
"eventTypeShow":"1gxktd",
"performHierarchyShow":"aw2y69",
"powerSourceShow":"3tmqb0",
"performDeptTypeShow":"winqov",
"goveServiceCenterShow":"48rbev",
"isConvenientCenterShow":"cap6ws",
"terminalHandle":6987,
"isOnline":6083,
"isOnlinePayShow":"pmr6o8",
"entrustmentDepartmen":"6bgd2e",
"jointInfoShow":"o01r4s",
"matterStatus":"chv2ic",
"numberLimit":3113,
"type":"ff6kcc",
"baseCode":"b6bz2q",
"implementCode":"c8xhom",
"implementBodyCode":"riofs8",
"operateItemCode":"2w1cs3",
"townshipName":"5shnoe",
"townshipCode":"mcs6mj",
"villageName":"o7ovhv",
"villageCode":"lyp7xw",
"operateTime":"67ny17",
"operateSite":"gg8vwu",
"cousultingShow":"xxlmph",
"cousultingTelephoneShow":"irdzxn",
"superviseShow":"8342xl",
"mattertype":2007,
"deptCode":"0cf1df",
"dirListCode":"u7l5ih",
"runSystemShow":"gctuow",
"jointReviewInfoShow":"jburil",
"doThingTypeShow":"m66o8b",
"pubTimeShow":"c17aen",
"supervisoryTelephoneShow":"ognf4u",
"handleTimeShow":"vyu1xm",
"handlePlaceShow":"2pieqa",
"daysTypeShow":"9flt8m",
"tradeShow":"tl2m12",
"eventSourceShow":"mkpyiu",
"applyresultTypeShow":"nh14my",
"typeOfReview":"m0irtz",
"enforcement":"xi7h3q",
"serviceClassification":"c4unx4",
"licenseNumber":"g810w7",
"number":7361,
"inquire":"syjdk6",
"handlingresultNames":"762qz9",
"sampleApprovalResults":"hjhspp",
"performDeptName":"7v9e35",
"html":"1v8keu",
"eventType":"rvaafh",
"shardKey":8314,
"parson":3626,
"lengal":6031,
"materialRemark":"v4l3sj",
"codeurl":"gpnj2q",
"applyObject":"ujqn4k",
"isUniteAccept":"cr96ns",
"sort":3888,
"isRecommend":7802,
}
```
**响应参数:**
参数名称 |参数类型|描述
:---|:---|:------
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
&emsp;id|Long|保存后主键id
&emsp;entity|object|保存更新实体
&emsp;&emsp;id|Long|序号,主键,自增长
&emsp;&emsp;siteId|Long|站点ID
&emsp;&emsp;tid|String|从政务系统来的事项id
&emsp;&emsp;tcode|String|从政务系统来的事项code
&emsp;&emsp;tname|String|从政务系统来的事项name
&emsp;&emsp;matterName|String|事项名称
&emsp;&emsp;englishName|String|英语事项名
&emsp;&emsp;matterNo|String|事项编号
&emsp;&emsp;appoveObjectShow|String|服务对象 (1.事业法人,2.社会组织法人,3.非法人企业,4.企业法人,5.自然人,6.其他组织)
&emsp;&emsp;operatScopeShow|String|通办范围 (1.无,2.全国,3.全省,4.全市,5.全县,6.全镇[乡、街道],7.跨村[社区])
&emsp;&emsp;appoveTimeLimitShow|String|办件类型(1.网络办件,2.行政审批一般件,3.综合窗口件)
&emsp;&emsp;handleType|String|办理形式(1.窗口办理,2.网上办理)
&emsp;&emsp;legalTimeLimitShow|String|法定办结时限
&emsp;&emsp;legalEndExplain|String|法定时限办结说明
&emsp;&emsp;promiseTimeLimitShow|String|承诺办结时限
&emsp;&emsp;promiseEndExplain|String|承诺时限办结说明
&emsp;&emsp;isChargesShow|String|是否收费(0.否,1.是)
&emsp;&emsp;certificationLevelsShow|String|认证等级需求(1.实名认证,2.单次面签,3.每次面签)
&emsp;&emsp;planTakeTime|Date|计划生效日期
&emsp;&emsp;promiseTakeTime|Date|承诺生效日期
&emsp;&emsp;specialProcedure|String|特别程序
&emsp;&emsp;windowToTheSceneNum|Integer|窗口到现场次数
&emsp;&emsp;isOnlineSubscribeShow|String|是否网上预约,窗口办理选(0.否,1.是)
&emsp;&emsp;isExpressTakeShow|String|物流快递,窗口办理选(0.否,1.是)
&emsp;&emsp;isProvinceAcquisitionShow|String|是否支持全省范围就近取件(0.否,1.是)
&emsp;&emsp;isApplyProvinceShow|String|是否支持全省范围就近办理(0.否,1.是)
&emsp;&emsp;mustSceneExplain|String|必须到现场原因
&emsp;&emsp;onlineType|String|网办类型(1.原件预审,2.原件核验,3.全程网办)
&emsp;&emsp;onlineToTheSceneNum|Integer|网办到现场次数
&emsp;&emsp;onlineOperatDeep|String|网络办理深度(1.互联网咨询,2.互联网收件,3.互联网预审,4.互联网受理,5.互联网办理,6.互联网办理结果信息反馈,7.其他)
&emsp;&emsp;isExpressTakeOnlineShow|String|物流快递,网上办理选(0.否,1.是)
&emsp;&emsp;isDoorTakeShow|String|是否支持上门收取申请(0.否,1.是)
&emsp;&emsp;onlineMustSceneExplain|String|网上必须到现场原因
&emsp;&emsp;performDeptType|String|实施主体
&emsp;&emsp;matterEdition|String|事项版本
&emsp;&emsp;eventTypeShow|String|事项类型名称(1A.行政许可,1B.行政处罚,1C.行政强制,1D.行政征收,1G.行政给付,1I.行政检查,1F.行政确认,1H.行政奖励,1E.行政裁决,1Z.其他行政权力,2A.主动服务,2B.依申请服务,2C.咨询查询,3A.未归类事项)
&emsp;&emsp;performHierarchyShow|String|行使层级名称(1.省级,2.市级,3.县级,4.镇[乡、街道],5.村[社区]级)
&emsp;&emsp;powerSourceShow|String|权力来源(1.法定本级行使,2.上级下放,3.上级授权,4.同级授权,5.上级委托,6.同级委托)
&emsp;&emsp;performDeptTypeShow|String|实施主体性质(1.法定机关,2.授权组织,3.受委托组织)
&emsp;&emsp;goveServiceCenterShow|String|是否进驻中心(0.否,1.是)
&emsp;&emsp;isConvenientCenterShow|String|是否纳入便民服务中心(0.否,1.是)
&emsp;&emsp;terminalHandle|Integer|自助终端办理 (0.否,1.是)
&emsp;&emsp;isOnline|Integer|是否网办 (0.否,1.是)
&emsp;&emsp;isOnlinePayShow|String|支持网上支付(0.否,1.是)
&emsp;&emsp;entrustmentDepartmen|String|委托部门(0.否,1.是)
&emsp;&emsp;jointInfoShow|String|联办机构
&emsp;&emsp;matterStatus|String|事项状态(0.停用,1.在用)
&emsp;&emsp;numberLimit|Long|数量限制
&emsp;&emsp;type|String|主题类型(1.法定机关,2.授权组织,3.受委托组织)
&emsp;&emsp;baseCode|String|基本编码
&emsp;&emsp;implementCode|String|实施编码
&emsp;&emsp;implementBodyCode|String|实施主体编码
&emsp;&emsp;operateItemCode|String|办理项编码
&emsp;&emsp;townshipName|String|乡镇街道名称
&emsp;&emsp;townshipCode|String|乡镇街道代码
&emsp;&emsp;villageName|String|村居社区名称
&emsp;&emsp;villageCode|String|村居社区代码
&emsp;&emsp;operateTime|String|办理时间
&emsp;&emsp;operateSite|String|办理地点
&emsp;&emsp;cousultingShow|String|咨询方式
&emsp;&emsp;cousultingTelephoneShow|String|咨询电话
&emsp;&emsp;superviseShow|String|监督方式
&emsp;&emsp;mattertype|Integer|是否样表展示(0.否,1.是)
&emsp;&emsp;deptCode|String|部门编号
&emsp;&emsp;dirListCode|String|目录清单编码
&emsp;&emsp;runSystemShow|String|运行系统名称
&emsp;&emsp;jointReviewInfoShow|String|联审信息
&emsp;&emsp;doThingTypeShow|String|办理类型
&emsp;&emsp;pubTimeShow|String|公示时限
&emsp;&emsp;supervisoryTelephoneShow|String|投诉电话
&emsp;&emsp;handleTimeShow|String|办公时间
&emsp;&emsp;handlePlaceShow|String|办公地址
&emsp;&emsp;daysTypeShow|String|节日类型
&emsp;&emsp;tradeShow|String|行业
&emsp;&emsp;eventSourceShow|String|事项来源
&emsp;&emsp;applyresultTypeShow|String|审批结果类型
&emsp;&emsp;typeOfReview|String|审查类型
&emsp;&emsp;enforcement|String|实施机构
&emsp;&emsp;serviceClassification|String|服务主题分类
&emsp;&emsp;licenseNumber|String|许可数量
&emsp;&emsp;number|Integer|办事者到办理现场次数
&emsp;&emsp;inquire|String|办理查询
&emsp;&emsp;handlingresultNames|String|办理结果名称
&emsp;&emsp;sampleApprovalResults|String|审批结果样本
&emsp;&emsp;performDeptName|String|实施主题
&emsp;&emsp;html|String|html存储地址
&emsp;&emsp;eventType|String|全债清单类型
&emsp;&emsp;shardKey|Long|
&emsp;&emsp;parson|Integer|个人1
&emsp;&emsp;lengal|Integer|法人 1
&emsp;&emsp;materialRemark|String|总材料说明
&emsp;&emsp;codeurl|String|事项二维码
&emsp;&emsp;applyObject|String|行使方式
&emsp;&emsp;isUniteAccept|String|统一受理模式
&emsp;&emsp;sort|Integer|排序
&emsp;&emsp;isRecommend|Integer|是否推荐(0.未推荐,1.推荐)
&emsp;&emsp;createTime|Date|创建时间
&emsp;&emsp;createUserId|Long|创建用户
&emsp;&emsp;updateTime|Date|修改时间
**响应消息样例:**
```
{
"msg":"新增模块成功",
"code":1,
"data":{}
}
}
```
### 删除基础事项
**请求URL:** sheet/matter/delete
**请求方式:** GET
**内容类型:** application/json;charset=utf-8
**简要描述:** 删除基础事项
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:------
id|String|是|数组
**请求样例:**
```
http://localhost:8080/sheet/matter/delete?id=1&id=2'
```
**响应参数:**
参数名称 |参数类型|备注|其它
---|---|---|---
code|Integer|结果码(-1.失败,1.成功)|-
msg|String|消息|-
**响应消息样例:**
```
{
"code":1,
"msg":"成功"
}
```
## 事项
### 查询事项列表
**请求URL:** matter/list
**请求方式:** POST
**内容类型:** application/json;charset=utf-8
**简要描述:** 查询事项申请材料
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:------
page|Integer|否|当前页
size|Integer|否|每页条数,值为-1,查询所有记录
**请求样例:**
```
{
"page":1,
"size":10
}
```
**响应参数:**
参数名称|参数类型|描述
:---|:---|:------
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
&emsp;per_page|Integer|每页条数
&emsp;total|Integer|总条数
&emsp;last_page|Integer|总页数
&emsp;current_page|Integer|当前页
&emsp;data|array|结果集列表|数组
&emsp;&emsp;id|Long|主键,自增长
&emsp;&emsp;siteId|Long|站点ID
&emsp;&emsp;tid|String|从政务系统来的事项id
&emsp;&emsp;tcode|String|从政务系统来的事项code
&emsp;&emsp;tname|String|从政务系统来的事项name
&emsp;&emsp;matterName|String|事项名称
&emsp;&emsp;englishName|String|英语事项名
&emsp;&emsp;matterNo|String|事项编号
&emsp;&emsp;matterFullName|String|事项全称
&emsp;&emsp;deptId|Long|部门ID
&emsp;&emsp;deptName|String|部门名称
&emsp;&emsp;total|Integer|填单次数
&emsp;&emsp;sort|Integer|排序
&emsp;&emsp;isRecommend|Integer|是否推荐(0.未推荐,1.推荐)
&emsp;&emsp;source|Integer|事项来源(0.手动添加,1.站点事项)
&emsp;&emsp;createTime|Date|创建时间
&emsp;&emsp;createUserId|Long|创建用户
&emsp;&emsp;updateTime|Date|修改时间
&emsp;&emsp;datumCount|Integer|事项材料个数
dict|object|字典对象
&emsp;isRecommend|object|字典属性对象,详见附录
**响应消息样例:**
```
{
"code":1,
"data":{
}
}
```
### 查看事项
**请求URL:** matter/info
**请求方式:** GET
**内容类型:** application/json;charset=utf-8
**简要描述:** 查看事项申请材料,返回实例详细信息
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:------
id|Long|是|ID
**请求样例:**
```
http://localhost/matter/info?id=549
```
**响应参数:**
参数名称 |参数类型|描述
:---|:---|:-------
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
&emsp;id|Long|主键,自增长
&emsp;siteId|Long|站点ID
&emsp;tid|String|从政务系统来的事项id
&emsp;tcode|String|从政务系统来的事项code
&emsp;tname|String|从政务系统来的事项name
&emsp;matterName|String|事项名称
&emsp;englishName|String|英语事项名
&emsp;matterNo|String|事项编号
&emsp;matterFullName|String|事项全称
&emsp;deptId|Long|部门ID
&emsp;deptName|String|部门名称
&emsp;total|Integer|填单次数
&emsp;sort|Integer|排序
&emsp;isRecommend|Integer|是否推荐(0.未推荐,1.推荐)
&emsp;&emsp;source|Integer|事项来源(0.手动添加,1.站点事项)
&emsp;createTime|Date|创建时间
&emsp;createUserId|Long|创建用户
&emsp;updateTime|Date|修改时间
dict|object|字典对象
&emsp;isRecommend|object|字典属性对象,详见附录
**响应消息样例:**
```
{
"code": 1,
"data": {
"id":3973,
"siteId":8828,
"tid":"zg9gmi",
"tcode":"hq6ewt",
"tname":"0pakvi",
"matterName":"k8c0i7",
"englishName":"lj8tis",
"matterNo":"mws7bh",
"matterFullName":"po9xik",
"deptId":468,
"deptName":"po9xik",
"total":1593,
"sort":4204,
"isRecommend":1599,
"source":1599,
"createTime":"2022-09-27",
"createUserId":9718,
"updateTime":"2022-09-27"
}
}
```
### 保存更新事项
**请求URL:** matter/save
**请求方式:** POST
**内容类型:** application/json;charset=utf-8
**简要描述:** 保存或更新事项申请材料:id为空时为新增保存,否则为更新提交
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:-------
id|Long|否|主键,自增长
createTime|Date|否|创建时间
createUserId|Long|否|创建用户
updateTime|Date|否|修改时间
**请求样例:**
```
{
"siteId":2083,
"tid":"mdlqmh",
"tcode":"68vtfy",
"tname":"f9gi2k",
"matterName":"gvxx2z",
"englishName":"s5mwmj",
"matterNo":"6xj19v",
"matterFullName":"b69j7y",
"deptId":6209,
"deptName":"po9xik",
"total":7382,
"sort":2926,
"isRecommend":0,
"source":0
}
```
**响应参数:**
参数名称 |参数类型|描述
:---|:---|:------
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
&emsp;id|Long|保存后主键id
&emsp;entity|object|保存更新实体
&emsp;&emsp;id|Long|主键,自增长
&emsp;&emsp;siteId|Long|站点ID
&emsp;&emsp;tid|String|从政务系统来的事项id
&emsp;&emsp;tcode|String|从政务系统来的事项code
&emsp;&emsp;tname|String|从政务系统来的事项name
&emsp;&emsp;matterName|String|事项名称
&emsp;&emsp;englishName|String|英语事项名
&emsp;&emsp;matterNo|String|事项编号
&emsp;&emsp;matterFullName|String|事项全称
&emsp;&emsp;deptId|Long|部门ID
&emsp;&emsp;deptName|String|部门名称
&emsp;&emsp;total|Integer|填单次数
&emsp;&emsp;sort|Integer|排序
&emsp;&emsp;isRecommend|Integer|是否推荐(0.未推荐,1.推荐)
&emsp;&emsp;source|Integer|事项来源(0.手动添加,1.站点事项)
&emsp;&emsp;createTime|Date|创建时间
&emsp;&emsp;createUserId|Long|创建用户
&emsp;&emsp;updateTime|Date|修改时间
**响应消息样例:**
```
{
"msg":"新增模块成功",
"code":1,
"data":{}
}
}
```
### 删除事项
**请求URL:** matter/delete
**请求方式:** GET
**内容类型:** application/json;charset=utf-8
**简要描述:** 删除事项申请材料
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:------
id|String|是|数组
**请求样例:**
```
http://localhost:8080/matter/delete?id=1&id=2'
```
**响应参数:**
参数名称 |参数类型|备注|其它
---|---|---|---
code|Integer|结果码(-1.失败,1.成功)|-
msg|String|消息|-
**响应消息样例:**
```
{
"code":1,
"msg":"成功"
}
```
### 基础事项转为事项
**请求URL:** matter/createMatter
**请求方式:** GET
**内容类型:** application/json;charset=utf-8
**简要描述:** 基础事项转为事项
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:------
ids|String|是|数组
**请求样例:**
```
http://localhost:8080/matter/createMatter?ids=1&id=2'
```
**响应参数:**
参数名称 |参数类型|备注|其它
---|---|---|---
code|Integer|结果码(-1.失败,1.成功)|-
msg|String|消息|-
**响应消息样例:**
```
{
"code":1,
"msg":"成功"
}
```
### 推荐或取消推荐事项
**请求URL:** matter/recommend
**请求方式:** GET
**内容类型:** application/json;charset=utf-8
**简要描述:** 推荐或取消推荐事项
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:------
id|String|是|数组
**请求样例:**
```
http://localhost:8080/matter/recommend?id=1&id=2'
```
**响应参数:**
参数名称 |参数类型|备注|其它
---|---|---|---
code|Integer|结果码(-1.失败,1.成功)|-
msg|String|消息|-
**响应消息样例:**
```
{
"code":1,
"msg":"成功"
}
```
## 事项申请材料
### 查询事项申请材料列表
**请求URL:** matter/datum/list
**请求方式:** POST
**内容类型:** application/json;charset=utf-8
**简要描述:** 查询事项申请材料
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:------
page|Integer|否|当前页
size|Integer|否|每页条数,值为-1,查询所有记录
**请求样例:**
```
{
"page":1,
"size":10
}
```
**响应参数:**
参数名称|参数类型|描述
:---|:---|:------
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
&emsp;per_page|Integer|每页条数
&emsp;total|Integer|总条数
&emsp;last_page|Integer|总页数
&emsp;current_page|Integer|当前页
&emsp;data|array|结果集列表|数组
&emsp;&emsp;id|Long|主键,自增长
&emsp;&emsp;matterId|Long|事项matter id
&emsp;&emsp;deptId|Long|部门ID
&emsp;&emsp;materialName|String|材料名
&emsp;&emsp;materiaFullName|String|材料全名
&emsp;&emsp;source|Integer|事项来源(0.政务网,1.自定义)
&emsp;&emsp;isRecommend|Integer|是否推荐(0.未推荐,1.推荐)
&emsp;&emsp;total|Integer|填单次数
&emsp;&emsp;sort|Integer|排序
&emsp;&emsp;fileName|String|填单的附件名称
&emsp;&emsp;fileUrl|String|填单的附件下载地址
&emsp;&emsp;sampleName|String|样表名称
&emsp;&emsp;samplePath|String|样表地址
&emsp;&emsp;templateName|String|模板名称
&emsp;&emsp;templatePath|String|模板地址
&emsp;&emsp;preViewPath|String|样表预览地址
&emsp;&emsp;formContent|String|表单内容
&emsp;&emsp;createTime|Date|创建时间
&emsp;&emsp;createUserId|Long|创建用户
&emsp;&emsp;updateTime|Date|修改时间
&emsp;&emsp;matterName|String|事项名称
&emsp;&emsp;matterNo|String|事项编号
&emsp;&emsp;deptName|String|部门名称
dict|object|字典对象
&emsp;source|object|字典属性对象,详见附录
&emsp;isRecommend|object|字典属性对象,详见附录
**响应消息样例:**
```
{
"code":1,
"data":{
}
}
```
### 查看事项申请材料
**请求URL:** matter/datum/info
**请求方式:** GET
**内容类型:** application/json;charset=utf-8
**简要描述:** 查看事项申请材料,返回实例详细信息
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:------
id|Long|是|ID
**请求样例:**
```
http://localhost/matter/datum/info?id=549
```
**响应参数:**
参数名称 |参数类型|描述
:---|:---|:-------
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
&emsp;id|Long|主键,自增长
&emsp;matterId|Long|事项matter id
&emsp;&emsp;deptId|Long|部门ID
&emsp;materialName|String|材料名
&emsp;materiaFullName|String|材料全名
&emsp;source|Integer|事项来源(0.政务网,1.自定义)
&emsp;isRecommend|Integer|是否推荐(0.未推荐,1.推荐)
&emsp;total|Integer|填单次数
&emsp;sort|Integer|排序
&emsp;fileName|String|填单的附件名称
&emsp;fileUrl|String|填单的附件下载地址
&emsp;sampleName|String|样表名称
&emsp;samplePath|String|样表地址
&emsp;templateName|String|模板名称
&emsp;templatePath|String|模板地址
&emsp;preViewPath|String|样表预览地址
&emsp;formContent|String|表单内容
&emsp;createTime|Date|创建时间
&emsp;createUserId|Long|创建用户
&emsp;updateTime|Date|修改时间
dict|object|字典对象
&emsp;source|object|字典属性对象,详见附录
&emsp;isRecommend|object|字典属性对象,详见附录
**响应消息样例:**
```
{
"code": 1,
"data": {
"id":3941,
"matterId":8603,
"deptId":2379,
"materialName":"mwwyan",
"materiaFullName":"g51dog",
"source":43,
"isRecommend":8311,
"total":6635,
"sort":8080,
"fileName":"rcdovy",
"fileUrl":"r6miw5",
"sampleName":"i9p5ee",
"samplePath":"9j0f51",
"templateName":"91wrpa",
"templatePath":"rigql8",
"preViewPath":"4tcavq",
"formContent":"xxfdms",
"createTime":"2022-10-12",
"createUserId":5259,
"updateTime":"2022-10-12"
}
}
```
### 保存更新事项申请材料
**请求URL:** matter/datum/save
**请求方式:** POST
**内容类型:** application/json;charset=utf-8
**简要描述:** 保存或更新事项申请材料:id为空时为新增保存,否则为更新提交
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:-------
id|Long|否|主键,自增长
matterId|Long|是|事项matter id
deptId|Long|是|部门ID
materialName|String|是|材料名
materiaFullName|String|是|材料全名
createTime|Date|否|创建时间
createUserId|Long|否|创建用户
updateTime|Date|否|修改时间
**请求样例:**
```
{
"matterId":6301,
"deptId":7603,
"materialName":"b1nh2d",
"materiaFullName":"y633kd",
"source":4404,
"isRecommend":9558,
"total":2065,
"sort":3507,
"fileName":"aboi59",
"fileUrl":"c7rkqn",
"sampleName":"99l5iw",
"samplePath":"9shk8q",
"templateName":"tqp8df",
"templatePath":"4mon4q",
"preViewPath":"ctr8ww",
"formContent":"sqjssh",
}
```
**响应参数:**
参数名称 |参数类型|描述
:---|:---|:------
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
&emsp;id|Long|保存后主键id
&emsp;entity|object|保存更新实体
&emsp;&emsp;id|Long|主键,自增长
&emsp;&emsp;matterId|Long|事项matter id
&emsp;&emsp;deptId|Long|部门ID
&emsp;&emsp;materialName|String|材料名
&emsp;&emsp;materiaFullName|String|材料全名
&emsp;&emsp;source|Integer|事项来源(0.政务网,1.自定义)
&emsp;&emsp;isRecommend|Integer|是否推荐(0.未推荐,1.推荐)
&emsp;&emsp;total|Integer|填单次数
&emsp;&emsp;sort|Integer|排序
&emsp;&emsp;fileName|String|填单的附件名称
&emsp;&emsp;fileUrl|String|填单的附件下载地址
&emsp;&emsp;sampleName|String|样表名称
&emsp;&emsp;samplePath|String|样表地址
&emsp;&emsp;templateName|String|模板名称
&emsp;&emsp;templatePath|String|模板地址
&emsp;&emsp;preViewPath|String|样表预览地址
&emsp;&emsp;formContent|String|表单内容
&emsp;&emsp;createTime|Date|创建时间
&emsp;&emsp;createUserId|Long|创建用户
&emsp;&emsp;updateTime|Date|修改时间
**响应消息样例:**
```
{
"msg":"新增模块成功",
"code":1,
"data":{}
}
}
```
### 删除事项申请材料
**请求URL:** matter/datum/delete
**请求方式:** GET
**内容类型:** application/json;charset=utf-8
**简要描述:** 删除事项申请材料
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:------
id|String|是|数组
**请求样例:**
```
http://localhost:8080/matter/datum/delete?id=1&id=2'
```
**响应参数:**
参数名称 |参数类型|备注|其它
---|---|---|---
code|Integer|结果码(-1.失败,1.成功)|-
msg|String|消息|-
**响应消息样例:**
```
{
"code":1,
"msg":"成功"
}
```
### 推荐或取消推荐事项申请材料
**请求URL:** matter/datum/recommend
**请求方式:** GET
**内容类型:** application/json;charset=utf-8
**简要描述:** 推荐或取消推荐事项申请材料
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:------
id|String|是|数组
**请求样例:**
```
http://localhost:8080/matter/datum/recommend?id=1&id=2'
```
**响应参数:**
参数名称 |参数类型|备注|其它
---|---|---|---
code|Integer|结果码(-1.失败,1.成功)|-
msg|String|消息|-
**响应消息样例:**
```
{
"code":1,
"msg":"成功"
}
```
## 首页接口
### 查询用户站点列表
**请求URL:** home/site/list
**请求方式:** POST
**内容类型:** application/json;charset=utf-8
**简要描述:** 查询事项申请材料
**响应参数:**
参数名称 |参数类型|备注|其它
---|---|---|---
code|Integer|结果码(-1.失败,1.成功)|-
msg|String|消息|-
data|object|数据对象|-
&emsp;data|array|结果集列表|数组
&emsp;&emsp;id|Long|序号,主键,自增长|-
&emsp;&emsp;siteName|String|站点名称|-
&emsp;&emsp;siteCode|String|站点编号|-
&emsp;&emsp;areaID|String|区域Id|-
&emsp;&emsp;areaCode|String|区域编号|-
&emsp;&emsp;areaName|String|区域名称|-
&emsp;&emsp;proCode|String|省编码|-
&emsp;&emsp;cityCode|String|市编码|-
&emsp;&emsp;districtCode|String|区编码|-
&emsp;&emsp;siteIp|String|站点服务器ip|-
&emsp;&emsp;sitePort|String|站点服务器端口|-
&emsp;&emsp;longitude|String|经度|-
&emsp;&emsp;latitude|String|纬度|-
&emsp;&emsp;siteTel|String|中心联系电话|-
&emsp;&emsp;detailAddress|String|中心详细地址|-
&emsp;&emsp;siteRemark|String|中心介绍|-
&emsp;&emsp;amWorkStartTime|Date|上午上班开始时间|-
&emsp;&emsp;amWorkEndTime|Date|上午上班结束时间|-
&emsp;&emsp;pmWorkStartTime|Date|下午上班开始时间|-
&emsp;&emsp;pmWorkEndTime|Date|下午上班结束时间|-
&emsp;&emsp;workday1|Integer|周一 (1.上班,0.不上)|-
&emsp;&emsp;workday2|Integer|周二 (1.上班,0.不上)|-
&emsp;&emsp;workday3|Integer|周三 (1.上班,0.不上)|-
&emsp;&emsp;workday4|Integer|周四 (1.上班,0.不上)|-
&emsp;&emsp;workday5|Integer|周五 (1.上班,0.不上)|-
&emsp;&emsp;workday6|Integer|周六 (1.上班,0.不上)|-
&emsp;&emsp;workday7|Integer|周日 (1.上班,0.不上)|-
&emsp;&emsp;level|Integer|楼层|-
&emsp;&emsp;building|Integer|楼栋|-
&emsp;&emsp;modelIds|String|部署模块,逗号分隔|-
&emsp;&emsp;logoPath|String|设备logo地址
&emsp;&emsp;logoFullPath|String|设备logo全地址
&emsp;&emsp;englishName|String|站点英文名称
&emsp;&emsp;leadingOfficial|String|负责人
&emsp;&emsp;leadingOfficialTelephone|String|联系电话
&emsp;&emsp;createTime|Date|创建时间|-
&emsp;&emsp;createUserId|Long|创建用户|-
&emsp;&emsp;updateTime|Date|修改时间|-
**响应消息样例:**
```
{
"code":1,
"data":{
}
}
```
### 查询部门列表
**请求URL:** home/dept/list
**请求方式:** POST
**内容类型:** application/json;charset=utf-8
**简要描述:** 查询部门
**请求参数:**
参数名称|类型|备注|必填|其它
---|---|---|---|---
siteId|Long|站点ID|是|-
**请求样例:**
```
{
"siteId":1,
}
```
**响应参数:**
参数名称 |参数类型|备注|其它
---|---|---|---
code|Integer|结果码(-1.失败,1.成功)|-
msg|String|消息|-
data|object|数据对象|-
&emsp;data|array|结果集列表|数组
&emsp;&emsp;id|Long|序号,主键,自增长|-
&emsp;&emsp;tid|String|从政务系统来的部门id|-
&emsp;&emsp;tname|String|从政务系统来的部门name|-
&emsp;&emsp;name|String|部门名称|-
&emsp;&emsp;simpleName|String|从政务系统来的别名|-
&emsp;&emsp;siteId|Long|站点ID|-
&emsp;&emsp;deptAbb|String|部门简称|-
&emsp;&emsp;deptTelphone|String|部门电话|-
&emsp;&emsp;deptNumber|String|部门编号|-
&emsp;&emsp;isAutotable|Integer|填单机展示 (0.否,1.是) |-
&emsp;&emsp;isOrder|Integer|预约展示 (0.否,1.是) |-
&emsp;&emsp;isBkb|Integer|背靠背展示 (0.否,1.是) |-
&emsp;&emsp;isWorkGuide|Integer|办事指南展示 (0.否,1.是) |-
&emsp;&emsp;usValid|Integer|是否使用 (0.否,1.是) |-
&emsp;&emsp;isSecphone|Integer|部门电话是否展示 (0.否,1.是) |-
&emsp;&emsp;isEnglish|Integer|是否展示英文 (0.否,1.是) |-
&emsp;&emsp;sort|Integer|排序|-
&emsp;&emsp;createTime|Date|创建时间|-
&emsp;&emsp;createUserId|Long|创建用户|-
&emsp;&emsp;updateTime|Date|修改时间|-
dict|object|字典对象|-
&emsp;isAutotable|object|字典属性对象,详见附录|-
&emsp;isOrder|object|字典属性对象,详见附录|-
&emsp;isBkb|object|字典属性对象,详见附录|-
&emsp;isWorkGuide|object|字典属性对象,详见附录|-
&emsp;usValid|object|字典属性对象,详见附录|-
&emsp;isSecphone|object|字典属性对象,详见附录|-
&emsp;isEnglish|object|字典属性对象,详见附录|-
**响应消息样例:**
```
{
"code":1,
"data":{
"data":[]
}
}
```
### 查询设备列表
**请求URL:** home/device/list
**请求URL:** device/list
**请求方式:** POST
**内容类型:** application/json;charset=utf-8
**简要描述:** 查询部门
**简要描述:** 查询设备
**请求参数:**
参数名称|类型|备注|必填|其它
---|---|---|---|---
siteId|Long|站点ID|是|-
参数名称|类型|必填|描述
:---|:---|:---|:------
page|Integer|否|当前页
size|Integer|否|每页条数,值为-1,查询所有记录
deviceId|Long|否|设备id
deviceName|String|否|设备名称,字段前后添加%%模糊查询
deviceCode|String|否|设备编码,字段前后添加%%模糊查询
deviceSrc|Integer|否|设备来源(0.子设备,1.网关设备,2.直连设备)
deviceStatus|Integer|否|设备状态 (0.未激活,1.离线,2.在线)
**请求样例:**
```
{
"siteId":1,
"deviceId":7528,
"deviceName":"n5vff2",
"deviceCode":"gbj6lp",
"deviceSrc":7385,
"deviceStatus":5814,
"page":1,
"size":10
}
```
......@@ -1740,298 +256,37 @@ siteId|Long|站点ID|是|-
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
&emsp;per_page|Integer|每页条数
&emsp;total|Integer|总条数
&emsp;last_page|Integer|总页数
&emsp;current_page|Integer|当前页
&emsp;data|array|结果集列表|数组
&emsp;&emsp;id|Long|主键ID,主键,自增长
&emsp;&emsp;deviceId|Long|设备id
&emsp;&emsp;deviceName|String|设备名称
&emsp;&emsp;deviceCode|String|设备编码,SN码等,默认为MAC地址
&emsp;&emsp;deviceCode|String|设备编码
&emsp;&emsp;deviceMac|String|设备的MAC地址
&emsp;&emsp;siteId|Long|站点Id,来源基础服务平台
&emsp;&emsp;siteId|Long|站点Id
&emsp;&emsp;siteCode|String|站点编号,来源基础服务平台
&emsp;&emsp;siteName|String|站点名称
&emsp;&emsp;platformId|Long|平台系统Id
&emsp;&emsp;platformName|String|平台系统名称
&emsp;&emsp;productId|Long|产品Id
&emsp;&emsp;productCode|String|产品编码
&emsp;&emsp;productName|String|产品名称
&emsp;&emsp;skinId|Long|皮肤id
&emsp;&emsp;skinName|String|皮肤名称
&emsp;&emsp;homeUrl|String|首页地址
&emsp;&emsp;deviceFirmId|Long|设备生产厂商ID
&emsp;&emsp;deviceFirmname|String|设备生产厂商名称
&emsp;&emsp;deviceSrc|Integer|设备来源(0.子设备,1.网关设备,2.直连设备)
&emsp;&emsp;deviceDataSourceWay|Integer|数据获取方式(0.主动上报,1.被动拉取)
&emsp;&emsp;lon|String|经度
&emsp;&emsp;lati|String|经度
&emsp;&emsp;deviceInBuilding|Integer|所属楼栋
&emsp;&emsp;deviceInFloor|Integer|所属楼层
&emsp;&emsp;defectsLiabilityPeriod|Date|保修期至
&emsp;&emsp;lati|String|纬度
&emsp;&emsp;leadingOfficial|String|负责人
&emsp;&emsp;leadingOfficialTelephone|String|联系电话
&emsp;&emsp;isReceiveMess|Integer|是否接收异常短(0.否,1.是)
&emsp;&emsp;devicePhotoPath|String|设备图片
&emsp;&emsp;ip|String|设备访问ip
&emsp;&emsp;centernum|String|中心设备编码
&emsp;&emsp;port|String|端口
&emsp;&emsp;deviceTopic|String|设备topic信息
&emsp;&emsp;deviceStatus|Integer|设备状态 (0.未激活,1.离线,2.在线)
&emsp;&emsp;enabled|Integer|启用状态 (0.停止,1.启用)
&emsp;&emsp;deviceAuthCode|String|设备授权码
&emsp;&emsp;deviceRemark|String|备注
&emsp;&emsp;onlineTime|Date|最近上线时间
&emsp;&emsp;offlineTime|Date|最近离线时间
&emsp;&emsp;deleted|Integer|是否删除(0.否,1.是)
&emsp;&emsp;source|Integer|设备来源(0.旧设备,1.新设备)
&emsp;&emsp;createUserId|Long|创建用户
&emsp;&emsp;createTime|Date|创建时间
&emsp;&emsp;updateUserId|Long|更新用户
&emsp;&emsp;updateTime|Date|更新时间
&emsp;&emsp;deviceSN|String|设备SN码
**响应消息样例:**
```
{
"code":1,
"data":{
"data":[]
}
}
```
### 合成表单与模板
**请求URL:** home/mergeFormToDocx
**请求方式:** POST
**内容类型:** application/json;charset=utf-8
**简要描述:** 合成表单与模板
**请求参数:**
参数名称|类型|备注|必填|其它
---|---|---|---|---
id|Long|事项申请材料id|是|-
formContent|String|表单内容|是|-
**请求样例:**
```
{
"id":1,
"formContent":"asdaksjda"
}
```
**响应参数:**
参数名称|参数类型|描述
:---|:---|:------
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
**响应消息样例:**
```
{
"code":1,
"data":{
"data":[]
}
}
```
### 首页数据展示
**请求URL:** home/info
**请求方式:** POST
**内容类型:** application/json;charset=utf-8
**简要描述:** 查看数据展示
**响应参数:**
参数名称 |参数类型|备注|其它
---|---|---|---
code|Integer|结果码(-1.失败,1.成功)|-
msg|String|消息|-
data|object|数据对象|-
&emsp;&emsp;hotWords|String|热门搜索词汇|-
&emsp;&emsp;datumList|Array|热门表单|-
&emsp;&emsp;matterList|Array|热门事项|-
&emsp;&emsp;datumCont|Integer|入驻表单数量|-
&emsp;&emsp;matterCont|Integer|入驻事项数量|-
&emsp;&emsp;localPrint|Integer|本地打印数量|-
&emsp;&emsp;onlineSubmit|Integer|在线提交数量|-
&emsp;&emsp;dayThrift|Integer|今日节约能量|-
&emsp;&emsp;totalThrift|Integer|累计节约能量|-
**响应消息样例:**
```
{
"data": {
"dayThrift": 66,
"hotWords": "高考成绩查询",
"localPrint": 20,
"datumList": [],
"datumCont": 2,
"totalThrift": 996,
"onlineSubmit": 20,
"matterList": [],
"matterCont": 19
},
"code": 1,
"msg": "获取首页数据成功",
"dict": null
}
```
## 基础设置
### 查看基础设置
**请求URL:** setting/info
**请求方式:** POST
**内容类型:** application/json;charset=utf-8
**简要描述:** 查看基础设置
**响应参数:**
参数名称 |参数类型|备注|其它
---|---|---|---
code|Integer|结果码(-1.失败,1.成功)|-
msg|String|消息|-
data|object|数据对象|-
&emsp;&emsp;hotWords|String|热门搜索词汇|-
&emsp;&emsp;printDisplay|Integer|空白打印材料展示数量|-
**响应消息样例:**
```
{
"code":1,
"data":{
}
}
```
### 保存基础设置
**请求URL:** setting/save
**请求方式:** POST
**内容类型:** application/json;charset=utf-8
**简要描述:** 保存基础设置
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:-------
hotWords|String|是|热门搜索词汇
printDisplay|Integer|是|空白打印材料展示数量
**请求样例:**
```
{
"hotWords": "测试,hahaha",
"printDisplay": 10
}
```
**响应参数:**
参数名称 |参数类型|描述
:---|:---|:------
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
**响应消息样例:**
```
{
"msg":"保存成功",
"code":1,
"data":{}
}
}
```
## 样报服务
### 查询样报服务列表
**请求URL:** sample/bill/list
**请求方式:** POST
**内容类型:** application/json;charset=utf-8
**简要描述:** 查询样报服务
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:------
page|Integer|否|当前页
size|Integer|否|每页条数,值为-1,查询所有记录
siteId|Long|否|站点ID
matterId|Long|否|事项id
matterName|String|否|事项名称,字段前后添加%%模糊查询
matterFullName|String|否|事项全称,字段前后添加%%模糊查询
materialName|String|否|材料名称,字段前后添加%%模糊查询
materialFullName|String|否|材料全称,字段前后添加%%模糊查询
deviceCode|String|否|设备编码,字段前后添加%%模糊查询
deviceName|String|否|设备名称,字段前后添加%%模糊查询
operTime|Date|否|操作时间
**请求样例:**
```
{
"siteId":2603,
"matterId":4997,
"matterName":"3bodua",
"matterFullName":"foyory",
"materialName":"tbz1ph",
"materialFullName":"qp2mol",
"deviceCode":"0xurzm",
"deviceName":"uff23r",
"operTime":"2023-02-23",
"page":1,
"size":10
}
```
**响应参数:**
参数名称|参数类型|描述
:---|:---|:------
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
&emsp;per_page|Integer|每页条数
&emsp;total|Integer|总条数
&emsp;last_page|Integer|总页数
&emsp;current_page|Integer|当前页
&emsp;data|array|结果集列表|数组
&emsp;&emsp;id|Long|主键,自增长
&emsp;&emsp;siteId|Long|站点ID
&emsp;&emsp;matterId|Long|事项id
&emsp;&emsp;matterName|String|事项名称
&emsp;&emsp;matterFullName|String|事项全称
&emsp;&emsp;materialName|String|材料名称
&emsp;&emsp;materialFullName|String|材料全称
&emsp;&emsp;deviceCode|String|设备编码
&emsp;&emsp;deviceName|String|设备名称
&emsp;&emsp;operTime|Date|操作时间
&emsp;&emsp;createTime|Date|创建时间
&emsp;&emsp;createUserId|Long|创建用户
&emsp;&emsp;updateTime|Date|修改时间
dict|object|字典对象
&emsp;deviceSrc|object|字典属性对象,详见附录
&emsp;deviceStatus|object|字典属性对象,详见附录
&emsp;source|object|字典属性对象,详见附录
**响应消息样例:**
```
......@@ -2042,15 +297,15 @@ dict|object|字典对象
}
```
### 查看样报服务
### 查看设备
**请求URL:** sample/bill/info
**请求URL:** device/info
**请求方式:** GET
**内容类型:** application/json;charset=utf-8
**简要描述:** 查看样报服务,返回实例详细信息
**简要描述:** 查看设备,返回实例详细信息
**请求参数:**
......@@ -2060,7 +315,7 @@ id|Long|是|ID
**请求样例:**
```
http://localhost/sample/bill/info?id=549
http://localhost/device/info?id=549
```
**响应参数:**
......@@ -2069,79 +324,116 @@ id|Long|是|ID
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
&emsp;id|Long|主键,自增长
&emsp;siteId|Long|站点ID
&emsp;matterId|Long|事项id
&emsp;matterName|String|事项名称
&emsp;matterFullName|String|事项全称
&emsp;materialName|String|材料名称
&emsp;materialFullName|String|材料全称
&emsp;deviceCode|String|设备编码
&emsp;id|Long|主键ID,主键,自增长
&emsp;deviceId|Long|设备id
&emsp;deviceName|String|设备名称
&emsp;operTime|Date|操作时间
&emsp;createTime|Date|创建时间
&emsp;deviceCode|String|设备编码
&emsp;deviceMac|String|设备的MAC地址
&emsp;siteId|Long|站点Id
&emsp;siteCode|String|站点编号,来源基础服务平台
&emsp;siteName|String|站点名称
&emsp;productCode|String|产品编码
&emsp;productName|String|产品名称
&emsp;deviceSrc|Integer|设备来源(0.子设备,1.网关设备,2.直连设备)
&emsp;lon|String|经度
&emsp;lati|String|纬度
&emsp;leadingOfficial|String|负责人
&emsp;leadingOfficialTelephone|String|联系电话
&emsp;deviceStatus|Integer|设备状态 (0.未激活,1.离线,2.在线)
&emsp;deviceRemark|String|备注
&emsp;source|Integer|设备来源(0.旧设备,1.新设备)
&emsp;createUserId|Long|创建用户
&emsp;updateTime|Date|修改时间
&emsp;createTime|Date|创建时间
&emsp;updateUserId|Long|更新用户
&emsp;updateTime|Date|更新时间
dict|object|字典对象
&emsp;deviceSrc|object|字典属性对象,详见附录
&emsp;deviceStatus|object|字典属性对象,详见附录
&emsp;source|object|字典属性对象,详见附录
**响应消息样例:**
```
{
"code": 1,
"data": {
"id":2816,
"siteId":644,
"matterId":9498,
"matterName":"56bz30",
"matterFullName":"9fyv44",
"materialName":"kiq3e4",
"materialFullName":"xbseak",
"deviceCode":"5plyd7",
"deviceName":"yt2qku",
"operTime":"2023-02-23",
"createTime":"2023-02-23",
"createUserId":644,
"updateTime":"2023-02-23"
"id":5762,
"deviceId":1697,
"deviceName":"xrwy7w",
"deviceCode":"5du8to",
"deviceMac":"bmyk3v",
"siteId":771,
"siteCode":"esle9q",
"siteName":"e78cd3",
"productCode":"a75736",
"productName":"1wi60t",
"deviceSrc":1071,
"lon":"pt1b5u",
"lati":"rc64he",
"leadingOfficial":"4kevrv",
"leadingOfficialTelephone":"qkyrbd",
"deviceStatus":8041,
"deviceRemark":"lae2sx",
"source":9349,
"createUserId":473,
"createTime":"2023-02-25",
"updateUserId":178,
"updateTime":"2023-02-25"
}
}
```
### 保存更新样报服务
### 保存更新设备
**请求URL:** sample/bill/save
**请求URL:** device/save
**请求方式:** POST
**内容类型:** application/json;charset=utf-8
**简要描述:** 保存或更新样报服务:id为空时为新增保存,否则为更新提交
**简要描述:** 保存或更新设备:id为空时为新增保存,否则为更新提交
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:-------
siteId|Long|否|站点ID
matterId|Long|否|事项id
matterName|String|否|事项名称
matterFullName|String|否|事项全称
materialName|String|否|材料名称
materialFullName|String|否|材料全称
deviceId|Long|否|设备id
deviceName|String|是|设备名称
deviceCode|String|否|设备编码
deviceName|String|否|设备名称
operTime|Date|否|操作时间
deviceMac|String|否|设备的MAC地址
siteId|Long|否|站点Id
siteCode|String|否|站点编号,来源基础服务平台
siteName|String|否|站点名称
productCode|String|否|产品编码
productName|String|否|产品名称
deviceSrc|Integer|否|设备来源(0.子设备,1.网关设备,2.直连设备)
lon|String|否|经度
lati|String|否|纬度
leadingOfficial|String|否|负责人
leadingOfficialTelephone|String|否|联系电话
deviceStatus|Integer|否|设备状态 (0.未激活,1.离线,2.在线)
deviceRemark|String|否|备注
source|Integer|否|设备来源(0.旧设备,1.新设备)
**请求样例:**
```
{
"siteId":5244,
"matterId":970,
"matterName":"slqa7m",
"matterFullName":"99suck",
"materialName":"xbef19",
"materialFullName":"1blsf8",
"deviceCode":"6bmhk7",
"deviceName":"22ykzu",
"operTime":"2023-02-23",
"deviceId":9785,
"deviceName":"54ngge",
"deviceCode":"urdjfp",
"deviceMac":"8rqeaj",
"siteId":3385,
"siteCode":"a3ngxn",
"siteName":"l7knj6",
"productCode":"peg7kv",
"productName":"j8juq0",
"deviceSrc":3764,
"lon":"v7ytmx",
"lati":"l6evpt",
"leadingOfficial":"kcezz7",
"leadingOfficialTelephone":"wz314z",
"deviceStatus":1702,
"deviceRemark":"t33kvh",
"source":566,
}
```
......@@ -2154,19 +446,28 @@ msg|String|消息
data|object|数据对象
&emsp;id|Long|保存后主键id
&emsp;entity|object|保存更新实体
&emsp;&emsp;id|Long|主键,自增长
&emsp;&emsp;siteId|Long|站点ID
&emsp;&emsp;matterId|Long|事项id
&emsp;&emsp;matterName|String|事项名称
&emsp;&emsp;matterFullName|String|事项全称
&emsp;&emsp;materialName|String|材料名称
&emsp;&emsp;materialFullName|String|材料全称
&emsp;&emsp;deviceCode|String|设备编码
&emsp;&emsp;id|Long|主键ID,主键,自增长
&emsp;&emsp;deviceId|Long|设备id
&emsp;&emsp;deviceName|String|设备名称
&emsp;&emsp;operTime|Date|操作时间
&emsp;&emsp;createTime|Date|创建时间
&emsp;&emsp;deviceCode|String|设备编码
&emsp;&emsp;deviceMac|String|设备的MAC地址
&emsp;&emsp;siteId|Long|站点Id
&emsp;&emsp;siteCode|String|站点编号,来源基础服务平台
&emsp;&emsp;siteName|String|站点名称
&emsp;&emsp;productCode|String|产品编码
&emsp;&emsp;productName|String|产品名称
&emsp;&emsp;deviceSrc|Integer|设备来源(0.子设备,1.网关设备,2.直连设备)
&emsp;&emsp;lon|String|经度
&emsp;&emsp;lati|String|纬度
&emsp;&emsp;leadingOfficial|String|负责人
&emsp;&emsp;leadingOfficialTelephone|String|联系电话
&emsp;&emsp;deviceStatus|Integer|设备状态 (0.未激活,1.离线,2.在线)
&emsp;&emsp;deviceRemark|String|备注
&emsp;&emsp;source|Integer|设备来源(0.旧设备,1.新设备)
&emsp;&emsp;createUserId|Long|创建用户
&emsp;&emsp;updateTime|Date|修改时间
&emsp;&emsp;createTime|Date|创建时间
&emsp;&emsp;updateUserId|Long|更新用户
&emsp;&emsp;updateTime|Date|更新时间
**响应消息样例:**
```
......@@ -2179,15 +480,15 @@ data|object|数据对象
```
### 删除样报服务
### 删除设备
**请求URL:** sample/bill/delete
**请求URL:** device/delete
**请求方式:** GET
**内容类型:** application/json;charset=utf-8
**简要描述:** 删除样报服务
**简要描述:** 删除设备
**请求参数:**
......@@ -2197,7 +498,7 @@ id|String|是|数组
**请求样例:**
```
http://localhost:8080/sample/bill/delete?id=1&id=2'
http://localhost:8080/device/delete?id=1&id=2'
```
**响应参数:**
......@@ -2215,16 +516,20 @@ msg|String|消息|-
```
## 字典附录
## 字典附录
### source
### deviceSrc
字典参数key|字典参数值|其它
:---|:---|:---
0|子设备|-
1|网关设备|-
2|直连设备|-
### deviceStatus
字典参数key|字典参数值|其它
:---|:---|:---
0|政务网|-
1|自定义|-
### isRecommend
0|未激活|-
1|离线|-
2|在线|-
### source
字典参数key|字典参数值|其它
:---|:---|:---
0|未推荐|-
1|推荐|-
0|旧设备|-
1|新设备|-
......@@ -255,5 +255,35 @@ CREATE TABLE mortals_xhx_sample_bill(
,KEY `operTime` (`operTime`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='样报服务';
-- ----------------------------
-- 设备表
-- ----------------------------
DROP TABLE IF EXISTS `mortals_xhx_device`;
CREATE TABLE `mortals_xhx_device` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键ID,主键,自增长',
`deviceId` bigint(20) DEFAULT NULL COMMENT '设备id',
`deviceName` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '设备名称',
`deviceCode` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '设备编码',
`deviceMac` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '设备的MAC地址',
`siteId` bigint(20) DEFAULT NULL COMMENT '站点Id',
`siteCode` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '站点编号,来源基础服务平台',
`siteName` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '站点名称',
`productCode` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '产品编码',
`productName` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '产品名称',
`deviceSrc` tinyint(2) DEFAULT 2 COMMENT '设备来源(0.子设备,1.网关设备,2.直连设备)',
`lon` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '经度',
`lati` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '纬度',
`leadingOfficial` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '负责人',
`leadingOfficialTelephone` varchar(11) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '联系电话',
`deviceStatus` tinyint(2) DEFAULT NULL COMMENT '设备状态 (0.未激活,1.离线,2.在线)',
`deviceRemark` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '备注',
`source` tinyint(2) DEFAULT 1 COMMENT '设备来源(0.旧设备,1.新设备)',
`createUserId` bigint(20) NOT NULL COMMENT '创建用户',
`createTime` datetime NOT NULL COMMENT '创建时间',
`updateUserId` bigint(20) DEFAULT NULL COMMENT '更新用户',
`updateTime` datetime DEFAULT NULL COMMENT '更新时间',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='设备';
package com.mortals.xhx.common.code;
import java.util.LinkedHashMap;
import java.util.Map;
/**
* 设备来源(0.子设备,1.网关设备,2.直连设备)枚举类
*
* @author zxfei
*/
public enum DeviceSrcEnum {
子设备(0, "子设备"),
网关设备(1, "网关设备"),
直连设备(2, "直连设备");
private Integer value;
private String desc;
DeviceSrcEnum(Integer value, String desc) {
this.value = value;
this.desc = desc;
}
public Integer getValue() {
return this.value;
}
public String getDesc() {
return this.desc;
}
public static DeviceSrcEnum getByValue(Integer value) {
for (DeviceSrcEnum deviceSrcEnum : DeviceSrcEnum.values()) {
if (deviceSrcEnum.getValue() == value) {
return deviceSrcEnum;
}
}
return null;
}
/**
* 获取Map集合
*
* @param eItem 不包含项
* @return
*/
public static Map<String, String> getEnumMap(Integer... eItem) {
Map<String, String> resultMap = new LinkedHashMap<>();
for (DeviceSrcEnum item : DeviceSrcEnum.values()) {
try {
boolean hasE = false;
for (Integer e : eItem) {
if (item.getValue() == e) {
hasE = true;
break;
}
}
if (!hasE) {
resultMap.put(item.getValue() + "", item.getDesc());
}
} catch (Exception ex) {
}
}
return resultMap;
}
}
\ No newline at end of file
package com.mortals.xhx.common.code;
import java.util.LinkedHashMap;
import java.util.Map;
/**
* 设备状态 (0.未激活,1.离线,2.在线)枚举类
*
* @author zxfei
*/
public enum DeviceStatusEnum {
未激活(0, "未激活"),
离线(1, "离线"),
在线(2, "在线");
private Integer value;
private String desc;
DeviceStatusEnum(Integer value, String desc) {
this.value = value;
this.desc = desc;
}
public Integer getValue() {
return this.value;
}
public String getDesc() {
return this.desc;
}
public static DeviceStatusEnum getByValue(Integer value) {
for (DeviceStatusEnum deviceStatusEnum : DeviceStatusEnum.values()) {
if (deviceStatusEnum.getValue() == value) {
return deviceStatusEnum;
}
}
return null;
}
/**
* 获取Map集合
*
* @param eItem 不包含项
* @return
*/
public static Map<String, String> getEnumMap(Integer... eItem) {
Map<String, String> resultMap = new LinkedHashMap<>();
for (DeviceStatusEnum item : DeviceStatusEnum.values()) {
try {
boolean hasE = false;
for (Integer e : eItem) {
if (item.getValue() == e) {
hasE = true;
break;
}
}
if (!hasE) {
resultMap.put(item.getValue() + "", item.getDesc());
}
} catch (Exception ex) {
}
}
return resultMap;
}
}
\ No newline at end of file
......@@ -4,13 +4,13 @@ import java.util.LinkedHashMap;
import java.util.Map;
/**
* 事项来源 (0.政务网,1.自定义)枚举类
* 设备来源(0.旧设备,1.新设备)枚举类
*
* @author zxfei
*/
public enum SourceEnum {
政务网(0, "政务网"),
自定义(1, "自定义");
旧设备(0, "旧设备"),
新设备(1, "新设备");
private Integer value;
private String desc;
......
package com.mortals.xhx.daemon.task;
import com.alibaba.fastjson.JSON;
import com.fasterxml.jackson.annotation.JsonAlias;
import com.mortals.framework.common.Rest;
import com.mortals.framework.exception.AppException;
import com.mortals.framework.service.ITask;
import com.mortals.framework.service.ITaskExcuteService;
import com.mortals.xhx.common.code.YesNoEnum;
import com.mortals.xhx.common.pdu.RespData;
import com.mortals.xhx.common.pdu.device.DevicePdu;
import com.mortals.xhx.common.pdu.site.SiteMatterPdu;
import com.mortals.xhx.common.pdu.site.SitePdu;
import com.mortals.xhx.common.utils.BeanUtil;
import com.mortals.xhx.feign.device.IDeviceFeign;
import com.mortals.xhx.feign.site.ISiteFeign;
import com.mortals.xhx.feign.site.ISiteMatterFeign;
import com.mortals.xhx.module.device.model.DeviceEntity;
import com.mortals.xhx.module.device.model.DeviceQuery;
import com.mortals.xhx.module.device.service.DeviceService;
import com.mortals.xhx.module.sheet.model.SheetMatterEntity;
import com.mortals.xhx.module.sheet.model.SheetMatterQuery;
import com.mortals.xhx.module.sheet.service.SheetMatterService;
import lombok.extern.slf4j.Slf4j;
import org.checkerframework.checker.units.qual.A;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.ObjectUtils;
import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
/**
* 同步事项列表
*/
@Slf4j
@Service("SyncSiteMatterTask")
public class SyncSiteDeviceTaskImpl implements ITaskExcuteService {
@Autowired
private ISiteFeign siteFeign;
@Autowired
private IDeviceFeign deviceFeign;
@Autowired
private DeviceService deviceService;
@Override
public void excuteTask(ITask task) throws AppException {
log.info("开始同步设备列表!");
SitePdu sitePdu = new SitePdu();
sitePdu.setId(1L);
Rest<List<SitePdu>> siteRest = siteFeign.getFlatSitesBySiteId(sitePdu);
if (siteRest.getCode() == YesNoEnum.YES.getValue()) {
log.info("总数量:{}", siteRest.getData().size());
siteRest.getData().forEach(site -> {
DevicePdu devicePdu = new DevicePdu();
devicePdu.setProductCode("ybj");
devicePdu.setSize(-1);
Rest<RespData<List<DevicePdu>>> deviceRest = deviceFeign.list(devicePdu);
if (YesNoEnum.YES.getValue() == deviceRest.getCode()) {
List<DevicePdu> devicePduList = deviceRest.getData().getData();
if (!ObjectUtils.isEmpty(devicePduList)) {
List<DeviceEntity> newDeviceList = devicePduList.stream().map(newDevice -> {
DeviceEntity deviceEntity = new DeviceEntity();
deviceEntity.initAttrValue();
BeanUtils.copyProperties(newDevice, deviceEntity, BeanUtil.getNullPropertyNames(newDevice));
return deviceEntity;
}).collect(Collectors.toList());
List<DeviceEntity> oldDeviceList = deviceService.find(new DeviceQuery().siteId(site.getId()));
Map<String, DeviceEntity> oldDeviceMap = oldDeviceList.stream().collect(Collectors.toMap(x -> x.getDeviceCode(), y -> y, (o, n) -> n));
List<DeviceEntity> updateDeviceLsit = newDeviceList.stream().map(item -> {
if (oldDeviceMap.containsKey(item.getDeviceCode())) {
item.setId(oldDeviceMap.get(item.getDeviceCode()).getId());
item.setUpdateTime(new Date());
return item;
}
return null;
}).filter(f -> f != null).collect(Collectors.toList());
List<DeviceEntity> saveDeviceList = newDeviceList.stream().map(item -> {
if (!oldDeviceMap.containsKey(item.getDeviceCode())) {
item.setCreateUserId(1L);
item.setCreateUserName("系统管理员");
item.setCreateTime(new Date());
return item;
}
return null;
}).filter(f -> f != null).collect(Collectors.toList());
if (!ObjectUtils.isEmpty(updateDeviceLsit)) {
log.info("设备更新,size:{}", updateDeviceLsit.size());
deviceService.update(updateDeviceLsit);
}
if (!ObjectUtils.isEmpty(saveDeviceList)) {
log.info("设备新增,size:{}", saveDeviceList.size());
deviceService.save(saveDeviceList);
}
}
} else {
log.info("设备列表查询异常,{}", JSON.toJSONString(deviceRest));
}
});
} else {
log.info("站点列表查询异常,{}", JSON.toJSONString(siteRest));
}
}
@Override
public void stopTask(ITask task) throws AppException {
}
}
......@@ -2,14 +2,15 @@ package com.mortals.xhx.module.device.dao;
import com.mortals.framework.dao.ICRUDDao;
import com.mortals.xhx.module.device.model.DeviceEntity;
import java.util.List;
/**
* 设备Dao
* 设备 DAO接口
*
* @author zxfei
* @date 2022-06-27
* @date 2023-02-25
*/
public interface DeviceDao extends ICRUDDao<DeviceEntity,Long>{
......
package com.mortals.xhx.module.device.dao.ibatis;
import com.mortals.framework.dao.ibatis.BaseCRUDDaoMybatis;
import org.springframework.stereotype.Repository;
import com.mortals.xhx.module.device.dao.DeviceDao;
import com.mortals.xhx.module.device.model.DeviceEntity;
import org.springframework.stereotype.Repository;
import java.util.Date;
import com.mortals.framework.dao.ibatis.BaseCRUDDaoMybatis;
import java.util.List;
/**
* 设备DaoImpl DAO接口
*
* @author zxfei
* @date 2022-06-27
* @date 2023-02-25
*/
@Repository("deviceDao")
public class DeviceDaoImpl extends BaseCRUDDaoMybatis<DeviceEntity,Long> implements DeviceDao {
......
package com.mortals.xhx.module.device.model;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import java.util.List;
import java.util.ArrayList;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.mortals.framework.annotation.Excel;
import com.mortals.xhx.base.framework.CustomJsonDateDeserializer;
import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.device.model.vo.DeviceVo;
import java.util.Date;
/**
* 设备实体对象
*
* @author zxfei
* @date 2022-07-11
*/
* 设备实体对象
*
* @author zxfei
* @date 2023-02-25
*/
public class DeviceEntity extends DeviceVo {
private static final long serialVersionUID = 1L;
/**
* 设备名称
* 设备id
*/
@Excel(name = "设备名称")
private String deviceName;
private Long deviceId;
/**
* 设备SN码
* 设备名称
*/
@Excel(name = "设备SN码")
private String deviceSN;
private String deviceName;
/**
* 设备编码,默认为MAC地址
* 设备编码
*/
@Excel(name = "设备编码")
private String deviceCode;
/**
* 设备的MAC地址
*/
@Excel(name = "Mac地址",type = Excel.Type.EXPORT)
private String deviceMac;
/**
* 站点Id,来源基础服务平台
* 站点Id
*/
private Long siteId;
/**
......@@ -51,58 +45,25 @@ public class DeviceEntity extends DeviceVo {
*/
private String siteName;
/**
* 平台系统Id
* 产品编码
*/
private Long platformId;
/**
* 平台系统名称
*/
private String platformName;
/**
* 产品Id
*/
private Long productId;
private String productCode;
/**
* 产品名称
*/
private String productName;
/**
* 设备生产厂商ID
*/
private Long deviceFirmId;
/**
* 设备生产厂商名称
*/
private String deviceFirmname;
/**
* 设备来源(0.子设备,1.网关设备,2.直连设备)
*/
private Integer deviceSrc;
/**
* 数据获取方式(0.主动上报,1.被动拉取)
*/
private Integer deviceDataSourceWay;
/**
* 经度
*/
private String lon;
/**
* 经
* 纬
*/
private String lati;
/**
* 所属楼栋
*/
private Integer deviceInBuilding;
/**
* 所属楼层
*/
private Integer deviceInFloor;
/**
* 保修期至
*/
@JsonDeserialize(using = CustomJsonDateDeserializer.class)
private Date defectsLiabilityPeriod;
/**
* 负责人
*/
......@@ -111,85 +72,36 @@ public class DeviceEntity extends DeviceVo {
* 联系电话
*/
private String leadingOfficialTelephone;
/**
* 是否接收异常短(0.否,1.是)
*/
private Integer isReceiveMess;
/**
* 设备图片
*/
@Excel(name = "设备图片",height = 90, type = Excel.Type.EXPORT, cellType = Excel.ColumnType.IMAGE)
private String devicePhotoPath;
/**
* 设备访问ip
*/
private String ip;
/**
* 中心设备编码
*/
private String centernum;
/**
* 端口
*/
private String port;
/**
* 设备topic信息
*/
private String deviceTopic;
/**
* 设备状态 (0.未激活,1.离线,2.在线)
*/
private Integer deviceStatus;
/**
* 启用状态 (0.停止,1.启用)
*/
private Integer enabled;
/**
* 设备授权码
*/
private String deviceAuthCode;
/**
* 备注
*/
private String deviceRemark;
/**
* 最近上线时间
*/
private Date onlineTime;
/**
* 最近离线时间
*/
private Date offlineTime;
/**
* 是否删除(0.否,1.是)
*/
private Integer deleted;
/**
* 设备来源(0.旧设备,1.新设备)
*/
private Integer source;
public DeviceEntity(){}
/**
* 皮肤id
*/
private Long skinId;
/**
* 皮肤名称
*/
private String skinName;
/**
* 首页地址
* 获取 设备id
* @return Long
*/
private String homeUrl;
public Long getDeviceId(){
return deviceId;
}
/**
* 设备版本
* 设置 设备id
* @param deviceId
*/
private String deviceVersion;
public DeviceEntity(){}
public void setDeviceId(Long deviceId){
this.deviceId = deviceId;
}
/**
* 获取 设备名称
* @return String
......@@ -205,14 +117,14 @@ public class DeviceEntity extends DeviceVo {
this.deviceName = deviceName;
}
/**
* 获取 设备编码,SN码等,默认为MAC地址
* 获取 设备编码
* @return String
*/
public String getDeviceCode(){
return deviceCode;
}
/**
* 设置 设备编码,SN码等,默认为MAC地址
* 设置 设备编码
* @param deviceCode
*/
public void setDeviceCode(String deviceCode){
......@@ -233,14 +145,14 @@ public class DeviceEntity extends DeviceVo {
this.deviceMac = deviceMac;
}
/**
* 获取 站点Id,来源基础服务平台
* 获取 站点Id
* @return Long
*/
public Long getSiteId(){
return siteId;
}
/**
* 设置 站点Id,来源基础服务平台
* 设置 站点Id
* @param siteId
*/
public void setSiteId(Long siteId){
......@@ -275,46 +187,18 @@ public class DeviceEntity extends DeviceVo {
this.siteName = siteName;
}
/**
* 获取 平台系统Id
* @return Long
*/
public Long getPlatformId(){
return platformId;
}
/**
* 设置 平台系统Id
* @param platformId
*/
public void setPlatformId(Long platformId){
this.platformId = platformId;
}
/**
* 获取 平台系统名称
* 获取 产品编码
* @return String
*/
public String getPlatformName(){
return platformName;
}
/**
* 设置 平台系统名称
* @param platformName
*/
public void setPlatformName(String platformName){
this.platformName = platformName;
}
/**
* 获取 产品Id
* @return Long
*/
public Long getProductId(){
return productId;
public String getProductCode(){
return productCode;
}
/**
* 设置 产品Id
* @param productId
* 设置 产品编码
* @param productCode
*/
public void setProductId(Long productId){
this.productId = productId;
public void setProductCode(String productCode){
this.productCode = productCode;
}
/**
* 获取 产品名称
......@@ -330,34 +214,6 @@ public class DeviceEntity extends DeviceVo {
public void setProductName(String productName){
this.productName = productName;
}
/**
* 获取 设备生产厂商ID
* @return Long
*/
public Long getDeviceFirmId(){
return deviceFirmId;
}
/**
* 设置 设备生产厂商ID
* @param deviceFirmId
*/
public void setDeviceFirmId(Long deviceFirmId){
this.deviceFirmId = deviceFirmId;
}
/**
* 获取 设备生产厂商名称
* @return String
*/
public String getDeviceFirmname(){
return deviceFirmname;
}
/**
* 设置 设备生产厂商名称
* @param deviceFirmname
*/
public void setDeviceFirmname(String deviceFirmname){
this.deviceFirmname = deviceFirmname;
}
/**
* 获取 设备来源(0.子设备,1.网关设备,2.直连设备)
* @return Integer
......@@ -372,20 +228,6 @@ public class DeviceEntity extends DeviceVo {
public void setDeviceSrc(Integer deviceSrc){
this.deviceSrc = deviceSrc;
}
/**
* 获取 数据获取方式(0.主动上报,1.被动拉取)
* @return Integer
*/
public Integer getDeviceDataSourceWay(){
return deviceDataSourceWay;
}
/**
* 设置 数据获取方式(0.主动上报,1.被动拉取)
* @param deviceDataSourceWay
*/
public void setDeviceDataSourceWay(Integer deviceDataSourceWay){
this.deviceDataSourceWay = deviceDataSourceWay;
}
/**
* 获取 经度
* @return String
......@@ -401,61 +243,19 @@ public class DeviceEntity extends DeviceVo {
this.lon = lon;
}
/**
* 获取 经
* 获取 纬
* @return String
*/
public String getLati(){
return lati;
}
/**
* 设置 经
* 设置 纬
* @param lati
*/
public void setLati(String lati){
this.lati = lati;
}
/**
* 获取 所属楼栋
* @return Integer
*/
public Integer getDeviceInBuilding(){
return deviceInBuilding;
}
/**
* 设置 所属楼栋
* @param deviceInBuilding
*/
public void setDeviceInBuilding(Integer deviceInBuilding){
this.deviceInBuilding = deviceInBuilding;
}
/**
* 获取 所属楼层
* @return Integer
*/
public Integer getDeviceInFloor(){
return deviceInFloor;
}
/**
* 设置 所属楼层
* @param deviceInFloor
*/
public void setDeviceInFloor(Integer deviceInFloor){
this.deviceInFloor = deviceInFloor;
}
/**
* 获取 保修期至
* @return Date
*/
public Date getDefectsLiabilityPeriod(){
return defectsLiabilityPeriod;
}
/**
* 设置 保修期至
* @param defectsLiabilityPeriod
*/
public void setDefectsLiabilityPeriod(Date defectsLiabilityPeriod){
this.defectsLiabilityPeriod = defectsLiabilityPeriod;
}
/**
* 获取 负责人
* @return String
......@@ -484,90 +284,6 @@ public class DeviceEntity extends DeviceVo {
public void setLeadingOfficialTelephone(String leadingOfficialTelephone){
this.leadingOfficialTelephone = leadingOfficialTelephone;
}
/**
* 获取 是否接收异常短(0.否,1.是)
* @return Integer
*/
public Integer getIsReceiveMess(){
return isReceiveMess;
}
/**
* 设置 是否接收异常短(0.否,1.是)
* @param isReceiveMess
*/
public void setIsReceiveMess(Integer isReceiveMess){
this.isReceiveMess = isReceiveMess;
}
/**
* 获取 设备图片
* @return String
*/
public String getDevicePhotoPath(){
return devicePhotoPath;
}
/**
* 设置 设备图片
* @param devicePhotoPath
*/
public void setDevicePhotoPath(String devicePhotoPath){
this.devicePhotoPath = devicePhotoPath;
}
/**
* 获取 设备访问ip
* @return String
*/
public String getIp(){
return ip;
}
/**
* 设置 设备访问ip
* @param ip
*/
public void setIp(String ip){
this.ip = ip;
}
/**
* 获取 中心设备编码
* @return String
*/
public String getCenternum(){
return centernum;
}
/**
* 设置 中心设备编码
* @param centernum
*/
public void setCenternum(String centernum){
this.centernum = centernum;
}
/**
* 获取 端口
* @return String
*/
public String getPort(){
return port;
}
/**
* 设置 端口
* @param port
*/
public void setPort(String port){
this.port = port;
}
/**
* 获取 设备topic信息
* @return String
*/
public String getDeviceTopic(){
return deviceTopic;
}
/**
* 设置 设备topic信息
* @param deviceTopic
*/
public void setDeviceTopic(String deviceTopic){
this.deviceTopic = deviceTopic;
}
/**
* 获取 设备状态 (0.未激活,1.离线,2.在线)
* @return Integer
......@@ -582,34 +298,6 @@ public class DeviceEntity extends DeviceVo {
public void setDeviceStatus(Integer deviceStatus){
this.deviceStatus = deviceStatus;
}
/**
* 获取 启用状态 (0.停止,1.启用)
* @return Integer
*/
public Integer getEnabled(){
return enabled;
}
/**
* 设置 启用状态 (0.停止,1.启用)
* @param enabled
*/
public void setEnabled(Integer enabled){
this.enabled = enabled;
}
/**
* 获取 设备授权码
* @return String
*/
public String getDeviceAuthCode(){
return deviceAuthCode;
}
/**
* 设置 设备授权码
* @param deviceAuthCode
*/
public void setDeviceAuthCode(String deviceAuthCode){
this.deviceAuthCode = deviceAuthCode;
}
/**
* 获取 备注
* @return String
......@@ -625,56 +313,14 @@ public class DeviceEntity extends DeviceVo {
this.deviceRemark = deviceRemark;
}
/**
* 获取 最近上线时间
* @return Date
*/
public Date getOnlineTime(){
return onlineTime;
}
/**
* 设置 最近上线时间
* @param onlineTime
*/
public void setOnlineTime(Date onlineTime){
this.onlineTime = onlineTime;
}
/**
* 获取 最近离线时间
* @return Date
*/
public Date getOfflineTime(){
return offlineTime;
}
/**
* 设置 最近离线时间
* @param offlineTime
*/
public void setOfflineTime(Date offlineTime){
this.offlineTime = offlineTime;
}
/**
* 获取 是否删除(0.否,1.是)
* @return Integer
*/
public Integer getDeleted(){
return deleted;
}
/**
* 设置 是否删除(0.否,1.是)
* @param deleted
*/
public void setDeleted(Integer deleted){
this.deleted = deleted;
}
/**
* 获取 收不来源(0.旧设备,1.新设备)
* 获取 设备来源(0.旧设备,1.新设备)
* @return Integer
*/
public Integer getSource(){
return source;
}
/**
* 设置 收不来源(0.旧设备,1.新设备)
* 设置 设备来源(0.旧设备,1.新设备)
* @param source
*/
public void setSource(Integer source){
......@@ -682,45 +328,7 @@ public class DeviceEntity extends DeviceVo {
}
public Long getSkinId() {
return skinId;
}
public void setSkinId(Long skinId) {
this.skinId = skinId;
}
public String getSkinName() {
return skinName;
}
public void setSkinName(String skinName) {
this.skinName = skinName;
}
public String getHomeUrl() {
return homeUrl;
}
public void setHomeUrl(String homeUrl) {
this.homeUrl = homeUrl;
}
public String getDeviceSN() {
return deviceSN;
}
public void setDeviceSN(String deviceSN) {
this.deviceSN = deviceSN;
}
public String getDeviceVersion() {
return deviceVersion;
}
public void setDeviceVersion(String deviceVersion) {
this.deviceVersion = deviceVersion;
}
@Override
public int hashCode() {
......@@ -740,124 +348,60 @@ public class DeviceEntity extends DeviceVo {
public String toString(){
StringBuilder sb = new StringBuilder("");
sb.append(",deviceId:").append(getDeviceId());
sb.append(",deviceName:").append(getDeviceName());
sb.append(",deviceCode:").append(getDeviceCode());
sb.append(",deviceMac:").append(getDeviceMac());
sb.append(",siteId:").append(getSiteId());
sb.append(",siteCode:").append(getSiteCode());
sb.append(",siteName:").append(getSiteName());
sb.append(",platformId:").append(getPlatformId());
sb.append(",platformName:").append(getPlatformName());
sb.append(",productId:").append(getProductId());
sb.append(",productCode:").append(getProductCode());
sb.append(",productName:").append(getProductName());
sb.append(",deviceFirmId:").append(getDeviceFirmId());
sb.append(",deviceFirmname:").append(getDeviceFirmname());
sb.append(",deviceSrc:").append(getDeviceSrc());
sb.append(",deviceDataSourceWay:").append(getDeviceDataSourceWay());
sb.append(",lon:").append(getLon());
sb.append(",lati:").append(getLati());
sb.append(",deviceInBuilding:").append(getDeviceInBuilding());
sb.append(",deviceInFloor:").append(getDeviceInFloor());
sb.append(",defectsLiabilityPeriod:").append(getDefectsLiabilityPeriod());
sb.append(",leadingOfficial:").append(getLeadingOfficial());
sb.append(",leadingOfficialTelephone:").append(getLeadingOfficialTelephone());
sb.append(",isReceiveMess:").append(getIsReceiveMess());
sb.append(",devicePhotoPath:").append(getDevicePhotoPath());
sb.append(",ip:").append(getIp());
sb.append(",centernum:").append(getCenternum());
sb.append(",port:").append(getPort());
sb.append(",deviceTopic:").append(getDeviceTopic());
sb.append(",deviceStatus:").append(getDeviceStatus());
sb.append(",enabled:").append(getEnabled());
sb.append(",deviceAuthCode:").append(getDeviceAuthCode());
sb.append(",deviceRemark:").append(getDeviceRemark());
sb.append(",onlineTime:").append(getOnlineTime());
sb.append(",offlineTime:").append(getOfflineTime());
sb.append(",deleted:").append(getDeleted());
sb.append(",source:").append(getSource());
return sb.toString();
}
public void initAttrValue(){
this.deviceName = "";
this.deviceId = null;
this.deviceCode = "";
this.deviceName = null;
this.deviceSN = "";
this.deviceCode = null;
this.deviceMac = "";
this.deviceMac = null;
this.siteId = null;
this.siteCode = "";
this.siteName = "";
this.platformId = null;
this.siteCode = null;
this.platformName = "";
this.siteName = null;
this.productId = null;
this.productCode = null;
this.productName = "";
this.deviceFirmId = null;
this.deviceFirmname = "";
this.productName = null;
this.deviceSrc = 2;
this.deviceDataSourceWay = 0;
this.lon = "";
this.lati = "";
this.deviceInBuilding = null;
this.deviceInFloor = null;
this.defectsLiabilityPeriod = null;
this.lon = null;
this.leadingOfficial = "";
this.lati = null;
this.leadingOfficialTelephone = "";
this.leadingOfficial = null;
this.isReceiveMess = 0;
this.leadingOfficialTelephone = null;
this.devicePhotoPath = "";
this.deviceStatus = null;
this.ip = "";
this.centernum = "";
this.port = "";
this.deviceTopic = "";
this.deviceStatus = 0;
this.enabled = 0;
this.deviceAuthCode = "";
this.deviceRemark = "";
this.onlineTime = null;
this.offlineTime = null;
this.deleted = 0;
this.deviceRemark = null;
this.source = 1;
this.skinId = null;
this.skinName = "";
this.deviceVersion = "";
this.homeUrl = "";
}
}
\ No newline at end of file
package com.mortals.xhx.module.device.model;
import java.util.List;
import com.mortals.xhx.module.device.model.DeviceEntity;
/**
* 设备查询对象
*
* @author zxfei
* @date 2022-08-22
*/
* 设备查询对象
*
* @author zxfei
* @date 2023-02-25
*/
public class DeviceQuery extends DeviceEntity {
/** 开始 主键ID,主键,自增长 */
private Long idStart;
......@@ -21,99 +21,74 @@ public class DeviceQuery extends DeviceEntity {
/** 主键ID,主键,自增长列表 */
private List <Long> idList;
/** 主键ID,主键,自增长排除列表 */
private List <Long> idNotList;
/** 开始 设备id */
private Long deviceIdStart;
/** 结束 设备id */
private Long deviceIdEnd;
/** 增加 设备id */
private Long deviceIdIncrement;
/** 设备id列表 */
private List <Long> deviceIdList;
/** 设备id排除列表 */
private List <Long> deviceIdNotList;
/** 设备名称 */
private List<String> deviceNameList;
/** 设备编码,SN码等,默认为MAC地址 */
/** 设备名称排除列表 */
private List <String> deviceNameNotList;
/** 设备编码 */
private List<String> deviceCodeList;
/** 设备SN码 */
private List<String> deviceSNList;
/** 设备编码排除列表 */
private List <String> deviceCodeNotList;
/** 设备的MAC地址 */
private List<String> deviceMacList;
/** 开始 站点Id,来源基础服务平台 */
/** 设备的MAC地址排除列表 */
private List <String> deviceMacNotList;
/** 开始 站点Id */
private Long siteIdStart;
/** 结束 站点Id,来源基础服务平台 */
/** 结束 站点Id */
private Long siteIdEnd;
/** 增加 站点Id,来源基础服务平台 */
/** 增加 站点Id */
private Long siteIdIncrement;
/** 站点Id,来源基础服务平台列表 */
/** 站点Id列表 */
private List <Long> siteIdList;
/** 站点Id排除列表 */
private List <Long> siteIdNotList;
/** 站点编号,来源基础服务平台 */
private List<String> siteCodeList;
/** 站点编号,来源基础服务平台排除列表 */
private List <String> siteCodeNotList;
/** 站点名称 */
private List<String> siteNameList;
/** 开始 平台系统Id */
private Long platformIdStart;
/** 结束 平台系统Id */
private Long platformIdEnd;
/** 增加 平台系统Id */
private Long platformIdIncrement;
/** 平台系统Id列表 */
private List <Long> platformIdList;
/** 平台系统名称 */
private List<String> platformNameList;
/** 开始 产品Id */
private Long productIdStart;
/** 结束 产品Id */
private Long productIdEnd;
/** 增加 产品Id */
private Long productIdIncrement;
/** 产品Id列表 */
private List <Long> productIdList;
/** 站点名称排除列表 */
private List <String> siteNameNotList;
/** 产品编码 */
private List<String> productCodeList;
/** 产品编码排除列表 */
private List <String> productCodeNotList;
/** 产品名称 */
private List<String> productNameList;
/** 开始 皮肤id */
private Long skinIdStart;
/** 结束 皮肤id */
private Long skinIdEnd;
/** 增加 皮肤id */
private Long skinIdIncrement;
/** 皮肤id列表 */
private List <Long> skinIdList;
/** 皮肤名称 */
private List<String> skinNameList;
/** 首页地址 */
private List<String> homeUrlList;
/** 开始 设备生产厂商ID */
private Long deviceFirmIdStart;
/** 结束 设备生产厂商ID */
private Long deviceFirmIdEnd;
/** 增加 设备生产厂商ID */
private Long deviceFirmIdIncrement;
/** 设备生产厂商ID列表 */
private List <Long> deviceFirmIdList;
/** 设备生产厂商名称 */
private List<String> deviceFirmnameList;
/** 产品名称排除列表 */
private List <String> productNameNotList;
/** 开始 设备来源(0.子设备,1.网关设备,2.直连设备) */
private Integer deviceSrcStart;
......@@ -126,87 +101,29 @@ public class DeviceQuery extends DeviceEntity {
/** 设备来源(0.子设备,1.网关设备,2.直连设备)列表 */
private List <Integer> deviceSrcList;
/** 开始 数据获取方式(0.主动上报,1.被动拉取) */
private Integer deviceDataSourceWayStart;
/** 结束 数据获取方式(0.主动上报,1.被动拉取) */
private Integer deviceDataSourceWayEnd;
/** 增加 数据获取方式(0.主动上报,1.被动拉取) */
private Integer deviceDataSourceWayIncrement;
/** 数据获取方式(0.主动上报,1.被动拉取)列表 */
private List <Integer> deviceDataSourceWayList;
/** 设备来源(0.子设备,1.网关设备,2.直连设备)排除列表 */
private List <Integer> deviceSrcNotList;
/** 经度 */
private List<String> lonList;
/** 经度 */
/** 经度排除列表 */
private List <String> lonNotList;
/** 纬度 */
private List<String> latiList;
/** 开始 所属楼栋 */
private Integer deviceInBuildingStart;
/** 结束 所属楼栋 */
private Integer deviceInBuildingEnd;
/** 增加 所属楼栋 */
private Integer deviceInBuildingIncrement;
/** 所属楼栋列表 */
private List <Integer> deviceInBuildingList;
/** 开始 所属楼层 */
private Integer deviceInFloorStart;
/** 结束 所属楼层 */
private Integer deviceInFloorEnd;
/** 增加 所属楼层 */
private Integer deviceInFloorIncrement;
/** 所属楼层列表 */
private List <Integer> deviceInFloorList;
/** 开始 保修期至 */
private String defectsLiabilityPeriodStart;
/** 结束 保修期至 */
private String defectsLiabilityPeriodEnd;
/** 纬度排除列表 */
private List <String> latiNotList;
/** 负责人 */
private List<String> leadingOfficialList;
/** 负责人排除列表 */
private List <String> leadingOfficialNotList;
/** 联系电话 */
private List<String> leadingOfficialTelephoneList;
/** 开始 是否接收异常短(0.否,1.是) */
private Integer isReceiveMessStart;
/** 结束 是否接收异常短(0.否,1.是) */
private Integer isReceiveMessEnd;
/** 增加 是否接收异常短(0.否,1.是) */
private Integer isReceiveMessIncrement;
/** 是否接收异常短(0.否,1.是)列表 */
private List <Integer> isReceiveMessList;
/** 设备图片 */
private List<String> devicePhotoPathList;
/** 设备访问ip */
private List<String> ipList;
/** 中心设备编码 */
private List<String> centernumList;
/** 端口 */
private List<String> portList;
/** 设备topic信息 */
private List<String> deviceTopicList;
/** 联系电话排除列表 */
private List <String> leadingOfficialTelephoneNotList;
/** 开始 设备状态 (0.未激活,1.离线,2.在线) */
private Integer deviceStatusStart;
......@@ -219,51 +136,14 @@ public class DeviceQuery extends DeviceEntity {
/** 设备状态 (0.未激活,1.离线,2.在线)列表 */
private List <Integer> deviceStatusList;
/** 开始 启用状态 (0.停止,1.启用) */
private Integer enabledStart;
/** 结束 启用状态 (0.停止,1.启用) */
private Integer enabledEnd;
/** 增加 启用状态 (0.停止,1.启用) */
private Integer enabledIncrement;
/** 启用状态 (0.停止,1.启用)列表 */
private List <Integer> enabledList;
/** 设备授权码 */
private List<String> deviceAuthCodeList;
/** 设备状态 (0.未激活,1.离线,2.在线)排除列表 */
private List <Integer> deviceStatusNotList;
/** 备注 */
private List<String> deviceRemarkList;
/** 开始 最近上线时间 */
private String onlineTimeStart;
/** 结束 最近上线时间 */
private String onlineTimeEnd;
/** 开始 最近离线时间 */
private String offlineTimeStart;
/** 结束 最近离线时间 */
private String offlineTimeEnd;
/** 开始 是否删除(0.否,1.是) */
private Integer deletedStart;
/** 结束 是否删除(0.否,1.是) */
private Integer deletedEnd;
/** 增加 是否删除(0.否,1.是) */
private Integer deletedIncrement;
/** 是否删除(0.否,1.是)列表 */
private List <Integer> deletedList;
/** 设备版本 */
private List<String> deviceVersionList;
/** 备注排除列表 */
private List <String> deviceRemarkNotList;
/** 开始 设备来源(0.旧设备,1.新设备) */
private Integer sourceStart;
......@@ -276,6 +156,9 @@ public class DeviceQuery extends DeviceEntity {
/** 设备来源(0.旧设备,1.新设备)列表 */
private List <Integer> sourceList;
/** 设备来源(0.旧设备,1.新设备)排除列表 */
private List <Integer> sourceNotList;
/** 开始 创建用户 */
private Long createUserIdStart;
......@@ -288,6 +171,9 @@ public class DeviceQuery extends DeviceEntity {
/** 创建用户列表 */
private List <Long> createUserIdList;
/** 创建用户排除列表 */
private List <Long> createUserIdNotList;
/** 开始 创建时间 */
private String createTimeStart;
......@@ -306,6 +192,9 @@ public class DeviceQuery extends DeviceEntity {
/** 更新用户列表 */
private List <Long> updateUserIdList;
/** 更新用户排除列表 */
private List <Long> updateUserIdNotList;
/** 开始 更新时间 */
private String updateTimeStart;
......@@ -384,6 +273,104 @@ public class DeviceQuery extends DeviceEntity {
this.idList = idList;
}
/**
* 获取 主键ID,主键,自增长
* @return idNotList
*/
public List<Long> getIdNotList(){
return this.idNotList;
}
/**
* 设置 主键ID,主键,自增长
* @param idNotList
*/
public void setIdNotList(List<Long> idNotList){
this.idNotList = idNotList;
}
/**
* 获取 开始 设备id
* @return deviceIdStart
*/
public Long getDeviceIdStart(){
return this.deviceIdStart;
}
/**
* 设置 开始 设备id
* @param deviceIdStart
*/
public void setDeviceIdStart(Long deviceIdStart){
this.deviceIdStart = deviceIdStart;
}
/**
* 获取 结束 设备id
* @return $deviceIdEnd
*/
public Long getDeviceIdEnd(){
return this.deviceIdEnd;
}
/**
* 设置 结束 设备id
* @param deviceIdEnd
*/
public void setDeviceIdEnd(Long deviceIdEnd){
this.deviceIdEnd = deviceIdEnd;
}
/**
* 获取 增加 设备id
* @return deviceIdIncrement
*/
public Long getDeviceIdIncrement(){
return this.deviceIdIncrement;
}
/**
* 设置 增加 设备id
* @param deviceIdIncrement
*/
public void setDeviceIdIncrement(Long deviceIdIncrement){
this.deviceIdIncrement = deviceIdIncrement;
}
/**
* 获取 设备id
* @return deviceIdList
*/
public List<Long> getDeviceIdList(){
return this.deviceIdList;
}
/**
* 设置 设备id
* @param deviceIdList
*/
public void setDeviceIdList(List<Long> deviceIdList){
this.deviceIdList = deviceIdList;
}
/**
* 获取 设备id
* @return deviceIdNotList
*/
public List<Long> getDeviceIdNotList(){
return this.deviceIdNotList;
}
/**
* 设置 设备id
* @param deviceIdNotList
*/
public void setDeviceIdNotList(List<Long> deviceIdNotList){
this.deviceIdNotList = deviceIdNotList;
}
/**
* 获取 设备名称
* @return deviceNameList
......@@ -399,8 +386,25 @@ public class DeviceQuery extends DeviceEntity {
public void setDeviceNameList(List<String> deviceNameList){
this.deviceNameList = deviceNameList;
}
/**
* 获取 设备名称
* @return deviceNameNotList
*/
public List<String> getDeviceNameNotList(){
return this.deviceNameNotList;
}
/**
* 设置 设备名称
* @param deviceNameNotList
*/
public void setDeviceNameNotList(List<String> deviceNameNotList){
this.deviceNameNotList = deviceNameNotList;
}
/**
* 获取 设备编码,SN码等,默认为MAC地址
* 获取 设备编码
* @return deviceCodeList
*/
public List<String> getDeviceCodeList(){
......@@ -408,27 +412,29 @@ public class DeviceQuery extends DeviceEntity {
}
/**
* 设置 设备编码,SN码等,默认为MAC地址
* 设置 设备编码
* @param deviceCodeList
*/
public void setDeviceCodeList(List<String> deviceCodeList){
this.deviceCodeList = deviceCodeList;
}
/**
* 获取 设备SN
* @return deviceSNList
* 获取 设备编
* @return deviceCodeNotList
*/
public List<String> getDeviceSNList(){
return this.deviceSNList;
public List<String> getDeviceCodeNotList(){
return this.deviceCodeNotList;
}
/**
* 设置 设备SN
* @param deviceSNList
* 设置 设备编
* @param deviceCodeNotList
*/
public void setDeviceSNList(List<String> deviceSNList){
this.deviceSNList = deviceSNList;
public void setDeviceCodeNotList(List<String> deviceCodeNotList){
this.deviceCodeNotList = deviceCodeNotList;
}
/**
* 获取 设备的MAC地址
* @return deviceMacList
......@@ -444,8 +450,25 @@ public class DeviceQuery extends DeviceEntity {
public void setDeviceMacList(List<String> deviceMacList){
this.deviceMacList = deviceMacList;
}
/**
* 获取 设备的MAC地址
* @return deviceMacNotList
*/
public List<String> getDeviceMacNotList(){
return this.deviceMacNotList;
}
/**
* 设置 设备的MAC地址
* @param deviceMacNotList
*/
public void setDeviceMacNotList(List<String> deviceMacNotList){
this.deviceMacNotList = deviceMacNotList;
}
/**
* 获取 开始 站点Id,来源基础服务平台
* 获取 开始 站点Id
* @return siteIdStart
*/
public Long getSiteIdStart(){
......@@ -453,7 +476,7 @@ public class DeviceQuery extends DeviceEntity {
}
/**
* 设置 开始 站点Id,来源基础服务平台
* 设置 开始 站点Id
* @param siteIdStart
*/
public void setSiteIdStart(Long siteIdStart){
......@@ -461,7 +484,7 @@ public class DeviceQuery extends DeviceEntity {
}
/**
* 获取 结束 站点Id,来源基础服务平台
* 获取 结束 站点Id
* @return $siteIdEnd
*/
public Long getSiteIdEnd(){
......@@ -469,7 +492,7 @@ public class DeviceQuery extends DeviceEntity {
}
/**
* 设置 结束 站点Id,来源基础服务平台
* 设置 结束 站点Id
* @param siteIdEnd
*/
public void setSiteIdEnd(Long siteIdEnd){
......@@ -477,7 +500,7 @@ public class DeviceQuery extends DeviceEntity {
}
/**
* 获取 增加 站点Id,来源基础服务平台
* 获取 增加 站点Id
* @return siteIdIncrement
*/
public Long getSiteIdIncrement(){
......@@ -485,7 +508,7 @@ public class DeviceQuery extends DeviceEntity {
}
/**
* 设置 增加 站点Id,来源基础服务平台
* 设置 增加 站点Id
* @param siteIdIncrement
*/
public void setSiteIdIncrement(Long siteIdIncrement){
......@@ -493,7 +516,7 @@ public class DeviceQuery extends DeviceEntity {
}
/**
* 获取 站点Id,来源基础服务平台
* 获取 站点Id
* @return siteIdList
*/
public List<Long> getSiteIdList(){
......@@ -501,13 +524,30 @@ public class DeviceQuery extends DeviceEntity {
}
/**
* 设置 站点Id,来源基础服务平台
* 设置 站点Id
* @param siteIdList
*/
public void setSiteIdList(List<Long> siteIdList){
this.siteIdList = siteIdList;
}
/**
* 获取 站点Id
* @return siteIdNotList
*/
public List<Long> getSiteIdNotList(){
return this.siteIdNotList;
}
/**
* 设置 站点Id
* @param siteIdNotList
*/
public void setSiteIdNotList(List<Long> siteIdNotList){
this.siteIdNotList = siteIdNotList;
}
/**
* 获取 站点编号,来源基础服务平台
* @return siteCodeList
......@@ -523,6 +563,23 @@ public class DeviceQuery extends DeviceEntity {
public void setSiteCodeList(List<String> siteCodeList){
this.siteCodeList = siteCodeList;
}
/**
* 获取 站点编号,来源基础服务平台
* @return siteCodeNotList
*/
public List<String> getSiteCodeNotList(){
return this.siteCodeNotList;
}
/**
* 设置 站点编号,来源基础服务平台
* @param siteCodeNotList
*/
public void setSiteCodeNotList(List<String> siteCodeNotList){
this.siteCodeNotList = siteCodeNotList;
}
/**
* 获取 站点名称
* @return siteNameList
......@@ -538,2254 +595,1138 @@ public class DeviceQuery extends DeviceEntity {
public void setSiteNameList(List<String> siteNameList){
this.siteNameList = siteNameList;
}
/**
* 获取 开始 平台系统Id
* @return platformIdStart
*/
public Long getPlatformIdStart(){
return this.platformIdStart;
}
/**
* 设置 开始 平台系统Id
* @param platformIdStart
* 获取 站点名称
* @return siteNameNotList
*/
public void setPlatformIdStart(Long platformIdStart){
this.platformIdStart = platformIdStart;
public List<String> getSiteNameNotList(){
return this.siteNameNotList;
}
/**
* 获取 结束 平台系统Id
* @return $platformIdEnd
* 设置 站点名称
* @param siteNameNotList
*/
public Long getPlatformIdEnd(){
return this.platformIdEnd;
public void setSiteNameNotList(List<String> siteNameNotList){
this.siteNameNotList = siteNameNotList;
}
/**
* 设置 结束 平台系统Id
* @param platformIdEnd
* 获取 产品编码
* @return productCodeList
*/
public void setPlatformIdEnd(Long platformIdEnd){
this.platformIdEnd = platformIdEnd;
public List<String> getProductCodeList(){
return this.productCodeList;
}
/**
* 获取 增加 平台系统Id
* @return platformIdIncrement
* 设置 产品编码
* @param productCodeList
*/
public Long getPlatformIdIncrement(){
return this.platformIdIncrement;
public void setProductCodeList(List<String> productCodeList){
this.productCodeList = productCodeList;
}
/**
* 设置 增加 平台系统Id
* @param platformIdIncrement
* 获取 产品编码
* @return productCodeNotList
*/
public void setPlatformIdIncrement(Long platformIdIncrement){
this.platformIdIncrement = platformIdIncrement;
public List<String> getProductCodeNotList(){
return this.productCodeNotList;
}
/**
* 获取 平台系统Id
* @return platformIdList
* 设置 产品编码
* @param productCodeNotList
*/
public List<Long> getPlatformIdList(){
return this.platformIdList;
public void setProductCodeNotList(List<String> productCodeNotList){
this.productCodeNotList = productCodeNotList;
}
/**
* 设置 平台系统Id
* @param platformIdList
* 获取 产品名称
* @return productNameList
*/
public void setPlatformIdList(List<Long> platformIdList){
this.platformIdList = platformIdList;
public List<String> getProductNameList(){
return this.productNameList;
}
/**
* 获取 平台系统名称
* @return platformNameList
* 设置 产品名称
* @param productNameList
*/
public List<String> getPlatformNameList(){
return this.platformNameList;
public void setProductNameList(List<String> productNameList){
this.productNameList = productNameList;
}
/**
* 设置 平台系统名称
* @param platformNameList
* 获取 产品名称
* @return productNameNotList
*/
public void setPlatformNameList(List<String> platformNameList){
this.platformNameList = platformNameList;
public List<String> getProductNameNotList(){
return this.productNameNotList;
}
/**
* 获取 开始 产品Id
* @return productIdStart
* 设置 产品名称
* @param productNameNotList
*/
public Long getProductIdStart(){
return this.productIdStart;
public void setProductNameNotList(List<String> productNameNotList){
this.productNameNotList = productNameNotList;
}
/**
* 设置 开始 产品Id
* @param productIdStart
* 获取 开始 设备来源(0.子设备,1.网关设备,2.直连设备)
* @return deviceSrcStart
*/
public void setProductIdStart(Long productIdStart){
this.productIdStart = productIdStart;
public Integer getDeviceSrcStart(){
return this.deviceSrcStart;
}
/**
* 获取 结束 产品Id
* @return $productIdEnd
* 设置 开始 设备来源(0.子设备,1.网关设备,2.直连设备)
* @param deviceSrcStart
*/
public Long getProductIdEnd(){
return this.productIdEnd;
public void setDeviceSrcStart(Integer deviceSrcStart){
this.deviceSrcStart = deviceSrcStart;
}
/**
* 设置 结束 产品Id
* @param productIdEnd
* 获取 结束 设备来源(0.子设备,1.网关设备,2.直连设备)
* @return $deviceSrcEnd
*/
public void setProductIdEnd(Long productIdEnd){
this.productIdEnd = productIdEnd;
public Integer getDeviceSrcEnd(){
return this.deviceSrcEnd;
}
/**
* 获取 增加 产品Id
* @return productIdIncrement
* 设置 结束 设备来源(0.子设备,1.网关设备,2.直连设备)
* @param deviceSrcEnd
*/
public Long getProductIdIncrement(){
return this.productIdIncrement;
public void setDeviceSrcEnd(Integer deviceSrcEnd){
this.deviceSrcEnd = deviceSrcEnd;
}
/**
* 设置 增加 产品Id
* @param productIdIncrement
* 获取 增加 设备来源(0.子设备,1.网关设备,2.直连设备)
* @return deviceSrcIncrement
*/
public void setProductIdIncrement(Long productIdIncrement){
this.productIdIncrement = productIdIncrement;
public Integer getDeviceSrcIncrement(){
return this.deviceSrcIncrement;
}
/**
* 获取 产品Id
* @return productIdList
* 设置 增加 设备来源(0.子设备,1.网关设备,2.直连设备)
* @param deviceSrcIncrement
*/
public List<Long> getProductIdList(){
return this.productIdList;
public void setDeviceSrcIncrement(Integer deviceSrcIncrement){
this.deviceSrcIncrement = deviceSrcIncrement;
}
/**
* 设置 产品Id
* @param productIdList
* 获取 设备来源(0.子设备,1.网关设备,2.直连设备)
* @return deviceSrcList
*/
public void setProductIdList(List<Long> productIdList){
this.productIdList = productIdList;
public List<Integer> getDeviceSrcList(){
return this.deviceSrcList;
}
/**
* 获取 产品名称
* @return productNameList
* 设置 设备来源(0.子设备,1.网关设备,2.直连设备)
* @param deviceSrcList
*/
public List<String> getProductNameList(){
return this.productNameList;
public void setDeviceSrcList(List<Integer> deviceSrcList){
this.deviceSrcList = deviceSrcList;
}
/**
* 设置 产品名称
* @param productNameList
* 获取 设备来源(0.子设备,1.网关设备,2.直连设备)
* @return deviceSrcNotList
*/
public void setProductNameList(List<String> productNameList){
this.productNameList = productNameList;
public List<Integer> getDeviceSrcNotList(){
return this.deviceSrcNotList;
}
/**
* 获取 开始 皮肤id
* @return skinIdStart
* 设置 设备来源(0.子设备,1.网关设备,2.直连设备)
* @param deviceSrcNotList
*/
public Long getSkinIdStart(){
return this.skinIdStart;
public void setDeviceSrcNotList(List<Integer> deviceSrcNotList){
this.deviceSrcNotList = deviceSrcNotList;
}
/**
* 设置 开始 皮肤id
* @param skinIdStart
* 获取 经度
* @return lonList
*/
public void setSkinIdStart(Long skinIdStart){
this.skinIdStart = skinIdStart;
public List<String> getLonList(){
return this.lonList;
}
/**
* 获取 结束 皮肤id
* @return $skinIdEnd
* 设置 经度
* @param lonList
*/
public Long getSkinIdEnd(){
return this.skinIdEnd;
public void setLonList(List<String> lonList){
this.lonList = lonList;
}
/**
* 设置 结束 皮肤id
* @param skinIdEnd
* 获取 经度
* @return lonNotList
*/
public void setSkinIdEnd(Long skinIdEnd){
this.skinIdEnd = skinIdEnd;
public List<String> getLonNotList(){
return this.lonNotList;
}
/**
* 获取 增加 皮肤id
* @return skinIdIncrement
* 设置 经度
* @param lonNotList
*/
public Long getSkinIdIncrement(){
return this.skinIdIncrement;
public void setLonNotList(List<String> lonNotList){
this.lonNotList = lonNotList;
}
/**
* 设置 增加 皮肤id
* @param skinIdIncrement
* 获取 纬度
* @return latiList
*/
public void setSkinIdIncrement(Long skinIdIncrement){
this.skinIdIncrement = skinIdIncrement;
public List<String> getLatiList(){
return this.latiList;
}
/**
* 获取 皮肤id
* @return skinIdList
* 设置 纬度
* @param latiList
*/
public List<Long> getSkinIdList(){
return this.skinIdList;
public void setLatiList(List<String> latiList){
this.latiList = latiList;
}
/**
* 设置 皮肤id
* @param skinIdList
* 获取 纬度
* @return latiNotList
*/
public void setSkinIdList(List<Long> skinIdList){
this.skinIdList = skinIdList;
public List<String> getLatiNotList(){
return this.latiNotList;
}
/**
* 获取 皮肤名称
* @return skinNameList
* 设置 纬度
* @param latiNotList
*/
public List<String> getSkinNameList(){
return this.skinNameList;
public void setLatiNotList(List<String> latiNotList){
this.latiNotList = latiNotList;
}
/**
* 设置 皮肤名称
* @param skinNameList
* 获取 负责人
* @return leadingOfficialList
*/
public void setSkinNameList(List<String> skinNameList){
this.skinNameList = skinNameList;
public List<String> getLeadingOfficialList(){
return this.leadingOfficialList;
}
/**
* 获取 首页地址
* @return homeUrlList
* 设置 负责人
* @param leadingOfficialList
*/
public List<String> getHomeUrlList(){
return this.homeUrlList;
public void setLeadingOfficialList(List<String> leadingOfficialList){
this.leadingOfficialList = leadingOfficialList;
}
/**
* 设置 首页地址
* @param homeUrlList
* 获取 负责人
* @return leadingOfficialNotList
*/
public void setHomeUrlList(List<String> homeUrlList){
this.homeUrlList = homeUrlList;
public List<String> getLeadingOfficialNotList(){
return this.leadingOfficialNotList;
}
/**
* 获取 开始 设备生产厂商ID
* @return deviceFirmIdStart
* 设置 负责人
* @param leadingOfficialNotList
*/
public Long getDeviceFirmIdStart(){
return this.deviceFirmIdStart;
public void setLeadingOfficialNotList(List<String> leadingOfficialNotList){
this.leadingOfficialNotList = leadingOfficialNotList;
}
/**
* 设置 开始 设备生产厂商ID
* @param deviceFirmIdStart
* 获取 联系电话
* @return leadingOfficialTelephoneList
*/
public void setDeviceFirmIdStart(Long deviceFirmIdStart){
this.deviceFirmIdStart = deviceFirmIdStart;
public List<String> getLeadingOfficialTelephoneList(){
return this.leadingOfficialTelephoneList;
}
/**
* 获取 结束 设备生产厂商ID
* @return $deviceFirmIdEnd
* 设置 联系电话
* @param leadingOfficialTelephoneList
*/
public Long getDeviceFirmIdEnd(){
return this.deviceFirmIdEnd;
public void setLeadingOfficialTelephoneList(List<String> leadingOfficialTelephoneList){
this.leadingOfficialTelephoneList = leadingOfficialTelephoneList;
}
/**
* 设置 结束 设备生产厂商ID
* @param deviceFirmIdEnd
* 获取 联系电话
* @return leadingOfficialTelephoneNotList
*/
public void setDeviceFirmIdEnd(Long deviceFirmIdEnd){
this.deviceFirmIdEnd = deviceFirmIdEnd;
public List<String> getLeadingOfficialTelephoneNotList(){
return this.leadingOfficialTelephoneNotList;
}
/**
* 获取 增加 设备生产厂商ID
* @return deviceFirmIdIncrement
* 设置 联系电话
* @param leadingOfficialTelephoneNotList
*/
public Long getDeviceFirmIdIncrement(){
return this.deviceFirmIdIncrement;
public void setLeadingOfficialTelephoneNotList(List<String> leadingOfficialTelephoneNotList){
this.leadingOfficialTelephoneNotList = leadingOfficialTelephoneNotList;
}
/**
* 设置 增加 设备生产厂商ID
* @param deviceFirmIdIncrement
* 获取 开始 设备状态 (0.未激活,1.离线,2.在线)
* @return deviceStatusStart
*/
public void setDeviceFirmIdIncrement(Long deviceFirmIdIncrement){
this.deviceFirmIdIncrement = deviceFirmIdIncrement;
public Integer getDeviceStatusStart(){
return this.deviceStatusStart;
}
/**
* 获取 设备生产厂商ID
* @return deviceFirmIdList
* 设置 开始 设备状态 (0.未激活,1.离线,2.在线)
* @param deviceStatusStart
*/
public List<Long> getDeviceFirmIdList(){
return this.deviceFirmIdList;
public void setDeviceStatusStart(Integer deviceStatusStart){
this.deviceStatusStart = deviceStatusStart;
}
/**
* 设置 设备生产厂商ID
* @param deviceFirmIdList
* 获取 结束 设备状态 (0.未激活,1.离线,2.在线)
* @return $deviceStatusEnd
*/
public void setDeviceFirmIdList(List<Long> deviceFirmIdList){
this.deviceFirmIdList = deviceFirmIdList;
public Integer getDeviceStatusEnd(){
return this.deviceStatusEnd;
}
/**
* 获取 设备生产厂商名称
* @return deviceFirmnameList
* 设置 结束 设备状态 (0.未激活,1.离线,2.在线)
* @param deviceStatusEnd
*/
public List<String> getDeviceFirmnameList(){
return this.deviceFirmnameList;
public void setDeviceStatusEnd(Integer deviceStatusEnd){
this.deviceStatusEnd = deviceStatusEnd;
}
/**
* 设置 设备生产厂商名称
* @param deviceFirmnameList
*/
public void setDeviceFirmnameList(List<String> deviceFirmnameList){
this.deviceFirmnameList = deviceFirmnameList;
}
/**
* 获取 开始 设备来源(0.子设备,1.网关设备,2.直连设备)
* @return deviceSrcStart
* 获取 增加 设备状态 (0.未激活,1.离线,2.在线)
* @return deviceStatusIncrement
*/
public Integer getDeviceSrcStart(){
return this.deviceSrcStart;
public Integer getDeviceStatusIncrement(){
return this.deviceStatusIncrement;
}
/**
* 设置 开始 设备来源(0.子设备,1.网关设备,2.直连设备)
* @param deviceSrcStart
* 设置 增加 设备状态 (0.未激活,1.离线,2.在线)
* @param deviceStatusIncrement
*/
public void setDeviceSrcStart(Integer deviceSrcStart){
this.deviceSrcStart = deviceSrcStart;
public void setDeviceStatusIncrement(Integer deviceStatusIncrement){
this.deviceStatusIncrement = deviceStatusIncrement;
}
/**
* 获取 结束 设备来源(0.子设备,1.网关设备,2.直连设备)
* @return $deviceSrcEnd
* 获取 设备状态 (0.未激活,1.离线,2.在线)
* @return deviceStatusList
*/
public Integer getDeviceSrcEnd(){
return this.deviceSrcEnd;
public List<Integer> getDeviceStatusList(){
return this.deviceStatusList;
}
/**
* 设置 结束 设备来源(0.子设备,1.网关设备,2.直连设备)
* @param deviceSrcEnd
* 设置 设备状态 (0.未激活,1.离线,2.在线)
* @param deviceStatusList
*/
public void setDeviceSrcEnd(Integer deviceSrcEnd){
this.deviceSrcEnd = deviceSrcEnd;
public void setDeviceStatusList(List<Integer> deviceStatusList){
this.deviceStatusList = deviceStatusList;
}
/**
* 获取 增加 设备来源(0.子设备,1.网关设备,2.直连设备)
* @return deviceSrcIncrement
* 获取 设备状态 (0.未激活,1.离线,2.在线)
* @return deviceStatusNotList
*/
public Integer getDeviceSrcIncrement(){
return this.deviceSrcIncrement;
public List<Integer> getDeviceStatusNotList(){
return this.deviceStatusNotList;
}
/**
* 设置 增加 设备来源(0.子设备,1.网关设备,2.直连设备)
* @param deviceSrcIncrement
* 设置 设备状态 (0.未激活,1.离线,2.在线)
* @param deviceStatusNotList
*/
public void setDeviceSrcIncrement(Integer deviceSrcIncrement){
this.deviceSrcIncrement = deviceSrcIncrement;
public void setDeviceStatusNotList(List<Integer> deviceStatusNotList){
this.deviceStatusNotList = deviceStatusNotList;
}
/**
* 获取 设备来源(0.子设备,1.网关设备,2.直连设备)
* @return deviceSrcList
* 获取 备注
* @return deviceRemarkList
*/
public List<Integer> getDeviceSrcList(){
return this.deviceSrcList;
public List<String> getDeviceRemarkList(){
return this.deviceRemarkList;
}
/**
* 设置 设备来源(0.子设备,1.网关设备,2.直连设备)
* @param deviceSrcList
* 设置 备注
* @param deviceRemarkList
*/
public void setDeviceSrcList(List<Integer> deviceSrcList){
this.deviceSrcList = deviceSrcList;
public void setDeviceRemarkList(List<String> deviceRemarkList){
this.deviceRemarkList = deviceRemarkList;
}
/**
* 获取 开始 数据获取方式(0.主动上报,1.被动拉取)
* @return deviceDataSourceWayStart
* 获取 备注
* @return deviceRemarkNotList
*/
public Integer getDeviceDataSourceWayStart(){
return this.deviceDataSourceWayStart;
public List<String> getDeviceRemarkNotList(){
return this.deviceRemarkNotList;
}
/**
* 设置 开始 数据获取方式(0.主动上报,1.被动拉取)
* @param deviceDataSourceWayStart
* 设置 备注
* @param deviceRemarkNotList
*/
public void setDeviceDataSourceWayStart(Integer deviceDataSourceWayStart){
this.deviceDataSourceWayStart = deviceDataSourceWayStart;
public void setDeviceRemarkNotList(List<String> deviceRemarkNotList){
this.deviceRemarkNotList = deviceRemarkNotList;
}
/**
* 获取 结束 数据获取方式(0.主动上报,1.被动拉取)
* @return $deviceDataSourceWayEnd
* 获取 开始 设备来源(0.旧设备,1.新设备)
* @return sourceStart
*/
public Integer getDeviceDataSourceWayEnd(){
return this.deviceDataSourceWayEnd;
public Integer getSourceStart(){
return this.sourceStart;
}
/**
* 设置 结束 数据获取方式(0.主动上报,1.被动拉取)
* @param deviceDataSourceWayEnd
* 设置 开始 设备来源(0.旧设备,1.新设备)
* @param sourceStart
*/
public void setDeviceDataSourceWayEnd(Integer deviceDataSourceWayEnd){
this.deviceDataSourceWayEnd = deviceDataSourceWayEnd;
public void setSourceStart(Integer sourceStart){
this.sourceStart = sourceStart;
}
/**
* 获取 增加 数据获取方式(0.主动上报,1.被动拉取)
* @return deviceDataSourceWayIncrement
* 获取 结束 设备来源(0.旧设备,1.新设备)
* @return $sourceEnd
*/
public Integer getDeviceDataSourceWayIncrement(){
return this.deviceDataSourceWayIncrement;
public Integer getSourceEnd(){
return this.sourceEnd;
}
/**
* 设置 增加 数据获取方式(0.主动上报,1.被动拉取)
* @param deviceDataSourceWayIncrement
* 设置 结束 设备来源(0.旧设备,1.新设备)
* @param sourceEnd
*/
public void setDeviceDataSourceWayIncrement(Integer deviceDataSourceWayIncrement){
this.deviceDataSourceWayIncrement = deviceDataSourceWayIncrement;
public void setSourceEnd(Integer sourceEnd){
this.sourceEnd = sourceEnd;
}
/**
* 获取 数据获取方式(0.主动上报,1.被动拉取)
* @return deviceDataSourceWayList
* 获取 增加 设备来源(0.旧设备,1.新设备)
* @return sourceIncrement
*/
public List<Integer> getDeviceDataSourceWayList(){
return this.deviceDataSourceWayList;
public Integer getSourceIncrement(){
return this.sourceIncrement;
}
/**
* 设置 数据获取方式(0.主动上报,1.被动拉取)
* @param deviceDataSourceWayList
* 设置 增加 设备来源(0.旧设备,1.新设备)
* @param sourceIncrement
*/
public void setDeviceDataSourceWayList(List<Integer> deviceDataSourceWayList){
this.deviceDataSourceWayList = deviceDataSourceWayList;
public void setSourceIncrement(Integer sourceIncrement){
this.sourceIncrement = sourceIncrement;
}
/**
* 获取 经度
* @return lonList
* 获取 设备来源(0.旧设备,1.新设备)
* @return sourceList
*/
public List<String> getLonList(){
return this.lonList;
public List<Integer> getSourceList(){
return this.sourceList;
}
/**
* 设置 经度
* @param lonList
* 设置 设备来源(0.旧设备,1.新设备)
* @param sourceList
*/
public void setLonList(List<String> lonList){
this.lonList = lonList;
public void setSourceList(List<Integer> sourceList){
this.sourceList = sourceList;
}
/**
* 获取 经度
* @return latiList
* 获取 设备来源(0.旧设备,1.新设备)
* @return sourceNotList
*/
public List<String> getLatiList(){
return this.latiList;
public List<Integer> getSourceNotList(){
return this.sourceNotList;
}
/**
* 设置 经度
* @param latiList
* 设置 设备来源(0.旧设备,1.新设备)
* @param sourceNotList
*/
public void setLatiList(List<String> latiList){
this.latiList = latiList;
public void setSourceNotList(List<Integer> sourceNotList){
this.sourceNotList = sourceNotList;
}
/**
* 获取 开始 所属楼栋
* @return deviceInBuildingStart
* 获取 开始 创建用户
* @return createUserIdStart
*/
public Integer getDeviceInBuildingStart(){
return this.deviceInBuildingStart;
public Long getCreateUserIdStart(){
return this.createUserIdStart;
}
/**
* 设置 开始 所属楼栋
* @param deviceInBuildingStart
* 设置 开始 创建用户
* @param createUserIdStart
*/
public void setDeviceInBuildingStart(Integer deviceInBuildingStart){
this.deviceInBuildingStart = deviceInBuildingStart;
public void setCreateUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart;
}
/**
* 获取 结束 所属楼栋
* @return $deviceInBuildingEnd
* 获取 结束 创建用户
* @return $createUserIdEnd
*/
public Integer getDeviceInBuildingEnd(){
return this.deviceInBuildingEnd;
public Long getCreateUserIdEnd(){
return this.createUserIdEnd;
}
/**
* 设置 结束 所属楼栋
* @param deviceInBuildingEnd
* 设置 结束 创建用户
* @param createUserIdEnd
*/
public void setDeviceInBuildingEnd(Integer deviceInBuildingEnd){
this.deviceInBuildingEnd = deviceInBuildingEnd;
public void setCreateUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd;
}
/**
* 获取 增加 所属楼栋
* @return deviceInBuildingIncrement
* 获取 增加 创建用户
* @return createUserIdIncrement
*/
public Integer getDeviceInBuildingIncrement(){
return this.deviceInBuildingIncrement;
public Long getCreateUserIdIncrement(){
return this.createUserIdIncrement;
}
/**
* 设置 增加 所属楼栋
* @param deviceInBuildingIncrement
* 设置 增加 创建用户
* @param createUserIdIncrement
*/
public void setDeviceInBuildingIncrement(Integer deviceInBuildingIncrement){
this.deviceInBuildingIncrement = deviceInBuildingIncrement;
public void setCreateUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement;
}
/**
* 获取 所属楼栋
* @return deviceInBuildingList
* 获取 创建用户
* @return createUserIdList
*/
public List<Integer> getDeviceInBuildingList(){
return this.deviceInBuildingList;
public List<Long> getCreateUserIdList(){
return this.createUserIdList;
}
/**
* 设置 所属楼栋
* @param deviceInBuildingList
* 设置 创建用户
* @param createUserIdList
*/
public void setDeviceInBuildingList(List<Integer> deviceInBuildingList){
this.deviceInBuildingList = deviceInBuildingList;
public void setCreateUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList;
}
/**
* 获取 开始 所属楼层
* @return deviceInFloorStart
* 获取 创建用户
* @return createUserIdNotList
*/
public Integer getDeviceInFloorStart(){
return this.deviceInFloorStart;
public List<Long> getCreateUserIdNotList(){
return this.createUserIdNotList;
}
/**
* 设置 开始 所属楼层
* @param deviceInFloorStart
* 设置 创建用户
* @param createUserIdNotList
*/
public void setDeviceInFloorStart(Integer deviceInFloorStart){
this.deviceInFloorStart = deviceInFloorStart;
public void setCreateUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList;
}
/**
* 获取 结束 所属楼层
* @return $deviceInFloorEnd
* 获取 开始 创建时间
* @return createTimeStart
*/
public Integer getDeviceInFloorEnd(){
return this.deviceInFloorEnd;
public String getCreateTimeStart(){
return this.createTimeStart;
}
/**
* 设置 结束 所属楼层
* @param deviceInFloorEnd
* 设置 开始 创建时间
* @param createTimeStart
*/
public void setDeviceInFloorEnd(Integer deviceInFloorEnd){
this.deviceInFloorEnd = deviceInFloorEnd;
public void setCreateTimeStart(String createTimeStart){
this.createTimeStart = createTimeStart;
}
/**
* 获取 增加 所属楼层
* @return deviceInFloorIncrement
* 获取 结束 创建时间
* @return createTimeEnd
*/
public Integer getDeviceInFloorIncrement(){
return this.deviceInFloorIncrement;
public String getCreateTimeEnd(){
return this.createTimeEnd;
}
/**
* 设置 增加 所属楼层
* @param deviceInFloorIncrement
* 设置 结束 创建时间
* @param createTimeEnd
*/
public void setDeviceInFloorIncrement(Integer deviceInFloorIncrement){
this.deviceInFloorIncrement = deviceInFloorIncrement;
public void setCreateTimeEnd(String createTimeEnd){
this.createTimeEnd = createTimeEnd;
}
/**
* 获取 所属楼层
* @return deviceInFloorList
* 获取 开始 更新用户
* @return updateUserIdStart
*/
public List<Integer> getDeviceInFloorList(){
return this.deviceInFloorList;
public Long getUpdateUserIdStart(){
return this.updateUserIdStart;
}
/**
* 设置 所属楼层
* @param deviceInFloorList
* 设置 开始 更新用户
* @param updateUserIdStart
*/
public void setDeviceInFloorList(List<Integer> deviceInFloorList){
this.deviceInFloorList = deviceInFloorList;
public void setUpdateUserIdStart(Long updateUserIdStart){
this.updateUserIdStart = updateUserIdStart;
}
/**
* 获取 开始 保修期至
* @return defectsLiabilityPeriodStart
* 获取 结束 更新用户
* @return $updateUserIdEnd
*/
public String getDefectsLiabilityPeriodStart(){
return this.defectsLiabilityPeriodStart;
public Long getUpdateUserIdEnd(){
return this.updateUserIdEnd;
}
/**
* 设置 开始 保修期至
* @param defectsLiabilityPeriodStart
* 设置 结束 更新用户
* @param updateUserIdEnd
*/
public void setDefectsLiabilityPeriodStart(String defectsLiabilityPeriodStart){
this.defectsLiabilityPeriodStart = defectsLiabilityPeriodStart;
public void setUpdateUserIdEnd(Long updateUserIdEnd){
this.updateUserIdEnd = updateUserIdEnd;
}
/**
* 获取 结束 保修期至
* @return defectsLiabilityPeriodEnd
* 获取 增加 更新用户
* @return updateUserIdIncrement
*/
public String getDefectsLiabilityPeriodEnd(){
return this.defectsLiabilityPeriodEnd;
public Long getUpdateUserIdIncrement(){
return this.updateUserIdIncrement;
}
/**
* 设置 结束 保修期至
* @param defectsLiabilityPeriodEnd
* 设置 增加 更新用户
* @param updateUserIdIncrement
*/
public void setDefectsLiabilityPeriodEnd(String defectsLiabilityPeriodEnd){
this.defectsLiabilityPeriodEnd = defectsLiabilityPeriodEnd;
public void setUpdateUserIdIncrement(Long updateUserIdIncrement){
this.updateUserIdIncrement = updateUserIdIncrement;
}
/**
* 获取 负责人
* @return leadingOfficialList
* 获取 更新用户
* @return updateUserIdList
*/
public List<String> getLeadingOfficialList(){
return this.leadingOfficialList;
public List<Long> getUpdateUserIdList(){
return this.updateUserIdList;
}
/**
* 设置 负责人
* @param leadingOfficialList
* 设置 更新用户
* @param updateUserIdList
*/
public void setLeadingOfficialList(List<String> leadingOfficialList){
this.leadingOfficialList = leadingOfficialList;
public void setUpdateUserIdList(List<Long> updateUserIdList){
this.updateUserIdList = updateUserIdList;
}
/**
* 获取 联系电话
* @return leadingOfficialTelephoneList
* 获取 更新用户
* @return updateUserIdNotList
*/
public List<String> getLeadingOfficialTelephoneList(){
return this.leadingOfficialTelephoneList;
public List<Long> getUpdateUserIdNotList(){
return this.updateUserIdNotList;
}
/**
* 设置 联系电话
* @param leadingOfficialTelephoneList
* 设置 更新用户
* @param updateUserIdNotList
*/
public void setLeadingOfficialTelephoneList(List<String> leadingOfficialTelephoneList){
this.leadingOfficialTelephoneList = leadingOfficialTelephoneList;
public void setUpdateUserIdNotList(List<Long> updateUserIdNotList){
this.updateUserIdNotList = updateUserIdNotList;
}
/**
* 获取 开始 是否接收异常短(0.否,1.是)
* @return isReceiveMessStart
* 获取 开始 更新时间
* @return updateTimeStart
*/
public Integer getIsReceiveMessStart(){
return this.isReceiveMessStart;
public String getUpdateTimeStart(){
return this.updateTimeStart;
}
/**
* 设置 开始 是否接收异常短(0.否,1.是)
* @param isReceiveMessStart
* 设置 开始 更新时间
* @param updateTimeStart
*/
public void setIsReceiveMessStart(Integer isReceiveMessStart){
this.isReceiveMessStart = isReceiveMessStart;
public void setUpdateTimeStart(String updateTimeStart){
this.updateTimeStart = updateTimeStart;
}
/**
* 获取 结束 是否接收异常短(0.否,1.是)
* @return $isReceiveMessEnd
* 获取 结束 更新时间
* @return updateTimeEnd
*/
public Integer getIsReceiveMessEnd(){
return this.isReceiveMessEnd;
public String getUpdateTimeEnd(){
return this.updateTimeEnd;
}
/**
* 设置 结束 是否接收异常短(0.否,1.是)
* @param isReceiveMessEnd
*/
public void setIsReceiveMessEnd(Integer isReceiveMessEnd){
this.isReceiveMessEnd = isReceiveMessEnd;
}
/**
* 获取 增加 是否接收异常短(0.否,1.是)
* @return isReceiveMessIncrement
*/
public Integer getIsReceiveMessIncrement(){
return this.isReceiveMessIncrement;
}
/**
* 设置 增加 是否接收异常短(0.否,1.是)
* @param isReceiveMessIncrement
*/
public void setIsReceiveMessIncrement(Integer isReceiveMessIncrement){
this.isReceiveMessIncrement = isReceiveMessIncrement;
}
/**
* 获取 是否接收异常短(0.否,1.是)
* @return isReceiveMessList
*/
public List<Integer> getIsReceiveMessList(){
return this.isReceiveMessList;
}
/**
* 设置 是否接收异常短(0.否,1.是)
* @param isReceiveMessList
*/
public void setIsReceiveMessList(List<Integer> isReceiveMessList){
this.isReceiveMessList = isReceiveMessList;
}
/**
* 获取 设备图片
* @return devicePhotoPathList
*/
public List<String> getDevicePhotoPathList(){
return this.devicePhotoPathList;
}
/**
* 设置 设备图片
* @param devicePhotoPathList
*/
public void setDevicePhotoPathList(List<String> devicePhotoPathList){
this.devicePhotoPathList = devicePhotoPathList;
}
/**
* 获取 设备访问ip
* @return ipList
*/
public List<String> getIpList(){
return this.ipList;
}
/**
* 设置 设备访问ip
* @param ipList
*/
public void setIpList(List<String> ipList){
this.ipList = ipList;
}
/**
* 获取 中心设备编码
* @return centernumList
*/
public List<String> getCenternumList(){
return this.centernumList;
}
/**
* 设置 中心设备编码
* @param centernumList
*/
public void setCenternumList(List<String> centernumList){
this.centernumList = centernumList;
}
/**
* 获取 端口
* @return portList
*/
public List<String> getPortList(){
return this.portList;
}
/**
* 设置 端口
* @param portList
*/
public void setPortList(List<String> portList){
this.portList = portList;
}
/**
* 获取 设备topic信息
* @return deviceTopicList
*/
public List<String> getDeviceTopicList(){
return this.deviceTopicList;
}
/**
* 设置 设备topic信息
* @param deviceTopicList
*/
public void setDeviceTopicList(List<String> deviceTopicList){
this.deviceTopicList = deviceTopicList;
}
/**
* 获取 开始 设备状态 (0.未激活,1.离线,2.在线)
* @return deviceStatusStart
*/
public Integer getDeviceStatusStart(){
return this.deviceStatusStart;
}
/**
* 设置 开始 设备状态 (0.未激活,1.离线,2.在线)
* @param deviceStatusStart
*/
public void setDeviceStatusStart(Integer deviceStatusStart){
this.deviceStatusStart = deviceStatusStart;
}
/**
* 获取 结束 设备状态 (0.未激活,1.离线,2.在线)
* @return $deviceStatusEnd
*/
public Integer getDeviceStatusEnd(){
return this.deviceStatusEnd;
}
/**
* 设置 结束 设备状态 (0.未激活,1.离线,2.在线)
* @param deviceStatusEnd
*/
public void setDeviceStatusEnd(Integer deviceStatusEnd){
this.deviceStatusEnd = deviceStatusEnd;
}
/**
* 获取 增加 设备状态 (0.未激活,1.离线,2.在线)
* @return deviceStatusIncrement
*/
public Integer getDeviceStatusIncrement(){
return this.deviceStatusIncrement;
}
/**
* 设置 增加 设备状态 (0.未激活,1.离线,2.在线)
* @param deviceStatusIncrement
*/
public void setDeviceStatusIncrement(Integer deviceStatusIncrement){
this.deviceStatusIncrement = deviceStatusIncrement;
}
/**
* 获取 设备状态 (0.未激活,1.离线,2.在线)
* @return deviceStatusList
*/
public List<Integer> getDeviceStatusList(){
return this.deviceStatusList;
}
/**
* 设置 设备状态 (0.未激活,1.离线,2.在线)
* @param deviceStatusList
*/
public void setDeviceStatusList(List<Integer> deviceStatusList){
this.deviceStatusList = deviceStatusList;
}
/**
* 获取 开始 启用状态 (0.停止,1.启用)
* @return enabledStart
*/
public Integer getEnabledStart(){
return this.enabledStart;
}
/**
* 设置 开始 启用状态 (0.停止,1.启用)
* @param enabledStart
*/
public void setEnabledStart(Integer enabledStart){
this.enabledStart = enabledStart;
}
/**
* 获取 结束 启用状态 (0.停止,1.启用)
* @return $enabledEnd
*/
public Integer getEnabledEnd(){
return this.enabledEnd;
}
/**
* 设置 结束 启用状态 (0.停止,1.启用)
* @param enabledEnd
*/
public void setEnabledEnd(Integer enabledEnd){
this.enabledEnd = enabledEnd;
}
/**
* 获取 增加 启用状态 (0.停止,1.启用)
* @return enabledIncrement
*/
public Integer getEnabledIncrement(){
return this.enabledIncrement;
}
/**
* 设置 增加 启用状态 (0.停止,1.启用)
* @param enabledIncrement
*/
public void setEnabledIncrement(Integer enabledIncrement){
this.enabledIncrement = enabledIncrement;
}
/**
* 获取 启用状态 (0.停止,1.启用)
* @return enabledList
*/
public List<Integer> getEnabledList(){
return this.enabledList;
}
/**
* 设置 启用状态 (0.停止,1.启用)
* @param enabledList
*/
public void setEnabledList(List<Integer> enabledList){
this.enabledList = enabledList;
}
/**
* 获取 设备授权码
* @return deviceAuthCodeList
*/
public List<String> getDeviceAuthCodeList(){
return this.deviceAuthCodeList;
}
/**
* 设置 设备授权码
* @param deviceAuthCodeList
*/
public void setDeviceAuthCodeList(List<String> deviceAuthCodeList){
this.deviceAuthCodeList = deviceAuthCodeList;
}
/**
* 获取 备注
* @return deviceRemarkList
*/
public List<String> getDeviceRemarkList(){
return this.deviceRemarkList;
}
/**
* 设置 备注
* @param deviceRemarkList
*/
public void setDeviceRemarkList(List<String> deviceRemarkList){
this.deviceRemarkList = deviceRemarkList;
}
/**
* 获取 开始 最近上线时间
* @return onlineTimeStart
*/
public String getOnlineTimeStart(){
return this.onlineTimeStart;
}
/**
* 设置 开始 最近上线时间
* @param onlineTimeStart
*/
public void setOnlineTimeStart(String onlineTimeStart){
this.onlineTimeStart = onlineTimeStart;
}
/**
* 获取 结束 最近上线时间
* @return onlineTimeEnd
*/
public String getOnlineTimeEnd(){
return this.onlineTimeEnd;
}
/**
* 设置 结束 最近上线时间
* @param onlineTimeEnd
*/
public void setOnlineTimeEnd(String onlineTimeEnd){
this.onlineTimeEnd = onlineTimeEnd;
}
/**
* 获取 开始 最近离线时间
* @return offlineTimeStart
*/
public String getOfflineTimeStart(){
return this.offlineTimeStart;
}
/**
* 设置 开始 最近离线时间
* @param offlineTimeStart
*/
public void setOfflineTimeStart(String offlineTimeStart){
this.offlineTimeStart = offlineTimeStart;
}
/**
* 获取 结束 最近离线时间
* @return offlineTimeEnd
*/
public String getOfflineTimeEnd(){
return this.offlineTimeEnd;
}
/**
* 设置 结束 最近离线时间
* @param offlineTimeEnd
*/
public void setOfflineTimeEnd(String offlineTimeEnd){
this.offlineTimeEnd = offlineTimeEnd;
}
/**
* 获取 开始 是否删除(0.否,1.是)
* @return deletedStart
*/
public Integer getDeletedStart(){
return this.deletedStart;
}
/**
* 设置 开始 是否删除(0.否,1.是)
* @param deletedStart
*/
public void setDeletedStart(Integer deletedStart){
this.deletedStart = deletedStart;
}
/**
* 获取 结束 是否删除(0.否,1.是)
* @return $deletedEnd
*/
public Integer getDeletedEnd(){
return this.deletedEnd;
}
/**
* 设置 结束 是否删除(0.否,1.是)
* @param deletedEnd
*/
public void setDeletedEnd(Integer deletedEnd){
this.deletedEnd = deletedEnd;
}
/**
* 获取 增加 是否删除(0.否,1.是)
* @return deletedIncrement
*/
public Integer getDeletedIncrement(){
return this.deletedIncrement;
}
/**
* 设置 增加 是否删除(0.否,1.是)
* @param deletedIncrement
*/
public void setDeletedIncrement(Integer deletedIncrement){
this.deletedIncrement = deletedIncrement;
}
/**
* 获取 是否删除(0.否,1.是)
* @return deletedList
*/
public List<Integer> getDeletedList(){
return this.deletedList;
}
/**
* 设置 是否删除(0.否,1.是)
* @param deletedList
*/
public void setDeletedList(List<Integer> deletedList){
this.deletedList = deletedList;
}
/**
* 获取 设备版本
* @return deviceVersionList
*/
public List<String> getDeviceVersionList(){
return this.deviceVersionList;
}
/**
* 设置 设备版本
* @param deviceVersionList
*/
public void setDeviceVersionList(List<String> deviceVersionList){
this.deviceVersionList = deviceVersionList;
}
/**
* 获取 开始 设备来源(0.旧设备,1.新设备)
* @return sourceStart
*/
public Integer getSourceStart(){
return this.sourceStart;
}
/**
* 设置 开始 设备来源(0.旧设备,1.新设备)
* @param sourceStart
*/
public void setSourceStart(Integer sourceStart){
this.sourceStart = sourceStart;
}
/**
* 获取 结束 设备来源(0.旧设备,1.新设备)
* @return $sourceEnd
*/
public Integer getSourceEnd(){
return this.sourceEnd;
}
/**
* 设置 结束 设备来源(0.旧设备,1.新设备)
* @param sourceEnd
*/
public void setSourceEnd(Integer sourceEnd){
this.sourceEnd = sourceEnd;
}
/**
* 获取 增加 设备来源(0.旧设备,1.新设备)
* @return sourceIncrement
*/
public Integer getSourceIncrement(){
return this.sourceIncrement;
}
/**
* 设置 增加 设备来源(0.旧设备,1.新设备)
* @param sourceIncrement
*/
public void setSourceIncrement(Integer sourceIncrement){
this.sourceIncrement = sourceIncrement;
}
/**
* 获取 设备来源(0.旧设备,1.新设备)
* @return sourceList
*/
public List<Integer> getSourceList(){
return this.sourceList;
}
/**
* 设置 设备来源(0.旧设备,1.新设备)
* @param sourceList
*/
public void setSourceList(List<Integer> sourceList){
this.sourceList = sourceList;
}
/**
* 获取 开始 创建用户
* @return createUserIdStart
*/
public Long getCreateUserIdStart(){
return this.createUserIdStart;
}
/**
* 设置 开始 创建用户
* @param createUserIdStart
*/
public void setCreateUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart;
}
/**
* 获取 结束 创建用户
* @return $createUserIdEnd
*/
public Long getCreateUserIdEnd(){
return this.createUserIdEnd;
}
/**
* 设置 结束 创建用户
* @param createUserIdEnd
*/
public void setCreateUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd;
}
/**
* 获取 增加 创建用户
* @return createUserIdIncrement
*/
public Long getCreateUserIdIncrement(){
return this.createUserIdIncrement;
}
/**
* 设置 增加 创建用户
* @param createUserIdIncrement
*/
public void setCreateUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement;
}
/**
* 获取 创建用户
* @return createUserIdList
*/
public List<Long> getCreateUserIdList(){
return this.createUserIdList;
}
/**
* 设置 创建用户
* @param createUserIdList
*/
public void setCreateUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList;
}
/**
* 获取 开始 创建时间
* @return createTimeStart
*/
public String getCreateTimeStart(){
return this.createTimeStart;
}
/**
* 设置 开始 创建时间
* @param createTimeStart
*/
public void setCreateTimeStart(String createTimeStart){
this.createTimeStart = createTimeStart;
}
/**
* 获取 结束 创建时间
* @return createTimeEnd
*/
public String getCreateTimeEnd(){
return this.createTimeEnd;
}
/**
* 设置 结束 创建时间
* @param createTimeEnd
*/
public void setCreateTimeEnd(String createTimeEnd){
this.createTimeEnd = createTimeEnd;
}
/**
* 获取 开始 更新用户
* @return updateUserIdStart
*/
public Long getUpdateUserIdStart(){
return this.updateUserIdStart;
}
/**
* 设置 开始 更新用户
* @param updateUserIdStart
*/
public void setUpdateUserIdStart(Long updateUserIdStart){
this.updateUserIdStart = updateUserIdStart;
}
/**
* 获取 结束 更新用户
* @return $updateUserIdEnd
*/
public Long getUpdateUserIdEnd(){
return this.updateUserIdEnd;
}
/**
* 设置 结束 更新用户
* @param updateUserIdEnd
*/
public void setUpdateUserIdEnd(Long updateUserIdEnd){
this.updateUserIdEnd = updateUserIdEnd;
}
/**
* 获取 增加 更新用户
* @return updateUserIdIncrement
*/
public Long getUpdateUserIdIncrement(){
return this.updateUserIdIncrement;
}
/**
* 设置 增加 更新用户
* @param updateUserIdIncrement
*/
public void setUpdateUserIdIncrement(Long updateUserIdIncrement){
this.updateUserIdIncrement = updateUserIdIncrement;
}
/**
* 获取 更新用户
* @return updateUserIdList
*/
public List<Long> getUpdateUserIdList(){
return this.updateUserIdList;
}
/**
* 设置 更新用户
* @param updateUserIdList
*/
public void setUpdateUserIdList(List<Long> updateUserIdList){
this.updateUserIdList = updateUserIdList;
}
/**
* 获取 开始 更新时间
* @return updateTimeStart
*/
public String getUpdateTimeStart(){
return this.updateTimeStart;
}
/**
* 设置 开始 更新时间
* @param updateTimeStart
*/
public void setUpdateTimeStart(String updateTimeStart){
this.updateTimeStart = updateTimeStart;
}
/**
* 获取 结束 更新时间
* @return updateTimeEnd
*/
public String getUpdateTimeEnd(){
return this.updateTimeEnd;
}
/**
* 设置 结束 更新时间
* @param updateTimeEnd
*/
public void setUpdateTimeEnd(String updateTimeEnd){
this.updateTimeEnd = updateTimeEnd;
}
/**
* 设置 主键ID,主键,自增长
* @param id
*/
public DeviceQuery id(Long id){
setId(id);
return this;
}
/**
* 设置 开始 主键ID,主键,自增长
* @param idStart
*/
public DeviceQuery idStart(Long idStart){
this.idStart = idStart;
return this;
}
/**
* 设置 结束 主键ID,主键,自增长
* @param idEnd
*/
public DeviceQuery idEnd(Long idEnd){
this.idEnd = idEnd;
return this;
}
/**
* 设置 增加 主键ID,主键,自增长
* @param idIncrement
*/
public DeviceQuery idIncrement(Long idIncrement){
this.idIncrement = idIncrement;
return this;
}
/**
* 设置 主键ID,主键,自增长
* @param idList
*/
public DeviceQuery idList(List<Long> idList){
this.idList = idList;
return this;
}
/**
* 设置 设备名称
* @param deviceName
*/
public DeviceQuery deviceName(String deviceName){
setDeviceName(deviceName);
return this;
}
/**
* 设置 设备名称
* @param deviceNameList
*/
public DeviceQuery deviceNameList(List<String> deviceNameList){
this.deviceNameList = deviceNameList;
return this;
}
/**
* 设置 设备编码,SN码等,默认为MAC地址
* @param deviceCode
*/
public DeviceQuery deviceCode(String deviceCode){
setDeviceCode(deviceCode);
return this;
}
/**
* 设置 设备编码,SN码等,默认为MAC地址
* @param deviceCodeList
*/
public DeviceQuery deviceCodeList(List<String> deviceCodeList){
this.deviceCodeList = deviceCodeList;
return this;
}
/**
* 设置 设备SN码
* @param deviceSN
*/
public DeviceQuery deviceSN(String deviceSN){
setDeviceSN(deviceSN);
return this;
}
/**
* 设置 设备SN码
* @param deviceSNList
*/
public DeviceQuery deviceSNList(List<String> deviceSNList){
this.deviceSNList = deviceSNList;
return this;
}
/**
* 设置 设备的MAC地址
* @param deviceMac
*/
public DeviceQuery deviceMac(String deviceMac){
setDeviceMac(deviceMac);
return this;
}
/**
* 设置 设备的MAC地址
* @param deviceMacList
*/
public DeviceQuery deviceMacList(List<String> deviceMacList){
this.deviceMacList = deviceMacList;
return this;
}
/**
* 设置 站点Id,来源基础服务平台
* @param siteId
*/
public DeviceQuery siteId(Long siteId){
setSiteId(siteId);
return this;
}
/**
* 设置 开始 站点Id,来源基础服务平台
* @param siteIdStart
*/
public DeviceQuery siteIdStart(Long siteIdStart){
this.siteIdStart = siteIdStart;
return this;
}
/**
* 设置 结束 站点Id,来源基础服务平台
* @param siteIdEnd
*/
public DeviceQuery siteIdEnd(Long siteIdEnd){
this.siteIdEnd = siteIdEnd;
return this;
}
/**
* 设置 增加 站点Id,来源基础服务平台
* @param siteIdIncrement
*/
public DeviceQuery siteIdIncrement(Long siteIdIncrement){
this.siteIdIncrement = siteIdIncrement;
return this;
}
/**
* 设置 站点Id,来源基础服务平台
* @param siteIdList
*/
public DeviceQuery siteIdList(List<Long> siteIdList){
this.siteIdList = siteIdList;
return this;
}
/**
* 设置 站点编号,来源基础服务平台
* @param siteCode
*/
public DeviceQuery siteCode(String siteCode){
setSiteCode(siteCode);
return this;
}
/**
* 设置 站点编号,来源基础服务平台
* @param siteCodeList
*/
public DeviceQuery siteCodeList(List<String> siteCodeList){
this.siteCodeList = siteCodeList;
return this;
}
/**
* 设置 站点名称
* @param siteName
*/
public DeviceQuery siteName(String siteName){
setSiteName(siteName);
return this;
}
/**
* 设置 站点名称
* @param siteNameList
*/
public DeviceQuery siteNameList(List<String> siteNameList){
this.siteNameList = siteNameList;
return this;
}
/**
* 设置 平台系统Id
* @param platformId
*/
public DeviceQuery platformId(Long platformId){
setPlatformId(platformId);
return this;
}
/**
* 设置 开始 平台系统Id
* @param platformIdStart
*/
public DeviceQuery platformIdStart(Long platformIdStart){
this.platformIdStart = platformIdStart;
return this;
}
/**
* 设置 结束 平台系统Id
* @param platformIdEnd
*/
public DeviceQuery platformIdEnd(Long platformIdEnd){
this.platformIdEnd = platformIdEnd;
return this;
}
/**
* 设置 增加 平台系统Id
* @param platformIdIncrement
*/
public DeviceQuery platformIdIncrement(Long platformIdIncrement){
this.platformIdIncrement = platformIdIncrement;
return this;
}
/**
* 设置 平台系统Id
* @param platformIdList
*/
public DeviceQuery platformIdList(List<Long> platformIdList){
this.platformIdList = platformIdList;
return this;
}
/**
* 设置 平台系统名称
* @param platformName
*/
public DeviceQuery platformName(String platformName){
setPlatformName(platformName);
return this;
}
/**
* 设置 平台系统名称
* @param platformNameList
*/
public DeviceQuery platformNameList(List<String> platformNameList){
this.platformNameList = platformNameList;
return this;
}
/**
* 设置 产品Id
* @param productId
*/
public DeviceQuery productId(Long productId){
setProductId(productId);
return this;
}
/**
* 设置 开始 产品Id
* @param productIdStart
*/
public DeviceQuery productIdStart(Long productIdStart){
this.productIdStart = productIdStart;
return this;
}
/**
* 设置 结束 产品Id
* @param productIdEnd
*/
public DeviceQuery productIdEnd(Long productIdEnd){
this.productIdEnd = productIdEnd;
return this;
}
/**
* 设置 增加 产品Id
* @param productIdIncrement
*/
public DeviceQuery productIdIncrement(Long productIdIncrement){
this.productIdIncrement = productIdIncrement;
return this;
}
/**
* 设置 产品Id
* @param productIdList
*/
public DeviceQuery productIdList(List<Long> productIdList){
this.productIdList = productIdList;
return this;
}
/**
* 设置 产品名称
* @param productName
*/
public DeviceQuery productName(String productName){
setProductName(productName);
return this;
}
/**
* 设置 产品名称
* @param productNameList
*/
public DeviceQuery productNameList(List<String> productNameList){
this.productNameList = productNameList;
return this;
}
/**
* 设置 皮肤id
* @param skinId
*/
public DeviceQuery skinId(Long skinId){
setSkinId(skinId);
return this;
}
/**
* 设置 开始 皮肤id
* @param skinIdStart
*/
public DeviceQuery skinIdStart(Long skinIdStart){
this.skinIdStart = skinIdStart;
return this;
}
/**
* 设置 结束 皮肤id
* @param skinIdEnd
*/
public DeviceQuery skinIdEnd(Long skinIdEnd){
this.skinIdEnd = skinIdEnd;
return this;
}
/**
* 设置 增加 皮肤id
* @param skinIdIncrement
*/
public DeviceQuery skinIdIncrement(Long skinIdIncrement){
this.skinIdIncrement = skinIdIncrement;
return this;
}
/**
* 设置 皮肤id
* @param skinIdList
*/
public DeviceQuery skinIdList(List<Long> skinIdList){
this.skinIdList = skinIdList;
return this;
}
/**
* 设置 皮肤名称
* @param skinName
*/
public DeviceQuery skinName(String skinName){
setSkinName(skinName);
return this;
}
/**
* 设置 皮肤名称
* @param skinNameList
*/
public DeviceQuery skinNameList(List<String> skinNameList){
this.skinNameList = skinNameList;
return this;
}
/**
* 设置 首页地址
* @param homeUrl
*/
public DeviceQuery homeUrl(String homeUrl){
setHomeUrl(homeUrl);
return this;
}
/**
* 设置 首页地址
* @param homeUrlList
*/
public DeviceQuery homeUrlList(List<String> homeUrlList){
this.homeUrlList = homeUrlList;
return this;
}
/**
* 设置 设备生产厂商ID
* @param deviceFirmId
*/
public DeviceQuery deviceFirmId(Long deviceFirmId){
setDeviceFirmId(deviceFirmId);
return this;
}
/**
* 设置 开始 设备生产厂商ID
* @param deviceFirmIdStart
*/
public DeviceQuery deviceFirmIdStart(Long deviceFirmIdStart){
this.deviceFirmIdStart = deviceFirmIdStart;
return this;
}
/**
* 设置 结束 设备生产厂商ID
* @param deviceFirmIdEnd
*/
public DeviceQuery deviceFirmIdEnd(Long deviceFirmIdEnd){
this.deviceFirmIdEnd = deviceFirmIdEnd;
return this;
}
/**
* 设置 增加 设备生产厂商ID
* @param deviceFirmIdIncrement
*/
public DeviceQuery deviceFirmIdIncrement(Long deviceFirmIdIncrement){
this.deviceFirmIdIncrement = deviceFirmIdIncrement;
return this;
}
/**
* 设置 设备生产厂商ID
* @param deviceFirmIdList
* 设置 结束 更新时间
* @param updateTimeEnd
*/
public DeviceQuery deviceFirmIdList(List<Long> deviceFirmIdList){
this.deviceFirmIdList = deviceFirmIdList;
return this;
public void setUpdateTimeEnd(String updateTimeEnd){
this.updateTimeEnd = updateTimeEnd;
}
/**
* 设置 设备生产厂商名称
* @param deviceFirmname
* 设置 主键ID,主键,自增长
* @param id
*/
public DeviceQuery deviceFirmname(String deviceFirmname){
setDeviceFirmname(deviceFirmname);
public DeviceQuery id(Long id){
setId(id);
return this;
}
/**
* 设置 设备生产厂商名称
* @param deviceFirmnameList
* 设置 开始 主键ID,主键,自增长
* @param idStart
*/
public DeviceQuery deviceFirmnameList(List<String> deviceFirmnameList){
this.deviceFirmnameList = deviceFirmnameList;
public DeviceQuery idStart(Long idStart){
this.idStart = idStart;
return this;
}
/**
* 设置 设备来源(0.子设备,1.网关设备,2.直连设备)
* @param deviceSrc
* 设置 结束 主键ID,主键,自增长
* @param idEnd
*/
public DeviceQuery deviceSrc(Integer deviceSrc){
setDeviceSrc(deviceSrc);
public DeviceQuery idEnd(Long idEnd){
this.idEnd = idEnd;
return this;
}
/**
* 设置 开始 设备来源(0.子设备,1.网关设备,2.直连设备)
* @param deviceSrcStart
* 设置 增加 主键ID,主键,自增长
* @param idIncrement
*/
public DeviceQuery deviceSrcStart(Integer deviceSrcStart){
this.deviceSrcStart = deviceSrcStart;
public DeviceQuery idIncrement(Long idIncrement){
this.idIncrement = idIncrement;
return this;
}
/**
* 设置 结束 设备来源(0.子设备,1.网关设备,2.直连设备)
* @param deviceSrcEnd
/**
* 设置 主键ID,主键,自增长
* @param idList
*/
public DeviceQuery deviceSrcEnd(Integer deviceSrcEnd){
this.deviceSrcEnd = deviceSrcEnd;
public DeviceQuery idList(List<Long> idList){
this.idList = idList;
return this;
}
/**
* 设置 增加 设备来源(0.子设备,1.网关设备,2.直连设备)
* @param deviceSrcIncrement
* 设置 主键ID,主键,自增长
* @param idNotList
*/
public DeviceQuery deviceSrcIncrement(Integer deviceSrcIncrement){
this.deviceSrcIncrement = deviceSrcIncrement;
public DeviceQuery idNotList(List<Long> idNotList){
this.idNotList = idNotList;
return this;
}
/**
* 设置 设备来源(0.子设备,1.网关设备,2.直连设备)
* @param deviceSrcList
* 设置 设备id
* @param deviceId
*/
public DeviceQuery deviceSrcList(List<Integer> deviceSrcList){
this.deviceSrcList = deviceSrcList;
public DeviceQuery deviceId(Long deviceId){
setDeviceId(deviceId);
return this;
}
/**
* 设置 数据获取方式(0.主动上报,1.被动拉取)
* @param deviceDataSourceWay
* 设置 开始 设备id
* @param deviceIdStart
*/
public DeviceQuery deviceDataSourceWay(Integer deviceDataSourceWay){
setDeviceDataSourceWay(deviceDataSourceWay);
public DeviceQuery deviceIdStart(Long deviceIdStart){
this.deviceIdStart = deviceIdStart;
return this;
}
/**
* 设置 开始 数据获取方式(0.主动上报,1.被动拉取)
* @param deviceDataSourceWayStart
* 设置 结束 设备id
* @param deviceIdEnd
*/
public DeviceQuery deviceDataSourceWayStart(Integer deviceDataSourceWayStart){
this.deviceDataSourceWayStart = deviceDataSourceWayStart;
public DeviceQuery deviceIdEnd(Long deviceIdEnd){
this.deviceIdEnd = deviceIdEnd;
return this;
}
/**
* 设置 结束 数据获取方式(0.主动上报,1.被动拉取)
* @param deviceDataSourceWayEnd
* 设置 增加 设备id
* @param deviceIdIncrement
*/
public DeviceQuery deviceDataSourceWayEnd(Integer deviceDataSourceWayEnd){
this.deviceDataSourceWayEnd = deviceDataSourceWayEnd;
public DeviceQuery deviceIdIncrement(Long deviceIdIncrement){
this.deviceIdIncrement = deviceIdIncrement;
return this;
}
/**
* 设置 增加 数据获取方式(0.主动上报,1.被动拉取)
* @param deviceDataSourceWayIncrement
* 设置 设备id
* @param deviceIdList
*/
public DeviceQuery deviceDataSourceWayIncrement(Integer deviceDataSourceWayIncrement){
this.deviceDataSourceWayIncrement = deviceDataSourceWayIncrement;
public DeviceQuery deviceIdList(List<Long> deviceIdList){
this.deviceIdList = deviceIdList;
return this;
}
/**
* 设置 数据获取方式(0.主动上报,1.被动拉取)
* @param deviceDataSourceWayList
* 设置 设备id
* @param deviceIdNotList
*/
public DeviceQuery deviceDataSourceWayList(List<Integer> deviceDataSourceWayList){
this.deviceDataSourceWayList = deviceDataSourceWayList;
public DeviceQuery deviceIdNotList(List<Long> deviceIdNotList){
this.deviceIdNotList = deviceIdNotList;
return this;
}
/**
* 设置 经度
* @param lon
* 设置 设备名称
* @param deviceName
*/
public DeviceQuery lon(String lon){
setLon(lon);
public DeviceQuery deviceName(String deviceName){
setDeviceName(deviceName);
return this;
}
/**
* 设置 经度
* @param lonList
* 设置 设备名称
* @param deviceNameList
*/
public DeviceQuery lonList(List<String> lonList){
this.lonList = lonList;
public DeviceQuery deviceNameList(List<String> deviceNameList){
this.deviceNameList = deviceNameList;
return this;
}
/**
* 设置 经度
* @param lati
* 设置 设备编码
* @param deviceCode
*/
public DeviceQuery lati(String lati){
setLati(lati);
public DeviceQuery deviceCode(String deviceCode){
setDeviceCode(deviceCode);
return this;
}
/**
* 设置 经度
* @param latiList
* 设置 设备编码
* @param deviceCodeList
*/
public DeviceQuery latiList(List<String> latiList){
this.latiList = latiList;
public DeviceQuery deviceCodeList(List<String> deviceCodeList){
this.deviceCodeList = deviceCodeList;
return this;
}
/**
* 设置 所属楼栋
* @param deviceInBuilding
* 设置 设备的MAC地址
* @param deviceMac
*/
public DeviceQuery deviceInBuilding(Integer deviceInBuilding){
setDeviceInBuilding(deviceInBuilding);
public DeviceQuery deviceMac(String deviceMac){
setDeviceMac(deviceMac);
return this;
}
/**
* 设置 开始 所属楼栋
* @param deviceInBuildingStart
* 设置 设备的MAC地址
* @param deviceMacList
*/
public DeviceQuery deviceInBuildingStart(Integer deviceInBuildingStart){
this.deviceInBuildingStart = deviceInBuildingStart;
public DeviceQuery deviceMacList(List<String> deviceMacList){
this.deviceMacList = deviceMacList;
return this;
}
/**
* 设置 结束 所属楼栋
* @param deviceInBuildingEnd
* 设置 站点Id
* @param siteId
*/
public DeviceQuery deviceInBuildingEnd(Integer deviceInBuildingEnd){
this.deviceInBuildingEnd = deviceInBuildingEnd;
public DeviceQuery siteId(Long siteId){
setSiteId(siteId);
return this;
}
/**
* 设置 增加 所属楼栋
* @param deviceInBuildingIncrement
* 设置 开始 站点Id
* @param siteIdStart
*/
public DeviceQuery deviceInBuildingIncrement(Integer deviceInBuildingIncrement){
this.deviceInBuildingIncrement = deviceInBuildingIncrement;
public DeviceQuery siteIdStart(Long siteIdStart){
this.siteIdStart = siteIdStart;
return this;
}
/**
* 设置 所属楼栋
* @param deviceInBuildingList
* 设置 结束 站点Id
* @param siteIdEnd
*/
public DeviceQuery deviceInBuildingList(List<Integer> deviceInBuildingList){
this.deviceInBuildingList = deviceInBuildingList;
public DeviceQuery siteIdEnd(Long siteIdEnd){
this.siteIdEnd = siteIdEnd;
return this;
}
/**
* 设置 所属楼层
* @param deviceInFloor
* 设置 增加 站点Id
* @param siteIdIncrement
*/
public DeviceQuery deviceInFloor(Integer deviceInFloor){
setDeviceInFloor(deviceInFloor);
public DeviceQuery siteIdIncrement(Long siteIdIncrement){
this.siteIdIncrement = siteIdIncrement;
return this;
}
/**
* 设置 开始 所属楼层
* @param deviceInFloorStart
* 设置 站点Id
* @param siteIdList
*/
public DeviceQuery deviceInFloorStart(Integer deviceInFloorStart){
this.deviceInFloorStart = deviceInFloorStart;
public DeviceQuery siteIdList(List<Long> siteIdList){
this.siteIdList = siteIdList;
return this;
}
/**
* 设置 结束 所属楼层
* @param deviceInFloorEnd
* 设置 站点Id
* @param siteIdNotList
*/
public DeviceQuery deviceInFloorEnd(Integer deviceInFloorEnd){
this.deviceInFloorEnd = deviceInFloorEnd;
public DeviceQuery siteIdNotList(List<Long> siteIdNotList){
this.siteIdNotList = siteIdNotList;
return this;
}
/**
* 设置 增加 所属楼层
* @param deviceInFloorIncrement
* 设置 站点编号,来源基础服务平台
* @param siteCode
*/
public DeviceQuery deviceInFloorIncrement(Integer deviceInFloorIncrement){
this.deviceInFloorIncrement = deviceInFloorIncrement;
public DeviceQuery siteCode(String siteCode){
setSiteCode(siteCode);
return this;
}
/**
* 设置 所属楼层
* @param deviceInFloorList
* 设置 站点编号,来源基础服务平台
* @param siteCodeList
*/
public DeviceQuery deviceInFloorList(List<Integer> deviceInFloorList){
this.deviceInFloorList = deviceInFloorList;
public DeviceQuery siteCodeList(List<String> siteCodeList){
this.siteCodeList = siteCodeList;
return this;
}
/**
* 设置 负责人
* @param leadingOfficial
* 设置 站点名称
* @param siteName
*/
public DeviceQuery leadingOfficial(String leadingOfficial){
setLeadingOfficial(leadingOfficial);
public DeviceQuery siteName(String siteName){
setSiteName(siteName);
return this;
}
/**
* 设置 负责人
* @param leadingOfficialList
* 设置 站点名称
* @param siteNameList
*/
public DeviceQuery leadingOfficialList(List<String> leadingOfficialList){
this.leadingOfficialList = leadingOfficialList;
public DeviceQuery siteNameList(List<String> siteNameList){
this.siteNameList = siteNameList;
return this;
}
/**
* 设置 联系电话
* @param leadingOfficialTelephone
* 设置 产品编码
* @param productCode
*/
public DeviceQuery leadingOfficialTelephone(String leadingOfficialTelephone){
setLeadingOfficialTelephone(leadingOfficialTelephone);
public DeviceQuery productCode(String productCode){
setProductCode(productCode);
return this;
}
/**
* 设置 联系电话
* @param leadingOfficialTelephoneList
* 设置 产品编码
* @param productCodeList
*/
public DeviceQuery leadingOfficialTelephoneList(List<String> leadingOfficialTelephoneList){
this.leadingOfficialTelephoneList = leadingOfficialTelephoneList;
public DeviceQuery productCodeList(List<String> productCodeList){
this.productCodeList = productCodeList;
return this;
}
/**
* 设置 是否接收异常短(0.否,1.是)
* @param isReceiveMess
* 设置 产品名称
* @param productName
*/
public DeviceQuery isReceiveMess(Integer isReceiveMess){
setIsReceiveMess(isReceiveMess);
public DeviceQuery productName(String productName){
setProductName(productName);
return this;
}
/**
* 设置 开始 是否接收异常短(0.否,1.是)
* @param isReceiveMessStart
* 设置 产品名称
* @param productNameList
*/
public DeviceQuery isReceiveMessStart(Integer isReceiveMessStart){
this.isReceiveMessStart = isReceiveMessStart;
public DeviceQuery productNameList(List<String> productNameList){
this.productNameList = productNameList;
return this;
}
/**
* 设置 结束 是否接收异常短(0.否,1.是)
* @param isReceiveMessEnd
* 设置 设备来源(0.子设备,1.网关设备,2.直连设备)
* @param deviceSrc
*/
public DeviceQuery isReceiveMessEnd(Integer isReceiveMessEnd){
this.isReceiveMessEnd = isReceiveMessEnd;
public DeviceQuery deviceSrc(Integer deviceSrc){
setDeviceSrc(deviceSrc);
return this;
}
/**
* 设置 增加 是否接收异常短(0.否,1.是)
* @param isReceiveMessIncrement
* 设置 开始 设备来源(0.子设备,1.网关设备,2.直连设备)
* @param deviceSrcStart
*/
public DeviceQuery isReceiveMessIncrement(Integer isReceiveMessIncrement){
this.isReceiveMessIncrement = isReceiveMessIncrement;
public DeviceQuery deviceSrcStart(Integer deviceSrcStart){
this.deviceSrcStart = deviceSrcStart;
return this;
}
/**
* 设置 是否接收异常短(0.否,1.是)
* @param isReceiveMessList
* 设置 结束 设备来源(0.子设备,1.网关设备,2.直连设备)
* @param deviceSrcEnd
*/
public DeviceQuery isReceiveMessList(List<Integer> isReceiveMessList){
this.isReceiveMessList = isReceiveMessList;
public DeviceQuery deviceSrcEnd(Integer deviceSrcEnd){
this.deviceSrcEnd = deviceSrcEnd;
return this;
}
/**
* 设置 增加 设备来源(0.子设备,1.网关设备,2.直连设备)
* @param deviceSrcIncrement
*/
public DeviceQuery deviceSrcIncrement(Integer deviceSrcIncrement){
this.deviceSrcIncrement = deviceSrcIncrement;
return this;
}
/**
* 设置 设备图片
* @param devicePhotoPath
* 设置 设备来源(0.子设备,1.网关设备,2.直连设备)
* @param deviceSrcList
*/
public DeviceQuery devicePhotoPath(String devicePhotoPath){
setDevicePhotoPath(devicePhotoPath);
public DeviceQuery deviceSrcList(List<Integer> deviceSrcList){
this.deviceSrcList = deviceSrcList;
return this;
}
/**
* 设置 设备图片
* @param devicePhotoPathList
* 设置 设备来源(0.子设备,1.网关设备,2.直连设备)
* @param deviceSrcNotList
*/
public DeviceQuery devicePhotoPathList(List<String> devicePhotoPathList){
this.devicePhotoPathList = devicePhotoPathList;
public DeviceQuery deviceSrcNotList(List<Integer> deviceSrcNotList){
this.deviceSrcNotList = deviceSrcNotList;
return this;
}
/**
* 设置 设备访问ip
* @param ip
* 设置 经度
* @param lon
*/
public DeviceQuery ip(String ip){
setIp(ip);
public DeviceQuery lon(String lon){
setLon(lon);
return this;
}
/**
* 设置 设备访问ip
* @param ipList
* 设置 经度
* @param lonList
*/
public DeviceQuery ipList(List<String> ipList){
this.ipList = ipList;
public DeviceQuery lonList(List<String> lonList){
this.lonList = lonList;
return this;
}
/**
* 设置 中心设备编码
* @param centernum
* 设置 纬度
* @param lati
*/
public DeviceQuery centernum(String centernum){
setCenternum(centernum);
public DeviceQuery lati(String lati){
setLati(lati);
return this;
}
/**
* 设置 中心设备编码
* @param centernumList
* 设置 纬度
* @param latiList
*/
public DeviceQuery centernumList(List<String> centernumList){
this.centernumList = centernumList;
public DeviceQuery latiList(List<String> latiList){
this.latiList = latiList;
return this;
}
/**
* 设置 端口
* @param port
* 设置 负责人
* @param leadingOfficial
*/
public DeviceQuery port(String port){
setPort(port);
public DeviceQuery leadingOfficial(String leadingOfficial){
setLeadingOfficial(leadingOfficial);
return this;
}
/**
* 设置 端口
* @param portList
* 设置 负责人
* @param leadingOfficialList
*/
public DeviceQuery portList(List<String> portList){
this.portList = portList;
public DeviceQuery leadingOfficialList(List<String> leadingOfficialList){
this.leadingOfficialList = leadingOfficialList;
return this;
}
/**
* 设置 设备topic信息
* @param deviceTopic
* 设置 联系电话
* @param leadingOfficialTelephone
*/
public DeviceQuery deviceTopic(String deviceTopic){
setDeviceTopic(deviceTopic);
public DeviceQuery leadingOfficialTelephone(String leadingOfficialTelephone){
setLeadingOfficialTelephone(leadingOfficialTelephone);
return this;
}
/**
* 设置 设备topic信息
* @param deviceTopicList
* 设置 联系电话
* @param leadingOfficialTelephoneList
*/
public DeviceQuery deviceTopicList(List<String> deviceTopicList){
this.deviceTopicList = deviceTopicList;
public DeviceQuery leadingOfficialTelephoneList(List<String> leadingOfficialTelephoneList){
this.leadingOfficialTelephoneList = leadingOfficialTelephoneList;
return this;
}
......@@ -2835,66 +1776,11 @@ public class DeviceQuery extends DeviceEntity {
}
/**
* 设置 启用状态 (0.停止,1.启用)
* @param enabled
*/
public DeviceQuery enabled(Integer enabled){
setEnabled(enabled);
return this;
}
/**
* 设置 开始 启用状态 (0.停止,1.启用)
* @param enabledStart
*/
public DeviceQuery enabledStart(Integer enabledStart){
this.enabledStart = enabledStart;
return this;
}
/**
* 设置 结束 启用状态 (0.停止,1.启用)
* @param enabledEnd
*/
public DeviceQuery enabledEnd(Integer enabledEnd){
this.enabledEnd = enabledEnd;
return this;
}
/**
* 设置 增加 启用状态 (0.停止,1.启用)
* @param enabledIncrement
*/
public DeviceQuery enabledIncrement(Integer enabledIncrement){
this.enabledIncrement = enabledIncrement;
return this;
}
/**
* 设置 启用状态 (0.停止,1.启用)
* @param enabledList
*/
public DeviceQuery enabledList(List<Integer> enabledList){
this.enabledList = enabledList;
return this;
}
/**
* 设置 设备授权码
* @param deviceAuthCode
*/
public DeviceQuery deviceAuthCode(String deviceAuthCode){
setDeviceAuthCode(deviceAuthCode);
return this;
}
/**
* 设置 设备授权码
* @param deviceAuthCodeList
* 设置 设备状态 (0.未激活,1.离线,2.在线)
* @param deviceStatusNotList
*/
public DeviceQuery deviceAuthCodeList(List<String> deviceAuthCodeList){
this.deviceAuthCodeList = deviceAuthCodeList;
public DeviceQuery deviceStatusNotList(List<Integer> deviceStatusNotList){
this.deviceStatusNotList = deviceStatusNotList;
return this;
}
......@@ -2917,72 +1803,6 @@ public class DeviceQuery extends DeviceEntity {
return this;
}
/**
* 设置 是否删除(0.否,1.是)
* @param deleted
*/
public DeviceQuery deleted(Integer deleted){
setDeleted(deleted);
return this;
}
/**
* 设置 开始 是否删除(0.否,1.是)
* @param deletedStart
*/
public DeviceQuery deletedStart(Integer deletedStart){
this.deletedStart = deletedStart;
return this;
}
/**
* 设置 结束 是否删除(0.否,1.是)
* @param deletedEnd
*/
public DeviceQuery deletedEnd(Integer deletedEnd){
this.deletedEnd = deletedEnd;
return this;
}
/**
* 设置 增加 是否删除(0.否,1.是)
* @param deletedIncrement
*/
public DeviceQuery deletedIncrement(Integer deletedIncrement){
this.deletedIncrement = deletedIncrement;
return this;
}
/**
* 设置 是否删除(0.否,1.是)
* @param deletedList
*/
public DeviceQuery deletedList(List<Integer> deletedList){
this.deletedList = deletedList;
return this;
}
/**
* 设置 设备版本
* @param deviceVersion
*/
public DeviceQuery deviceVersion(String deviceVersion){
setDeviceVersion(deviceVersion);
return this;
}
/**
* 设置 设备版本
* @param deviceVersionList
*/
public DeviceQuery deviceVersionList(List<String> deviceVersionList){
this.deviceVersionList = deviceVersionList;
return this;
}
/**
* 设置 设备来源(0.旧设备,1.新设备)
* @param source
......@@ -3028,6 +1848,15 @@ public class DeviceQuery extends DeviceEntity {
return this;
}
/**
* 设置 设备来源(0.旧设备,1.新设备)
* @param sourceNotList
*/
public DeviceQuery sourceNotList(List<Integer> sourceNotList){
this.sourceNotList = sourceNotList;
return this;
}
/**
* 设置 创建用户
* @param createUserId
......@@ -3073,6 +1902,15 @@ public class DeviceQuery extends DeviceEntity {
return this;
}
/**
* 设置 创建用户
* @param createUserIdNotList
*/
public DeviceQuery createUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList;
return this;
}
/**
* 设置 更新用户
......@@ -3119,6 +1957,15 @@ public class DeviceQuery extends DeviceEntity {
return this;
}
/**
* 设置 更新用户
* @param updateUserIdNotList
*/
public DeviceQuery updateUserIdNotList(List<Long> updateUserIdNotList){
this.updateUserIdNotList = updateUserIdNotList;
return this;
}
/**
* 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
......
package com.mortals.xhx.module.device.model.vo;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.mortals.framework.annotation.Excel;
import com.mortals.framework.model.BaseEntityLong;
import lombok.Data;
import org.apache.poi.ss.usermodel.PictureData;
import com.mortals.xhx.module.device.model.DeviceEntity;
import java.util.ArrayList;
import java.util.List;
/**
* 设备视图对象
*
* @author zxfei
* @date 2022-07-01
* @date 2023-02-25
*/
@Data
public class DeviceVo extends BaseEntityLong {
/**
* 唯一标识
*/
private String token;
/**
* 平台编码
*/
private String platformCode;
/**
* 产品编码
*/
@Excel(name = "产品类型",cacheDict = "productDict" ,type = Excel.Type.IMPORT)
private String productCode;
/**
* 是否通知第三方
*/
private Boolean switchSend=true;
/**
* 设备图片附件
*/
@Excel(name = "设备图片", type = Excel.Type.IMPORT, cellType = Excel.ColumnType.IMAGE)
@JSONField(deserialize = false,serialize = false)
@JsonIgnore
private PictureData picObj;
/** 主键ID,主键,自增长列表 */
private List <Long> idList;
/**
* 产品列表
*/
private List <Long> productIdList;
private List <Integer> deviceStatusList;
}
\ No newline at end of file
package com.mortals.xhx.module.device.service;
import com.mortals.framework.service.ICRUDService;
import com.mortals.xhx.module.device.model.DeviceEntity;
/**
* DeviceService
*
* 设备 service接口
*
* @author zxfei
* @date 2022-03-09
* @date 2023-02-25
*/
public interface DeviceService extends ICRUDService<DeviceEntity,Long> {
public interface DeviceService extends ICRUDService<DeviceEntity,Long>{
}
\ No newline at end of file
package com.mortals.xhx.module.device.service.impl;
import com.mortals.framework.ap.GlobalSysInfo;
import com.mortals.framework.common.Rest;
import org.springframework.stereotype.Service;
import com.mortals.framework.service.impl.AbstractCRUDServiceImpl;
import com.mortals.framework.exception.AppException;
import com.mortals.framework.model.Context;
import com.mortals.framework.model.PageInfo;
import com.mortals.framework.model.Result;
import com.mortals.framework.service.impl.AbstractCRUDServiceImpl;
import com.mortals.xhx.common.code.YesNoEnum;
import com.mortals.xhx.common.key.Constant;
import com.mortals.xhx.common.pdu.RespData;
import com.mortals.xhx.common.pdu.device.DevicePdu;
import com.mortals.xhx.common.utils.BeanUtil;
import com.mortals.xhx.feign.device.IDeviceFeign;
import com.mortals.xhx.module.device.dao.DeviceDao;
import com.mortals.xhx.module.device.model.DeviceEntity;
import com.mortals.xhx.module.device.service.DeviceService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
/**
* DeviceService
* 设备 service实现
*
* @author zxfei
* @date 2022-03-09
*/
* DeviceService
* 设备 service实现
*
* @author zxfei
* @date 2023-02-25
*/
@Service("deviceService")
@Slf4j
public class DeviceServiceImpl extends AbstractCRUDServiceImpl<DeviceDao, DeviceEntity, Long> implements DeviceService {
@Autowired
private IDeviceFeign deviceFeign;
@Override
public Result<DeviceEntity> find(DeviceEntity entity, PageInfo pageInfo, Context context) throws AppException {
Result<DeviceEntity> result = new Result();
DevicePdu devicePdu = new DevicePdu();
BeanUtils.copyProperties(entity, devicePdu, BeanUtil.getNullPropertyNames(entity));
String productName = GlobalSysInfo.getParamValue(Constant.PARAMS_PRODUCT_NAME, "样表机");
devicePdu.setProductName(productName);
Rest<RespData<List<DevicePdu>>> rest = deviceFeign.list(devicePdu);
if (rest.getCode().equals(YesNoEnum.YES.getValue())) {
List<DeviceEntity> collect = rest.getData().getData().stream().map(item -> {
DeviceEntity deviceEntity = new DeviceEntity();
BeanUtils.copyProperties(item, deviceEntity, BeanUtil.getNullPropertyNames(item));
return deviceEntity;
}).collect(Collectors.toList());
result.setList(collect);
result.setDict(rest.getDict());
}
return result;
}
}
\ No newline at end of file
package com.mortals.xhx.module.device.web;
import com.mortals.framework.web.BaseCRUDJsonBodyMappingController;
import com.mortals.xhx.module.device.model.DeviceEntity;
import com.mortals.xhx.module.device.service.DeviceService;
import lombok.extern.slf4j.Slf4j;
import com.mortals.xhx.base.system.param.service.ParamService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
import com.mortals.framework.model.Context;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.mortals.framework.web.BaseCRUDJsonBodyMappingController;
import com.mortals.xhx.module.device.model.DeviceEntity;
import com.mortals.xhx.module.device.service.DeviceService;
import org.apache.commons.lang3.ArrayUtils;
import com.mortals.framework.util.StringUtils;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import com.alibaba.fastjson.JSONObject;
import java.util.Arrays;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import static com.mortals.framework.ap.SysConstains.*;
/**
* 设备
*
* @author zxfei
* @date 2022-06-27
*/
*
* 设备
*
* @author zxfei
* @date 2023-02-25
*/
@RestController
@RequestMapping("device")
@Slf4j
public class DeviceController extends BaseCRUDJsonBodyMappingController<DeviceService, DeviceEntity, Long> {
public class DeviceController extends BaseCRUDJsonBodyMappingController<DeviceService,DeviceEntity,Long> {
@Autowired
private ParamService paramService;
public DeviceController(){
super.setModuleDesc( "设备");
}
@Override
protected void init(Map<String, Object> model, Context context) {
this.addDict(model, "deviceSrc", paramService.getParamBySecondOrganize("Device","deviceSrc"));
this.addDict(model, "deviceStatus", paramService.getParamBySecondOrganize("Device","deviceStatus"));
this.addDict(model, "source", paramService.getParamBySecondOrganize("Device","source"));
super.init(model, context);
}
}
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"mybatis-3-mapper.dtd">
<mapper namespace="com.mortals.xhx.module.device.dao.ibatis.DeviceDaoImpl">
<!-- 字段和属性映射 -->
<resultMap type="DeviceEntity" id="DeviceEntity-Map">
<id property="id" column="id" />
<result property="deviceId" column="deviceId" />
<result property="deviceName" column="deviceName" />
<result property="deviceCode" column="deviceCode" />
<result property="deviceMac" column="deviceMac" />
<result property="siteId" column="siteId" />
<result property="siteCode" column="siteCode" />
<result property="siteName" column="siteName" />
<result property="productCode" column="productCode" />
<result property="productName" column="productName" />
<result property="deviceSrc" column="deviceSrc" />
<result property="lon" column="lon" />
<result property="lati" column="lati" />
<result property="leadingOfficial" column="leadingOfficial" />
<result property="leadingOfficialTelephone" column="leadingOfficialTelephone" />
<result property="deviceStatus" column="deviceStatus" />
<result property="deviceRemark" column="deviceRemark" />
<result property="source" column="source" />
<result property="createUserId" column="createUserId" />
<result property="createTime" column="createTime" />
<result property="updateUserId" column="updateUserId" />
<result property="updateTime" column="updateTime" />
</resultMap>
<!-- 表所有列 -->
<sql id="_columns">
<trim suffixOverrides="," suffix="">
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('id') or colPickMode == 1 and data.containsKey('id')))">
a.id,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deviceId') or colPickMode == 1 and data.containsKey('deviceId')))">
a.deviceId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deviceName') or colPickMode == 1 and data.containsKey('deviceName')))">
a.deviceName,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deviceCode') or colPickMode == 1 and data.containsKey('deviceCode')))">
a.deviceCode,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deviceMac') or colPickMode == 1 and data.containsKey('deviceMac')))">
a.deviceMac,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('siteId') or colPickMode == 1 and data.containsKey('siteId')))">
a.siteId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('siteCode') or colPickMode == 1 and data.containsKey('siteCode')))">
a.siteCode,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('siteName') or colPickMode == 1 and data.containsKey('siteName')))">
a.siteName,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('productCode') or colPickMode == 1 and data.containsKey('productCode')))">
a.productCode,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('productName') or colPickMode == 1 and data.containsKey('productName')))">
a.productName,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deviceSrc') or colPickMode == 1 and data.containsKey('deviceSrc')))">
a.deviceSrc,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('lon') or colPickMode == 1 and data.containsKey('lon')))">
a.lon,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('lati') or colPickMode == 1 and data.containsKey('lati')))">
a.lati,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('leadingOfficial') or colPickMode == 1 and data.containsKey('leadingOfficial')))">
a.leadingOfficial,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('leadingOfficialTelephone') or colPickMode == 1 and data.containsKey('leadingOfficialTelephone')))">
a.leadingOfficialTelephone,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deviceStatus') or colPickMode == 1 and data.containsKey('deviceStatus')))">
a.deviceStatus,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deviceRemark') or colPickMode == 1 and data.containsKey('deviceRemark')))">
a.deviceRemark,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('source') or colPickMode == 1 and data.containsKey('source')))">
a.source,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createUserId') or colPickMode == 1 and data.containsKey('createUserId')))">
a.createUserId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createTime') or colPickMode == 1 and data.containsKey('createTime')))">
a.createTime,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateUserId') or colPickMode == 1 and data.containsKey('updateUserId')))">
a.updateUserId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateTime') or colPickMode == 1 and data.containsKey('updateTime')))">
a.updateTime,
</if>
</trim>
</sql>
<!-- 新增 区分主键自增加还是业务插入 -->
<insert id="insert" parameterType="DeviceEntity" useGeneratedKeys="true" keyProperty="id">
insert into mortals_xhx_device
(deviceId,deviceName,deviceCode,deviceMac,siteId,siteCode,siteName,productCode,productName,deviceSrc,lon,lati,leadingOfficial,leadingOfficialTelephone,deviceStatus,deviceRemark,source,createUserId,createTime,updateUserId,updateTime)
VALUES
(#{deviceId},#{deviceName},#{deviceCode},#{deviceMac},#{siteId},#{siteCode},#{siteName},#{productCode},#{productName},#{deviceSrc},#{lon},#{lati},#{leadingOfficial},#{leadingOfficialTelephone},#{deviceStatus},#{deviceRemark},#{source},#{createUserId},#{createTime},#{updateUserId},#{updateTime})
</insert>
<!-- 批量新增 -->
<insert id="insertBatch" parameterType="paramDto">
insert into mortals_xhx_device
(deviceId,deviceName,deviceCode,deviceMac,siteId,siteCode,siteName,productCode,productName,deviceSrc,lon,lati,leadingOfficial,leadingOfficialTelephone,deviceStatus,deviceRemark,source,createUserId,createTime,updateUserId,updateTime)
VALUES
<foreach collection="data.dataList" item="item" index="index" separator="," >
(#{item.deviceId},#{item.deviceName},#{item.deviceCode},#{item.deviceMac},#{item.siteId},#{item.siteCode},#{item.siteName},#{item.productCode},#{item.productName},#{item.deviceSrc},#{item.lon},#{item.lati},#{item.leadingOfficial},#{item.leadingOfficialTelephone},#{item.deviceStatus},#{item.deviceRemark},#{item.source},#{item.createUserId},#{item.createTime},#{item.updateUserId},#{item.updateTime})
</foreach>
</insert>
<!-- 根据ParamDto更新 -->
<update id="update" parameterType="paramDto">
update mortals_xhx_device as a
set
<trim suffixOverrides="," suffix="">
<if test="(colPickMode==0 and data.containsKey('deviceId')) or (colPickMode==1 and !data.containsKey('deviceId'))">
a.deviceId=#{data.deviceId},
</if>
<if test="(colPickMode==0 and data.containsKey('deviceIdIncrement')) or (colPickMode==1 and !data.containsKey('deviceIdIncrement'))">
a.deviceId=ifnull(a.deviceId,0) + #{data.deviceIdIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('deviceName')) or (colPickMode==1 and !data.containsKey('deviceName'))">
a.deviceName=#{data.deviceName},
</if>
<if test="(colPickMode==0 and data.containsKey('deviceCode')) or (colPickMode==1 and !data.containsKey('deviceCode'))">
a.deviceCode=#{data.deviceCode},
</if>
<if test="(colPickMode==0 and data.containsKey('deviceMac')) or (colPickMode==1 and !data.containsKey('deviceMac'))">
a.deviceMac=#{data.deviceMac},
</if>
<if test="(colPickMode==0 and data.containsKey('siteId')) or (colPickMode==1 and !data.containsKey('siteId'))">
a.siteId=#{data.siteId},
</if>
<if test="(colPickMode==0 and data.containsKey('siteIdIncrement')) or (colPickMode==1 and !data.containsKey('siteIdIncrement'))">
a.siteId=ifnull(a.siteId,0) + #{data.siteIdIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('siteCode')) or (colPickMode==1 and !data.containsKey('siteCode'))">
a.siteCode=#{data.siteCode},
</if>
<if test="(colPickMode==0 and data.containsKey('siteName')) or (colPickMode==1 and !data.containsKey('siteName'))">
a.siteName=#{data.siteName},
</if>
<if test="(colPickMode==0 and data.containsKey('productCode')) or (colPickMode==1 and !data.containsKey('productCode'))">
a.productCode=#{data.productCode},
</if>
<if test="(colPickMode==0 and data.containsKey('productName')) or (colPickMode==1 and !data.containsKey('productName'))">
a.productName=#{data.productName},
</if>
<if test="(colPickMode==0 and data.containsKey('deviceSrc')) or (colPickMode==1 and !data.containsKey('deviceSrc'))">
a.deviceSrc=#{data.deviceSrc},
</if>
<if test="(colPickMode==0 and data.containsKey('deviceSrcIncrement')) or (colPickMode==1 and !data.containsKey('deviceSrcIncrement'))">
a.deviceSrc=ifnull(a.deviceSrc,0) + #{data.deviceSrcIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('lon')) or (colPickMode==1 and !data.containsKey('lon'))">
a.lon=#{data.lon},
</if>
<if test="(colPickMode==0 and data.containsKey('lati')) or (colPickMode==1 and !data.containsKey('lati'))">
a.lati=#{data.lati},
</if>
<if test="(colPickMode==0 and data.containsKey('leadingOfficial')) or (colPickMode==1 and !data.containsKey('leadingOfficial'))">
a.leadingOfficial=#{data.leadingOfficial},
</if>
<if test="(colPickMode==0 and data.containsKey('leadingOfficialTelephone')) or (colPickMode==1 and !data.containsKey('leadingOfficialTelephone'))">
a.leadingOfficialTelephone=#{data.leadingOfficialTelephone},
</if>
<if test="(colPickMode==0 and data.containsKey('deviceStatus')) or (colPickMode==1 and !data.containsKey('deviceStatus'))">
a.deviceStatus=#{data.deviceStatus},
</if>
<if test="(colPickMode==0 and data.containsKey('deviceStatusIncrement')) or (colPickMode==1 and !data.containsKey('deviceStatusIncrement'))">
a.deviceStatus=ifnull(a.deviceStatus,0) + #{data.deviceStatusIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('deviceRemark')) or (colPickMode==1 and !data.containsKey('deviceRemark'))">
a.deviceRemark=#{data.deviceRemark},
</if>
<if test="(colPickMode==0 and data.containsKey('source')) or (colPickMode==1 and !data.containsKey('source'))">
a.source=#{data.source},
</if>
<if test="(colPickMode==0 and data.containsKey('sourceIncrement')) or (colPickMode==1 and !data.containsKey('sourceIncrement'))">
a.source=ifnull(a.source,0) + #{data.sourceIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('createUserId')) or (colPickMode==1 and !data.containsKey('createUserId'))">
a.createUserId=#{data.createUserId},
</if>
<if test="(colPickMode==0 and data.containsKey('createUserIdIncrement')) or (colPickMode==1 and !data.containsKey('createUserIdIncrement'))">
a.createUserId=ifnull(a.createUserId,0) + #{data.createUserIdIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('createTime')) or (colPickMode==1 and !data.containsKey('createTime'))">
a.createTime=#{data.createTime},
</if>
<if test="(colPickMode==0 and data.containsKey('updateUserId')) or (colPickMode==1 and !data.containsKey('updateUserId'))">
a.updateUserId=#{data.updateUserId},
</if>
<if test="(colPickMode==0 and data.containsKey('updateUserIdIncrement')) or (colPickMode==1 and !data.containsKey('updateUserIdIncrement'))">
a.updateUserId=ifnull(a.updateUserId,0) + #{data.updateUserIdIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('updateTime')) or (colPickMode==1 and !data.containsKey('updateTime'))">
a.updateTime=#{data.updateTime},
</if>
</trim>
<trim suffixOverrides="where" suffix="">
where
<trim prefixOverrides="and" prefix="">
<include refid="_condition_"/>
</trim>
</trim>
</update>
<!-- 批量更新 -->
<update id="updateBatch" parameterType="paramDto">
update mortals_xhx_device as a
<trim prefix="set" suffixOverrides=",">
<trim prefix="deviceId=(case" suffix="ELSE deviceId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('deviceId')) or (colPickMode==1 and !item.containsKey('deviceId'))">
when a.id=#{item.id} then #{item.deviceId}
</when>
<when test="(colPickMode==0 and item.containsKey('deviceIdIncrement')) or (colPickMode==1 and !item.containsKey('deviceIdIncrement'))">
when a.id=#{item.id} then ifnull(a.deviceId,0) + #{item.deviceIdIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="deviceName=(case" suffix="ELSE deviceName end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('deviceName')) or (colPickMode==1 and !item.containsKey('deviceName'))">
when a.id=#{item.id} then #{item.deviceName}
</if>
</foreach>
</trim>
<trim prefix="deviceCode=(case" suffix="ELSE deviceCode end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('deviceCode')) or (colPickMode==1 and !item.containsKey('deviceCode'))">
when a.id=#{item.id} then #{item.deviceCode}
</if>
</foreach>
</trim>
<trim prefix="deviceMac=(case" suffix="ELSE deviceMac end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('deviceMac')) or (colPickMode==1 and !item.containsKey('deviceMac'))">
when a.id=#{item.id} then #{item.deviceMac}
</if>
</foreach>
</trim>
<trim prefix="siteId=(case" suffix="ELSE siteId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('siteId')) or (colPickMode==1 and !item.containsKey('siteId'))">
when a.id=#{item.id} then #{item.siteId}
</when>
<when test="(colPickMode==0 and item.containsKey('siteIdIncrement')) or (colPickMode==1 and !item.containsKey('siteIdIncrement'))">
when a.id=#{item.id} then ifnull(a.siteId,0) + #{item.siteIdIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="siteCode=(case" suffix="ELSE siteCode end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('siteCode')) or (colPickMode==1 and !item.containsKey('siteCode'))">
when a.id=#{item.id} then #{item.siteCode}
</if>
</foreach>
</trim>
<trim prefix="siteName=(case" suffix="ELSE siteName end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('siteName')) or (colPickMode==1 and !item.containsKey('siteName'))">
when a.id=#{item.id} then #{item.siteName}
</if>
</foreach>
</trim>
<trim prefix="productCode=(case" suffix="ELSE productCode end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('productCode')) or (colPickMode==1 and !item.containsKey('productCode'))">
when a.id=#{item.id} then #{item.productCode}
</if>
</foreach>
</trim>
<trim prefix="productName=(case" suffix="ELSE productName end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('productName')) or (colPickMode==1 and !item.containsKey('productName'))">
when a.id=#{item.id} then #{item.productName}
</if>
</foreach>
</trim>
<trim prefix="deviceSrc=(case" suffix="ELSE deviceSrc end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('deviceSrc')) or (colPickMode==1 and !item.containsKey('deviceSrc'))">
when a.id=#{item.id} then #{item.deviceSrc}
</when>
<when test="(colPickMode==0 and item.containsKey('deviceSrcIncrement')) or (colPickMode==1 and !item.containsKey('deviceSrcIncrement'))">
when a.id=#{item.id} then ifnull(a.deviceSrc,0) + #{item.deviceSrcIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="lon=(case" suffix="ELSE lon end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('lon')) or (colPickMode==1 and !item.containsKey('lon'))">
when a.id=#{item.id} then #{item.lon}
</if>
</foreach>
</trim>
<trim prefix="lati=(case" suffix="ELSE lati end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('lati')) or (colPickMode==1 and !item.containsKey('lati'))">
when a.id=#{item.id} then #{item.lati}
</if>
</foreach>
</trim>
<trim prefix="leadingOfficial=(case" suffix="ELSE leadingOfficial end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('leadingOfficial')) or (colPickMode==1 and !item.containsKey('leadingOfficial'))">
when a.id=#{item.id} then #{item.leadingOfficial}
</if>
</foreach>
</trim>
<trim prefix="leadingOfficialTelephone=(case" suffix="ELSE leadingOfficialTelephone end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('leadingOfficialTelephone')) or (colPickMode==1 and !item.containsKey('leadingOfficialTelephone'))">
when a.id=#{item.id} then #{item.leadingOfficialTelephone}
</if>
</foreach>
</trim>
<trim prefix="deviceStatus=(case" suffix="ELSE deviceStatus end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('deviceStatus')) or (colPickMode==1 and !item.containsKey('deviceStatus'))">
when a.id=#{item.id} then #{item.deviceStatus}
</when>
<when test="(colPickMode==0 and item.containsKey('deviceStatusIncrement')) or (colPickMode==1 and !item.containsKey('deviceStatusIncrement'))">
when a.id=#{item.id} then ifnull(a.deviceStatus,0) + #{item.deviceStatusIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="deviceRemark=(case" suffix="ELSE deviceRemark end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('deviceRemark')) or (colPickMode==1 and !item.containsKey('deviceRemark'))">
when a.id=#{item.id} then #{item.deviceRemark}
</if>
</foreach>
</trim>
<trim prefix="source=(case" suffix="ELSE source end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('source')) or (colPickMode==1 and !item.containsKey('source'))">
when a.id=#{item.id} then #{item.source}
</when>
<when test="(colPickMode==0 and item.containsKey('sourceIncrement')) or (colPickMode==1 and !item.containsKey('sourceIncrement'))">
when a.id=#{item.id} then ifnull(a.source,0) + #{item.sourceIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="createUserId=(case" suffix="ELSE createUserId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('createUserId')) or (colPickMode==1 and !item.containsKey('createUserId'))">
when a.id=#{item.id} then #{item.createUserId}
</when>
<when test="(colPickMode==0 and item.containsKey('createUserIdIncrement')) or (colPickMode==1 and !item.containsKey('createUserIdIncrement'))">
when a.id=#{item.id} then ifnull(a.createUserId,0) + #{item.createUserIdIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="createTime=(case" suffix="ELSE createTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('createTime')) or (colPickMode==1 and !item.containsKey('createTime'))">
when a.id=#{item.id} then #{item.createTime}
</if>
</foreach>
</trim>
<trim prefix="updateUserId=(case" suffix="ELSE updateUserId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('updateUserId')) or (colPickMode==1 and !item.containsKey('updateUserId'))">
when a.id=#{item.id} then #{item.updateUserId}
</when>
<when test="(colPickMode==0 and item.containsKey('updateUserIdIncrement')) or (colPickMode==1 and !item.containsKey('updateUserIdIncrement'))">
when a.id=#{item.id} then ifnull(a.updateUserId,0) + #{item.updateUserIdIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="updateTime=(case" suffix="ELSE updateTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('updateTime')) or (colPickMode==1 and !item.containsKey('updateTime'))">
when a.id=#{item.id} then #{item.updateTime}
</if>
</foreach>
</trim>
</trim>
where id in
<foreach collection="data.dataList" item="item" index="index" open="(" separator="," close=")">
#{item.id}
</foreach>
</update>
<!-- 根据主健查询 -->
<select id="getByKey" parameterType="paramDto" resultMap="DeviceEntity-Map">
select <include refid="_columns"/>
from mortals_xhx_device as a
where a.id=#{condition.id}
</select>
<!-- 根据主健删除 -->
<delete id="deleteByKey" parameterType="paramDto">
delete a.* from mortals_xhx_device as a where a.id=#{condition.id}
</delete>
<!-- 根据主健删除一批,针对单一主健有效 -->
<delete id="deleteByKeys">
delete from mortals_xhx_device where id in
<foreach collection="array" item="item" index="index" open="(" separator="," close=")">
#{item}
</foreach>
</delete>
<!-- 根据主健列表删除一批,针对单一主健有效 -->
<delete id="deleteByKeyList">
delete from mortals_xhx_device where id in
<foreach collection="list" item="item" index="index" open="(" separator="," close=")">
#{item}
</foreach>
</delete>
<!-- 根据对象列表删除一批,针对单一主健有效 -->
<delete id="deleteByEntityList">
delete from mortals_xhx_device where id in
<foreach collection="list" item="item" index="index" open="(" separator="," close=")">
#{item.id}
</foreach>
</delete>
<!-- 根据paramDto删除一批 -->
<delete id="deleteByMap" parameterType="paramDto">
delete a.* from mortals_xhx_device as a
<trim suffixOverrides="where" suffix="">
where
<trim prefixOverrides="and" prefix="">
<include refid="_condition_"/>
</trim>
</trim>
</delete>
<!-- 获取列表 -->
<select id="getList" parameterType="paramDto" resultMap="DeviceEntity-Map">
select <include refid="_columns"/>
from mortals_xhx_device as a
<trim suffixOverrides="where" suffix="">
where
<trim prefixOverrides="and" prefix="">
<include refid="_condition_"/>
</trim>
</trim>
<include refid="_orderCols_"/>
</select>
<!-- 获取 -->
<select id="getListCount" parameterType="paramDto" resultType="int">
select count(1)
from mortals_xhx_device as a
<trim suffixOverrides="where" suffix="">
where
<trim prefixOverrides="and" prefix="">
<include refid="_condition_"/>
</trim>
</trim>
</select>
<!-- 条件映射 -->
<sql id="_condition_">
<if test="condition != null and !condition.isEmpty()">
<!-- 条件映射-普通条件 -->
<include refid="_condition_param_">
<property name="_conditionParam_" value="condition"/>
<property name="_conditionType_" value="and"/>
</include>
<!-- 条件映射-集合之间使用AND,集合中元素使用OR-(list[0].1 or list[0].2) and (list[1].3 or list[1].4) -->
<if test="condition.containsKey('andConditionList') and !condition.andConditionList.isEmpty()">
and
<foreach collection="condition.andConditionList" open="(" close=")" index="index" item="andCondition" separator=" and ">
<trim prefixOverrides="or" prefix="(" suffix=")">
<include refid="_condition_param_">
<property name="_conditionParam_" value="andCondition"/>
<property name="_conditionType_" value="or"/>
</include>
</trim>
</foreach>
</if>
<!-- 条件映射-集合之间使用OR,集合中元素使用AND-(list[0].1 and list[0].2) or (list[1].3 and list[1].4) -->
<if test="condition.containsKey('orConditionList') and !condition.orConditionList.isEmpty()">
and
<foreach collection="condition.orConditionList" open="(" close=")" index="index" item="orCondition" separator=" or ">
<trim prefixOverrides="and" prefix="(" suffix=")">
<include refid="_condition_param_">
<property name="_conditionParam_" value="orCondition"/>
<property name="_conditionType_" value="and"/>
</include>
</trim>
</foreach>
</if>
</if>
</sql>
<!-- 条件映射-代参数 -->
<sql id="_condition_param_">
<bind name="conditionParamRef" value="${_conditionParam_}"/>
<if test="conditionParamRef.containsKey('id')">
<if test="conditionParamRef.id != null">
${_conditionType_} a.id=#{${_conditionParam_}.id}
</if>
</if>
<if test="conditionParamRef.containsKey('id')">
<if test="conditionParamRef.id != null ">
${_conditionType_} a.id = #{${_conditionParam_}.id}
</if>
<if test="conditionParamRef.id == null">
${_conditionType_} a.id is null
</if>
</if>
<if test="conditionParamRef.containsKey('idList') and conditionParamRef.idList.size() > 0">
${_conditionType_} a.id in
<foreach collection="conditionParamRef.idList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idNotList') and conditionParamRef.idNotList.size() > 0">
${_conditionType_} a.id not in
<foreach collection="conditionParamRef.idNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idStart') and conditionParamRef.idStart != null">
${_conditionType_} a.id <![CDATA[ >= ]]> #{${_conditionParam_}.idStart}
</if>
<if test="conditionParamRef.containsKey('idEnd') and conditionParamRef.idEnd != null">
${_conditionType_} a.id <![CDATA[ <= ]]> #{${_conditionParam_}.idEnd}
</if>
<if test="conditionParamRef.containsKey('deviceId')">
<if test="conditionParamRef.deviceId != null ">
${_conditionType_} a.deviceId = #{${_conditionParam_}.deviceId}
</if>
<if test="conditionParamRef.deviceId == null">
${_conditionType_} a.deviceId is null
</if>
</if>
<if test="conditionParamRef.containsKey('deviceIdList') and conditionParamRef.deviceIdList.size() > 0">
${_conditionType_} a.deviceId in
<foreach collection="conditionParamRef.deviceIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deviceIdNotList') and conditionParamRef.deviceIdNotList.size() > 0">
${_conditionType_} a.deviceId not in
<foreach collection="conditionParamRef.deviceIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deviceIdStart') and conditionParamRef.deviceIdStart != null">
${_conditionType_} a.deviceId <![CDATA[ >= ]]> #{${_conditionParam_}.deviceIdStart}
</if>
<if test="conditionParamRef.containsKey('deviceIdEnd') and conditionParamRef.deviceIdEnd != null">
${_conditionType_} a.deviceId <![CDATA[ <= ]]> #{${_conditionParam_}.deviceIdEnd}
</if>
<if test="conditionParamRef.containsKey('deviceName')">
<if test="conditionParamRef.deviceName != null and conditionParamRef.deviceName != ''">
${_conditionType_} a.deviceName like #{${_conditionParam_}.deviceName}
</if>
<if test="conditionParamRef.deviceName == null">
${_conditionType_} a.deviceName is null
</if>
</if>
<if test="conditionParamRef.containsKey('deviceNameList') and conditionParamRef.deviceNameList.size() > 0">
${_conditionType_} a.deviceName in
<foreach collection="conditionParamRef.deviceNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deviceNameNotList') and conditionParamRef.deviceNameNotList.size() > 0">
${_conditionType_} a.deviceName not in
<foreach collection="conditionParamRef.deviceNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deviceCode')">
<if test="conditionParamRef.deviceCode != null and conditionParamRef.deviceCode != ''">
${_conditionType_} a.deviceCode like #{${_conditionParam_}.deviceCode}
</if>
<if test="conditionParamRef.deviceCode == null">
${_conditionType_} a.deviceCode is null
</if>
</if>
<if test="conditionParamRef.containsKey('deviceCodeList') and conditionParamRef.deviceCodeList.size() > 0">
${_conditionType_} a.deviceCode in
<foreach collection="conditionParamRef.deviceCodeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deviceCodeNotList') and conditionParamRef.deviceCodeNotList.size() > 0">
${_conditionType_} a.deviceCode not in
<foreach collection="conditionParamRef.deviceCodeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deviceMac')">
<if test="conditionParamRef.deviceMac != null and conditionParamRef.deviceMac != ''">
${_conditionType_} a.deviceMac like #{${_conditionParam_}.deviceMac}
</if>
<if test="conditionParamRef.deviceMac == null">
${_conditionType_} a.deviceMac is null
</if>
</if>
<if test="conditionParamRef.containsKey('deviceMacList') and conditionParamRef.deviceMacList.size() > 0">
${_conditionType_} a.deviceMac in
<foreach collection="conditionParamRef.deviceMacList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deviceMacNotList') and conditionParamRef.deviceMacNotList.size() > 0">
${_conditionType_} a.deviceMac not in
<foreach collection="conditionParamRef.deviceMacNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('siteId')">
<if test="conditionParamRef.siteId != null ">
${_conditionType_} a.siteId = #{${_conditionParam_}.siteId}
</if>
<if test="conditionParamRef.siteId == null">
${_conditionType_} a.siteId is null
</if>
</if>
<if test="conditionParamRef.containsKey('siteIdList') and conditionParamRef.siteIdList.size() > 0">
${_conditionType_} a.siteId in
<foreach collection="conditionParamRef.siteIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('siteIdNotList') and conditionParamRef.siteIdNotList.size() > 0">
${_conditionType_} a.siteId not in
<foreach collection="conditionParamRef.siteIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('siteIdStart') and conditionParamRef.siteIdStart != null">
${_conditionType_} a.siteId <![CDATA[ >= ]]> #{${_conditionParam_}.siteIdStart}
</if>
<if test="conditionParamRef.containsKey('siteIdEnd') and conditionParamRef.siteIdEnd != null">
${_conditionType_} a.siteId <![CDATA[ <= ]]> #{${_conditionParam_}.siteIdEnd}
</if>
<if test="conditionParamRef.containsKey('siteCode')">
<if test="conditionParamRef.siteCode != null and conditionParamRef.siteCode != ''">
${_conditionType_} a.siteCode like #{${_conditionParam_}.siteCode}
</if>
<if test="conditionParamRef.siteCode == null">
${_conditionType_} a.siteCode is null
</if>
</if>
<if test="conditionParamRef.containsKey('siteCodeList') and conditionParamRef.siteCodeList.size() > 0">
${_conditionType_} a.siteCode in
<foreach collection="conditionParamRef.siteCodeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('siteCodeNotList') and conditionParamRef.siteCodeNotList.size() > 0">
${_conditionType_} a.siteCode not in
<foreach collection="conditionParamRef.siteCodeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('siteName')">
<if test="conditionParamRef.siteName != null and conditionParamRef.siteName != ''">
${_conditionType_} a.siteName like #{${_conditionParam_}.siteName}
</if>
<if test="conditionParamRef.siteName == null">
${_conditionType_} a.siteName is null
</if>
</if>
<if test="conditionParamRef.containsKey('siteNameList') and conditionParamRef.siteNameList.size() > 0">
${_conditionType_} a.siteName in
<foreach collection="conditionParamRef.siteNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('siteNameNotList') and conditionParamRef.siteNameNotList.size() > 0">
${_conditionType_} a.siteName not in
<foreach collection="conditionParamRef.siteNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('productCode')">
<if test="conditionParamRef.productCode != null and conditionParamRef.productCode != ''">
${_conditionType_} a.productCode like #{${_conditionParam_}.productCode}
</if>
<if test="conditionParamRef.productCode == null">
${_conditionType_} a.productCode is null
</if>
</if>
<if test="conditionParamRef.containsKey('productCodeList') and conditionParamRef.productCodeList.size() > 0">
${_conditionType_} a.productCode in
<foreach collection="conditionParamRef.productCodeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('productCodeNotList') and conditionParamRef.productCodeNotList.size() > 0">
${_conditionType_} a.productCode not in
<foreach collection="conditionParamRef.productCodeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('productName')">
<if test="conditionParamRef.productName != null and conditionParamRef.productName != ''">
${_conditionType_} a.productName like #{${_conditionParam_}.productName}
</if>
<if test="conditionParamRef.productName == null">
${_conditionType_} a.productName is null
</if>
</if>
<if test="conditionParamRef.containsKey('productNameList') and conditionParamRef.productNameList.size() > 0">
${_conditionType_} a.productName in
<foreach collection="conditionParamRef.productNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('productNameNotList') and conditionParamRef.productNameNotList.size() > 0">
${_conditionType_} a.productName not in
<foreach collection="conditionParamRef.productNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deviceSrc')">
<if test="conditionParamRef.deviceSrc != null ">
${_conditionType_} a.deviceSrc = #{${_conditionParam_}.deviceSrc}
</if>
<if test="conditionParamRef.deviceSrc == null">
${_conditionType_} a.deviceSrc is null
</if>
</if>
<if test="conditionParamRef.containsKey('deviceSrcList') and conditionParamRef.deviceSrcList.size() > 0">
${_conditionType_} a.deviceSrc in
<foreach collection="conditionParamRef.deviceSrcList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deviceSrcNotList') and conditionParamRef.deviceSrcNotList.size() > 0">
${_conditionType_} a.deviceSrc not in
<foreach collection="conditionParamRef.deviceSrcNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deviceSrcStart') and conditionParamRef.deviceSrcStart != null">
${_conditionType_} a.deviceSrc <![CDATA[ >= ]]> #{${_conditionParam_}.deviceSrcStart}
</if>
<if test="conditionParamRef.containsKey('deviceSrcEnd') and conditionParamRef.deviceSrcEnd != null">
${_conditionType_} a.deviceSrc <![CDATA[ <= ]]> #{${_conditionParam_}.deviceSrcEnd}
</if>
<if test="conditionParamRef.containsKey('lon')">
<if test="conditionParamRef.lon != null and conditionParamRef.lon != ''">
${_conditionType_} a.lon like #{${_conditionParam_}.lon}
</if>
<if test="conditionParamRef.lon == null">
${_conditionType_} a.lon is null
</if>
</if>
<if test="conditionParamRef.containsKey('lonList') and conditionParamRef.lonList.size() > 0">
${_conditionType_} a.lon in
<foreach collection="conditionParamRef.lonList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('lonNotList') and conditionParamRef.lonNotList.size() > 0">
${_conditionType_} a.lon not in
<foreach collection="conditionParamRef.lonNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('lati')">
<if test="conditionParamRef.lati != null and conditionParamRef.lati != ''">
${_conditionType_} a.lati like #{${_conditionParam_}.lati}
</if>
<if test="conditionParamRef.lati == null">
${_conditionType_} a.lati is null
</if>
</if>
<if test="conditionParamRef.containsKey('latiList') and conditionParamRef.latiList.size() > 0">
${_conditionType_} a.lati in
<foreach collection="conditionParamRef.latiList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('latiNotList') and conditionParamRef.latiNotList.size() > 0">
${_conditionType_} a.lati not in
<foreach collection="conditionParamRef.latiNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('leadingOfficial')">
<if test="conditionParamRef.leadingOfficial != null and conditionParamRef.leadingOfficial != ''">
${_conditionType_} a.leadingOfficial like #{${_conditionParam_}.leadingOfficial}
</if>
<if test="conditionParamRef.leadingOfficial == null">
${_conditionType_} a.leadingOfficial is null
</if>
</if>
<if test="conditionParamRef.containsKey('leadingOfficialList') and conditionParamRef.leadingOfficialList.size() > 0">
${_conditionType_} a.leadingOfficial in
<foreach collection="conditionParamRef.leadingOfficialList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('leadingOfficialNotList') and conditionParamRef.leadingOfficialNotList.size() > 0">
${_conditionType_} a.leadingOfficial not in
<foreach collection="conditionParamRef.leadingOfficialNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('leadingOfficialTelephone')">
<if test="conditionParamRef.leadingOfficialTelephone != null and conditionParamRef.leadingOfficialTelephone != ''">
${_conditionType_} a.leadingOfficialTelephone like #{${_conditionParam_}.leadingOfficialTelephone}
</if>
<if test="conditionParamRef.leadingOfficialTelephone == null">
${_conditionType_} a.leadingOfficialTelephone is null
</if>
</if>
<if test="conditionParamRef.containsKey('leadingOfficialTelephoneList') and conditionParamRef.leadingOfficialTelephoneList.size() > 0">
${_conditionType_} a.leadingOfficialTelephone in
<foreach collection="conditionParamRef.leadingOfficialTelephoneList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('leadingOfficialTelephoneNotList') and conditionParamRef.leadingOfficialTelephoneNotList.size() > 0">
${_conditionType_} a.leadingOfficialTelephone not in
<foreach collection="conditionParamRef.leadingOfficialTelephoneNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deviceStatus')">
<if test="conditionParamRef.deviceStatus != null ">
${_conditionType_} a.deviceStatus = #{${_conditionParam_}.deviceStatus}
</if>
<if test="conditionParamRef.deviceStatus == null">
${_conditionType_} a.deviceStatus is null
</if>
</if>
<if test="conditionParamRef.containsKey('deviceStatusList') and conditionParamRef.deviceStatusList.size() > 0">
${_conditionType_} a.deviceStatus in
<foreach collection="conditionParamRef.deviceStatusList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deviceStatusNotList') and conditionParamRef.deviceStatusNotList.size() > 0">
${_conditionType_} a.deviceStatus not in
<foreach collection="conditionParamRef.deviceStatusNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deviceStatusStart') and conditionParamRef.deviceStatusStart != null">
${_conditionType_} a.deviceStatus <![CDATA[ >= ]]> #{${_conditionParam_}.deviceStatusStart}
</if>
<if test="conditionParamRef.containsKey('deviceStatusEnd') and conditionParamRef.deviceStatusEnd != null">
${_conditionType_} a.deviceStatus <![CDATA[ <= ]]> #{${_conditionParam_}.deviceStatusEnd}
</if>
<if test="conditionParamRef.containsKey('deviceRemark')">
<if test="conditionParamRef.deviceRemark != null and conditionParamRef.deviceRemark != ''">
${_conditionType_} a.deviceRemark like #{${_conditionParam_}.deviceRemark}
</if>
<if test="conditionParamRef.deviceRemark == null">
${_conditionType_} a.deviceRemark is null
</if>
</if>
<if test="conditionParamRef.containsKey('deviceRemarkList') and conditionParamRef.deviceRemarkList.size() > 0">
${_conditionType_} a.deviceRemark in
<foreach collection="conditionParamRef.deviceRemarkList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deviceRemarkNotList') and conditionParamRef.deviceRemarkNotList.size() > 0">
${_conditionType_} a.deviceRemark not in
<foreach collection="conditionParamRef.deviceRemarkNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('source')">
<if test="conditionParamRef.source != null ">
${_conditionType_} a.source = #{${_conditionParam_}.source}
</if>
<if test="conditionParamRef.source == null">
${_conditionType_} a.source is null
</if>
</if>
<if test="conditionParamRef.containsKey('sourceList') and conditionParamRef.sourceList.size() > 0">
${_conditionType_} a.source in
<foreach collection="conditionParamRef.sourceList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('sourceNotList') and conditionParamRef.sourceNotList.size() > 0">
${_conditionType_} a.source not in
<foreach collection="conditionParamRef.sourceNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('sourceStart') and conditionParamRef.sourceStart != null">
${_conditionType_} a.source <![CDATA[ >= ]]> #{${_conditionParam_}.sourceStart}
</if>
<if test="conditionParamRef.containsKey('sourceEnd') and conditionParamRef.sourceEnd != null">
${_conditionType_} a.source <![CDATA[ <= ]]> #{${_conditionParam_}.sourceEnd}
</if>
<if test="conditionParamRef.containsKey('createUserId')">
<if test="conditionParamRef.createUserId != null ">
${_conditionType_} a.createUserId = #{${_conditionParam_}.createUserId}
</if>
<if test="conditionParamRef.createUserId == null">
${_conditionType_} a.createUserId is null
</if>
</if>
<if test="conditionParamRef.containsKey('createUserIdList') and conditionParamRef.createUserIdList.size() > 0">
${_conditionType_} a.createUserId in
<foreach collection="conditionParamRef.createUserIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserIdNotList') and conditionParamRef.createUserIdNotList.size() > 0">
${_conditionType_} a.createUserId not in
<foreach collection="conditionParamRef.createUserIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserIdStart') and conditionParamRef.createUserIdStart != null">
${_conditionType_} a.createUserId <![CDATA[ >= ]]> #{${_conditionParam_}.createUserIdStart}
</if>
<if test="conditionParamRef.containsKey('createUserIdEnd') and conditionParamRef.createUserIdEnd != null">
${_conditionType_} a.createUserId <![CDATA[ <= ]]> #{${_conditionParam_}.createUserIdEnd}
</if>
<if test="conditionParamRef.containsKey('createTime')">
<if test="conditionParamRef.createTime != null ">
${_conditionType_} a.createTime = #{${_conditionParam_}.createTime}
</if>
<if test="conditionParamRef.createTime == null">
${_conditionType_} a.createTime is null
</if>
</if>
<if test="conditionParamRef.containsKey('createTimeStart') and conditionParamRef.createTimeStart != null and conditionParamRef.createTimeStart!=''">
${_conditionType_} a.createTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('createTimeEnd') and conditionParamRef.createTimeEnd != null and conditionParamRef.createTimeEnd!=''">
${_conditionType_} a.createTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('updateUserId')">
<if test="conditionParamRef.updateUserId != null ">
${_conditionType_} a.updateUserId = #{${_conditionParam_}.updateUserId}
</if>
<if test="conditionParamRef.updateUserId == null">
${_conditionType_} a.updateUserId is null
</if>
</if>
<if test="conditionParamRef.containsKey('updateUserIdList') and conditionParamRef.updateUserIdList.size() > 0">
${_conditionType_} a.updateUserId in
<foreach collection="conditionParamRef.updateUserIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('updateUserIdNotList') and conditionParamRef.updateUserIdNotList.size() > 0">
${_conditionType_} a.updateUserId not in
<foreach collection="conditionParamRef.updateUserIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('updateUserIdStart') and conditionParamRef.updateUserIdStart != null">
${_conditionType_} a.updateUserId <![CDATA[ >= ]]> #{${_conditionParam_}.updateUserIdStart}
</if>
<if test="conditionParamRef.containsKey('updateUserIdEnd') and conditionParamRef.updateUserIdEnd != null">
${_conditionType_} a.updateUserId <![CDATA[ <= ]]> #{${_conditionParam_}.updateUserIdEnd}
</if>
<if test="conditionParamRef.containsKey('updateTime')">
<if test="conditionParamRef.updateTime != null ">
${_conditionType_} a.updateTime = #{${_conditionParam_}.updateTime}
</if>
<if test="conditionParamRef.updateTime == null">
${_conditionType_} a.updateTime is null
</if>
</if>
<if test="conditionParamRef.containsKey('updateTimeStart') and conditionParamRef.updateTimeStart != null and conditionParamRef.updateTimeStart!=''">
${_conditionType_} a.updateTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('updateTimeEnd') and conditionParamRef.updateTimeEnd != null and conditionParamRef.updateTimeEnd!=''">
${_conditionType_} a.updateTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
</sql>
<sql id="_orderCols_">
<if test="orderColList != null and !orderColList.isEmpty()">
order by
<trim suffixOverrides="," suffix="">
<foreach collection="orderColList" open="" close="" index="index" item="item" separator=",">
${item.colName} ${item.sortKind}
</foreach>
</trim>
</if>
<if test="(orderColList == null or orderColList.isEmpty()) and orderCol != null and !orderCol.isEmpty()">
order by
<trim suffixOverrides="," suffix="">
<if test="orderCol.containsKey('id')">
a.id
<if test='orderCol.id != null and "DESC".equalsIgnoreCase(orderCol.id)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('deviceId')">
a.deviceId
<if test='orderCol.deviceId != null and "DESC".equalsIgnoreCase(orderCol.deviceId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('deviceName')">
a.deviceName
<if test='orderCol.deviceName != null and "DESC".equalsIgnoreCase(orderCol.deviceName)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('deviceCode')">
a.deviceCode
<if test='orderCol.deviceCode != null and "DESC".equalsIgnoreCase(orderCol.deviceCode)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('deviceMac')">
a.deviceMac
<if test='orderCol.deviceMac != null and "DESC".equalsIgnoreCase(orderCol.deviceMac)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('siteId')">
a.siteId
<if test='orderCol.siteId != null and "DESC".equalsIgnoreCase(orderCol.siteId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('siteCode')">
a.siteCode
<if test='orderCol.siteCode != null and "DESC".equalsIgnoreCase(orderCol.siteCode)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('siteName')">
a.siteName
<if test='orderCol.siteName != null and "DESC".equalsIgnoreCase(orderCol.siteName)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('productCode')">
a.productCode
<if test='orderCol.productCode != null and "DESC".equalsIgnoreCase(orderCol.productCode)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('productName')">
a.productName
<if test='orderCol.productName != null and "DESC".equalsIgnoreCase(orderCol.productName)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('deviceSrc')">
a.deviceSrc
<if test='orderCol.deviceSrc != null and "DESC".equalsIgnoreCase(orderCol.deviceSrc)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('lon')">
a.lon
<if test='orderCol.lon != null and "DESC".equalsIgnoreCase(orderCol.lon)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('lati')">
a.lati
<if test='orderCol.lati != null and "DESC".equalsIgnoreCase(orderCol.lati)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('leadingOfficial')">
a.leadingOfficial
<if test='orderCol.leadingOfficial != null and "DESC".equalsIgnoreCase(orderCol.leadingOfficial)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('leadingOfficialTelephone')">
a.leadingOfficialTelephone
<if test='orderCol.leadingOfficialTelephone != null and "DESC".equalsIgnoreCase(orderCol.leadingOfficialTelephone)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('deviceStatus')">
a.deviceStatus
<if test='orderCol.deviceStatus != null and "DESC".equalsIgnoreCase(orderCol.deviceStatus)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('deviceRemark')">
a.deviceRemark
<if test='orderCol.deviceRemark != null and "DESC".equalsIgnoreCase(orderCol.deviceRemark)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('source')">
a.source
<if test='orderCol.source != null and "DESC".equalsIgnoreCase(orderCol.source)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('createUserId')">
a.createUserId
<if test='orderCol.createUserId != null and "DESC".equalsIgnoreCase(orderCol.createUserId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('createTime')">
a.createTime
<if test='orderCol.createTime != null and "DESC".equalsIgnoreCase(orderCol.createTime)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('updateUserId')">
a.updateUserId
<if test='orderCol.updateUserId != null and "DESC".equalsIgnoreCase(orderCol.updateUserId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('updateTime')">
a.updateTime
<if test='orderCol.updateTime != null and "DESC".equalsIgnoreCase(orderCol.updateTime)'>DESC</if>
,
</if>
</trim>
</if>
</sql>
<sql id="_group_by_">
<if test="groupList != null and !groupList.isEmpty()">
GROUP BY
<trim suffixOverrides="," suffix="">
<foreach collection="groupList" open="" close="" index="index" item="item" separator=",">
${item}
</foreach>
</trim>
</if>
</sql>
</mapper>
\ No newline at end of file
###登录
POST {{baseUrl}}/login/login
Content-Type: application/json
{
"loginName":"admin",
"password":"admin",
"securityCode":"8888"
}
> {%
client.global.set("SmsSet_id", JSON.parse(response.body).data.id);
client.global.set("authToken", JSON.parse(response.body).data.token);
%}
###设备列表
POST {{baseUrl}}/device/list
Authorization: {{authToken}}
Content-Type: application/json
{
"deviceId":157,
"deviceName":"1e0x2f",
"deviceCode":"kfttm3",
"deviceSrc":2,
"deviceStatus":848,
"page":1,
"size":10
}
###设备更新与保存
POST {{baseUrl}}/device/save
Authorization: {{authToken}}
Content-Type: application/json
{
"deviceId":213,
"deviceName":"o8f2uk",
"deviceCode":"hojug5",
"deviceMac":"qblxmm",
"siteId":624,
"siteCode":"vwcmg0",
"siteName":"1ezg8h",
"productCode":"gu9tca",
"productName":"wmia1a",
"deviceSrc":2,
"lon":"xw3n3b",
"lati":"296er9",
"leadingOfficial":"mrsrnp",
"leadingOfficialTelephone":"mh03sk",
"deviceStatus":402,
"deviceRemark":"ircxre",
"source":1,
}
> {%
client.global.set("Device_id", JSON.parse(response.body).data.id);
%}
###设备查看
GET {{baseUrl}}/device/info?id={{Device_id}}
Authorization: {{authToken}}
Accept: application/json
###设备编辑
GET {{baseUrl}}/device/edit?id={{Device_id}}
Authorization: {{authToken}}
Accept: application/json
###设备删除
GET {{baseUrl}}/device/delete?id={{Device_id}}
Authorization: {{authToken}}
Accept: application/json
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment