|
@@ -4,6 +4,8 @@ import cn.hutool.core.bean.BeanUtil;
|
|
|
import cn.hutool.core.collection.CollUtil;
|
|
|
import cn.hutool.core.date.DateUtil;
|
|
|
import cn.hutool.core.date.TimeInterval;
|
|
|
+import cn.hutool.core.lang.Console;
|
|
|
+import cn.hutool.core.thread.ThreadUtil;
|
|
|
import cn.hutool.core.util.StrUtil;
|
|
|
import cn.hutool.core.util.ZipUtil;
|
|
|
import com.alibaba.fastjson.JSON;
|
|
@@ -406,7 +408,6 @@ public class SceneEditInfoServiceImpl extends ServiceImpl<ISceneEditInfoMapper,
|
|
|
|
|
|
TimeInterval timer = DateUtil.timer();
|
|
|
|
|
|
- timer.start("1");
|
|
|
ScenePlus scenePlus = scenePlusService.getScenePlusByNum(num);
|
|
|
if(Objects.isNull(scenePlus)){
|
|
|
throw new BusinessException(ErrorCode.FAILURE_CODE_5005);
|
|
@@ -432,7 +433,7 @@ public class SceneEditInfoServiceImpl extends ServiceImpl<ISceneEditInfoMapper,
|
|
|
sceneInfoVO.setNum(num);
|
|
|
sceneInfoVO.setCreateTime(scenePlus.getCreateTime());
|
|
|
|
|
|
- timer.start("2");
|
|
|
+ log.info(String.valueOf(timer.intervalRestart()));
|
|
|
|
|
|
sceneInfoVO.setSceneResolution(scenePlusExt.getSceneResolution());
|
|
|
sceneInfoVO.setSceneFrom(scenePlusExt.getSceneFrom());
|
|
@@ -441,13 +442,10 @@ public class SceneEditInfoServiceImpl extends ServiceImpl<ISceneEditInfoMapper,
|
|
|
sceneInfoVO.setMosaicList(this.getMosaicList(num));
|
|
|
|
|
|
this.SortBoxVideos(sceneInfoVO);
|
|
|
+ log.info(String.valueOf(timer.intervalRestart()));
|
|
|
|
|
|
- timer.start("3");
|
|
|
this.setExtData(sceneInfoVO, scenePlus.getCameraId());
|
|
|
-
|
|
|
- log.info("1组耗时:{}",timer.interval("1"));
|
|
|
- log.info("2组耗时:{}",timer.interval("2"));
|
|
|
- log.info("3组耗时:{}",timer.interval("3"));
|
|
|
+ log.info(String.valueOf(timer.intervalRestart()));
|
|
|
|
|
|
return sceneInfoVO;
|
|
|
}
|