|
|
|
|
@ -80,6 +80,36 @@ public class DataVCaseVerifController {
|
|
|
|
|
return Result.success(data); |
|
|
|
|
} |
|
|
|
|
// endregion
|
|
|
|
|
/** |
|
|
|
|
* 案件问题性质 |
|
|
|
|
* */ |
|
|
|
|
@GetMapping("/getCaseType") |
|
|
|
|
public Result<JSONObject> getCaseType(@RequestParam @DateTimeFormat(pattern = "yyyy-MM-dd") Date beginTime, |
|
|
|
|
@RequestParam @DateTimeFormat(pattern = "yyyy-MM-dd") Date endTime) { |
|
|
|
|
endTime = DateUtil.endOfDay(endTime); |
|
|
|
|
//执法办案
|
|
|
|
|
List<EchartsVo> enforceList = dataCaseVerifMapper.getCaseTypeNumber(beginTime,endTime,5); |
|
|
|
|
//内部管理
|
|
|
|
|
List<EchartsVo> interiorList = dataCaseVerifMapper.getCaseTypeNumber(beginTime,endTime,1); |
|
|
|
|
//纪律作风
|
|
|
|
|
List<EchartsVo> disciplineList = dataCaseVerifMapper.getCaseTypeNumber(beginTime,endTime,4); |
|
|
|
|
JSONObject jsonObject =new JSONObject().fluentPut("enforceList",enforceList) |
|
|
|
|
.fluentPut("interiorList",interiorList) |
|
|
|
|
.fluentPut("disciplineList",disciplineList); |
|
|
|
|
return Result.success(jsonObject); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 获取禁闭处理情况数据 |
|
|
|
|
* */ |
|
|
|
|
@GetMapping("/getConfinementBar") |
|
|
|
|
public Result<JSONObject> getConfinementBar(@RequestParam @DateTimeFormat(pattern = "yyyy-MM-dd") Date beginTime, |
|
|
|
|
@RequestParam @DateTimeFormat(pattern = "yyyy-MM-dd") Date endTime){ |
|
|
|
|
List<EchartsVo> list =dataCaseVerifMapper.getConfinementData(beginTime,endTime); |
|
|
|
|
JSONObject jsonObject =new JSONObject().fluentPut("confinementList",list); |
|
|
|
|
return Result.success(jsonObject); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// region 中间
|
|
|
|
|
|