diff --git a/src/com/platform/service/thread/ThreadMoveData.java b/src/com/platform/service/thread/ThreadMoveData.java index 3b0d82ed..569a62b0 100644 --- a/src/com/platform/service/thread/ThreadMoveData.java +++ b/src/com/platform/service/thread/ThreadMoveData.java @@ -101,12 +101,20 @@ public class ThreadMoveData{ srcSizeTemp = show.getFolderSize(dataMove.getDataPath()); long srcSize = (long) (srcSizeTemp * 0.998); dstSize = show.getFolderSize(dataMove.getDstPath()); + boolean isExist = false; if (srcSize < 0) { log.error(dataMove.getDataPath() + " : 路径不存在! "); - continue; + isExist = true; } if (dstSize < 0) { log.error(dataMove.getDstPath() + " : 路径不存在! "); + isExist = true; + } + if (isExist) { + // 3:表示 迁移失败 + dataMove.setLastTime(DateForm.date2StringBysecond(new Date())); + dataMove.setCompleteStatus("3"); + dataInfoMoveTmpDao.update(dataMove); continue; } if (srcSize > 0 && dstSize > 0) {