|
|
@@ -40,14 +40,18 @@ public class depotStyleController {
|
|
40
|
40
|
@RequestMapping(value="/getAllPointChart", produces = MediaType.APPLICATION_JSON_VALUE, method = RequestMethod.GET)
|
|
41
|
41
|
@ApiOperation(value="点图信息", notes = "查找所有的点图信息")
|
|
42
|
42
|
@ApiImplicitParams({
|
|
43
|
|
- @ApiImplicitParam(name = "type", value = "查看的类型", paramType = "query")
|
|
|
43
|
+ @ApiImplicitParam(name = "type", value = "查看的类型", paramType = "query"),
|
|
|
44
|
+ @ApiImplicitParam(name = "orgId", value = "组织机构Id", paramType = "query")
|
|
44
|
45
|
})
|
|
45
|
|
- public List<Map<String,Object>> getAllPointChart(String type, HttpServletRequest request) {
|
|
|
46
|
+ public List<Map<String,Object>> getAllPointChart(String type, String orgId, HttpServletRequest request) {
|
|
46
|
47
|
Map<String,Object> map = new HashMap<>();
|
|
47
|
48
|
|
|
48
|
49
|
String ss = request.getSession().getAttribute("userId")+"";
|
|
49
|
50
|
Map<String,Object> newMap = new HashMap<>();
|
|
50
|
51
|
map.put("type",type);
|
|
|
52
|
+ if(ParameterUtil.isnotnull(orgId)){
|
|
|
53
|
+ map.put("orgId",orgId);
|
|
|
54
|
+ }
|
|
51
|
55
|
List<Map<String,Object>> list = null;
|
|
52
|
56
|
if(ParameterUtil.isequal(type,"1")){//监控
|
|
53
|
57
|
list = Service.getCameraPoint(map);
|