영상데이터 관리 > 오류 처리 내역 수정
This commit is contained in:
@@ -87,4 +87,21 @@ public class MapSheetMngHstEntity extends CommonDateEntity {
|
||||
|
||||
@Column(name = "total_size_bytes")
|
||||
private Long totalSizeBytes;
|
||||
|
||||
@Size(max = 100)
|
||||
@Column(name = "sync_tif_file_name", length = 100)
|
||||
private String syncTifFileName;
|
||||
|
||||
@Size(max = 100)
|
||||
@Column(name = "sync_tfw_file_name", length = 100)
|
||||
private String syncTfwFileName;
|
||||
|
||||
@Size(max = 100)
|
||||
@Column(name = "sync_check_tif_file_name", length = 100)
|
||||
private String syncCheckTifFileName;
|
||||
|
||||
@Size(max = 100)
|
||||
@Column(name = "sync_check_tfw_file_name", length = 100)
|
||||
private String syncCheckTfwFileName;
|
||||
|
||||
}
|
||||
|
||||
@@ -340,22 +340,16 @@ public class MapSheetMngRepositoryImpl extends QuerydslRepositorySupport
|
||||
mapInkx5kEntity.fid,
|
||||
mapSheetMngHstEntity.createdDate,
|
||||
mapSheetMngHstEntity.syncState,
|
||||
mapSheetMngHstEntity.syncTfwFileName,
|
||||
mapSheetMngHstEntity.syncTifFileName,
|
||||
mapSheetMngHstEntity.syncCheckState,
|
||||
Expressions.stringTemplate(
|
||||
"MAX(CASE WHEN {0} = 'tfw' THEN {1} END)",
|
||||
mapSheetMngFileEntity.fileExt, mapSheetMngFileEntity.fileName
|
||||
),
|
||||
Expressions.stringTemplate(
|
||||
"MAX(CASE WHEN {0} = 'tif' THEN {1} END)",
|
||||
mapSheetMngFileEntity.fileExt, mapSheetMngFileEntity.fileName
|
||||
)
|
||||
mapSheetMngHstEntity.syncCheckTfwFileName,
|
||||
mapSheetMngHstEntity.syncCheckTifFileName
|
||||
)
|
||||
)
|
||||
.from(mapSheetMngHstEntity)
|
||||
.innerJoin(mapInkx5kEntity).on(mapSheetMngHstEntity.mapSheetNum.eq(mapInkx5kEntity.mapidcdNo))
|
||||
.leftJoin(mapSheetMngFileEntity).on(mapSheetMngHstEntity.hstUid.eq(mapSheetMngFileEntity.hstUid))
|
||||
.where(whereBuilder)
|
||||
.groupBy(mapSheetMngHstEntity.hstUid, mapInkx5kEntity.fid, mapInkx5kEntity.mapidNm)
|
||||
.orderBy(mapSheetMngHstEntity.createdDate.desc())
|
||||
.offset(pageable.getOffset())
|
||||
.limit(pageable.getPageSize())
|
||||
|
||||
Reference in New Issue
Block a user