영상데이터관리 목록 조회 수정

This commit is contained in:
Moon
2025-12-16 12:33:36 +09:00
parent b6a96846b5
commit 103242d292
5 changed files with 49 additions and 21 deletions

View File

@@ -42,6 +42,9 @@ public class MapSheetMngApiController {
@PostMapping("/mng-list")
public ApiResponseDto<Page<MapSheetMngDto.MngDto>> findMapSheetMngList(
@RequestBody MapSheetMngDto.MngSearchReq searchReq) {
System.out.println("kkkkkkkkkkkkkkkkkkkkkkkkk");
return ApiResponseDto.ok(mapSheetMngService.findMapSheetMngList(searchReq));
}

View File

@@ -69,15 +69,29 @@ public class MapSheetMngDto {
private int mngYyyy;
private String mngState;
private String syncState;
private String syncCheckState;
private String syncDataCheckState;
private Long syncTotCnt;
private Long syncStateDoneCnt;
private Long syncCheckStateDoneCnt;
private Long syncNotFileCnt;
private Long syncTypeErrorCnt;
private Long syncSizeErrorCnt;
private Long syncDataCheckDoneCnt;
private Long syncNotPaireCnt;
private Long syncDuplicateCnt;
private Long syncFaultCnt;
@JsonFormatDttm private ZonedDateTime rgstStrtDttm;
@JsonFormatDttm private ZonedDateTime rgstEndDttm;
public double getSyncStateDoneRate() {
if (this.syncTotCnt == null || this.syncTotCnt == 0) {
return 0.0;
}
return (double) this.syncStateDoneCnt / this.syncTotCnt * 100.0;
}
public double getSyncDataCheckDoneRate() {
if (this.syncTotCnt == null || this.syncTotCnt == 0) {
return 0.0;
}
return (double) this.syncDataCheckDoneCnt / this.syncTotCnt * 100.0;
}
}
@Schema(name = "ErrorSearchReq", description = "영상관리 오류데이터 검색 요청")