瀏覽代碼

修复缺陷

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>