@@ -1451,7 +1451,6 @@
WHERE
ap.productionType != 'STATEMENT'
AND ( pf.production_no IS NULL OR pf.real_amount IS NULL )
- <where>
<if test="overdueVO!=null and overdueVO.overdueMin!=null">
AND DATEDIFF(CURDATE(),DATE( ap.repertory_out_time )) >= #{overdueVO.overdueMin}
</if>
@@ -1473,7 +1472,6 @@
#{userId}
</foreach>
- </where>
order by overdueDay desc
</sql>