Merge pull request '라벨러 일자별 건수 쿼리 수정' (#206) from feat/infer_dev_260107 into develop
Reviewed-on: https://kamco.gitea.gs.dabeeo.com/dabeeo/kamco-dabeeo-backoffice/pulls/206
This commit is contained in:
@@ -1101,9 +1101,7 @@ public class LabelAllocateRepositoryImpl implements LabelAllocateRepositoryCusto
|
|||||||
|
|
||||||
Expression<Long> completeCnt =
|
Expression<Long> completeCnt =
|
||||||
Expressions.numberTemplate(
|
Expressions.numberTemplate(
|
||||||
Long.class,
|
Long.class, "COUNT(*) FILTER (WHERE {0} = 'DONE')", labelingAssignmentEntity.workState);
|
||||||
"COUNT(*) FILTER (WHERE {0} = 'COMPLETE')",
|
|
||||||
labelingAssignmentEntity.workState);
|
|
||||||
|
|
||||||
Expression<Long> remainCnt =
|
Expression<Long> remainCnt =
|
||||||
Expressions.numberTemplate(Long.class, "({0} - {1} - {2})", totalCnt, skipCnt, completeCnt);
|
Expressions.numberTemplate(Long.class, "({0} - {1} - {2})", totalCnt, skipCnt, completeCnt);
|
||||||
|
|||||||
Reference in New Issue
Block a user