추론결과 > 분류별 count API 명칭 upper, spotless
This commit is contained in:
@@ -339,7 +339,7 @@ public class MapSheetLearnRepositoryImpl implements MapSheetLearnRepositoryCusto
|
||||
.select(
|
||||
Projections.constructor(
|
||||
Dashboard.class,
|
||||
mapSheetAnalSttcEntity.id.classAfterCd,
|
||||
mapSheetAnalSttcEntity.id.classAfterCd.toUpperCase(),
|
||||
mapSheetAnalSttcEntity.classAfterCnt.sum()))
|
||||
.from(mapSheetAnalInferenceEntity)
|
||||
.innerJoin(mapSheetAnalSttcEntity)
|
||||
|
||||
@@ -446,12 +446,14 @@ public class TrainingDataReviewRepositoryImpl extends QuerydslRepositorySupport
|
||||
// 4-1. 라벨러 성명 조회 (worker_uid로 tb_member의 name 조회)
|
||||
String workerName = "";
|
||||
try {
|
||||
if (assignment.toDto().getWorkerUid() != null && !assignment.toDto().getWorkerUid().isEmpty()) {
|
||||
workerName = queryFactory
|
||||
.select(memberEntity.name)
|
||||
.from(memberEntity)
|
||||
.where(memberEntity.userId.eq(assignment.toDto().getWorkerUid()))
|
||||
.fetchFirst();
|
||||
if (assignment.toDto().getWorkerUid() != null
|
||||
&& !assignment.toDto().getWorkerUid().isEmpty()) {
|
||||
workerName =
|
||||
queryFactory
|
||||
.select(memberEntity.name)
|
||||
.from(memberEntity)
|
||||
.where(memberEntity.userId.eq(assignment.toDto().getWorkerUid()))
|
||||
.fetchFirst();
|
||||
if (workerName == null) {
|
||||
workerName = "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user