فهرست منبع

update method comments for easier understand

yuxiaobin 7 سال پیش
والد
کامیت
238bc166a6
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      mybatis-plus-support/src/main/java/com/baomidou/mybatisplus/mapper/BaseMapper.java

+ 2 - 2
mybatis-plus-support/src/main/java/com/baomidou/mybatisplus/mapper/BaseMapper.java

@@ -121,8 +121,8 @@ public interface BaseMapper<T> {
      * 根据 whereEntity 条件,更新记录
      * 根据 whereEntity 条件,更新记录
      * </p>
      * </p>
      *
      *
-     * @param entity  实体对象
-     * @param wrapper 实体对象封装操作类(可以为 null)
+     * @param entity  实体对象(更新的数据, name='Abc')
+     * @param wrapper 实体对象封装操作类(更新条件,可以为 null)
      * @return
      * @return
      */
      */
     Integer update(@Param("et") T entity, @Param("ew") Wrapper<T> wrapper);
     Integer update(@Param("et") T entity, @Param("ew") Wrapper<T> wrapper);