whycxzp
2025-06-11 a054af9e72b1d64f459eec16178a656b829e069c
巡检备忘录
2个文件已修改
6 ■■■■ 已修改文件
src/main/java/com/whyc/controller/AlarmInspectionController.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/whyc/service/AlarmInspectionService.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/whyc/controller/AlarmInspectionController.java
@@ -28,8 +28,8 @@
    @ApiOperation("查询站点对应的巡检单")
    @GetMapping("")
    public Response getList(@RequestParam Integer stationId){
        return service.getList(stationId);
    public Response getList(@RequestParam Integer stationId,@RequestParam Integer inspectionType){
        return service.getList(stationId,inspectionType);
    }
src/main/java/com/whyc/service/AlarmInspectionService.java
@@ -14,7 +14,7 @@
    @Resource
    private AlarmInspectionMapper mapper;
    public Response getList(Integer stationId) {
    public Response getList(Integer stationId, Integer inspectionType) {
        //需要附加填充 负责班组信息 及 告警诊断信息
        List<AlarmInspection> list = mapper.getList(stationId);
        return new Response().set(1,list);