Merge remote-tracking branch 'origin/feat/demo-20251205' into feat/demo-20251205
This commit is contained in:
@@ -184,6 +184,8 @@ public class InferenceResultRepositoryImpl implements InferenceResultRepositoryC
|
|||||||
.join(mapSheetAnalDataGeomEntity)
|
.join(mapSheetAnalDataGeomEntity)
|
||||||
.on(mapSheetAnalDataGeomEntity.dataUid.eq(mapSheetAnalDataEntity.id))
|
.on(mapSheetAnalDataGeomEntity.dataUid.eq(mapSheetAnalDataEntity.id))
|
||||||
.where(builder)
|
.where(builder)
|
||||||
|
.offset(pageable.getOffset())
|
||||||
|
.limit(pageable.getPageSize())
|
||||||
.fetch();
|
.fetch();
|
||||||
|
|
||||||
long total =
|
long total =
|
||||||
@@ -209,14 +211,12 @@ public class InferenceResultRepositoryImpl implements InferenceResultRepositoryC
|
|||||||
@Override
|
@Override
|
||||||
public List<Long> getSheets(Long id) {
|
public List<Long> getSheets(Long id) {
|
||||||
return queryFactory
|
return queryFactory
|
||||||
.select(mapSheetAnalDataGeomEntity.mapSheetNum)
|
.select(mapSheetAnalDataEntity.mapSheetNum)
|
||||||
.from(mapSheetAnalEntity)
|
.from(mapSheetAnalEntity)
|
||||||
.join(mapSheetAnalDataEntity)
|
.join(mapSheetAnalDataEntity)
|
||||||
.on(mapSheetAnalDataEntity.analUid.eq(mapSheetAnalEntity.id))
|
.on(mapSheetAnalDataEntity.analUid.eq(mapSheetAnalEntity.id))
|
||||||
.join(mapSheetAnalDataGeomEntity)
|
|
||||||
.on(mapSheetAnalDataGeomEntity.dataUid.eq(mapSheetAnalDataEntity.id))
|
|
||||||
.where(mapSheetAnalEntity.id.eq(id))
|
.where(mapSheetAnalEntity.id.eq(id))
|
||||||
.groupBy(mapSheetAnalDataGeomEntity.mapSheetNum)
|
.groupBy(mapSheetAnalDataEntity.mapSheetNum)
|
||||||
.fetch();
|
.fetch();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -75,6 +75,8 @@ public class AuthRepositoryImpl implements AuthRepositoryCustom {
|
|||||||
userEntity.createdDttm))
|
userEntity.createdDttm))
|
||||||
.from(userEntity)
|
.from(userEntity)
|
||||||
.where(builder)
|
.where(builder)
|
||||||
|
.offset(pageable.getOffset())
|
||||||
|
.limit(pageable.getPageSize())
|
||||||
.orderBy(userEntity.userId.asc())
|
.orderBy(userEntity.userId.asc())
|
||||||
.fetch();
|
.fetch();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user