管道基础大数据平台系统开发-【后端】-Server
13693261870
2023-02-14 05ffa1a7f490e1e81d6fbf1ee948db50b1fff6fc
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() {