소스 검색

修复缺陷

lyq 1 년 전
부모
커밋
9392eed3d0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/resources/mapper/digitaltraffic/CenterdataTSupermapLevelMapper.xml

+ 1 - 1
src/main/resources/mapper/digitaltraffic/CenterdataTSupermapLevelMapper.xml

@@ -132,7 +132,7 @@
         LEFT JOIN ${database_monitor}.centermonitor_t_camera b ON b.id = eq.camera_id
         <where>
             <if test="mapData != null  and mapData != ''">and map_data = #{mapData}</if>
-            <if test="mapName != null  and mapName != ''">and map_name like concat('%', #{mapName}, '%')</if>
+            <if test="mapName != null  and mapName != ''">and map_name = #{mapName}</if>
         </where>
     </select>
 </mapper>