public Privilege findById(Integer id) throws Exception {
		Privilege pri = null;
		String sql = "SELECT pid,name,note FROM privilege WHERE pid=?";
		this.pstmt = this.conn.prepareStatement(sql);
		this.pstmt.setInt(1, id);
		ResultSet rs = this.pstmt.executeQuery();
		if (rs.next()) {
			pri = new Privilege();
			pri.setPid(rs.getInt(1));
			pri.setName(rs.getString(2));
			pri.setNote(rs.getString(3));
		}
		return pri;
	}