src/main/java/com/lf/server/helper/StringHelper.java
@@ -130,6 +130,13 @@ } /** * 获取 左like 字符串 */ public static String getLeftLike(String str) { return StringHelper.isEmpty(str) ? null : str.trim() + "%"; } /** * 获取图形的WKT字符串 * * @param wkt @@ -173,14 +180,15 @@ * 校验密码是/否合法 * * @param pwd 密码 * @return 是/否合法 * @return 是/否为无效的 */ public static boolean checkPwdValid(String pwd) { return Pattern.matches(StaticData.PWD_REG, pwd); public static boolean isPwdInvalid(String pwd) { return !Pattern.matches(StaticData.PWD_REG, pwd); } /** * 获取GUID * * @return */ public static String getGuid() {