diff --git a/chushang-modules/chushang-module-inspection/inspection-service/src/main/resources/mapper/TerminalMapper.xml b/chushang-modules/chushang-module-inspection/inspection-service/src/main/resources/mapper/TerminalMapper.xml
index 346a3df..7c811cc 100644
--- a/chushang-modules/chushang-module-inspection/inspection-service/src/main/resources/mapper/TerminalMapper.xml
+++ b/chushang-modules/chushang-module-inspection/inspection-service/src/main/resources/mapper/TerminalMapper.xml
@@ -57,11 +57,9 @@
@@ -116,6 +114,7 @@
INNER JOIN st_store s ON t.store_id = s.store_id
INNER JOIN ta_polling_task pt ON t.task_id = pt.id
INNER JOIN wrk_project p ON pt.project_id = p.project_id
+ where t.del_state = 0
@@ -212,12 +210,10 @@
from st_terminal t1
left join st_store t2 on t1.store_id = t2.store_id
left join st_terminal_ins t3 on t3.terminal_id = t1.terminal_id
-
-
+ where t1.del_state = 0
AND t1.task_id = #{query.taskId}
-
ORDER BY t1.create_time DESC limit 10