1
zhang
2025-06-17 6b1c3d08808590cd8358c5c3b098fb5f72ef2993
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)));