数据20250916优化-点位名称模糊查询
This commit is contained in:
@ -327,10 +327,13 @@
|
||||
from ems_point_match t
|
||||
where 1=1
|
||||
<if test="siteId != null and siteId != ''">
|
||||
and site_id = #{siteId}
|
||||
and t.site_id = #{siteId}
|
||||
</if>
|
||||
<if test="deviceCategory != null and deviceCategory != ''">
|
||||
and device_category = #{deviceCategory}
|
||||
and t.device_category = #{deviceCategory}
|
||||
</if>
|
||||
<if test="dataPointName != null and dataPointName != ''">
|
||||
and t.data_point_name like CONCAT('%', #{dataPointName}, '%')
|
||||
</if>
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user