|
@@ -20,10 +20,7 @@ import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
import java.text.NumberFormat;
|
|
|
-import java.util.ArrayList;
|
|
|
-import java.util.HashMap;
|
|
|
-import java.util.List;
|
|
|
-import java.util.Map;
|
|
|
+import java.util.*;
|
|
|
|
|
|
/**
|
|
|
* 数据大屏Controller
|
|
@@ -71,18 +68,12 @@ public class TDataDisplayController extends BaseController
|
|
|
return getDataTable1(alarmListDtoList,tShouhuanAlarmListService.selectTShouhuanAlarmListCount());
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * 总数
|
|
|
- */
|
|
|
@GetMapping("/count")
|
|
|
public AjaxResult count()
|
|
|
{
|
|
|
return success(tShouhuanAlarmListService.selectTShouhuanAlarmListCount());
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * 总数
|
|
|
- */
|
|
|
@GetMapping("/alarm")
|
|
|
public AjaxResult alarm()
|
|
|
{
|
|
@@ -102,9 +93,6 @@ public class TDataDisplayController extends BaseController
|
|
|
return success(dto);
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * 总数
|
|
|
- */
|
|
|
@GetMapping("/percent")
|
|
|
public AjaxResult percent()
|
|
|
{
|
|
@@ -119,9 +107,6 @@ public class TDataDisplayController extends BaseController
|
|
|
return success(dto);
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * 总数
|
|
|
- */
|
|
|
@GetMapping("/deviceView")
|
|
|
public AjaxResult deviceView()
|
|
|
{
|
|
@@ -133,9 +118,6 @@ public class TDataDisplayController extends BaseController
|
|
|
return success(dto);
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * 总数
|
|
|
- */
|
|
|
@GetMapping("/deviceType")
|
|
|
public AjaxResult deviceType()
|
|
|
{
|
|
@@ -151,9 +133,6 @@ public class TDataDisplayController extends BaseController
|
|
|
return AjaxResult.success("操作成功",ajax);
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * 总数
|
|
|
- */
|
|
|
@GetMapping("/userAgeAll")
|
|
|
public AjaxResult userAgeAll()
|
|
|
{
|
|
@@ -165,6 +144,17 @@ public class TDataDisplayController extends BaseController
|
|
|
return AjaxResult.success("操作成功",ajax);
|
|
|
}
|
|
|
|
|
|
+ @GetMapping("/mapGpsView")
|
|
|
+ public AjaxResult mapGpsView()
|
|
|
+ {
|
|
|
+ List<MapGpsDto> dtoList = itShouhuanInfoService.selectMapGpsView();
|
|
|
+ AjaxResult ajax = new AjaxResult();
|
|
|
+ ajax.put("lnglat", dtoList);
|
|
|
+ AjaxResult ajax1 = new AjaxResult();
|
|
|
+ ajax1.put("pointList",ajax);
|
|
|
+ return AjaxResult.success("操作成功",ajax1);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 用户新增
|
|
|
*/
|
|
@@ -185,9 +175,6 @@ public class TDataDisplayController extends BaseController
|
|
|
return success(dtoList);
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * 设备新增
|
|
|
- */
|
|
|
@GetMapping("/alarmStatusList")
|
|
|
public AjaxResult alarmStatusList()
|
|
|
{
|