Sfoglia il codice sorgente

记录中保存异常图片

Reiskuchen 5 anni fa
parent
commit
926b67df07

+ 2 - 1
fhKeeper/formulahousekeeper/management-platform/src/main/java/com/management/platform/service/impl/ScreenshotServiceImpl.java

@@ -129,7 +129,8 @@ public class ScreenshotServiceImpl extends ServiceImpl<ScreenshotMapper, Screens
                         .setStartTime(currentTime)
                         .setEndTime(currentTime)
                         //第一次的持续时间默认为最少单位1秒
-                        .setDuration(1);
+                        .setDuration(1)
+                        .setPicUrl(screenshot.getPicUrl());
                 timeCalculationMapper.insert(timeCalculation);
                 if (isConsecutive) {
                     //然后如果只是类型不同但是能连上的话