@@ -46,29 +46,42 @@ public class DeviceController extends BaseController {
page.setCurrent(current);
page.setSize(size);
StringBufferquerysql=newStringBuffer("SELECT createdTime ,gatewayId,address,valueLabel,equipmentSpecificName,value FROM iot_data WHERE isAlarm='1' and value!='0.0' and time > now() - 1d ");
StringBufferquerysqlcount=newStringBuffer("SELECT count(value) FROM iot_data WHERE isAlarm='1' and value!='0.0' and time > now() - 1d ");