diff --git a/test-track/backend/src/main/java/io/metersphere/base/mapper/ext/ExtIssuesMapper.xml b/test-track/backend/src/main/java/io/metersphere/base/mapper/ext/ExtIssuesMapper.xml
index 08b4330b44..412cf0c2a3 100644
--- a/test-track/backend/src/main/java/io/metersphere/base/mapper/ext/ExtIssuesMapper.xml
+++ b/test-track/backend/src/main/java/io/metersphere/base/mapper/ext/ExtIssuesMapper.xml
@@ -339,6 +339,26 @@
+
+
+ and (
+ (
+ issues.platform != 'Local' and
+ issues.platform_status
+
+
+
+ )
+ or
+ (
+ issues.platform = 'Local' and
+ issues.status
+
+
+
+ )
+ )
+
and issues.id in (
select issue_id from issue_follow where follow_id
diff --git a/workstation/frontend/src/business/component/IssueTableList.vue b/workstation/frontend/src/business/component/IssueTableList.vue
index 7ae052ca8e..353b95a922 100644
--- a/workstation/frontend/src/business/component/IssueTableList.vue
+++ b/workstation/frontend/src/business/component/IssueTableList.vue
@@ -394,29 +394,7 @@ export default {
}
}
if (this.isToDo) {
- let statusFieldId = null;
- this.issueTemplate.customFields.forEach(field => {
- if (field.name === '状态') {
- statusFieldId = field.id;
- }
- });
- if (statusFieldId) {
- this.page.condition.combine.platformStatus = [
- {
- id: statusFieldId,
- operator: 'not in',
- value: [
- 'closed',
- '已关闭',
- 'resolved',
- 'Done',
- 'verified'
- ],
- type: 'select'
- }
- ];
- }
- this.page.condition.combine.platformStatus = {
+ this.page.condition.combine.doneStatus = {
operator: "not in",
value: [
'closed',