فهرست منبع

直播订单增加搜索条件

yuhongqi 1 هفته پیش
والد
کامیت
b2274574d1
1فایلهای تغییر یافته به همراه4 افزوده شده و 1 حذف شده
  1. 4 1
      fs-service/src/main/resources/mapper/live/LiveOrderMapper.xml

+ 4 - 1
fs-service/src/main/resources/mapper/live/LiveOrderMapper.xml

@@ -1051,11 +1051,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
                 AND p.prescribe_spec LIKE CONCAT('%', #{productSpec}, '%')
             </if>
             <if test="storeId != null and storeId != ''">
-                AND p.store_id #{storeId}
+                AND p.store_id = #{storeId}
             </if>
             <if test="userAddress != null and userAddress != ''">
                 AND o.user_address LIKE CONCAT('%', #{userAddress}, '%')
             </if>
+            <if test="userName != null and userName != ''">
+                AND o.user_name LIKE CONCAT('%', #{userName}, '%')
+            </if>
             <if test="createTimeStart != null ">
                 AND o.create_time &gt;= #{createTimeStart}
             </if>