liuxm
2024-05-16 4d2a6bd70db3fdf4646b23244563252e41a514db
pms-parent/pms-web-platform/src/main/java/com/dy/pmsPlatform/proLine/ProLineCtrl.java
@@ -128,5 +128,23 @@
        }
    }
    /**
     * 查询所有
     * @return
     */
    @GetMapping(path="all")
    @SsoPowerAop(power = "10300000")
    @Log("查询所有生产线")
    public BaseResponse<List<PltProductionLine>> all(){
        try {
            List<PltProductionLine> list = sv.selectAll();
            return BaseResponseUtils.buildSuccess(list);
        }catch (Exception e){
            log.error("查询所有生产线异常", e);
            return BaseResponseUtils.buildException(e.getMessage());
        }
    }
}