2 Komitmen 2a2ac6f284 ... 21f13f1386

Pembuat SHA1 Pesan Tanggal
  Zimo 21f13f1386 Merge remote-tracking branch 'origin/master' 1 hari lalu
  Zimo 057ae21494 提交并部署 1 hari lalu

+ 2 - 2
yudao-module-pms/yudao-module-pms-biz/src/main/java/cn/iocoder/yudao/module/pms/controller/admin/qhse/file/QhseInfoController.java

@@ -123,7 +123,7 @@ public class QhseInfoController {
 
     @PostMapping("/child/content-file")
     @Operation(summary = "获得资料库的分类目录及文件")
-    @PreAuthorize("@ss.hasPermission('rq:iot-info:query')")
+    @PreAuthorize("@ss.hasPermission('rq:qhse-info:query')")
     public CommonResult<List<QhseInfoRespVO>> getChildContentFile(@Valid IotInfoPageReqVO pageReqVO) {
         Long classId = pageReqVO.getClassId();
         List<QhseInfoRespVO> contentFiles = qhseInfoService.getChildContentFile(classId).stream().filter(e ->{
@@ -138,7 +138,7 @@ public class QhseInfoController {
 
     @PostMapping("/all/content-file")
     @Operation(summary = "获得QHSE资料库下的所有分类目录及文件")
-    @PreAuthorize("@ss.hasPermission('rq:iot-info:query')")
+    @PreAuthorize("@ss.hasPermission('rq:qhse-info:query')")
     public CommonResult<List<QhseInfoRespVO>> getAllContentFile(@Valid IotInfoPageReqVO pageReqVO) {
         Long classId = pageReqVO.getClassId();
         List<QhseInfoRespVO> contentFiles = qhseInfoService.getAllChildContentFile(classId).stream().filter(e ->{