diff --git a/zc-business/src/main/resources/mapper/business/DcDeviceMapper.xml b/zc-business/src/main/resources/mapper/business/DcDeviceMapper.xml index 60ed7ff8..3ec7d343 100644 --- a/zc-business/src/main/resources/mapper/business/DcDeviceMapper.xml +++ b/zc-business/src/main/resources/mapper/business/DcDeviceMapper.xml @@ -158,7 +158,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and device_state = #{deviceState} and device_name like concat('%', #{deviceName}, '%') - and device_type = #{deviceType} + and device_type = #{deviceType} and iot_device_id is not null and (device_type=3||device_type=13||device_type=15||device_type=16) and iot_device_id is not null