public void updateScanPlan(int fid, int status){
    	try{
    		if(prefetchConnectionURL != null){
	    		Connection conn = DriverManager.getConnection(prefetchConnectionURL);
	    		PreparedStatement pstmt = conn.prepareStatement("update TB_SCANPLAN set fendibm = ? where fid = ?");
	    		pstmt.setInt(1, status);
	            pstmt.setInt(2, fid);
	            pstmt.executeQuery();
	            pstmt.close();
    		}
    	} catch(SQLException ex){
    		logger.log(Level.SEVERE, "update db:", ex);
    	}
    }