REQ-2497: 去掉隐藏的查询条件

This commit is contained in:
yanglin 2024-06-14 10:24:39 +08:00
parent c8d8c4f5d4
commit 7493d29b28

View File

@ -142,11 +142,6 @@ public class TodoRangeQueryService {
.likeRight(Todo::getTitle, request.getTitle())
.or()
.in(!businessIds.isEmpty(), Todo::getTodoBusinessId, businessIds))
// set hide
.and(nested -> nested
.isNull(Todo::getHideUntil)
.or()
.lt(Todo::getHideUntil, new Date()))
// copied to me
.and(request.determineToDoType() == TodoType.COPIED_TO_ME, nested -> nested
.eq(copiedToMeParam != null && copiedToMeParam.determineQueryUnreadOnly(),