From ad3e0a15aad0955a4cefc9e64cc11dc9c481c4df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E7=90=A6=E6=B6=9B?= Date: Wed, 31 Jan 2024 16:09:42 +0800 Subject: [PATCH] fix:78569 --- .../com/jero/modules/sys/controller/LawsGradeController.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/laws-modules/src/main/java/com/jero/modules/sys/controller/LawsGradeController.java b/laws-modules/src/main/java/com/jero/modules/sys/controller/LawsGradeController.java index 779fb9e0..3d3cd511 100644 --- a/laws-modules/src/main/java/com/jero/modules/sys/controller/LawsGradeController.java +++ b/laws-modules/src/main/java/com/jero/modules/sys/controller/LawsGradeController.java @@ -13,6 +13,7 @@ import io.swagger.annotations.ApiOperation; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.StringUtils; import org.apache.poi.ss.formula.functions.T; +import org.apache.shiro.authz.annotation.RequiresPermissions; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.validation.annotation.Validated; import org.springframework.web.bind.annotation.*; @@ -41,6 +42,7 @@ public class LawsGradeController extends JeroController> queryList() { List grades = lawsGradeService.queryList(); return Result.OK(grades); @@ -52,6 +54,7 @@ public class LawsGradeController extends JeroController edit(@Validated @RequestBody LawsGrade lawsGrade) { if (StringUtils.isBlank(lawsGrade.getId())){ throw new JeroBootException(ResultCommon.PLEASE_SELECT_DATA);