src/main/java/com/qxueyou/scc/user/service/impl/UserService.java
@@ -282,4 +282,14 @@ return findCount("from User where account = ?", CollectionUtils.newList(account)) > 0; } @Override public Result countUser() { String hql = "from count User where sex=? and deleteFlag is false"; return new Result(true,findCount(hql,CollectionUtils.newList(1))); } @Override public Result countUsersex() { String hql = "from count User where sex=? and deleteFlag is false"; return new Result(true,findCount(hql,CollectionUtils.newList(0))); } }