新增配置 user.loginCodeCorpUnique 登录账号租户内唯一

This commit is contained in:
thinkgem
2019-08-19 09:57:11 +08:00
parent fe738cba1a
commit 2a6252eb0b
7 changed files with 16 additions and 13 deletions

View File

@@ -164,7 +164,7 @@ public class JsonMapper extends ObjectMapper {
/**
* 当JSON里只含有Bean的部分属性時更新一个已存在Bean只覆盖该部分的属性.
*/
@SuppressWarnings("unchecked")
@SuppressWarnings({ "unchecked", "hiding" })
public <T> T update(String jsonString, T object) {
try {
return (T) this.readerForUpdating(object).readValue(jsonString);