라벨링 작업 관리목록 조회
This commit is contained in:
@@ -76,14 +76,17 @@ public class LabelWorkRepositoryImpl extends QuerydslRepositorySupport
|
|||||||
|
|
||||||
whereSubBuilder.and(mapSheetAnalDataInferenceGeomEntity.dataUid.eq(mapSheetAnalDataInferenceEntity.id));
|
whereSubBuilder.and(mapSheetAnalDataInferenceGeomEntity.dataUid.eq(mapSheetAnalDataInferenceEntity.id));
|
||||||
|
|
||||||
if (searchReq.getStrtDttm() != null && ! searchReq.getStrtDttm().isEmpty()) {
|
if (searchReq.getStrtDttm() != null && ! searchReq.getStrtDttm().isEmpty()
|
||||||
|
&& searchReq.getEndDttm() != null && ! searchReq.getEndDttm().isEmpty()) {
|
||||||
whereSubBuilder.and(mapSheetAnalDataInferenceGeomEntity.labelStateDttm.isNotNull());
|
|
||||||
|
|
||||||
|
//whereSubBuilder.and(mapSheetAnalDataInferenceGeomEntity.labelStateDttm.isNotNull());
|
||||||
whereSubBuilder.and(
|
whereSubBuilder.and(
|
||||||
Expressions.stringTemplate("to_char({0}, 'YYYY-MM-DD')", mapSheetAnalDataInferenceEntity.labelStateDttm)
|
Expressions.stringTemplate("to_char({0}, 'YYYYMMDD')", mapSheetAnalDataInferenceGeomEntity.labelStateDttm)
|
||||||
.gt("2024-01-01")
|
.between(searchReq.getStrtDttm(), searchReq.getEndDttm())
|
||||||
);
|
);
|
||||||
|
|
||||||
|
//whereBuilder.and(mapSheetAnalDataInferenceGeomEntity.labelStateDttm.min().isNotNull());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -119,7 +122,7 @@ public class LabelWorkRepositoryImpl extends QuerydslRepositorySupport
|
|||||||
mapSheetAnalDataInferenceGeomEntity.labelStateDttm.min()
|
mapSheetAnalDataInferenceGeomEntity.labelStateDttm.min()
|
||||||
))
|
))
|
||||||
.from(mapSheetAnalDataInferenceEntity)
|
.from(mapSheetAnalDataInferenceEntity)
|
||||||
.leftJoin(mapSheetAnalDataInferenceGeomEntity)
|
.innerJoin(mapSheetAnalDataInferenceGeomEntity)
|
||||||
.on(whereSubBuilder)
|
.on(whereSubBuilder)
|
||||||
.where(whereBuilder)
|
.where(whereBuilder)
|
||||||
.groupBy(
|
.groupBy(
|
||||||
|
|||||||
Reference in New Issue
Block a user