|
@@ -28,6 +28,7 @@ import com.fdkankan.redis.util.RedisUtil;
|
|
|
import com.rabbitmq.client.Channel;
|
|
|
import java.io.File;
|
|
|
import java.nio.charset.StandardCharsets;
|
|
|
+import java.util.Calendar;
|
|
|
import java.util.Map;
|
|
|
import java.util.Objects;
|
|
|
import java.util.concurrent.Future;
|
|
@@ -330,6 +331,7 @@ public class RabbitMqListener {
|
|
|
//如果是重复计算,没有走到计算逻辑,不需要上传日志文件
|
|
|
buildLog.setLogDetailPath(prefixAli+ buildLogPath + "console.log");
|
|
|
}
|
|
|
+ buildLog.setUpdateTime(Calendar.getInstance().getTime());
|
|
|
buildLog.setBuildStatus(buildStatus.code());
|
|
|
buildLog.setCameraType(Integer.parseInt(buildSceneResult.getCameraType()));
|
|
|
buildLogService.updateById(buildLog);
|
|
@@ -386,7 +388,7 @@ public class RabbitMqListener {
|
|
|
//如果是计算失败,需要发送钉钉
|
|
|
if(!buildSuccess){
|
|
|
// TODO: 2022/1/25 测试阶段,先注释掉推送
|
|
|
- this.sendDingTalkMq(buildStatus.message(), message);
|
|
|
+// this.sendDingTalkMq(buildStatus.message(), message);
|
|
|
}
|
|
|
}
|
|
|
|