@Override
	public ArrayList<Integer> getScannedList() {
		try{
			ArrayList<Integer> list = new ArrayList<Integer>();
			PreparedStatement pstmt = writeConn.prepareStatement("select distinct SCANPLAN_ID from tb_checkresult");
			ResultSet rs = pstmt.executeQuery();
			while(rs.next()){
				list.add(rs.getInt(1));
			}
	        rs.close();
	        pstmt.close();
	        return list;
		} catch(SQLException ex) {
            logger.log(Level.SEVERE, "write check result:", ex);
        }
		return null;
	}