Commit 1e7468e3 authored by chenzhao's avatar chenzhao

修改bug

parent 2f3fc17f
......@@ -757,7 +757,7 @@
wlesa.`status`,
wlesal.type AS type,
wlesal.create_date AS createDate,
wlesal.location AS warehouseStructureName,
CONCAT_WS(' ', wlesal.location,wled.area) AS warehouseStructureName,/*告警列表拼接详细地址*/
(select
group_concat(fet.`name`)
from f_equipment_fire_equipment as fefe
......@@ -946,8 +946,8 @@
</if>
<if test='dto.startDate != null and dto.endDate != null '>
AND DATE_FORMAT(wlesa.create_date, '%Y-%m-%d ' ) between DATE_FORMAT(#{dto.startDate}, '%Y-%m-%d ' ) and
DATE_FORMAT(#{dto.endDate}, '%Y-%m-%d ' )
AND DATE_FORMAT(wlesa.create_date, '%Y-%m-%d' ) <![CDATA[>=]]> DATE_FORMAT(#{dto.startDate}, '%Y-%m-%d' )
AND DATE_FORMAT(wlesa.create_date, '%Y-%m-%d' ) <![CDATA[<=]]> DATE_FORMAT(#{dto.endDate}, '%Y-%m-%d' )
</if>
<if test="dto.isFirm == 'yes'">
......
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