diff --git a/backend/services/case-management/src/main/java/io/metersphere/functional/mapper/ExtCaseReviewHistoryMapper.xml b/backend/services/case-management/src/main/java/io/metersphere/functional/mapper/ExtCaseReviewHistoryMapper.xml index 3cf081e714..243867ae82 100644 --- a/backend/services/case-management/src/main/java/io/metersphere/functional/mapper/ExtCaseReviewHistoryMapper.xml +++ b/backend/services/case-management/src/main/java/io/metersphere/functional/mapper/ExtCaseReviewHistoryMapper.xml @@ -95,6 +95,7 @@ #{caseId} AND abandoned = FALSE + AND status != 'UNDER_REVIEWED' order by create_time desc diff --git a/backend/services/system-setting/src/main/java/io/metersphere/system/mapper/BaseOperationLogMapper.xml b/backend/services/system-setting/src/main/java/io/metersphere/system/mapper/BaseOperationLogMapper.xml index e328b61a31..2d81758fe9 100644 --- a/backend/services/system-setting/src/main/java/io/metersphere/system/mapper/BaseOperationLogMapper.xml +++ b/backend/services/system-setting/src/main/java/io/metersphere/system/mapper/BaseOperationLogMapper.xml @@ -21,23 +21,25 @@ AND t.create_time BETWEEN #{request.startTime} AND #{request.endTime} - - AND t.project_id ]]> 'SYSTEM' - - - AND t.project_id ]]> 'ORGANIZATION' - - - AND t.project_id IN - - #{projectId} - - - - AND t.organization_id IN - - #{organizationId} - + + + AND t.project_id ]]> 'SYSTEM' + + + AND t.project_id ]]> 'ORGANIZATION' + + + AND t.project_id IN + + #{projectId} + + + + AND t.organization_id IN + + #{organizationId} + + AND t.type = #{request.type}