!3 修改 BaseMapper 更新方法

Merge pull request !3 from lhzsdnu/main
This commit is contained in:
Michael Yang 2023-03-30 13:14:48 +00:00 committed by Gitee
commit 7d8189ba79
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -156,7 +156,7 @@ public interface BaseMapper<T> {
* @see com.mybatisflex.core.provider.EntitySqlProvider#updateByQuery(Map, ProviderContext)
*/
@UpdateProvider(type = EntitySqlProvider.class, method = "updateByQuery")
int updateByQuery(@Param(FlexConsts.ENTITY) T entity, @Param("ignoreNulls") boolean ignoreNulls, @Param(FlexConsts.QUERY) QueryWrapper queryWrapper);
int updateByQuery(@Param(FlexConsts.ENTITY) T entity, @Param(FlexConsts.IGNORE_NULLS) boolean ignoreNulls, @Param(FlexConsts.QUERY) QueryWrapper queryWrapper);
/**