Quellcode durchsuchen

供应商接口bugfix

zhijiezhao vor 2 Jahren
Ursprung
Commit
f04c083019
1 geänderte Dateien mit 3 neuen und 5 gelöschten Zeilen
  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