From 5b18c5a8c26194474b65b180c6e87e180a03c646 Mon Sep 17 00:00:00 2001 From: heheng <475597332@qq.com> Date: 星期五, 18 四月 2025 14:08:03 +0800 Subject: [PATCH] sharding版本 --- 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