| | |
| | | break; |
| | | } |
| | | |
| | | |
| | | if(alarm.getWaringType().equals("紧急求救")){ |
| | | //警情分发测试代码 |
| | | //查询所有闲置的接警员 |
| | | List<Map<String, Object>> policeList = serverHandler.alarmService.queryPolice(); |
| | |
| | | |
| | | serverHandler.alarmService.updatePoliceStatus(online_police.get(0).get("id").toString(),"1"); |
| | | } |
| | | } |
| | | |
| | | |
| | | serverHandler.alarmService.s(alarm); |
| | | |
| | | if(alarm.getWaringType().equals("紧急求救")){ |
| | | OperationVO operation = new OperationVO(); |
| | | operation.setSnumber(alarm.getAlarmId()); |
| | | operation.setSname(alarm.getAlarmPeople()); |
| | |
| | | operation.setZc("接警"); |
| | | operation.setZctime(alarm.getJjTime()); |
| | | serverHandler.operationService.save(operation); |
| | | } |
| | | |
| | | outData.add("LEOK#@"); |
| | | long endTime1 = System.currentTimeMillis(); //获取结束时间 |