Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 支持更新指定字段 #118

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

Aunixtoyou
Copy link
Contributor

BaseMapper增加方法<S extends T> int updateForFieldListByPrimaryKey(@Param("entity") S entity, @Param("fns") Fn.Fns<T> updateFields)

AbstractService增加方法 public T update(T entity, Fn<T, Object>... updateFields)

@abel533 abel533 merged commit ab1d5e5 into mybatis-mapper:master Oct 24, 2024
1 check passed
@zzmark
Copy link

zzmark commented Dec 18, 2024

这名字好长……

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants