Merge pull request 'count 쿼리 workStatDttm 으로 수정' (#189) from feat/infer_dev_260107 into develop
Reviewed-on: https://kamco.gitea.gs.dabeeo.com/dabeeo/kamco-dabeeo-backoffice/pulls/189
This commit is contained in:
@@ -259,9 +259,9 @@ public class TrainingDataLabelRepositoryImpl extends QuerydslRepositorySupport
|
||||
.where(
|
||||
labelingAssignmentEntity.workerUid.eq(userId),
|
||||
labelingAssignmentEntity.workState.eq("DONE"),
|
||||
labelingAssignmentEntity.modifiedDate.isNotNull(),
|
||||
labelingAssignmentEntity.modifiedDate.goe(startOfToday),
|
||||
labelingAssignmentEntity.modifiedDate.lt(endOfToday))
|
||||
labelingAssignmentEntity.workStatDttm.isNotNull(),
|
||||
labelingAssignmentEntity.workStatDttm.goe(startOfToday),
|
||||
labelingAssignmentEntity.workStatDttm.lt(endOfToday))
|
||||
.fetchOne();
|
||||
|
||||
todayCnt = (result != null) ? result : 0L;
|
||||
|
||||
Reference in New Issue
Block a user