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