Browse Source

修改buildlog字段

dengsixing 2 years ago
parent
commit
5da521e1b8

+ 2 - 2
src/main/java/com/fdkankan/modeling/receiver/RabbitMqListener.java

@@ -164,7 +164,7 @@ public class RabbitMqListener {
             } else {
                 status = ModelingBuildStatus.FAILED;
                 //未知异常,记录异常信息
-                buildLog.setReason(ExceptionUtil.stacktraceToString(e, 3000));
+//                buildLog.setReason(ExceptionUtil.stacktraceToString(e, 3000));
             }
         }
         buildLog.setStatus(status.code());
@@ -305,7 +305,7 @@ public class RabbitMqListener {
                 String buildLogPath = String.format(UploadFilePath.BUILD_LOG_PATH, message.getSceneNum());
                 buildLog.setLogDetailPath(fYunFileConfig+ buildLogPath + "console.log");
             }
-            buildLog.setCameraType(Integer.parseInt(buildSceneResult.getCameraType()));
+//            buildLog.setCameraType(Integer.parseInt(buildSceneResult.getCameraType()));
             buildLogService.updateById(buildLog);
         } catch (Exception e) {
             log.error("计算后业务处理出错!", e);