添加给浪潮提供的根据用户userid查询简历
This commit is contained in:
@@ -213,4 +213,20 @@ public class StringUtil {
|
||||
return "***";
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 转大写
|
||||
* @param str
|
||||
* @return
|
||||
*/
|
||||
public static String toUpperCaseIgnoreBlank(String str) {
|
||||
if (str == null) {
|
||||
return null;
|
||||
}
|
||||
String trimmedStr = str.trim();
|
||||
if (trimmedStr.isEmpty()) {
|
||||
return str;
|
||||
}
|
||||
return str.toUpperCase();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user