搜索条件添加
This commit is contained in:
@@ -18,6 +18,15 @@
|
||||
</resultMap>
|
||||
<select id="pageList" resultType="com.sa.zentao.dao.ZtYwTaskDTO">
|
||||
SELECT * from zt_yw_task WHERE 1=1
|
||||
|
||||
|
||||
<if test="qo.startDate !=null">
|
||||
and task_end_date <![CDATA[>=]]> #{qo.startDate}
|
||||
</if>
|
||||
<if test="qo.endDate !=null">
|
||||
and task_end_date <![CDATA[<=]]> #{qo.endDate}
|
||||
</if>
|
||||
|
||||
order by id desc
|
||||
</select>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user