|
@@ -172,10 +172,10 @@
|
|
|
<if test="type != null and type != ''">
|
|
|
and checkjob.type = #{type}
|
|
|
</if>
|
|
|
- <if test="searchStartTime != null and status==null or status==1 or status==2">
|
|
|
+ <if test="searchStartTime != null and ( status==null or status==1 or status==2)">
|
|
|
and checkjob.start_time <![CDATA[ >= ]]> date_format(#{searchStartTime},'%Y-%m-%d')
|
|
|
</if>
|
|
|
- <if test="searchEndTime != null and status==null or status==1 or status==2">
|
|
|
+ <if test="searchEndTime != null and (status==null or status==1 or status==2)">
|
|
|
and checkjob.start_time <![CDATA[ <= ]]> #{searchEndTime}
|
|
|
</if>
|
|
|
<if test="searchStartTime != null and status!=null and status==3">
|