fix:上传算例结果
This commit is contained in:
@@ -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("上传文件失败");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user