ソースを参照

2023-3-13 新布局图查询条件,实验室名称没有过滤查询。

chaiyunlong 2 年 前
コミット
96643b8d7c
共有1 個のファイルを変更した2 個の追加1 個の削除を含む
  1. 2 1
      zd-modules/zd-modules-laboratory/src/main/resources/mapper/laboratory/LabBuildFloorLayoutMapper.xml

+ 2 - 1
zd-modules/zd-modules-laboratory/src/main/resources/mapper/laboratory/LabBuildFloorLayoutMapper.xml

@@ -57,7 +57,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="searchValue != null  and searchValue != '' ">
                 and (
                   t.room_num like concat('%', #{searchValue}, '%') or
-                  t.room_name like concat('%', #{searchValue}, '%')
+                  t.room_name like concat('%', #{searchValue}, '%') OR
+                  sb.name LIKE CONCAT('%', #{searchValue}, '%')
                 )
             </if>
             <if test="roomType != null "> and t.room_type = #{roomType}</if>