修改结果状态比较bug
This commit is contained in:
@@ -68,7 +68,7 @@ public class AnnotationResultService {
|
||||
var records = resultPage.getRecords().stream()
|
||||
.map(this::toResponse)
|
||||
.filter(response -> query.runtimeStatus() == null
|
||||
|| query.runtimeStatus().equals(response.runtimeStatus()))
|
||||
|| query.runtimeStatus().equals(response.runtimeStatus().name()))
|
||||
.toList();
|
||||
|
||||
return new PageResult<>(records, resultPage.getTotal(), (int) resultPage.getCurrent(),
|
||||
|
||||
Reference in New Issue
Block a user