Commit a921c816c565a08a869140a772fb205516990313

Authored by 云中非
Committed by xp.Huang
1 parent 5f5e53dd

fix(DEFECT-1028): 设备选中和未选中过滤无效问题修复


(cherry picked from commit 509e9bbf797ae22830b97ada515e4f0b00380542)
... ... @@ -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}
... ...