|
@@ -226,8 +226,12 @@ public class AlarmImpl implements IAlarm {
|
|
|
System.out.println("开始时间>>"+startTime);
|
|
|
String endTime = dateUtil.getTodayDateText()+" 23:59:59";
|
|
|
System.out.println("结束时间>>"+endTime);
|
|
|
- //
|
|
|
- int rywgQuantity = Integer.parseInt(SendMassageGetPagePersonAlarm(startTime,endTime));
|
|
|
+ //获取人员违规
|
|
|
+ String personAlarmTotal = SendMassageGetPagePersonAlarm(startTime,endTime);
|
|
|
+ int rywgQuantity = 0;
|
|
|
+ if(personAlarmTotal != null){
|
|
|
+ rywgQuantity = Integer.parseInt(personAlarmTotal);
|
|
|
+ }
|
|
|
//报警总量
|
|
|
// int total = stjcQuantity + hjjcQuantity + rywgQuantity;
|
|
|
//
|