From bd978772e02e8a62e5450c01615aff444d534462 Mon Sep 17 00:00:00 2001 From: zmc <zmc_li@foxmail.com> Date: 星期四, 16 十一月 2023 17:15:05 +0800 Subject: [PATCH] 修改了查询异常数据的sql语句 --- src/main/resources/mapper/FugitiveDustMapper.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mapper/FugitiveDustMapper.xml b/src/main/resources/mapper/FugitiveDustMapper.xml index f387e49..c7ca729 100644 --- a/src/main/resources/mapper/FugitiveDustMapper.xml +++ b/src/main/resources/mapper/FugitiveDustMapper.xml @@ -118,7 +118,7 @@ from dust_exception_data as a join ja_t_dust_site_info as b on a.mn_code = b.mn_code <where> <if test="siteName !=null and siteName != ''"> - b.name = #{siteName} + b.name like concat('%',#{siteName},'%') </if> <if test="exceptionType != null and exceptionType != '' "> -- Gitblit v1.9.3