|
@@ -36,6 +36,7 @@ import org.springframework.util.ObjectUtils;
|
|
|
|
|
|
import java.io.File;
|
|
|
import java.nio.charset.StandardCharsets;
|
|
|
+import java.util.Date;
|
|
|
import java.util.Map;
|
|
|
import java.util.Objects;
|
|
|
import java.util.concurrent.Future;
|
|
@@ -291,6 +292,7 @@ public class RabbitMqListener {
|
|
|
String buildLogPath = String.format(UploadFilePath.BUILD_LOG_PATH, message.getSceneNum());
|
|
|
buildLog.setLogDetailPath(fYunFileConfig+ buildLogPath + "console.log");
|
|
|
}
|
|
|
+ buildLog.setUpdateTime(new Date());
|
|
|
buildLogService.updateById(buildLog);
|
|
|
} catch (Exception e) {
|
|
|
log.error("计算后业务处理出错!", e);
|
|
@@ -308,7 +310,8 @@ public class RabbitMqListener {
|
|
|
buildLog.setQueueName(queueModelingCall);
|
|
|
buildLog.setSceneNum(message.getSceneNum());
|
|
|
buildLog.setDataSource(message.getDataSource());
|
|
|
-
|
|
|
+ buildLog.setCreateTime(new Date());
|
|
|
+ buildLog.setUpdateTime(new Date());
|
|
|
// 设置缓存锁
|
|
|
String key = SysConstants.SCENE_BUILDING + buildLog.getSceneNum();
|
|
|
// 获取缓存锁,防止重复消费
|