大屏展示404问题修复

This commit is contained in:
kerwincui
2024-04-26 11:04:45 +08:00
parent 653fe8bc1f
commit 55a3b95a97
7 changed files with 65 additions and 0 deletions

View File

@@ -143,4 +143,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
delete from iot_device_log where serial_number = #{deviceNumber}
</delete>
<select id="selectDeviceLogList" parameterType="com.fastbee.iot.domain.DeviceLog" resultMap="DeviceLogResult">
<include refid="selectDeviceLogVo"/>
<where>
<if test="isMonitor != null"> and is_monitor = #{isMonitor}</if>
<if test="deviceId != null and deviceId !=0"> and device_id = #{deviceId}</if>
<if test="serialNumber != null and serialNumber !=''"> and serial_number = #{serialNumber}</if>
<if test="logType != null "> and log_type = #{logType}</if>
<if test="identity != null and identity != ''"> and identity like concat('%', #{identity}, '%')</if>
</where>
order by create_time desc
</select>
</mapper>