영상관리 count 조건 수정
This commit is contained in:
@@ -207,7 +207,7 @@ public class MapSheetMngRepositoryImpl extends QuerydslRepositorySupport
|
||||
.on(mapSheetMngEntity.mngYyyy.eq(mapSheetMngHstEntity.mngYyyy))
|
||||
.leftJoin(mapInkx5kEntity)
|
||||
.on(mapSheetMngHstEntity.mapSheetNum.eq(mapInkx5kEntity.mapidcdNo))
|
||||
.where(whereBuilder)
|
||||
.where(mapInkx5kEntity.useInference.eq(CommonUseStatus.USE))
|
||||
// .offset(pageable.getOffset())
|
||||
// .limit(pageable.getPageSize())
|
||||
.orderBy(mapSheetMngEntity.mngYyyy.desc())
|
||||
@@ -254,7 +254,9 @@ public class MapSheetMngRepositoryImpl extends QuerydslRepositorySupport
|
||||
public MapSheetMngDto.MngDto findMapSheetMng(int mngYyyy) {
|
||||
|
||||
BooleanBuilder whereBuilder = new BooleanBuilder();
|
||||
whereBuilder.and(mapSheetMngEntity.mngYyyy.eq(mngYyyy));
|
||||
whereBuilder
|
||||
.and(mapSheetMngEntity.mngYyyy.eq(mngYyyy))
|
||||
.and(mapInkx5kEntity.useInference.eq(CommonUseStatus.USE));
|
||||
|
||||
MapSheetMngDto.MngDto foundContent =
|
||||
queryFactory
|
||||
|
||||
Reference in New Issue
Block a user