@Override
 public String searchPwd(String member_id, String member_email) {
   // TODO Auto-generated method stub
   MemberDao dao = sqlSession.getMapper(MemberDao.class);
   String pwd = dao.searchPwd(member_id, member_email);
   return pwd;
 }
  @Override
  public Member getMember(String id) {
    // TODO Auto-generated method stub
    MemberDao dao = sqlSession.getMapper(MemberDao.class);
    Member member = dao.getMember(id);

    // session.commit();
    // session.close();

    return member;
  }
  @Override
  public List<Member> getMembers(int page, String field, String query) throws SQLException {
    // TODO Auto-generated method stub
    // SqlSession session = ssf.openSession();
    MemberDao dao = sqlSession.getMapper(MemberDao.class);

    List<Member> list = dao.getMembers(page, field, query);
    // session.close();

    return list;
  }
  @Override
  public int insert(Member member) throws SQLException {
    // TODO Auto-generated method stub
    // SqlSession session = ssf.openSession();
    MemberDao dao = sqlSession.getMapper(MemberDao.class);
    int aft = dao.insert(member);

    // session.commit();
    // session.close();

    return aft;
  }
 public String idCheck(String uid) {
   MemberDao dao = sqlSession.getMapper(MemberDao.class);
   String chkId = dao.idCheck(uid);
   return chkId;
 }