@@ -159,6 +159,9 @@
<if test="taskStartTime != null and taskEndTime != null">
AND (t.create_time BETWEEN #{taskStartTime} AND #{taskEndTime})
</if>
+ <if test="taskStatus != null and taskStatus != ''">
+ AND t.task_status = #{taskStatus}
+ </if>
</where>
ORDER BY t.id
</select>