|
|
|
@ -3,6 +3,7 @@ package com.biutag.supervision.controller.datav; |
|
|
|
import com.alibaba.fastjson.JSONObject; |
|
|
|
import com.alibaba.fastjson.JSONObject; |
|
|
|
import com.biutag.supervision.pojo.Result; |
|
|
|
import com.biutag.supervision.pojo.Result; |
|
|
|
import com.biutag.supervision.pojo.dto.CaseVerifDepart; |
|
|
|
import com.biutag.supervision.pojo.dto.CaseVerifDepart; |
|
|
|
|
|
|
|
import com.biutag.supervision.pojo.vo.EchartsVo; |
|
|
|
import com.biutag.supervision.pojo.vo.RankVo; |
|
|
|
import com.biutag.supervision.pojo.vo.RankVo; |
|
|
|
import com.biutag.supervision.service.DataSupervisionNotifyServiceImpl; |
|
|
|
import com.biutag.supervision.service.DataSupervisionNotifyServiceImpl; |
|
|
|
import io.swagger.v3.oas.annotations.Operation; |
|
|
|
import io.swagger.v3.oas.annotations.Operation; |
|
|
|
@ -33,7 +34,7 @@ public class SupervisionNotifyController { |
|
|
|
private final DataSupervisionNotifyServiceImpl dataSupervisionNotifyService; |
|
|
|
private final DataSupervisionNotifyServiceImpl dataSupervisionNotifyService; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 获取现场督察大屏中央总数数量 |
|
|
|
* 获取现场督察大屏数据 |
|
|
|
* |
|
|
|
* |
|
|
|
* @return |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@ -43,6 +44,11 @@ public class SupervisionNotifyController { |
|
|
|
@RequestParam @DateTimeFormat(pattern = "yyyy-MM-dd") Date endTime) { |
|
|
|
@RequestParam @DateTimeFormat(pattern = "yyyy-MM-dd") Date endTime) { |
|
|
|
JSONObject overview = dataSupervisionNotifyService.getAllSupervisionNotifyCount(beginTime, endTime); |
|
|
|
JSONObject overview = dataSupervisionNotifyService.getAllSupervisionNotifyCount(beginTime, endTime); |
|
|
|
JSONObject data = new JSONObject().fluentPut("overview", overview); |
|
|
|
JSONObject data = new JSONObject().fluentPut("overview", overview); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//问题类型占比
|
|
|
|
|
|
|
|
List<EchartsVo> wtlxList = dataSupervisionNotifyService.getProblemTypeRatio(beginTime, endTime); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
return Result.success(data); |
|
|
|
return Result.success(data); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ -66,5 +72,8 @@ public class SupervisionNotifyController { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|