Merge pull request '임시폴더생성 api 추가' (#57) from feat/training_260202 into develop
Reviewed-on: #57
This commit was merged in pull request #57.
This commit is contained in:
@@ -504,7 +504,6 @@ public class ModelTrainMngCoreService {
|
|||||||
return datasetRepository.findDatasetUid(datasetIds);
|
return datasetRepository.findDatasetUid(datasetIds);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Transactional(readOnly = true)
|
|
||||||
public List<Long> findModelDatasetMapp(Long modelId) {
|
public List<Long> findModelDatasetMapp(Long modelId) {
|
||||||
List<Long> datasetUids = new ArrayList<>();
|
List<Long> datasetUids = new ArrayList<>();
|
||||||
List<ModelDatasetMappEntity> entities = modelDatasetMapRepository.findByModelUid(modelId);
|
List<ModelDatasetMappEntity> entities = modelDatasetMapRepository.findByModelUid(modelId);
|
||||||
|
|||||||
@@ -16,10 +16,10 @@ public class ModelDatasetMappRepositoryImpl implements ModelDatasetMappRepositor
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<ModelDatasetMappEntity> findByModelUid(Long modelId) {
|
public List<ModelDatasetMappEntity> findByModelUid(Long modelId) {
|
||||||
queryFactory
|
return queryFactory
|
||||||
.select(modelDatasetMappEntity)
|
.select(modelDatasetMappEntity)
|
||||||
.from(modelDatasetMappEntity)
|
.from(modelDatasetMappEntity)
|
||||||
.where(modelDatasetMappEntity.modelUid.eq(modelId));
|
.where(modelDatasetMappEntity.modelUid.eq(modelId))
|
||||||
return List.of();
|
.fetch();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user