protected void startPrefetch(Connection readConn) throws SQLException {
        scanPlanList = new ArrayList<ScanPlan>();
        SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        String currentTime = df.format(new Date());
        
        PreparedStatement pstmt = readConn.prepareStatement("select fid, faddress, ftype, fdatetime, fend, fendibm, Sys_id from TB_SCANPLAN where fdatetime <= ? and fendibm = 0 order by fdatetime");
        PreparedStatement uptmt;
        pstmt.setString(1, currentTime);
        ResultSet rs = pstmt.executeQuery();
        while(rs.next()){
        	ScanPlan plan = new ScanPlan();
        	int Id = rs.getInt(1);
        	plan.setId(Id);
        	plan.setWebSite(rs.getString(2));
        	plan.setType(rs.getInt(3));
        	plan.setDateTime(rs.getDate(4));
        	plan.setEnd(rs.getInt(5));
        	plan.setEndIbm(rs.getInt(6));
        	plan.setSysId(rs.getInt(7));
        	scanPlanList.add(plan);
        	uptmt = readConn.prepareStatement("update TB_SCANPLAN set fendibm = 1 where fid = ?");
        	uptmt.setInt(1, Id);
        	uptmt.executeUpdate();
        	uptmt.close();
        }
        rs.close();
        pstmt.close();
    }