REQ-2752: fix bug
This commit is contained in:
parent
deb2955285
commit
18c6454ab1
@ -166,8 +166,8 @@ public class TodoRangeQueryService {
|
||||
// executable
|
||||
.and(request.determineToDoType() == TodoType.EXECUTABLE, nested -> nested
|
||||
.eq(request.getMsgState() != null, Todo::getState, request.getMsgState())
|
||||
.eq(request.getWorkspaceId() != null, Todo::getOrgId, request.getWorkspaceId())
|
||||
.last(nested.isEmptyOfWhere(), "1 = 1"))
|
||||
.eq(request.getWorkspaceId() != null, Todo::getOrgId, request.getWorkspaceId())
|
||||
// 这个条件放在最后, 因为templateCodes一般比较多
|
||||
// 如果放到前面, 格式化后会不方便查看其它的查询条件
|
||||
// 用于查询的模版会通过一个单独的字段打印出来, 用于排查问题
|
||||
|
||||
Loading…
Reference in New Issue
Block a user