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