xiejun
2023-12-29 f02a461cd0e0c6ad326cd71e3af733e3292407fc
Source/UBCS/ubcs-service/ubcs-user/src/main/java/com/vci/ubcs/system/user/service/impl/UserServiceImpl.java
@@ -389,8 +389,8 @@
         throw new ServiceException("密码中必须含有【"+strategy.getCombinationNames()+"】中的【"+strategy.getRequiredType()+"】种密码组合方式,且密码长度必须在【"+strategy.getMinPwdLen()+"-"+strategy.getMaxPwdLen()+"】范围内");
      }
      oldPassword = DigestUtil.hex(DigestUtils.md5DigestAsHex((oldPassword).getBytes()));
      if (!user.getPassword().equals(oldPassword)) {
      String hexOldPassword = DigestUtil.hex(oldPassword);
      if (!user.getPassword().equals(hexOldPassword)) {
         throw new ServiceException("原密码不正确!");
      }
      List<String> regexs = sysClient.getRegexByList(Arrays.asList(strategy.getCombinationIds().split(","))).getData();