浏览代码

删掉注释里的 return

miemie 7 年之前
父节点
当前提交
1489f5270e
共有 1 个文件被更改,包括 0 次插入17 次删除
  1. 0 17
      mybatis-plus-core/src/main/java/com/baomidou/mybatisplus/core/mapper/BaseMapper.java

+ 0 - 17
mybatis-plus-core/src/main/java/com/baomidou/mybatisplus/core/mapper/BaseMapper.java

@@ -91,7 +91,6 @@ public interface BaseMapper<T> {
      * </p>
      *
      * @param entity 实体对象
-     * @return int
      */
     Integer insert(T entity);
 
@@ -101,7 +100,6 @@ public interface BaseMapper<T> {
      * </p>
      *
      * @param id 主键ID
-     * @return int
      */
     Integer deleteById(Serializable id);
 
@@ -111,7 +109,6 @@ public interface BaseMapper<T> {
      * </p>
      *
      * @param columnMap 表字段 map 对象
-     * @return int
      */
     Integer deleteByMap(@Param("cm") Map<String, Object> columnMap);
 
@@ -121,7 +118,6 @@ public interface BaseMapper<T> {
      * </p>
      *
      * @param queryWrapper 实体对象封装操作类(可以为 null)
-     * @return int
      */
     Integer delete(@Param("ew") Wrapper<T> queryWrapper);
 
@@ -131,7 +127,6 @@ public interface BaseMapper<T> {
      * </p>
      *
      * @param idList 主键ID列表
-     * @return int
      */
     Integer deleteBatchIds(@Param("coll") Collection<? extends Serializable> idList);
 
@@ -141,7 +136,6 @@ public interface BaseMapper<T> {
      * </p>
      *
      * @param entity 实体对象
-     * @return int
      */
     Integer updateById(@Param("et") T entity);
 
@@ -152,7 +146,6 @@ public interface BaseMapper<T> {
      *
      * @param entity        实体对象 (set 条件值)
      * @param updateWrapper 实体对象封装操作类(可以为 null)
-     * @return int
      */
     Integer update(@Param("et") T entity, @Param("ew") Wrapper<T> updateWrapper);
 
@@ -162,7 +155,6 @@ public interface BaseMapper<T> {
      * </p>
      *
      * @param id 主键ID
-     * @return T
      */
     T selectById(Serializable id);
 
@@ -172,7 +164,6 @@ public interface BaseMapper<T> {
      * </p>
      *
      * @param idList 主键ID列表
-     * @return List<T>
      */
     List<T> selectBatchIds(@Param("coll") Collection<? extends Serializable> idList);
 
@@ -182,7 +173,6 @@ public interface BaseMapper<T> {
      * </p>
      *
      * @param columnMap 表字段 map 对象
-     * @return List<T>
      */
     List<T> selectByMap(@Param("cm") Map<String, Object> columnMap);
 
@@ -192,7 +182,6 @@ public interface BaseMapper<T> {
      * </p>
      *
      * @param entity 实体对象
-     * @return T
      */
     T selectOne(@Param("ew") T entity);
 
@@ -202,7 +191,6 @@ public interface BaseMapper<T> {
      * </p>
      *
      * @param queryWrapper 实体对象
-     * @return int
      */
     Integer selectCount(@Param("ew") Wrapper<T> queryWrapper);
 
@@ -212,7 +200,6 @@ public interface BaseMapper<T> {
      * </p>
      *
      * @param queryWrapper 实体对象封装操作类(可以为 null)
-     * @return List<T>
      */
     List<T> selectList(@Param("ew") Wrapper<T> queryWrapper);
 
@@ -222,7 +209,6 @@ public interface BaseMapper<T> {
      * </p>
      *
      * @param queryWrapper 实体对象封装操作类(可以为 null)
-     * @return List<T>
      */
     List<Map<String, Object>> selectMaps(@Param("ew") Wrapper<T> queryWrapper);
 
@@ -233,7 +219,6 @@ public interface BaseMapper<T> {
      * </p>
      *
      * @param queryWrapper 实体对象封装操作类(可以为 null)
-     * @return List<Object>
      */
     List<Object> selectObjs(@Param("ew") Wrapper<T> queryWrapper);
 
@@ -244,7 +229,6 @@ public interface BaseMapper<T> {
      *
      * @param page         分页查询条件(可以为 RowBounds.DEFAULT)
      * @param queryWrapper 实体对象封装操作类(可以为 null)
-     * @return List<T>
      */
     IPage<T> selectPage(IPage<T> page, @Param("ew") Wrapper<T> queryWrapper);
 
@@ -255,7 +239,6 @@ public interface BaseMapper<T> {
      *
      * @param page         分页查询条件
      * @param queryWrapper 实体对象封装操作类
-     * @return
      */
     List<Map<String, Object>> selectMapsPage(IPage page, @Param("ew") Wrapper<T> queryWrapper);