From ced11a778b9bf4deee59445a41e3ede298d8c963 Mon Sep 17 00:00:00 2001
From: gdg <764716047@qq.com>
Date: Thu, 25 Feb 2021 11:20:05 +0800
Subject: [PATCH] 人员管理的按钮权限和 可见人员权限
---
src/main/java/com/nanometer/smartlab/dao/DangerousEncodeMapper.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/nanometer/smartlab/dao/DangerousEncodeMapper.xml b/src/main/java/com/nanometer/smartlab/dao/DangerousEncodeMapper.xml
index 703c10a..f5678c9 100644
--- a/src/main/java/com/nanometer/smartlab/dao/DangerousEncodeMapper.xml
+++ b/src/main/java/com/nanometer/smartlab/dao/DangerousEncodeMapper.xml
@@ -310,7 +310,7 @@
and reagent_name = #{reagentname}
</if>
<if test="cas != null and cas != ''">
- and cas = #{cas}
+ and cas like concat("%",#{cas},"%")
</if>
<if test="code != null and code != ''">
and code = #{code}
@@ -328,7 +328,7 @@
and reagent_name like concat("%",#{reagentname},"%")
</if>
<if test="cas != null and cas != ''">
- and cas = #{cas}
+ and cas like concat("%",#{cas},"%")
</if>
</where>
</select>
--
Gitblit v1.9.2