StopWatch stopWatch = new StopWatch(); stopWatch.start("开始计时");
。。。。。
stopWatch.stop(); log.info("总耗时== {}",stopWatch.getLastTaskTimeMillis());