Showing
1 changed file
with
1 additions
and
1 deletions
@@ -97,7 +97,7 @@ | @@ -97,7 +97,7 @@ | ||
97 | <if test="queryMap.tenantId !=null and queryMap.tenantId !=''"> | 97 | <if test="queryMap.tenantId !=null and queryMap.tenantId !=''"> |
98 | AND ifd.tenant_id = #{queryMap.tenantId} | 98 | AND ifd.tenant_id = #{queryMap.tenantId} |
99 | </if> | 99 | </if> |
100 | - <if test="queryMap.selected !=null and queryMap.convertDevices !=null"> | 100 | + <if test="queryMap.selected !=null and queryMap.convertDevices !=null and queryMap.convertDevices.size>0"> |
101 | <if test="queryMap.selected == true"> | 101 | <if test="queryMap.selected == true"> |
102 | AND ifd.id IN | 102 | AND ifd.id IN |
103 | </if> | 103 | </if> |