영상관리 count 조건 수정
This commit is contained in:
@@ -184,11 +184,14 @@ public class MapSheetMngDto {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public long getSyncErrorTotCnt() {
|
public long getSyncErrorTotCnt() {
|
||||||
return this.syncNotPaireCnt + this.syncDuplicateCnt + this.syncFaultCnt;
|
return this.syncNotPaireCnt + this.syncDuplicateCnt + this.syncFaultCnt + this.syncNoFileCnt;
|
||||||
}
|
}
|
||||||
|
|
||||||
public long getSyncErrorExecTotCnt() {
|
public long getSyncErrorExecTotCnt() {
|
||||||
return this.syncNotPaireExecCnt + this.syncDuplicateExecCnt + this.syncFaultExecCnt;
|
return this.syncNotPaireExecCnt
|
||||||
|
+ this.syncDuplicateExecCnt
|
||||||
|
+ this.syncFaultExecCnt
|
||||||
|
+ this.syncNoFileExecCnt;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getMngState() {
|
public String getMngState() {
|
||||||
|
|||||||
@@ -207,7 +207,7 @@ public class MapSheetMngRepositoryImpl extends QuerydslRepositorySupport
|
|||||||
.on(mapSheetMngEntity.mngYyyy.eq(mapSheetMngHstEntity.mngYyyy))
|
.on(mapSheetMngEntity.mngYyyy.eq(mapSheetMngHstEntity.mngYyyy))
|
||||||
.leftJoin(mapInkx5kEntity)
|
.leftJoin(mapInkx5kEntity)
|
||||||
.on(mapSheetMngHstEntity.mapSheetNum.eq(mapInkx5kEntity.mapidcdNo))
|
.on(mapSheetMngHstEntity.mapSheetNum.eq(mapInkx5kEntity.mapidcdNo))
|
||||||
.where(whereBuilder)
|
.where(mapInkx5kEntity.useInference.eq(CommonUseStatus.USE))
|
||||||
// .offset(pageable.getOffset())
|
// .offset(pageable.getOffset())
|
||||||
// .limit(pageable.getPageSize())
|
// .limit(pageable.getPageSize())
|
||||||
.orderBy(mapSheetMngEntity.mngYyyy.desc())
|
.orderBy(mapSheetMngEntity.mngYyyy.desc())
|
||||||
@@ -254,7 +254,9 @@ public class MapSheetMngRepositoryImpl extends QuerydslRepositorySupport
|
|||||||
public MapSheetMngDto.MngDto findMapSheetMng(int mngYyyy) {
|
public MapSheetMngDto.MngDto findMapSheetMng(int mngYyyy) {
|
||||||
|
|
||||||
BooleanBuilder whereBuilder = new BooleanBuilder();
|
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 =
|
MapSheetMngDto.MngDto foundContent =
|
||||||
queryFactory
|
queryFactory
|
||||||
|
|||||||
Reference in New Issue
Block a user