영상관리 - 상세에 도엽사용여부 join 추가
This commit is contained in:
@@ -313,6 +313,10 @@ public class MapSheetMngRepositoryImpl extends QuerydslRepositorySupport
|
|||||||
.from(mapSheetMngEntity)
|
.from(mapSheetMngEntity)
|
||||||
.leftJoin(mapSheetMngHstEntity)
|
.leftJoin(mapSheetMngHstEntity)
|
||||||
.on(mapSheetMngEntity.mngYyyy.eq(mapSheetMngHstEntity.mngYyyy))
|
.on(mapSheetMngEntity.mngYyyy.eq(mapSheetMngHstEntity.mngYyyy))
|
||||||
|
.innerJoin(mapInkx5kEntity)
|
||||||
|
.on(
|
||||||
|
mapSheetMngHstEntity.mapSheetNum.eq(mapInkx5kEntity.mapidcdNo),
|
||||||
|
mapInkx5kEntity.useInference.eq(CommonUseStatus.USE))
|
||||||
.where(whereBuilder)
|
.where(whereBuilder)
|
||||||
.groupBy(mapSheetMngEntity.mngYyyy)
|
.groupBy(mapSheetMngEntity.mngYyyy)
|
||||||
.fetchOne();
|
.fetchOne();
|
||||||
|
|||||||
Reference in New Issue
Block a user