Browse Source

fix--案件核查总览数据禁闭处理情况

master
buaixuexideshitongxue 1 month ago
parent
commit
4795ec712f
  1. 3
      src/main/java/com/biutag/supervision/controller/datav/DataVCaseVerifController.java

3
src/main/java/com/biutag/supervision/controller/datav/DataVCaseVerifController.java

@ -123,7 +123,8 @@ public class DataVCaseVerifController {
@GetMapping("/getConfinementBar") @GetMapping("/getConfinementBar")
public Result<JSONObject> getConfinementBar(@RequestParam @DateTimeFormat(pattern = "yyyy-MM-dd") Date beginTime, public Result<JSONObject> getConfinementBar(@RequestParam @DateTimeFormat(pattern = "yyyy-MM-dd") Date beginTime,
@RequestParam @DateTimeFormat(pattern = "yyyy-MM-dd") Date endTime){ @RequestParam @DateTimeFormat(pattern = "yyyy-MM-dd") Date endTime){
List<EchartsVo> list =dataCaseVerifMapper.getConfinementData(beginTime,endTime); endTime = DateUtil.endOfDay(endTime);
List<EchartsVo> list =dataCaseVerifMapper.getConfinementData(beginTime,endTime);
JSONObject jsonObject =new JSONObject().fluentPut("confinementList",list); JSONObject jsonObject =new JSONObject().fluentPut("confinementList",list);
return Result.success(jsonObject); return Result.success(jsonObject);
} }

Loading…
Cancel
Save