Browse Source

[feat]

1、修改预警查询问题。
nantong
杨威 1 month ago
parent
commit
855e915dde
  1. 3
      dk-modules/business/src/main/resources/mapper/business/BusinessAlertMapper.xml

3
dk-modules/business/src/main/resources/mapper/business/BusinessAlertMapper.xml

@ -449,8 +449,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
COUNT(DISTINCT ba.id) AS total
from business_alert ba
where 1=1
and <![CDATA[ DATE_FORMAT(ba.create_time, '%Y') >= '2024' ]]>
and <![CDATA[ DATE_FORMAT(ba.create_time, '%Y') <= DATE_FORMAT(now(), '%Y') ]]>
and ba.handle_type = 'finish'
<include refid="searchSql"></include>
</select>

Loading…
Cancel
Save