‘linchangsheng’ 7 ヶ月 前
コミット
ecf39f0370

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

@@ -80,7 +80,7 @@
                 and a.is_incre = #{isIncre}
             </if>
         <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 test="websitIds != null and websitIds.size > 0">
                 AND a.websit_id IN