public boolean updateSupplier(Supplier s){
		Boolean isUpdated=null;
		connectionDB();
		String sql=" update supplier set supplierName=?,supplierDescrible=?,linkMan=?,telphone=?,address=? where supplierId=?";
		try {
			ps=conn.prepareStatement(sql);
			ps.setString(1, s.getSupplierName());
			ps.setString(2, s.getSupplierDescrible());
			ps.setString(3, s.getLinkMan());
			ps.setString(4, s.getTelphone());
			ps.setString(5, s.getAddress());
			ps.setLong(6, s.getSupplierId());
			int rows=ps.executeUpdate();
			isUpdated=rows>0?true:false;
		} catch (SQLException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
		return isUpdated;
	}