@Override public boolean findUser(String username, String password) { boolean flag = false; try { flag = dao.findUser(username, password); } catch (Exception e) { e.printStackTrace(); } finally { JdbcUtils.close(conn); } return flag; }
@Override public int UpdatePSW(int id, String password) { // TODO Auto-generated method stub return dao.UpdatePSW(id, password); }
@Override public User GetUserByName_psw(String name, String password) { // TODO Auto-generated method stub return dao.GetUserByName_psw(name, password); }
@Override public String CheckByEmail_Id(int id, String email) { // TODO Auto-generated method stub return dao.CheckByEmail_Id(id, email); }
@Override public String CheckByName_Id(int id, String name) { // TODO Auto-generated method stub return dao.CheckByName_Id(id, name); }
@Override public int AddUser(User user) { // TODO Auto-generated method stub return dao.AddUser(user); }
@Override public String CheckUserByName(String name) { // TODO Auto-generated method stub return dao.CheckUserByName(name); }
@Override public int DeleteUserById(String id) { // TODO Auto-generated method stub return dao.DeleteUserById(id); }
@Override public User GetUserInfoById(int id) { // TODO Auto-generated method stub return dao.GetUserInfoById(id); }
@Override public List<User> getUserList() { return dao.getUserList(); }