Parcourir la source

供应商接口bugfix

zhijiezhao il y a 2 ans
Parent
commit
f04c083019
1 fichiers modifiés avec 3 ajouts et 5 suppressions
  1. 3 5
      src/main/resources/mapper/ReceiptMapper.xml

+ 3 - 5
src/main/resources/mapper/ReceiptMapper.xml

@@ -1054,13 +1054,11 @@
         SELECT shopId,name AS shopName,linkMan,contractMobile FROM shop
         <where>
             <if test="keyWord!=null and keyWord!=''">
-                AND name LIKE concat('%',#{keyWord},'%')
-                or linkMan LIKE CONCAT('%', #{keyWord}, '%')
+                AND (name LIKE concat('%',#{keyWord},'%')
+                or linkMan LIKE CONCAT('%', #{keyWord}, '%'))
             </if>
-            AND status=90
+            AND status = 90
         </where>
-
-
     </select>
     <select id="ReceiptDetail" resultType="com.caimei365.order.model.vo.ShopOrderVo">
         SELECT DISTINCT