@Test public void getTotalCount() throws Exception { Long count = loginUserDao.getTotalCount(paging); System.out.println("getTotalCount :-------> " + count); Assert.assertTrue(count > 0); }
public Long getTotalCount(Paging<LoginUser> paging) throws SQLException { String sql = "select count(1) from login_users t1 " + appenWhere(paging); return this.getCount(sql); }
LoginUserDao extends BaseDao { public Long getTotalCount(Paging<LoginUser> paging) throws SQLException { String sql = "select count(1) from login_users t1 " + appenWhere(paging); return this.getCount(sql); } }
LoginUserDao extends BaseDao { public Long getTotalCount(Paging<LoginUser> paging) throws SQLException { String sql = "select count(1) from login_users t1 " + appenWhere(paging); return this.getCount(sql); }  }
LoginUserDao extends BaseDao { public Long getTotalCount(Paging<LoginUser> paging) throws SQLException { String sql = "select count(1) from login_users t1 " + appenWhere(paging); return this.getCount(sql); }  Long insertUser(LoginUser user); int initAdmin(LoginUser user); int updateUserPassword(LoginUser user); List<LoginUser> getAllUsers(); LoginUser getUserById(Long userId); LoginUser getUserByNo(String userNo); LoginUser getUserByUserName(String userName); List<LoginUsersView> getUserByGroupId(Long groupId); int updateUser(LoginUser user); int deleteUser(Long userId); Long getTotalCount(Paging<LoginUser> paging); List<LoginUserView> findUserPageList(Paging<LoginUser> paging); }
LoginUserDao extends BaseDao { public Long getTotalCount(Paging<LoginUser> paging) throws SQLException { String sql = "select count(1) from login_users t1 " + appenWhere(paging); return this.getCount(sql); }  Long insertUser(LoginUser user); int initAdmin(LoginUser user); int updateUserPassword(LoginUser user); List<LoginUser> getAllUsers(); LoginUser getUserById(Long userId); LoginUser getUserByNo(String userNo); LoginUser getUserByUserName(String userName); List<LoginUsersView> getUserByGroupId(Long groupId); int updateUser(LoginUser user); int deleteUser(Long userId); Long getTotalCount(Paging<LoginUser> paging); List<LoginUserView> findUserPageList(Paging<LoginUser> paging);  }