From 68a37e86d0bfa43e9d4aa0379f47eecee7a0b9c1 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期一, 01 四月 2024 16:07:24 +0800 Subject: [PATCH] xml位置修改 --- ycl-server/src/main/resources/mapper/zgyw/TMonitorMapper.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ycl-server/src/main/resources/mapper/zgyw/TMonitorMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/TMonitorMapper.xml index 9fe7ef1..5db47cf 100644 --- a/ycl-server/src/main/resources/mapper/zgyw/TMonitorMapper.xml +++ b/ycl-server/src/main/resources/mapper/zgyw/TMonitorMapper.xml @@ -57,7 +57,7 @@ <if test="siteType != null "> and site_type = #{siteType}</if> <if test="macAddr != null and macAddr != ''"> and mac_addr = #{macAddr}</if> <if test="ip != null and ip != ''"> and ip = #{ip}</if> - <if test="cameraFunType != null and cameraFunType != ''"> and camera_fun_type = #{cameraFunType}</if> + <if test="cameraFunType != null and cameraFunType != ''"> and camera_fun_type like concat('%', #{cameraFunType}, '%')</if> <if test="longitude != null and longitude != ''"> and longitude = #{longitude}</if> <if test="latitude != null and latitude != ''"> and latitude = #{latitude}</if> <if test="cameraCaptureArea != null and cameraCaptureArea != ''"> and camera_capture_area = #{cameraCaptureArea}</if> -- Gitblit v1.8.0