From 2ab7c7feaeea8be05dcfbaa3dca16e492accd166 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期三, 02 六月 2021 18:20:06 +0800 Subject: [PATCH] !47 【优化】代码生成器新增、修改页面的按钮动作loading从页面loading到按钮loading Merge pull request !47 from 狂盗一枝梅/kdyzm --- ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysConfigServiceImpl.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysConfigServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysConfigServiceImpl.java index 7b5d061..d0b37c5 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysConfigServiceImpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysConfigServiceImpl.java @@ -20,6 +20,7 @@ import org.springframework.stereotype.Service; import javax.annotation.PostConstruct; +import java.util.Arrays; import java.util.Collection; import java.util.List; import java.util.Map; @@ -157,9 +158,9 @@ if (StrUtil.equals(UserConstants.YES, config.getConfigType())) { throw new CustomException(String.format("鍐呯疆鍙傛暟銆�%1$s銆戜笉鑳藉垹闄� ", config.getConfigKey())); } - baseMapper.deleteById(configId); redisCache.deleteObject(getCacheKey(config.getConfigKey())); } + baseMapper.deleteBatchIds(Arrays.asList(configIds)); } /** -- Gitblit v1.9.3