搜索条件添加

This commit is contained in:
2025-05-13 14:09:46 +08:00
parent 4d0bb07b0b
commit 81cf5bd74e
51 changed files with 1196 additions and 478 deletions

View File

@ -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>