AE86 hace 5 años
padre
commit
97332d67a8
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      dbsyncer-web/src/main/resources/templates/index/index.html

+ 2 - 1
dbsyncer-web/src/main/resources/templates/index/index.html

@@ -158,8 +158,9 @@
                     <td th:text="${m?.mappingName}"></td>
                     <td th:text="${m?.model}"></td>
                     <td>
-                        <span th:if="${m?.model eq '全量' and m?.total gt 0}">
+                        <span th:if="${m?.model eq '全量' and m?.total gt 0 and (m?.success + m?.fail) gt 0}">
                             进度:[[${#numbers.formatDecimal(((m?.success + m?.fail) / m?.total * 100.00),0 ,2)}]]%,
+                            耗时:[[${(m?.endTime - m?.beginTime) / 1000}]]秒,
                             总数:[[${m?.total}]],
                         </span>
                         成功:[[${m?.success}]]