Browse Source

库区信息添加

liujing-123 2 weeks ago
parent
commit
660f514733

+ 1 - 1
delivery-module-core/delivery-module-core-biz/src/main/java/com/unis/module/coding/controller/admin/kqxx/KqxxController.java

@@ -72,7 +72,7 @@ public class KqxxController {
72 72
     }
73 73
     @GetMapping("/getByKqBm")
74 74
     @Operation(summary = "根据库区编码获得库区信息;")
75
-    @PreAuthorize("@ss.hasPermission('coding:kqxx:query')")
75
+    @PreAuthorize("@ss.hasPermission('coding:kqxx:queryByKqBm')")
76 76
     public CommonResult<KqxxRespVO> getKqxxByKqBm() {
77 77
         KqxxDO kqxx = kqxxService.getKqxxByKqBm();
78 78
         return success(BeanUtils.toBean(kqxx, KqxxRespVO.class));