Merge remote-tracking branch 'origin/feat/infer_dev_260107' into feat/infer_dev_260107
This commit is contained in:
@@ -64,9 +64,7 @@ public class LabelWorkDto {
|
||||
return compareYyyy + "-" + targetYyyy;
|
||||
}
|
||||
|
||||
/**
|
||||
* 라벨링 상태 반환 (tb_map_sheet_anal_inference.anal_state 기준)
|
||||
*/
|
||||
/** 라벨링 상태 반환 (tb_map_sheet_anal_inference.anal_state 기준) */
|
||||
public String getLabelState() {
|
||||
// anal_state 값이 있으면 해당 값 사용
|
||||
if (this.analState != null && !this.analState.isEmpty()) {
|
||||
@@ -104,8 +102,8 @@ public class LabelWorkDto {
|
||||
}
|
||||
|
||||
/**
|
||||
* 작업 진행률 반환 (tb_labeling_assignment.stagnation_yn = 'N'인 정상 진행율 기준)
|
||||
* 계산식: (정상 진행 건수 / 총 배정 건수) * 100
|
||||
* 작업 진행률 반환 (tb_labeling_assignment.stagnation_yn = 'N'인 정상 진행율 기준) 계산식: (정상 진행 건수 / 총 배정 건수) *
|
||||
* 100
|
||||
*/
|
||||
public double getLabelRate() {
|
||||
if (this.totalAssignmentCnt == null || this.totalAssignmentCnt == 0) {
|
||||
|
||||
@@ -58,7 +58,6 @@ public class LabelWorkRepositoryImpl implements LabelWorkRepositoryCustom {
|
||||
private final QMemberEntity memberEntity = QMemberEntity.memberEntity;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 변화탐지 년도 셀렉트박스 조회
|
||||
*
|
||||
@@ -133,9 +132,12 @@ public class LabelWorkRepositoryImpl implements LabelWorkRepositoryCustom {
|
||||
}
|
||||
|
||||
// labelTotCnt: pnu가 있고 pass_yn = false (부적합)인 건수만 라벨링 대상
|
||||
NumberExpression<Long> labelTotCntExpr = new CaseBuilder()
|
||||
NumberExpression<Long> labelTotCntExpr =
|
||||
new CaseBuilder()
|
||||
.when(
|
||||
mapSheetAnalDataInferenceGeomEntity.pnu.isNotNull()
|
||||
mapSheetAnalDataInferenceGeomEntity
|
||||
.pnu
|
||||
.isNotNull()
|
||||
.and(mapSheetAnalDataInferenceGeomEntity.pnu.ne(0L))
|
||||
.and(mapSheetAnalDataInferenceGeomEntity.passYn.eq(Boolean.FALSE)))
|
||||
.then(1L)
|
||||
|
||||
Reference in New Issue
Block a user