Skip to content

增加指定字段强制更新(包含null)方法 #647

New issue

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

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

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cjk87927
Copy link

在一个实体对象中,有一个long属性:companyId,在更新时不需要修改,但又无法设置为null以使用现有的update方法,所以增加一个指定字段强制更新的方法

@abel533
Copy link
Owner

abel533 commented Oct 16, 2022

不建议使用基本类型。

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

Successfully merging this pull request may close these issues.

2 participants