瀏覽代碼

NFC标签管理新增点位和标签名称查询

xujie 1 年之前
父節點
當前提交
9d97674684
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      soc-modules/soc-modules-system/src/main/resources/mapper/system/SysNfcBindMapper.xml

+ 4 - 1
soc-modules/soc-modules-system/src/main/resources/mapper/system/SysNfcBindMapper.xml

@@ -122,7 +122,10 @@
             and a.enable = #{info.enable}
         </if>
         <if test="info.labelName !=null and info.labelName !=''">
-            and a.label_name=#{info.labelName}
+            and a.label_name like concat("%",#{info.labelName},"%")
+        </if>
+        <if test="info.collectionAreaName !=null and info.collectionAreaName !=''">
+            and a.collection_area_name like concat("%",#{info.collectionAreaName},"%")
         </if>
         order by a.org_id,a.area_id,code
     </select>