搜索忽略大小写支持

This commit is contained in:
zhaojun1998
2020-01-24 18:37:58 +08:00
parent aef34facbd
commit 245937e773
2 changed files with 20 additions and 3 deletions

View File

@@ -144,10 +144,15 @@ public class SystemConfigService {
return systemConfigDTO.getStorageStrategy();
}
public boolean getEnableCache() {
SystemConfigDTO systemConfigDTO = getSystemConfig();
return ObjectUtil.defaultIfNull(systemConfigDTO.getEnableCache(), false);
}
public boolean getSearchIgnoreCase() {
SystemConfigDTO systemConfigDTO = getSystemConfig();
return ObjectUtil.defaultIfNull(systemConfigDTO.getSearchIgnoreCase(), false);
}
}