bihuisong 11 ماه پیش
والد
کامیت
9745b9c37b
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      zhsq_qk-system/src/main/resources/mapper/system/SysCameraMapper.xml

+ 1 - 1
zhsq_qk-system/src/main/resources/mapper/system/SysCameraMapper.xml

@@ -57,7 +57,7 @@
         left join sys_police_station b on a.police_id = b.id
         <where>
             <if test="cameraName != null  and cameraName != ''">
-                and camera_name = #{cameraName}
+                and camera_name like concat('%', #{cameraName}, '%')
             </if>
             <if test="policeName != null ">and b.police_name = #{policeName}</if>
             <if test="longitude != null  and longitude != ''">