浏览代码

相机excel修改

gao.qiang 1 年之前
父节点
当前提交
8838054d2c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      business-service/src/main/resources/mapper/service/BaseCameraManagementMapper.xml

+ 1 - 1
business-service/src/main/resources/mapper/service/BaseCameraManagementMapper.xml

@@ -35,7 +35,7 @@
                 and a.railway_code=#{railwayCode}
                 and a.railway_code=#{railwayCode}
             </if>
             </if>
             <if test="cameraCode != null and cameraCode != ''">
             <if test="cameraCode != null and cameraCode != ''">
-                and a.camera_code=#{cameraCode}
+                and a.camera_code like concat('%', #{cameraCode}, '%')
             </if>
             </if>
             <if test="lineDir != null and lineDir != 0">
             <if test="lineDir != null and lineDir != 0">
                 and a.line_dir =#{lineDir}
                 and a.line_dir =#{lineDir}