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 != ''">