wangming 2 日 前
コミット
d49dc12a96

+ 1 - 1
yami-shop-bean/src/main/java/com/yami/shop/bean/param/BackendOrderParam.java

@@ -68,7 +68,7 @@ public class BackendOrderParam {
     /**
      * 收货人手机号
      */
-    private String mobile;
+    private String userMobile;
 
     /**
      * 订单退款状态参考refundStatus(1:申请退款 2:退款成功 3:部分退款成功 4:退款失败)

+ 4 - 4
yami-shop-service/src/main/resources/mapper/OrderMapper.xml

@@ -482,8 +482,8 @@
             <if test="orderParam.receiver != null">
                 and b.receiver LIKE concat("%",#{orderParam.receiver},"%")
             </if>
-            <if test="orderParam.mobile != null">
-                and b.mobile LIKE concat("%",#{orderParam.mobile},"%")
+            <if test="orderParam.userMobile != null">
+                and b.mobile LIKE concat("%",#{orderParam.userMobile},"%")
             </if>
 
             <if test="orderParam.orderStatus != null and orderParam.orderStatus != ''">
@@ -537,8 +537,8 @@
             <if test="orderParam.receiver != null">
                 and b.receiver LIKE concat("%",#{orderParam.receiver},"%")
             </if>
-            <if test="orderParam.mobile != null">
-                and b.mobile LIKE concat("%",#{orderParam.mobile},"%")
+            <if test="orderParam.userMobile != null">
+                and b.mobile LIKE concat("%",#{orderParam.userMobile},"%")
             </if>
 
             <if test="orderParam.orderStatus != null and orderParam.orderStatus != ''">