From 26fc652d33fb82a75d6ec7771ca50ee414b21723 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期二, 11 一月 2022 16:58:47 +0800 Subject: [PATCH] update 统一代码间隔符 --- ruoyi-common/src/main/java/com/ruoyi/common/core/mybatisplus/core/BaseMapperPlus.java | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/core/mybatisplus/core/BaseMapperPlus.java b/ruoyi-common/src/main/java/com/ruoyi/common/core/mybatisplus/core/BaseMapperPlus.java index e11ec94..9532db3 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/core/mybatisplus/core/BaseMapperPlus.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/core/mybatisplus/core/BaseMapperPlus.java @@ -22,15 +22,15 @@ */ public interface BaseMapperPlus<T> extends BaseMapper<T> { - /** - * 鍗晄ql鎵归噺鎻掑叆( 鍏ㄩ噺濉厖 ) - */ - int insertAll(@Param("list") Collection<T> batchList); + /** + * 鍗晄ql鎵归噺鎻掑叆( 鍏ㄩ噺濉厖 ) + */ + int insertAll(@Param("list") Collection<T> batchList); /** * 鏍规嵁 ID 鏌ヨ */ - default <V> V selectVoById(Serializable id, Class<V> voClass){ + default <V> V selectVoById(Serializable id, Class<V> voClass) { T obj = this.selectById(id); if (ObjectUtil.isNull(obj)) { return null; @@ -41,7 +41,7 @@ /** * 鏌ヨ锛堟牴鎹甀D 鎵归噺鏌ヨ锛� */ - default <V> List<V> selectVoBatchIds(Collection<? extends Serializable> idList, Class<V> voClass){ + default <V> List<V> selectVoBatchIds(Collection<? extends Serializable> idList, Class<V> voClass) { List<T> list = this.selectBatchIds(idList); if (CollUtil.isEmpty(list)) { return CollUtil.newArrayList(); @@ -52,7 +52,7 @@ /** * 鏌ヨ锛堟牴鎹� columnMap 鏉′欢锛� */ - default <V> List<V> selectVoByMap(Map<String, Object> map, Class<V> voClass){ + default <V> List<V> selectVoByMap(Map<String, Object> map, Class<V> voClass) { List<T> list = this.selectByMap(map); if (CollUtil.isEmpty(list)) { return CollUtil.newArrayList(); -- Gitblit v1.9.3