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