Quellcode durchsuchen

提交配置文件

pengdi@zoniot.com vor 4 Jahren
Ursprung
Commit
c218cc7bf5

+ 2 - 0
smart-city-platform/src/main/resources/mapper/DeviceDataDimMapper.xml

@@ -260,6 +260,7 @@
 			left join sc_device d on (ddd.device_id = d.id)
 		WHERE
 			d.sys_id != -99
+         and d.sys_id != 55
 		 and ddd.send_time >= #{beginDate ,jdbcType=TIMESTAMP } 
 		 and ddd.send_time <![CDATA[ < ]]> #{endDate ,jdbcType=TIMESTAMP } 
 		 and ddd.device_id IN ( 
@@ -289,6 +290,7 @@
 			left join sc_device_type dt on (d.device_type = dt.id)
 		WHERE
 			 d.sys_id != -99
+         and d.sys_id != 55
 		 and ddd.send_time >= #{beginDate ,jdbcType=TIMESTAMP } 
 		 and ddd.send_time <![CDATA[ < ]]> #{endDate ,jdbcType=TIMESTAMP } 
 		 and ddd.device_id IN ( 

+ 1 - 0
smart-city-platform/src/main/resources/mapper/DeviceMapper.xml

@@ -938,6 +938,7 @@
         left join sc_device_manufacturer f on (dt.manufacturer_id = f.id)
         where d.`status` = 1
         and d.sys_id != -99
+        and d.sys_id != 55
         and d.id in (
         SELECT
         dd.device_id