@RequestMapping(value = "/project",method = RequestMethod.GET)public CallablequeryProjectApprovalInfo(){ System.out.println("主线程开始:"+Thread.currentThread().getId()); Callable callable = new Callable () { @Override public String call() throws Exception { System.out.println("子线程开始:"+Thread.currentThread().getId()); String result = "执行结束"; System.out.println("子线程结束:"+Thread.currentThread().getId()); return result; } }; System.out.println("主线程结束:"+Thread.currentThread().getId()); return callable;}