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