ludc
2024-12-02 5db4c4f167c5353c257c5b890b6ba6ccecbdfc07
Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/frameworkcore/compatibility/impl/SmUserQueryServiceImpl.java
@@ -388,7 +388,7 @@
      //专业
      smUserVO.setSpecialties(userInfo.specialties);
      UserLogonInfo lockObj = platformClientUtil.getFrameworkService().fetchUserLogonObj(userInfo.id);
      smUserVO.setLockFlag(lockObj.plWrongNum == 0);
      smUserVO.setLockFlag(lockObj.plWrongNum != 0);
      smUserVO.setCreator(userInfo.createUser);
      smUserVO.setCreateTime(VciDateUtil.long2Date(userInfo.createTime));
      smUserVO.setLastModifier(userInfo.updateUser);
@@ -1664,4 +1664,19 @@
      return userNameList;
   }
   /**
    * 使用当前用户的类型查询用户
    * @return
    * @throws VciBaseException
    */
   @Override
   public List<SmUserVO> listUserByUserType() throws PLException {
      try {
         UserInfo[] userInfo = platformClientUtil.getFrameworkService().fetchUserInfoByType(Short.parseShort(WebUtil.getCurrentUserSessionInfo().getUsertype()));
         return userInfoArr2VO(userInfo);
      } catch (PLException e) {
         throw new VciBaseException("登录时,获取用户信息失败:"+e.getMessage());
      }
   }
}