Sfoglia il codice sorgente

dev
model 模块修改好

wuweihao 5 anni fa
parent
commit
d6015afc4c
1 ha cambiato i file con 1 aggiunte e 9 eliminazioni
  1. 1 9
      src/main/java/com/fd/controller/ModelController.java

+ 1 - 9
src/main/java/com/fd/controller/ModelController.java

@@ -193,14 +193,6 @@ public class ModelController {
         cmd = cmd.replace("@outputFile", outputPath);
         log.info("cmd: {}", cmd);
 
-        // 命令产生的是文件夹
-        entity.setStatus(6);
-        entity.setUpdateTime(new Date());
-        entity.setSlicePath(outputPath);
-
-        entity = modelServer.save(entity);
-
-
 
         // 把数据放入队列中
         boolean offer = false;
@@ -243,7 +235,7 @@ public class ModelController {
                 OutputFileEntity entity = data.getOutputFile();
 
                 if (integer != 0) {
-                    log.info("error command exeCmdModelSlice");
+                    log.info("error command sliceThread");
                     // 如果命令运行失败,删除刚才创建的实体类
                     // o:代表切片失败
                     entity.setStatus(0);