추론 삭제여부 로직 추가
This commit is contained in:
@@ -211,7 +211,8 @@ public class ChangeDetectionRepositoryImpl extends QuerydslRepositorySupport
|
|||||||
.where(
|
.where(
|
||||||
l.status
|
l.status
|
||||||
.eq(Status.END.getId())
|
.eq(Status.END.getId())
|
||||||
.and(JPAExpressions.selectOne().from(d).where(d.analUid.eq(a.id)).exists()))
|
.and(JPAExpressions.selectOne().from(d).where(d.analUid.eq(a.id)).exists()),
|
||||||
|
l.isDeleted.eq(false).or(l.isDeleted.isNull()))
|
||||||
.orderBy(l.id.asc())
|
.orderBy(l.id.asc())
|
||||||
.fetch();
|
.fetch();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -160,7 +160,7 @@ public class LabelWorkRepositoryImpl implements LabelWorkRepositoryCustom {
|
|||||||
"substring({0} from 1 for 8)", mapSheetLearnEntity.uid),
|
"substring({0} from 1 for 8)", mapSheetLearnEntity.uid),
|
||||||
mapSheetLearnEntity.uuid))
|
mapSheetLearnEntity.uuid))
|
||||||
.from(mapSheetAnalInferenceEntity)
|
.from(mapSheetAnalInferenceEntity)
|
||||||
.leftJoin(mapSheetLearnEntity)
|
.innerJoin(mapSheetLearnEntity)
|
||||||
.on(
|
.on(
|
||||||
mapSheetAnalInferenceEntity.learnId.eq(mapSheetLearnEntity.id),
|
mapSheetAnalInferenceEntity.learnId.eq(mapSheetLearnEntity.id),
|
||||||
mapSheetLearnEntity.isDeleted.eq(false).or(mapSheetLearnEntity.isDeleted.isNull()))
|
mapSheetLearnEntity.isDeleted.eq(false).or(mapSheetLearnEntity.isDeleted.isNull()))
|
||||||
|
|||||||
Reference in New Issue
Block a user