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