xujie 10 mesiacov pred
rodič
commit
e64185ecea

+ 1 - 1
soc-modules/soc-modules-iot/src/main/resources/mapper/IotDvsTemplateChannelMapper.xml

@@ -24,7 +24,7 @@
             LEFT JOIN iot_dvs_template a ON t.iot_token = a.iot_token and t.template_md5 = a.template_md5
             LEFT JOIN iot_dvs_plantype p ON d.iot_token = p.iot_token and d.host_code = p.dvs_code and d.device_code = p.channel_code
         WHERE
-            d.device_type = 3
+            (d.device_type = 3 or d.device_type = 2)
             and d.deleted = 0
             <choose>
                 <when test="req.checkSub == false">