[KC-108] 분석도엽 ai api호출 테스트중, 모델타입 조회 컬럼 추가
This commit is contained in:
@@ -95,16 +95,22 @@ public class MapSheetMngDto {
|
||||
|
||||
public String getSyncState() {
|
||||
|
||||
if (this.syncStateDoneCnt == 0) return "NOTYET";
|
||||
else if (this.syncStateDoneCnt < this.syncTotCnt) return "PROCESSING";
|
||||
if (this.syncStateDoneCnt == 0) {
|
||||
return "NOTYET";
|
||||
} else if (this.syncStateDoneCnt < this.syncTotCnt) {
|
||||
return "PROCESSING";
|
||||
}
|
||||
|
||||
return "DONE";
|
||||
}
|
||||
|
||||
public String getDataCheckState() {
|
||||
|
||||
if (this.syncDataCheckDoneCnt == 0) return "NOTYET";
|
||||
else if (this.syncDataCheckDoneCnt < this.syncTotCnt) return "PROCESSING";
|
||||
if (this.syncDataCheckDoneCnt == 0) {
|
||||
return "NOTYET";
|
||||
} else if (this.syncDataCheckDoneCnt < this.syncTotCnt) {
|
||||
return "PROCESSING";
|
||||
}
|
||||
|
||||
return "DONE";
|
||||
}
|
||||
@@ -135,11 +141,15 @@ public class MapSheetMngDto {
|
||||
|
||||
String mngState = "DONE";
|
||||
|
||||
if (this.syncStateDoneCnt == 0) mngState = "NOTYET";
|
||||
else if (this.syncStateDoneCnt < this.syncTotCnt) mngState = "PROCESSING";
|
||||
if (this.syncStateDoneCnt == 0) {
|
||||
mngState = "NOTYET";
|
||||
} else if (this.syncStateDoneCnt < this.syncTotCnt) {
|
||||
mngState = "PROCESSING";
|
||||
}
|
||||
|
||||
if ((this.syncNotPaireExecCnt + this.syncDuplicateExecCnt + this.syncFaultExecCnt) > 0)
|
||||
if ((this.syncNotPaireExecCnt + this.syncDuplicateExecCnt + this.syncFaultExecCnt) > 0) {
|
||||
mngState = "TAKINGERROR";
|
||||
}
|
||||
|
||||
return mngState;
|
||||
}
|
||||
@@ -406,4 +416,28 @@ public class MapSheetMngDto {
|
||||
return PageRequest.of(page, size);
|
||||
}
|
||||
}
|
||||
|
||||
@Schema(name = "MngListDto", description = "영상파일내역 검색 목록")
|
||||
@Getter
|
||||
@Setter
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public static class MngListDto {
|
||||
|
||||
private int mngYyyy;
|
||||
private String mapSheetNum;
|
||||
private String mapSheetName;
|
||||
}
|
||||
|
||||
@Schema(name = "MngListDto", description = "영상파일내역 검색 목록")
|
||||
@Getter
|
||||
@Setter
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public static class MngListCompareDto {
|
||||
|
||||
private String mngYyyy;
|
||||
private String mapSheetNum;
|
||||
private Integer beforeYear;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user