From 9c4cd9c77bb92b22a2099c56afb0b5dc3c898470 Mon Sep 17 00:00:00 2001 From: “djh” <“3298565835@qq.com”> Date: 星期四, 06 三月 2025 08:25:04 +0800 Subject: [PATCH] 修改 --- hazmat-system/src/main/resources/mapper/system/HzSecientificMapper.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hazmat-system/src/main/resources/mapper/system/HzSecientificMapper.xml b/hazmat-system/src/main/resources/mapper/system/HzSecientificMapper.xml index 893e518..78738e2 100644 --- a/hazmat-system/src/main/resources/mapper/system/HzSecientificMapper.xml +++ b/hazmat-system/src/main/resources/mapper/system/HzSecientificMapper.xml @@ -22,7 +22,7 @@ LEFT JOIN hz_peculiarity hp ON hs.peculiarity_number = hp.peculiarity_number <where> <if test="secientificName!=null and secientificName!=''"> - and secientific_name =#{secientificName} + and hs.secientific_name like concat('%',#{secientificName},'%') </if> and hs.del_flag = 0 </where> -- Gitblit v1.9.2