@@ -72,9 +72,7 @@
<select id="getActiveErpInfoListForClean" resultType="com.management.platform.entity.ErpOrderInfo">
select *
from erp_order_info where project_id = #{projectId} and (status = 3
- <if test="date != null">
or (status = 4 and (date_format(close_date,'%Y-%m') = #{curMonth} or date_format(close_date,'%Y-%m') = #{preMonth}))
- </if>
)
</select>