|
|
@@ -32,16 +32,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="searchValue != null and searchValue != ''">
|
|
|
and sub_name like concat('%', #{searchValue}, '%')
|
|
|
</if>
|
|
|
- <if test="deptId != null and deptId!='' ">
|
|
|
+ <if test="deptId != null">
|
|
|
and dept_id = #{deptId}
|
|
|
</if>
|
|
|
- <if test="gatewayOnline != null and gatewayOnline!='' ">
|
|
|
+ <if test="gatewayOnline != null">
|
|
|
and gateway_online = #{gatewayOnline}
|
|
|
</if>
|
|
|
<if test="gatewayMac != null and gatewayMac!='' ">
|
|
|
and gateway_mac = #{gatewayMac}
|
|
|
</if>
|
|
|
- <if test="subId != null and subId!='' ">
|
|
|
+ <if test="subId != null ">
|
|
|
and sub_id = #{subId}
|
|
|
</if>
|
|
|
</where>
|