[KC-108] 분석도엽 추론제외 조건 수정

This commit is contained in:
2026-01-12 12:20:38 +09:00
parent 0aa87354e8
commit e42c99cd60
9 changed files with 31 additions and 17 deletions

View File

@@ -209,7 +209,7 @@ public class InferenceResultCoreService {
.toList();
}
public List<MapInkxMngDto.Basic> findByMapidList(Search5kReq req) {
public List<MapInkxMngDto.MapInkList> findByMapidList(Search5kReq req) {
return mapInkx5kRepository.findByMapidList(req);
}
}

View File

@@ -91,4 +91,12 @@ public class ModelMngCoreService {
.orElseThrow(() -> new EntityNotFoundException("모델 정보가 없습니다."));
return entity.toDto();
}
public ModelMngDto.Basic findByModelUuid(UUID id) {
ModelMngEntity entity =
modelMngRepository
.findByModelId(id)
.orElseThrow(() -> new EntityNotFoundException("모델 정보가 없습니다."));
return entity.toDto();
}
}

View File

@@ -27,4 +27,6 @@ public interface ModelMngRepositoryCustom {
void insertModelResultMetric(ModelMngDto.ModelMetricAddReq addReq);
Optional<ModelMngEntity> findByModelId(Long id);
Optional<ModelMngEntity> findByModelId(UUID id);
}

View File

@@ -237,4 +237,10 @@ public class ModelMngRepositoryImpl extends QuerydslRepositorySupport
return Optional.ofNullable(
queryFactory.selectFrom(modelMngEntity).where(modelMngEntity.modelUid.eq(id)).fetchOne());
}
@Override
public Optional<ModelMngEntity> findByModelId(UUID uuid) {
return Optional.ofNullable(
queryFactory.selectFrom(modelMngEntity).where(modelMngEntity.uuid.eq(uuid)).fetchOne());
}
}

View File

@@ -27,5 +27,5 @@ public interface MapInkx5kRepositoryCustom {
List<MapInkx5kEntity> findByMapSheetNumInAndUseInference(
List<String> mapSheetNums, CommonUseStatus use);
List<MapInkxMngDto.Basic> findByMapidList(Search5kReq search5kReq);
List<MapInkxMngDto.MapInkList> findByMapidList(Search5kReq search5kReq);
}

View File

@@ -146,7 +146,7 @@ public class MapInkx5kRepositoryImpl extends QuerydslRepositorySupport
}
@Override
public List<MapInkxMngDto.Basic> findByMapidList(Search5kReq search5kReq) {
public List<MapInkxMngDto.MapInkList> findByMapidList(Search5kReq search5kReq) {
BooleanBuilder builder = new BooleanBuilder();
if (StringUtils.isNotBlank(search5kReq.getMapidcdNo())) {
@@ -162,7 +162,7 @@ public class MapInkx5kRepositoryImpl extends QuerydslRepositorySupport
return queryFactory
.select(
Projections.constructor(
MapInkxMngDto.Basic.class,
MapInkxMngDto.MapInkList.class,
mapInkx5kEntity.fid,
mapInkx5kEntity.mapidcdNo,
mapInkx5kEntity.mapidNm,