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(
|
.where(
|
||||||
labelingAssignmentEntity.workerUid.eq(userId),
|
labelingAssignmentEntity.workerUid.eq(userId),
|
||||||
labelingAssignmentEntity.workState.eq("DONE"),
|
labelingAssignmentEntity.workState.eq("DONE"),
|
||||||
labelingAssignmentEntity.modifiedDate.isNotNull(),
|
labelingAssignmentEntity.workStatDttm.isNotNull(),
|
||||||
labelingAssignmentEntity.modifiedDate.goe(startOfToday),
|
labelingAssignmentEntity.workStatDttm.goe(startOfToday),
|
||||||
labelingAssignmentEntity.modifiedDate.lt(endOfToday))
|
labelingAssignmentEntity.workStatDttm.lt(endOfToday))
|
||||||
.fetchOne();
|
.fetchOne();
|
||||||
|
|
||||||
todayCnt = (result != null) ? result : 0L;
|
todayCnt = (result != null) ? result : 0L;
|
||||||
|
|||||||
Reference in New Issue
Block a user