Kaynağa Gözat

修复缺陷

lyq 1 yıl önce
ebeveyn
işleme
9392eed3d0

+ 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>