功能优化
@ -788,7 +788,7 @@
<if test="query.endDate == null ">
AND getDate() >= a.PlanDate
</if>
<if test='query.functionType == "A"'>
<if test='query.functionType == "A" and query.searchType == "reportCheck"'>
and getDate() >= dbo.compare_date(ewo.task_start_date)
AND a.FunctionType = #{query.functionType}