From afb22090c509befbf68e7aaef00f06795d11337d Mon Sep 17 00:00:00 2001 From: 唐耀东 <18861537@qq.com> Date: 星期一, 07 二月 2022 17:49:29 +0800 Subject: [PATCH] 设备,外设单元修改 --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/DevPeripheralUnitController.java | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/DevPeripheralUnitController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/DevPeripheralUnitController.java index fddc5cc..9d8226c 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/DevPeripheralUnitController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/DevPeripheralUnitController.java @@ -4,6 +4,7 @@ import java.util.Arrays; import java.util.concurrent.TimeUnit; +import com.ruoyi.common.annotation.DataDictClass; import lombok.RequiredArgsConstructor; import javax.servlet.http.HttpServletResponse; import javax.validation.constraints.*; @@ -47,6 +48,7 @@ * 鏌ヨ澶栬鍗曞厓鍒楄〃 */ @ApiOperation("鏌ヨ澶栬鍗曞厓鍒楄〃") + @DataDictClass @PreAuthorize("@ss.hasPermi('oa:peripheralUnit:list')") @GetMapping("/list") public TableDataInfo<DevPeripheralUnitVo> list(@Validated(QueryGroup.class) DevPeripheralUnitBo bo) { @@ -70,6 +72,7 @@ */ @ApiOperation("鑾峰彇澶栬鍗曞厓璇︾粏淇℃伅") @PreAuthorize("@ss.hasPermi('oa:peripheralUnit:query')") + @DataDictClass @GetMapping("/{id}") public AjaxResult<DevPeripheralUnitVo> getInfo(@ApiParam("涓婚敭") @NotNull(message = "涓婚敭涓嶈兘涓虹┖") -- Gitblit v1.9.1