设备名称模糊查询

This commit is contained in:
chenlinghy 2023-08-26 21:06:33 +08:00
parent fc8ab788d1
commit 20e29e5b02
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@
and county_code = #{countyCode}
</if>
<if test="deviceName != null and deviceName != ''">
and device_name = #{deviceName}
and device_name like CONCAT('%', #{deviceName}, '%')
</if>
</where>
</select>