diff --git a/src/main/resources/mappers/DisposeTask.xml b/src/main/resources/mappers/DisposeTask.xml index 13f0d3b0..dd3ff71d 100644 --- a/src/main/resources/mappers/DisposeTask.xml +++ b/src/main/resources/mappers/DisposeTask.xml @@ -67,7 +67,7 @@ ti.status status FROM dispose_task dt LEFT JOIN device_task ti on dt.id = ti.taskId - AND dt.id = #{taskId} + WHERE dt.id = #{taskId}