#
vincentlu
2025-01-20 c8fbc6476e9e45e693f0f1ed423110a8f1773c9d
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)));