class DateToLongHuBangStockMapper extends AbstractMapper<Date, List<Stock>> {

    public DateToLongHuBangStockMapper() {
        this(null);
    }

    /**
     * @param strategy 超时等待策略（null则设置为默认等待策略）
     */
    public DateToLongHuBangStockMapper(TimeWaitingStrategy strategy) {
        super(strategy);
    }

    @Override
    public List<Stock> mapLogic(Date date) throws Exception {<FILL_FUNCTION_BODY>}

    private List<Stock> processNode(JsonNode node, Date date) {
        List<Stock> stocks = new ArrayList<>();
        for (JsonNode jsonNode : node.get("list")) {

            String name = jsonNode.get("name").asText();
            String symbol = jsonNode.get("symbol").asText();
            Stock stock = new Stock(name, symbol);
            stock.setStockQueryDate(date);

            stocks.add(stock);

        }
        return stocks;
    }


}


        String dateParam = DateParser.getTimePrefix(date, false);

        String target = URLMapper.LONGHUBANG_JSON.toString();
        RequestParaBuilder builder = new RequestParaBuilder(target)
                .addParameter("date", dateParam);
        URL url = new URL(builder.build());
        String json = request(url);
        JsonNode node = mapper.readTree(json);
        return processNode(node, date);

    
<methods>public void <init>(org.decaywood.timeWaitingStrategy.TimeWaitingStrategy) ,public void <init>(org.decaywood.timeWaitingStrategy.TimeWaitingStrategy, java.lang.String) ,public List<org.decaywood.entity.Stock> apply(java.util.Date) <variables>