Browse Source

设备太阳能板

develop
wangsixiang 5 months ago
parent
commit
bbe2595a62
  1. 2
      zc-business/src/main/resources/mapper/business/DcDeviceMapper.xml

2
zc-business/src/main/resources/mapper/business/DcDeviceMapper.xml

@ -158,7 +158,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<where> <where>
<if test="deviceState != null and deviceState != ''">and device_state = #{deviceState}</if> <if test="deviceState != null and deviceState != ''">and device_state = #{deviceState}</if>
<if test="deviceName != null and deviceName != ''">and device_name like concat('%', #{deviceName}, '%')</if> <if test="deviceName != null and deviceName != ''">and device_name like concat('%', #{deviceName}, '%')</if>
and (device_type=3||device_type=13||device_type=16||device_type=17) and iot_device_id is not null and (device_type=3||device_type=13||device_type=15||device_type=16||device_type=17) and iot_device_id is not null
</where> </where>
</select> </select>
<select id="selectDeviceParameterProperties" resultType="java.util.HashMap"> <select id="selectDeviceParameterProperties" resultType="java.util.HashMap">

Loading…
Cancel
Save