diff --git a/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/AimServiceImpl.java b/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/AimServiceImpl.java index fdd7b5c9..338fab19 100644 --- a/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/AimServiceImpl.java +++ b/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/AimServiceImpl.java @@ -59,7 +59,7 @@ public class AimServiceImpl implements AimService { return new ArrayList<>(); } //查询实例数据 - List byExperimentId = experimentInsService.getByExperimentId(experimentId); + List byExperimentId = experimentInsService.queryByExperimentId(experimentId); if (byExperimentId == null || byExperimentId.size() == 0){ return new ArrayList<>(); @@ -111,9 +111,10 @@ public class AimServiceImpl implements AimService { List datasetList = getTrainDateSet(records, aimrunId); aimRunInfo.setDataset(datasetList); } + aimRunInfoList.add(aimRunInfo); } } - aimRunInfoList.add(aimRunInfo); + } //判断哪个最长 diff --git a/ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/ImageDaoMapper.xml b/ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/ImageDaoMapper.xml index 9b46775f..ead149e7 100644 --- a/ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/ImageDaoMapper.xml +++ b/ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/ImageDaoMapper.xml @@ -14,12 +14,21 @@ - +