|
|
|
|
@ -47,7 +47,7 @@ public class SubOneGlobalController {
|
|
|
|
|
*/ |
|
|
|
|
@Operation(summary = "获取二级大屏地图JSON") |
|
|
|
|
@GetMapping("/getSubOneStreetMap") |
|
|
|
|
@Cacheable(cacheNames = "subOneStreetMap", key = "'p_'+ #departId") |
|
|
|
|
// @Cacheable(cacheNames = "subOneStreetMap", key = "'p_'+ #departId")
|
|
|
|
|
public Result<JSONObject> getSubOneStreetMap(@RequestParam Integer departId) { |
|
|
|
|
JSONObject res = countyStreetDeptService.getSubOneStreetMap(departId); |
|
|
|
|
return Result.success(res); |
|
|
|
|
@ -132,7 +132,7 @@ public class SubOneGlobalController {
|
|
|
|
|
*/ |
|
|
|
|
@Operation(summary = "首页大屏地图数据") |
|
|
|
|
@GetMapping("/getSubOneGlobalMap") |
|
|
|
|
@Cacheable(cacheNames = "Supervision:Screen:SubOneGlobalMap", key = "#departId+'_'+#beginTime.getTime()+'_'+#endTime.getTime()") |
|
|
|
|
// @Cacheable(cacheNames = "Supervision:Screen:SubOneGlobalMap", key = "#departId+'_'+#beginTime.getTime()+'_'+#endTime.getTime()")
|
|
|
|
|
public Result<JSONObject> getSubOneMap(@RequestParam Integer departId, |
|
|
|
|
@RequestParam @DateTimeFormat(pattern = "yyyy-MM-dd") Date beginTime, |
|
|
|
|
@RequestParam @DateTimeFormat(pattern = "yyyy-MM-dd") Date endTime) { |
|
|
|
|
|