Commit f2c24806 authored by KeYong's avatar KeYong

更新代码

parent 1cfc435d
......@@ -122,13 +122,13 @@
) d
WHERE 1=1
AND d.fireEquipmentName IS NOT NULL
<if test="protectObj !=null and protectObj != '' "> and wled.`name` like concat(concat("%",#{protectObj}),"%") </if>
<if test="beginDate!=null"> and wlesa.create_date >= #{beginDate} </if>
<if test="endDate!=null"> and wlesa.create_date <![CDATA[<=]]> #{endDate} </if>
<if test="protectObj !=null and protectObj != '' "> and d.fireEquipmentName like concat(concat("%",#{protectObj}),"%") </if>
<if test="beginDate!=null"> and d.createDate >= #{beginDate} </if>
<if test="endDate!=null"> and d.createDate <![CDATA[<=]]> #{endDate} </if>
order by d.createDate desc
<choose>
<when test="pageSize==-1"></when>
<when test="pageSize!=-1">limit #{offset},#{pageSize}</when>
</choose>
order by wlesa.update_date desc
</select>
</mapper>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment