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