@@ -206,6 +206,7 @@
</when>
<otherwise/>
</choose>
+ WHERE mp.plan_date < date_format(now(),'%Y-%m-%d') AND mp.work_date IS NULL
<if test="request.beginTime!=null">
AND <![CDATA[ mp.plan_date >= #{request.beginTime}]]>
</if>