From c04f2d4a58bd72449b2212ed2f8b0c3ac9ec96be Mon Sep 17 00:00:00 2001 From: “djh” <“3298565835@qq.com”> Date: 星期二, 12 八月 2025 11:04:16 +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