‘linchangsheng’ 7 月之前
父节点
当前提交
ecf39f0370
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      mall-miniapp-service/src/main/resources/mapper/CommonMapper.xml

+ 1 - 1
mall-miniapp-service/src/main/resources/mapper/CommonMapper.xml

@@ -80,7 +80,7 @@
                 and a.is_incre = #{isIncre}
                 and a.is_incre = #{isIncre}
             </if>
             </if>
         <if test="websitName != null and websitName != ''">
         <if test="websitName != null and websitName != ''">
-            AND a.name LIKE  CONCAT('%', #{websitName},'%')
+            AND (a.name LIKE  CONCAT('%', #{websitName},'%') or a.websit_id LIKE  CONCAT('%', #{websitName},'%'))
         </if>
         </if>
             <if test="websitIds != null and websitIds.size > 0">
             <if test="websitIds != null and websitIds.size > 0">
                 AND a.websit_id IN
                 AND a.websit_id IN