From a79762b3dcf0e0100ea49a717f3b110feb40a652 Mon Sep 17 00:00:00 2001 From: wenjy Date: Mon, 7 Feb 2022 09:51:40 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20=E7=9B=91=E6=8E=A7=E5=8D=95?= =?UTF-8?q?=E5=85=83=E6=B7=BB=E5=8A=A0=E5=AF=BC=E5=85=A5=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../base/BaseMonitorunitTypeController.java | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/base/BaseMonitorunitTypeController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/base/BaseMonitorunitTypeController.java index 0c2f104..687a577 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/base/BaseMonitorunitTypeController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/base/BaseMonitorunitTypeController.java @@ -56,10 +56,10 @@ public class BaseMonitorunitTypeController extends BaseController { /** * 获取导入模板 * @author WenJY - * @date 2021/8/16 17:25 + * @date 2022/2/7 9:45 * @return com.ruoyi.common.core.domain.AjaxResult */ - @RequiresPermissions("mould:mouldFont:view") + @RequiresPermissions("base:monitorUnitType:importTemplate") @GetMapping("/importTemplate") @ResponseBody public AjaxResult importTemplate() { @@ -68,13 +68,14 @@ public class BaseMonitorunitTypeController extends BaseController { } /** - * 导入活字块台账信息 - * + * 导入监控单元信息 + * @author WenJY + * @date 2022/2/7 9:46 * @param file - * @return - * @throws Exception + * @param updateSupport + * @return com.ruoyi.common.core.domain.AjaxResult */ - @RequiresPermissions("mould:mouldFont:import") + @RequiresPermissions("base:monitorUnitType:importData") @PostMapping("/importData") @ResponseBody public AjaxResult importData(MultipartFile file, boolean updateSupport) throws Exception {