|
|
|
@ -1,5 +1,6 @@ |
|
|
|
package com.biutag.supervision.controller.datav; |
|
|
|
package com.biutag.supervision.controller.datav; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import cn.hutool.core.date.DateUtil; |
|
|
|
import com.alibaba.fastjson.JSONObject; |
|
|
|
import com.alibaba.fastjson.JSONObject; |
|
|
|
import com.biutag.supervision.mapper.DataCaseVerifMapper; |
|
|
|
import com.biutag.supervision.mapper.DataCaseVerifMapper; |
|
|
|
import com.biutag.supervision.mapper.NegativeMapper; |
|
|
|
import com.biutag.supervision.mapper.NegativeMapper; |
|
|
|
@ -50,6 +51,7 @@ public class DataVCaseVerifController { |
|
|
|
@GetMapping("/getCaseVerificationRank") |
|
|
|
@GetMapping("/getCaseVerificationRank") |
|
|
|
public Result<JSONObject> getCaseVerificationRank(@RequestParam @DateTimeFormat(pattern = "yyyy-MM-dd") Date beginTime, |
|
|
|
public Result<JSONObject> getCaseVerificationRank(@RequestParam @DateTimeFormat(pattern = "yyyy-MM-dd") Date beginTime, |
|
|
|
@RequestParam @DateTimeFormat(pattern = "yyyy-MM-dd") Date endTime) { |
|
|
|
@RequestParam @DateTimeFormat(pattern = "yyyy-MM-dd") Date endTime) { |
|
|
|
|
|
|
|
endTime = DateUtil.endOfDay(endTime); |
|
|
|
List<OrganizeProblemRankVo> fxsjRankList = negativeMapper.getCaseVerificationRank(beginTime, endTime, 3); |
|
|
|
List<OrganizeProblemRankVo> fxsjRankList = negativeMapper.getCaseVerificationRank(beginTime, endTime, 3); |
|
|
|
List<OrganizeProblemRankVo> jsdwRankList = negativeMapper.getCaseVerificationRank(beginTime, endTime, 4); |
|
|
|
List<OrganizeProblemRankVo> jsdwRankList = negativeMapper.getCaseVerificationRank(beginTime, endTime, 4); |
|
|
|
JSONObject data = new JSONObject() |
|
|
|
JSONObject data = new JSONObject() |
|
|
|
@ -69,6 +71,7 @@ public class DataVCaseVerifController { |
|
|
|
@GetMapping("/getCaseProblemProperty") |
|
|
|
@GetMapping("/getCaseProblemProperty") |
|
|
|
public Result<JSONObject> getCaseProblemProperty(@RequestParam @DateTimeFormat(pattern = "yyyy-MM-dd") Date beginTime, |
|
|
|
public Result<JSONObject> getCaseProblemProperty(@RequestParam @DateTimeFormat(pattern = "yyyy-MM-dd") Date beginTime, |
|
|
|
@RequestParam @DateTimeFormat(pattern = "yyyy-MM-dd") Date endTime) { |
|
|
|
@RequestParam @DateTimeFormat(pattern = "yyyy-MM-dd") Date endTime) { |
|
|
|
|
|
|
|
endTime = DateUtil.endOfDay(endTime); |
|
|
|
List<EchartsVo> zfbaPieList = dataCaseVerifMapper.getCaseProblemProperty(beginTime, endTime, 6); // 执法办案
|
|
|
|
List<EchartsVo> zfbaPieList = dataCaseVerifMapper.getCaseProblemProperty(beginTime, endTime, 6); // 执法办案
|
|
|
|
List<EchartsVo> fwglPieList = dataCaseVerifMapper.getCaseProblemProperty(beginTime, endTime, 11); // 服务管理
|
|
|
|
List<EchartsVo> fwglPieList = dataCaseVerifMapper.getCaseProblemProperty(beginTime, endTime, 11); // 服务管理
|
|
|
|
JSONObject data = new JSONObject() |
|
|
|
JSONObject data = new JSONObject() |
|
|
|
@ -92,6 +95,7 @@ public class DataVCaseVerifController { |
|
|
|
@GetMapping("/getCaseVerificationCount") |
|
|
|
@GetMapping("/getCaseVerificationCount") |
|
|
|
public Result<JSONObject> getAllCaseVerificationCount(@RequestParam @DateTimeFormat(pattern = "yyyy-MM-dd") Date beginTime, |
|
|
|
public Result<JSONObject> getAllCaseVerificationCount(@RequestParam @DateTimeFormat(pattern = "yyyy-MM-dd") Date beginTime, |
|
|
|
@RequestParam @DateTimeFormat(pattern = "yyyy-MM-dd") Date endTime) { |
|
|
|
@RequestParam @DateTimeFormat(pattern = "yyyy-MM-dd") Date endTime) { |
|
|
|
|
|
|
|
endTime = DateUtil.endOfDay(endTime); |
|
|
|
CaseVerificationCountVo overview = negativeMapper.getAllCaseVerificationCount(beginTime, endTime); |
|
|
|
CaseVerificationCountVo overview = negativeMapper.getAllCaseVerificationCount(beginTime, endTime); |
|
|
|
JSONObject res = new JSONObject().fluentPut("overview", overview); |
|
|
|
JSONObject res = new JSONObject().fluentPut("overview", overview); |
|
|
|
return Result.success(res); |
|
|
|
return Result.success(res); |
|
|
|
@ -110,6 +114,7 @@ public class DataVCaseVerifController { |
|
|
|
@Cacheable(cacheNames = "Supervision:Screen:CaseVerificationMap", key = "#beginTime.getTime()+'_'+#endTime.getTime()") |
|
|
|
@Cacheable(cacheNames = "Supervision:Screen:CaseVerificationMap", key = "#beginTime.getTime()+'_'+#endTime.getTime()") |
|
|
|
public Result<JSONObject> getCaseVerificationMap(@RequestParam @DateTimeFormat(pattern = "yyyy-MM-dd") Date beginTime, |
|
|
|
public Result<JSONObject> getCaseVerificationMap(@RequestParam @DateTimeFormat(pattern = "yyyy-MM-dd") Date beginTime, |
|
|
|
@RequestParam @DateTimeFormat(pattern = "yyyy-MM-dd") Date endTime) { |
|
|
|
@RequestParam @DateTimeFormat(pattern = "yyyy-MM-dd") Date endTime) { |
|
|
|
|
|
|
|
endTime = DateUtil.endOfDay(endTime); |
|
|
|
List<CaseVerificationMapVo> caseVerificationMapList = negativeMapper.getCaseVerificationMap(beginTime, endTime); |
|
|
|
List<CaseVerificationMapVo> caseVerificationMapList = negativeMapper.getCaseVerificationMap(beginTime, endTime); |
|
|
|
JSONObject res = new JSONObject().fluentPut("caseVerificationMapList", caseVerificationMapList); |
|
|
|
JSONObject res = new JSONObject().fluentPut("caseVerificationMapList", caseVerificationMapList); |
|
|
|
return Result.success(res); |
|
|
|
return Result.success(res); |
|
|
|
@ -124,6 +129,7 @@ public class DataVCaseVerifController { |
|
|
|
@Operation(summary = "查处问题趋势") |
|
|
|
@Operation(summary = "查处问题趋势") |
|
|
|
@GetMapping("/getCaseVerificationTrend") |
|
|
|
@GetMapping("/getCaseVerificationTrend") |
|
|
|
public Result<JSONObject> getCaseVerificationTrend(@RequestParam Integer year) { |
|
|
|
public Result<JSONObject> getCaseVerificationTrend(@RequestParam Integer year) { |
|
|
|
|
|
|
|
|
|
|
|
List<EchartsVo> proTrendList = negativeMapper.getTrend(year, A12389.getValue(), SLDJB.getValue(), ZDDJB.getValue(), SJJB.getValue()); |
|
|
|
List<EchartsVo> proTrendList = negativeMapper.getTrend(year, A12389.getValue(), SLDJB.getValue(), ZDDJB.getValue(), SJJB.getValue()); |
|
|
|
JSONObject data = new JSONObject().fluentPut("proTrendList", proTrendList); |
|
|
|
JSONObject data = new JSONObject().fluentPut("proTrendList", proTrendList); |
|
|
|
return Result.success(data); |
|
|
|
return Result.success(data); |
|
|
|
@ -144,6 +150,7 @@ public class DataVCaseVerifController { |
|
|
|
@GetMapping("/getCaseSourceRateAndDealSituation") |
|
|
|
@GetMapping("/getCaseSourceRateAndDealSituation") |
|
|
|
public Result<JSONObject> getCaseSourceRateAndDealSituation(@RequestParam @DateTimeFormat(pattern = "yyyy-MM-dd") Date beginTime, |
|
|
|
public Result<JSONObject> getCaseSourceRateAndDealSituation(@RequestParam @DateTimeFormat(pattern = "yyyy-MM-dd") Date beginTime, |
|
|
|
@RequestParam @DateTimeFormat(pattern = "yyyy-MM-dd") Date endTime) { |
|
|
|
@RequestParam @DateTimeFormat(pattern = "yyyy-MM-dd") Date endTime) { |
|
|
|
|
|
|
|
endTime = DateUtil.endOfDay(endTime); |
|
|
|
List<EchartsVo> caseSourceRateList = negativeMapper.getCaseSourceRate(beginTime, endTime); |
|
|
|
List<EchartsVo> caseSourceRateList = negativeMapper.getCaseSourceRate(beginTime, endTime); |
|
|
|
List<EchartsVo> dealSituationPieList = negativeMapper.getDealSituation(beginTime, endTime); |
|
|
|
List<EchartsVo> dealSituationPieList = negativeMapper.getDealSituation(beginTime, endTime); |
|
|
|
JSONObject data = new JSONObject() |
|
|
|
JSONObject data = new JSONObject() |
|
|
|
@ -164,6 +171,7 @@ public class DataVCaseVerifController { |
|
|
|
@GetMapping("/getConfinementAndPause") |
|
|
|
@GetMapping("/getConfinementAndPause") |
|
|
|
public Result<JSONObject> getConfinementAndPause(@RequestParam @DateTimeFormat(pattern = "yyyy-MM-dd") Date beginTime, |
|
|
|
public Result<JSONObject> getConfinementAndPause(@RequestParam @DateTimeFormat(pattern = "yyyy-MM-dd") Date beginTime, |
|
|
|
@RequestParam @DateTimeFormat(pattern = "yyyy-MM-dd") Date endTime) { |
|
|
|
@RequestParam @DateTimeFormat(pattern = "yyyy-MM-dd") Date endTime) { |
|
|
|
|
|
|
|
endTime = DateUtil.endOfDay(endTime); |
|
|
|
List<EchartsVo> jbclList = negativeMapper.getConfinementAndPause(beginTime,endTime, 1); |
|
|
|
List<EchartsVo> jbclList = negativeMapper.getConfinementAndPause(beginTime,endTime, 1); |
|
|
|
List<EchartsVo> tzclList = negativeMapper.getConfinementAndPause(beginTime, endTime, 2); // 停职
|
|
|
|
List<EchartsVo> tzclList = negativeMapper.getConfinementAndPause(beginTime, endTime, 2); // 停职
|
|
|
|
JSONObject data = new JSONObject() |
|
|
|
JSONObject data = new JSONObject() |
|
|
|
|