@Override
	public boolean deleteICNum(String id, double num) {
		// TODO Auto-generated method stub
		double icnum = getICNum(id);
		double totalNum = 0;
		int status = memberDaoImpl.getICStatus(id);

		if (icnum < num) {
			if (status >= 6) {
				memberDaoImpl.setICStatus(id, 6);
				memberDaoImpl.alterStatus(id, MemberStatus.STOP.toString());
			} else {
				memberDaoImpl
						.setICStatus(id, memberDaoImpl.getICStatus(id) + 1);
				memberDaoImpl.alterStatus(id, MemberStatus.SUSPEND.toString());
			}
			return false;
		} else {
			if (memberDaoImpl.getSingleMemberBaseInfo(id).getStatus()
					.equals(MemberStatus.CANCEL.toString())) {
				return false;
			} else {
				totalNum = icnum - num;
				memberDaoImpl.deleteICNum(id, totalNum);
				memberDaoImpl.setICStatus(id, 0);
				memberDaoImpl.alterStatus(id, MemberStatus.NORMAL.toString());
				return true;
			}
		}
	}