/*	public ShopMember idcheck(String id) {

  	ShopMember shopmember = null;
  	try { shopmember=(ShopMember)SqlLocater.getMapper()
  				.queryForObject("idcheck",id);
  	} catch(Exception e) {
  		System.out.println(e.getMessage()); }
  	return shopmember;
  }

  public ShopMember logincheck(String id) {

  	ShopMember shopmember = null;
  	try { shopmember=(ShopMember)SqlLocater.getMapper()
  				.queryForObject("logincheck",id);
  	} catch(Exception e) {
  		System.out.println(e.getMessage()); }
  	return shopmember;
  }
  public int insert(ShopMember shopmember) {
  	int result=0;
  	try { result=SqlLocater.getMapper().update("insert",shopmember);
  	} catch(Exception e) {
  		System.out.println(e.getMessage()); }
  	return result;
  }*/
  public int corpupdate(Corperation corperation) {
    int result = 0;
    try {
      result = SqlLocater.getMapper().update("corpupdate", corperation);
    } catch (Exception e) {
      System.out.println(e.getMessage());
    }
    return result;
  }
 @SuppressWarnings("unchecked")
 public List<Corperation> list() {
   ArrayList<Corperation> list = new ArrayList<>();
   try {
     list = (ArrayList<Corperation>) SqlLocater.getMapper().queryForList("corpselectall");
   } catch (Exception e) {
     System.out.println(e.getMessage());
   }
   return list;
 }