| | |
| | | areaNamesBuilder.append(String.join("/",names));
|
| | | }
|
| | | // 企业用户
|
| | | if( 0 == organization.getRank()) {
|
| | | if(organization.getRank()!=null && organization.getRank() == 0) {
|
| | | resultMap.put("type","enterprise");
|
| | | }else{
|
| | | resultMap.put("type","government");
|
| | |
| | | }else if(organization.getProvinceCode()!=null) {
|
| | | mapAreaCode = organization.getProvinceCode();
|
| | | }
|
| | | resultMap.put("mapAreaCode ",mapAreaCode );
|
| | | resultMap.put("mapAreaCode",mapAreaCode.toString() );
|
| | | }
|
| | | resultMap.put("mapPath",areaNamesBuilder.toString());
|
| | | }
|
| | |
| | | @ApiImplicitParams(value = {
|
| | | @ApiImplicitParam(name = "orgid",defaultValue = "5",value = "组织id", required = true, paramType = "query", dataType = "Integer"),
|
| | | })
|
| | | public ResultBean<List<Map>> getAqi24HoursNC(@RequestParam("orgid") Integer organizationId) {
|
| | | public ResultBean<List<Map<String,Object>>> getAqi24HoursNC(@RequestParam("orgid") Integer organizationId) {
|
| | | return new ResultBean<>(hangzhouAqiService.queryAqi24Hours(organizationId));
|
| | | }
|
| | | @GetMapping("mpt-dev-summary")
|