Commit 8eac55cd47a0a88bba2c90a54c7176261054ac2c
Merge branch 'cherry-pick-509e9bbf' into 'master'
fix(DEFECT-1028): 设备选中和未选中过滤无效问题修复 See merge request huang/thingsboard3.3.2!155
Showing
1 changed file
with
2 additions
and
2 deletions
... | ... | @@ -99,10 +99,10 @@ |
99 | 99 | </if> |
100 | 100 | <if test="queryMap.selected !=null and queryMap.convertDevices !=null and queryMap.convertDevices.size>0"> |
101 | 101 | <if test="queryMap.selected == true"> |
102 | - AND ifd.id IN | |
102 | + AND ifd.tb_device_id IN | |
103 | 103 | </if> |
104 | 104 | <if test="queryMap.selected == false"> |
105 | - AND ifd.id NOT IN | |
105 | + AND ifd.tb_device_id NOT IN | |
106 | 106 | </if> |
107 | 107 | <foreach collection="queryMap.convertDevices" item="convertDevice" open="(" separator="," close=")"> |
108 | 108 | #{convertDevice} | ... | ... |