fix BaseMapper-updateByQuery

Signed-off-by: lhzsdnu <2383376138@qq.com>
This commit is contained in:
lhzsdnu 2023-03-30 12:43:10 +00:00 committed by Gitee
parent dc26385552
commit 75f9382f05
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);
/**