yumeng 5 년 전
부모
커밋
f583d01973
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      module-common/src/main/java/cn/com/ctop/common/module/service/impl/MaterialCutFrameServiceImpl.java

+ 1 - 1
module-common/src/main/java/cn/com/ctop/common/module/service/impl/MaterialCutFrameServiceImpl.java

@@ -116,7 +116,7 @@ public class MaterialCutFrameServiceImpl extends ServiceImpl<MaterialCutFrameMap
 
             snapshotConfig.put("OutputFile", output.toJSONString());
             // SnapshotConfig->Time
-            Integer time = ((secondDuration.intValue() - 2) / 14); // 时长 / 14 == 间隔时间
+            Integer time = ((secondDuration.intValue() - 2) / 14) + 1; // 时长 / 14 == 间隔时间
             snapshotConfig.put("Time", 2000);
             // SnapshotConfig->Interval/Num
             snapshotConfig.put("Interval", time);