解决预警广播查询报错
parent
0fb2ca9293
commit
fb86da6097
|
|
@ -22,7 +22,7 @@ public interface BroadcastWarnMapper extends BaseMapper<BroadcastWarn> {
|
||||||
left join public.broadcast_station s on t.station_id = s.id
|
left join public.broadcast_station s on t.station_id = s.id
|
||||||
<where>
|
<where>
|
||||||
<if test="obj.warnContent != null and obj.warnContent != ''">
|
<if test="obj.warnContent != null and obj.warnContent != ''">
|
||||||
t.warn_content like concat('%', #{obj.warnContent}, '%')
|
t.warn_content like concat('%', #{obj.warnContent}::text, '%')
|
||||||
</if>
|
</if>
|
||||||
<if test="obj.timeRangeSo != null and obj.timeRangeSo.start != null">
|
<if test="obj.timeRangeSo != null and obj.timeRangeSo.start != null">
|
||||||
and t.create_time <![CDATA[>=]]> #{obj.timeRangeSo.start}
|
and t.create_time <![CDATA[>=]]> #{obj.timeRangeSo.start}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue