派生自 projectDept/qhighschool

111
EricsHu
2023-05-11 792da3dcdef9679c36adc4d54f3bff0f415c0fe2
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, "用户账户、密码错误");