Authored by qinchao

任务显示不出

... ... @@ -121,7 +121,8 @@ public class TaskConfigureCtrl {
@RequestMapping("/getGatewayEvents")
@ResponseBody
private String getGatewayEvents() {
private BaseResponse getGatewayEvents() {
BaseResponse res=new BaseResponse();
List<String> rtnEvents=new ArrayList<String>();
QueryResult queryResult = gatewayAccessEventsMapper.selectTagValuesType(InfluxDBContants.AWS);
List<List<Object>> valuesList=QueryResultUtil.getValues(queryResult);
... ... @@ -151,7 +152,8 @@ public class TaskConfigureCtrl {
map.put("text",str);
comboMapList.add(map);
}
return JSON.toJSONString(comboMapList);
res.setData(comboMapList);
return res;
}
//gateWay access事件检测----后续新增功能--MEBU_GATEWAY_ADDSOURCE区分数据源
... ...