派生自 projectDept/qhighschool

EricsHu
2023-05-29 cc70ac05f3fcca3b85f7860e7404bb2bfc4429a6
src/main/java/com/qxueyou/scc/sys/action/LoginController.java
@@ -217,8 +217,8 @@
      // 查询用户信息
      String uuNumber=null;
      String uuReNumber=null;
      String hql = "from User where deleteFlag is false and account = ?";
      List<Object> params =  CollectionUtils.newList(account);
      String hql = "from User where deleteFlag is false and account = ? and password= ?";
      List<Object> params =  CollectionUtils.newList(account,password);
      User user = commonDAO.findUnique(hql,params, User.class);
      if (user == null ) {
         return new Result(false, "用户账户、密码错误");