Browse Source

问题修改

zhs 2 years ago
parent
commit
114d2962da
1 changed files with 0 additions and 3 deletions
  1. 0 3
      src/main/resources/mapper/DictionaryMapper.xml

+ 0 - 3
src/main/resources/mapper/DictionaryMapper.xml

@@ -39,9 +39,6 @@
             <if test="id != null and id != ''">
                 and id = #{id}
             </if>
-            <if test="nameOrCode != null and nameOrCode != ''">
-                and code like CONCAT(CONCAT('%', #{nameOrCode}), '%') or name like CONCAT(CONCAT('%', #{nameOrCode}), '%')
-            </if>
         </trim>
     </select>
     <!-- 查询字典内容分页 -->