From b41175b526252a8796de62e0f3ba7ec6c531de52 Mon Sep 17 00:00:00 2001 From: zhang <zc857179121@qq.com> Date: 星期四, 12 六月 2025 14:54:38 +0800 Subject: [PATCH] 寻找待机位和充电桩的时候,找空闲的 --- zy-acs-framework/src/main/resources/templates/react-admin/Controller.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/zy-acs-framework/src/main/resources/templates/react-admin/Controller.txt b/zy-acs-framework/src/main/resources/templates/react-admin/Controller.txt index 40d55ba..1a112d3 100644 --- a/zy-acs-framework/src/main/resources/templates/react-admin/Controller.txt +++ b/zy-acs-framework/src/main/resources/templates/react-admin/Controller.txt @@ -40,7 +40,7 @@ return R.ok().add(@{SIMPLEENTITYNAME}Service.list()); } - @PreAuthorize("hasAuthority('system:@{SIMPLEENTITYNAME}:list')") + @PreAuthorize("hasAuthority('@{ITEMNAME}:@{SIMPLEENTITYNAME}:list')") @PostMapping({"/@{SIMPLEENTITYNAME}/many/{ids}", "/@{SIMPLEENTITYNAME}s/many/{ids}"}) public R many(@PathVariable Long[] ids) { return R.ok().add(@{SIMPLEENTITYNAME}Service.listByIds(Arrays.asList(ids))); -- Gitblit v1.9.1