fix:上传算例结果

This commit is contained in:
2025-11-25 15:27:38 +08:00
parent bd26094cb0
commit 7a84ffe9fa

View File

@@ -663,7 +663,7 @@ public class SimulationRunServiceImpl extends ServiceImpl<SimulationRunMapper, S
SdmResponse response = uploadRunFiles(filesReq);
if (response.isSuccess() && response.getData() != null) {
JSONObject result = JSONObject.from(response.getData());
simulationRunKeyResult.setFileId((Long) result.get("fileId"));
simulationRunKeyResult.setFileId(Long.valueOf((Integer) result.get("fileId")));
} else {
return SdmResponse.failed("上传文件失败");
}