Browse Source

注释加上告警

miemie 7 years ago
parent
commit
b7b6cd7413

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

@@ -144,7 +144,7 @@ public interface BaseMapper<T> {
      * 根据 whereEntity 条件,更新记录
      * </p>
      *
-     * @param entity        实体对象 (set 条件值)
+     * @param entity        实体对象 (set 条件值,不能为 null)
      * @param updateWrapper 实体对象封装操作类(可以为 null,里面的 entity 用于生成 where 语句)
      */
     Integer update(@Param("et") T entity, @Param("ew") Wrapper<T> updateWrapper);