|
@@ -449,8 +449,8 @@ public class UserController {
|
|
|
|
|
|
long circulatedCount = circulatedService.count(
|
|
|
MPJWrappers.<WorkflowCirculated>lambdaJoin()
|
|
|
- .orderByDesc(WorkflowCirculated::getCreateTime)
|
|
|
.eq(WorkflowCirculated::getCirculatedUserId, StpUtil.getLoginIdAsLong())
|
|
|
+ .eq(WorkflowCirculated::getIsRead, 0)
|
|
|
.select(WorkflowCirculated::getId)
|
|
|
.leftJoin(User.class, User::getId, WorkflowCirculated::getStartUserId)
|
|
|
.leftJoin(WorkflowSchema.class, WorkflowSchema::getId, WorkflowCirculated::getSchemaId)
|