From 635e36a882559be561372e5aab9893db5be42023 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期三, 01 十一月 2023 16:33:57 +0800 Subject: [PATCH] fix 修复 普通角色编辑使用内置管理员code越权问题 --- ruoyi-modules/ruoyi-generator/src/main/resources/vm/java/serviceImpl.java.vm | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/ruoyi-modules/ruoyi-generator/src/main/resources/vm/java/serviceImpl.java.vm b/ruoyi-modules/ruoyi-generator/src/main/resources/vm/java/serviceImpl.java.vm index cec6c1b..75a9b83 100644 --- a/ruoyi-modules/ruoyi-generator/src/main/resources/vm/java/serviceImpl.java.vm +++ b/ruoyi-modules/ruoyi-generator/src/main/resources/vm/java/serviceImpl.java.vm @@ -1,7 +1,8 @@ package ${packageName}.service.impl; import org.dromara.common.core.utils.MapstructUtils; - #if($table.crud || $table.sub) +import org.dromara.common.core.utils.StringUtils; +#if($table.crud || $table.sub) import org.dromara.common.mybatis.core.page.TableDataInfo; import org.dromara.common.mybatis.core.page.PageQuery; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; -- Gitblit v1.9.3