From 4500db395fdad42c7689e17ef6e3965a6caebdcc Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期一, 12 四月 2021 17:02:55 +0800 Subject: [PATCH] update ruoyi原生改为 MP lombok 格式 update SysConfig 模块代码 --- ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDictTypeMapper.java | 29 +++++++++++++++-------------- 1 files changed, 15 insertions(+), 14 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDictTypeMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDictTypeMapper.java index 17545cd..5854d2d 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDictTypeMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDictTypeMapper.java @@ -1,20 +1,21 @@ package com.ruoyi.system.mapper; -import java.util.List; -import org.apache.ibatis.annotations.Mapper; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.ruoyi.common.core.domain.entity.SysDictType; +import org.apache.ibatis.annotations.Mapper; + +import java.util.List; /** * 瀛楀吀琛� 鏁版嵁灞� - * + * * @author ruoyi */ @Mapper -public interface SysDictTypeMapper -{ +public interface SysDictTypeMapper extends BaseMapper<SysDictType> { /** * 鏍规嵁鏉′欢鍒嗛〉鏌ヨ瀛楀吀绫诲瀷 - * + * * @param dictType 瀛楀吀绫诲瀷淇℃伅 * @return 瀛楀吀绫诲瀷闆嗗悎淇℃伅 */ @@ -22,14 +23,14 @@ /** * 鏍规嵁鎵�鏈夊瓧鍏哥被鍨� - * + * * @return 瀛楀吀绫诲瀷闆嗗悎淇℃伅 */ public List<SysDictType> selectDictTypeAll(); /** * 鏍规嵁瀛楀吀绫诲瀷ID鏌ヨ淇℃伅 - * + * * @param dictId 瀛楀吀绫诲瀷ID * @return 瀛楀吀绫诲瀷 */ @@ -37,7 +38,7 @@ /** * 鏍规嵁瀛楀吀绫诲瀷鏌ヨ淇℃伅 - * + * * @param dictType 瀛楀吀绫诲瀷 * @return 瀛楀吀绫诲瀷 */ @@ -45,7 +46,7 @@ /** * 閫氳繃瀛楀吀ID鍒犻櫎瀛楀吀淇℃伅 - * + * * @param dictId 瀛楀吀ID * @return 缁撴灉 */ @@ -53,7 +54,7 @@ /** * 鎵归噺鍒犻櫎瀛楀吀绫诲瀷淇℃伅 - * + * * @param dictIds 闇�瑕佸垹闄ょ殑瀛楀吀ID * @return 缁撴灉 */ @@ -61,7 +62,7 @@ /** * 鏂板瀛楀吀绫诲瀷淇℃伅 - * + * * @param dictType 瀛楀吀绫诲瀷淇℃伅 * @return 缁撴灉 */ @@ -69,7 +70,7 @@ /** * 淇敼瀛楀吀绫诲瀷淇℃伅 - * + * * @param dictType 瀛楀吀绫诲瀷淇℃伅 * @return 缁撴灉 */ @@ -77,7 +78,7 @@ /** * 鏍¢獙瀛楀吀绫诲瀷绉版槸鍚﹀敮涓� - * + * * @param dictType 瀛楀吀绫诲瀷 * @return 缁撴灉 */ -- Gitblit v1.9.3