|
@@ -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);
|