巡检分析 巡检设备指标 详情
正在显示
4 个修改的文件
包含
7 行增加
和
5 行删除
... | @@ -221,19 +221,19 @@ public class InspectionAnalysisController { | ... | @@ -221,19 +221,19 @@ public class InspectionAnalysisController { |
221 | @GetMapping("/getInspectionEquipIndicators") | 221 | @GetMapping("/getInspectionEquipIndicators") |
222 | public Result<InspectionEquipIndicatorsVO> getInspectionEquipIndicators(String startDate, String endDate){ | 222 | public Result<InspectionEquipIndicatorsVO> getInspectionEquipIndicators(String startDate, String endDate){ |
223 | Result<InspectionEquipIndicatorsVO> result = new Result<>(); | 223 | Result<InspectionEquipIndicatorsVO> result = new Result<>(); |
224 | InspectionEquipIndicatorsVO inspectionEquipIndicatorsVO = inspectionAnalysisService.getInspectionEquipIndicatorsNew(startDate,endDate); | 224 | InspectionEquipIndicatorsVO inspectionEquipIndicatorsVO = inspectionAnalysisService.getInspectionEquipIndicators(startDate,endDate); |
225 | result.setSuccess(true); | 225 | result.setSuccess(true); |
226 | result.setResult(inspectionEquipIndicatorsVO); | 226 | result.setResult(inspectionEquipIndicatorsVO); |
227 | return result; | 227 | return result; |
228 | } | 228 | } |
229 | @ApiOperation(value = "巡检分析-巡检设备指标-详情", notes = "巡检分析-巡检设备指标-详情") | 229 | @ApiOperation(value = "巡检分析-巡检设备指标-详情", notes = "巡检分析-巡检设备指标-详情") |
230 | @GetMapping("/getInspectionEquipIndicatorsDetail") | 230 | @GetMapping("/getInspectionEquipIndicatorsDetail") |
231 | public Result<List<InspectionEquipIndicatorsDetailVO>> getInspectionEquipIndicators(String departId,String startDate, String endDate){ | 231 | public Result<List<InspectionEquipIndicatorsVO>> getInspectionEquipIndicators(String departId,String startDate, String endDate){ |
232 | Result<List<InspectionEquipIndicatorsDetailVO>> result = new Result<>(); | 232 | Result<List<InspectionEquipIndicatorsVO>> result = new Result<>(); |
233 | if(StringUtils.isEmpty(departId)){ | 233 | if(StringUtils.isEmpty(departId)){ |
234 | departId = BaseContextHandler.getDeparts(); | 234 | departId = BaseContextHandler.getDeparts(); |
235 | } | 235 | } |
236 | List<InspectionEquipIndicatorsDetailVO> dataList = inspectionAnalysisService.getInspectionEquipIndicatorsDetail(JSUtils.quoteEach(departId,","),startDate,endDate); | 236 | List<InspectionEquipIndicatorsVO> dataList = inspectionAnalysisService.getInspectionEquipIndicatorsDetail(JSUtils.quoteEach(departId,","),startDate,endDate); |
237 | result.setSuccess(true); | 237 | result.setSuccess(true); |
238 | result.setResult(dataList); | 238 | result.setResult(dataList); |
239 | return result; | 239 | return result; | ... | ... |
... | @@ -43,7 +43,7 @@ public interface IInspectionAnalysisService { | ... | @@ -43,7 +43,7 @@ public interface IInspectionAnalysisService { |
43 | * @param endDate | 43 | * @param endDate |
44 | * @return | 44 | * @return |
45 | */ | 45 | */ |
46 | List<InspectionEquipIndicatorsDetailVO> getInspectionEquipIndicatorsDetail(String departIds,String startDate, String endDate); | 46 | List<InspectionEquipIndicatorsVO> getInspectionEquipIndicatorsDetail(String departIds,String startDate, String endDate); |
47 | 47 | ||
48 | /*** | 48 | /*** |
49 | * 巡检分析-巡检任务概况 | 49 | * 巡检分析-巡检任务概况 | ... | ... |
此文件的差异被折叠,
点击展开。
... | @@ -28,4 +28,6 @@ public class InspectionEquipIndicatorsVO { | ... | @@ -28,4 +28,6 @@ public class InspectionEquipIndicatorsVO { |
28 | @ApiModelProperty(value = "异常项处理率") | 28 | @ApiModelProperty(value = "异常项处理率") |
29 | private String processedAbnormalRate; | 29 | private String processedAbnormalRate; |
30 | 30 | ||
31 | private String departName; | ||
32 | |||
31 | } | 33 | } | ... | ... |
-
请 注册 或 登录 后发表评论