From a33898c2a0374c249862a2b996e33352e30c8caf Mon Sep 17 00:00:00 2001 From: KonBAI <1527468660@qq.com> Date: 星期六, 02 四月 2022 13:02:56 +0800 Subject: [PATCH] !167 update 修改角色"菜单树选择项"和"部门树选择项"是否关联显示字段为Boolean类型 * fix 修改 postgres sql脚本,处理角色表字段类型错误问题。 * fix 修复postgreSQL新增或更新角色信息报错。修改角色"菜单树选择项"和"部门树选择项"是否关联显示字段为Boolean类型。 --- ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysConfigMapper.java | 63 ++----------------------------- 1 files changed, 4 insertions(+), 59 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysConfigMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysConfigMapper.java index 0ed0c0a..13cce2d 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysConfigMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysConfigMapper.java @@ -1,68 +1,13 @@ package com.ruoyi.system.mapper; -import java.util.List; +import com.ruoyi.common.core.mapper.BaseMapperPlus; import com.ruoyi.system.domain.SysConfig; /** * 鍙傛暟閰嶇疆 鏁版嵁灞� - * - * @author ruoyi + * + * @author Lion Li */ -public interface SysConfigMapper -{ - /** - * 鏌ヨ鍙傛暟閰嶇疆淇℃伅 - * - * @param config 鍙傛暟閰嶇疆淇℃伅 - * @return 鍙傛暟閰嶇疆淇℃伅 - */ - public SysConfig selectConfig(SysConfig config); +public interface SysConfigMapper extends BaseMapperPlus<SysConfigMapper, SysConfig, SysConfig> { - /** - * 鏌ヨ鍙傛暟閰嶇疆鍒楄〃 - * - * @param config 鍙傛暟閰嶇疆淇℃伅 - * @return 鍙傛暟閰嶇疆闆嗗悎 - */ - public List<SysConfig> selectConfigList(SysConfig config); - - /** - * 鏍规嵁閿悕鏌ヨ鍙傛暟閰嶇疆淇℃伅 - * - * @param configKey 鍙傛暟閿悕 - * @return 鍙傛暟閰嶇疆淇℃伅 - */ - public SysConfig checkConfigKeyUnique(String configKey); - - /** - * 鏂板鍙傛暟閰嶇疆 - * - * @param config 鍙傛暟閰嶇疆淇℃伅 - * @return 缁撴灉 - */ - public int insertConfig(SysConfig config); - - /** - * 淇敼鍙傛暟閰嶇疆 - * - * @param config 鍙傛暟閰嶇疆淇℃伅 - * @return 缁撴灉 - */ - public int updateConfig(SysConfig config); - - /** - * 鍒犻櫎鍙傛暟閰嶇疆 - * - * @param configId 鍙傛暟ID - * @return 缁撴灉 - */ - public int deleteConfigById(Long configId); - - /** - * 鎵归噺鍒犻櫎鍙傛暟淇℃伅 - * - * @param configIds 闇�瑕佸垹闄ょ殑鍙傛暟ID - * @return 缁撴灉 - */ - public int deleteConfigByIds(Long[] configIds); } -- Gitblit v1.9.3