Callable newGoodsListCallable = null;
Callable hotGoodsListCallable = null;
newGoodsListCallable = () -> goodsService.queryByNew(0, SystemConfig.getNewLimit(),bindingGoodsList,goodsList,true);
hotGoodsListCallable = () -> goodsService.queryByHot(0, SystemConfig.getHotLimit(),bindingGoodsList,goodsList,true);
FutureTask newGoodsListTask = new FutureTask<>(newGoodsListCallable);
FutureTask hotGoodsListTask = new FutureTask<>(hotGoodsListCallable);
executorService.submit(newGoodsListTask);
executorService.submit(hotGoodsListTask);
data.put("newGoodsList", newGoodsListTask.get());
data.put("hotGoodsList", hotGoodsListTask.get());