liuxm
2024-05-16 f1e6aadf01a2ac32bc1707ca43fc6a2d2587b9ac
pms-parent/pms-web-platform/src/main/java/com/dy/pmsPlatform/product/ProductCtrl.java
@@ -145,4 +145,21 @@
            return BaseResponseUtils.buildException(e.getMessage());
        }
    }
    /**
     * 查询所有产品
     * @return
     */
    @GetMapping(path="all")
    @SsoPowerAop(power = "10300000")
    @Log("查询所有产品")
    public BaseResponse<List<PltProduct>> all(){
        try {
            List<PltProduct> list = proSv.selectAll() ;
            return BaseResponseUtils.buildSuccess(list);
        }catch (Exception e){
            log.error("查询所有产品异常", e);
            return BaseResponseUtils.buildException(e.getMessage());
        }
    }
}