mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-18 17:05:55 +08:00
设备授权码改进
This commit is contained in:
@@ -224,6 +224,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
where device_id = #{deviceId}
|
||||
</select>
|
||||
|
||||
<select id="selectDeviceBySerialNumber" parameterType="String" resultMap="DeviceResult">
|
||||
<include refid="selectDeviceVo"/>
|
||||
where serial_number = #{serialNumber}
|
||||
</select>
|
||||
|
||||
<select id="selectDeviceProductAlertCount" parameterType="com.ruoyi.iot.domain.Device" resultType="com.ruoyi.iot.model.DeviceStatistic">
|
||||
select
|
||||
<!--设备数量-->
|
||||
@@ -272,11 +277,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
p.product_id = #{productId}
|
||||
</select>
|
||||
|
||||
<select id="selectDeviceBySerialNumber" parameterType="String" resultMap="DeviceResult">
|
||||
<include refid="selectDeviceVo"/>
|
||||
where serial_number = #{serialNumber}
|
||||
</select>
|
||||
|
||||
<select id="selectShortDeviceBySerialNumber" parameterType="String" resultMap="DeviceResult">
|
||||
<include refid="selectWebhookDeviceVo"/>
|
||||
where serial_number = #{serialNumber}
|
||||
|
||||
Reference in New Issue
Block a user