From 77f1d039da2f6f136ba56aae4b7976057824fa8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=80=E6=BA=90=E6=B5=B7=E5=93=A5?= Date: Sat, 6 May 2023 17:02:30 +0800 Subject: [PATCH] v1.2.1 release (^.^)YYa!! --- .../src/main/java/com/mybatisflex/core/BaseMapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mybatis-flex-core/src/main/java/com/mybatisflex/core/BaseMapper.java b/mybatis-flex-core/src/main/java/com/mybatisflex/core/BaseMapper.java index 3e067bfa..0c1bff86 100644 --- a/mybatis-flex-core/src/main/java/com/mybatisflex/core/BaseMapper.java +++ b/mybatis-flex-core/src/main/java/com/mybatisflex/core/BaseMapper.java @@ -177,7 +177,7 @@ public interface BaseMapper { /** - * 根据主键来更新数据,若数据为 null,也会更新到数据库 + * 根据主键来更新数据,若 entity 属性数据为 null,该属性不会新到数据库 * * @param entity 数据内容,必须包含有主键 * @return 返回影响的行数