获取openId接口

This commit is contained in:
小魔仙~
2024-12-26 19:05:03 +08:00
parent efd0fa1e44
commit 8ea671775e
25 changed files with 728 additions and 20 deletions

View File

@ -200,6 +200,11 @@ public class Device extends BaseEntity
@ApiModelProperty("设备型号")
private String deviceModel;
/** 测站号 */
/*@Excel(name = "测站号")
@ApiModelProperty("测站号")
private String stationNumber;*/
/**
* 关联组态,来源产品
*/

View File

@ -45,6 +45,8 @@ public class DeviceAllShortOutput
/** wifi信号强度信号极好4格[-55— 0]信号好3格[-70— -55]信号一般2格[-85— -70]信号差1格[-100— -85] */
private Integer rssi;
/** 测站号*/
private String stationNumber;
/** 激活时间 */
@JsonFormat(pattern = "yyyy-MM-dd")

View File

@ -17,6 +17,11 @@ public class DeviceMqttVO {
*/
private String serialNumber;
/**
* 测站号
*/
private String stationNumber;
/**
* 产品id
*/

View File

@ -20,6 +20,9 @@ public class ProductAuthenticateModel implements Serializable {
/** 产品ID */
private Long productId;
/** 测站号 */
private String stationNumber;
/** 产品名称 */
private String productName;

View File

@ -23,6 +23,9 @@ public class ThingsModelValuesOutput
private int isShadow;
//测站号
private String stationNumber;
/** 设备ID **/
private String serialNumber;

View File

@ -97,6 +97,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="tel" column="tel" />
<result property="caretaker" column="caretaker" />
<result property="managementUnit" column="management_unit" />
<result property="managementUnit" column="management_unit" />
</resultMap>
<resultMap type="com.fastbee.iot.model.UserAndTenant" id="UserAndTenantResult">
@ -1015,7 +1016,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
tenant_name=#{tenantName},
longitude=#{longitude},
latitude=#{latitude},
img_url=#{imgUrl}
img_url=#{imgUrl},
where serial_number = #{serialNumber}
</update>