|
@@ -227,8 +227,7 @@ public class RabbitMqListener {
|
|
|
|
|
|
// 检测计算结果文件是否有生成
|
|
|
String resultsPath = path + File.separator + "results" + File.separator;
|
|
|
- String uploadData = FileUtils.readFile(resultsPath + "upload.json");
|
|
|
- if (!new File(uploadData).exists()) {
|
|
|
+ if (!new File(resultsPath + "upload.json").exists()) {
|
|
|
log.error("未检测到计算结果文件:upload.json");
|
|
|
return ModelingBuildStatus.FAILED;
|
|
|
}
|