skyline 7 месяцев назад
Родитель
Сommit
99b0abfcc8

+ 5 - 0
entity/src/main/java/com/kym/entity/admin/queryParams/CommonQueryParam.java

@@ -20,6 +20,11 @@ public class CommonQueryParam extends PageParams {
      * 用户id
      */
     private Long userId;
+
+    public void setMobilePhone(String mobilePhone) {
+        this.mobilePhone = mobilePhone != null ? mobilePhone.replaceAll(" ", "") : null;
+    }
+
     /**
      * 手机号
      */

+ 4 - 0
entity/src/main/java/com/kym/entity/admin/queryParams/CouponQueryParam.java

@@ -44,6 +44,10 @@ public class CouponQueryParam extends PageParams {
      */
     private Long userId;
 
+    public void setMobilePhone(String mobilePhone) {
+        this.mobilePhone = mobilePhone != null ? mobilePhone.replaceAll(" ", "") : null;
+    }
+
     /**
      * 用户手机号
      */

+ 5 - 0
entity/src/main/java/com/kym/entity/admin/queryParams/CustomChargeOrdersQueryParam.java

@@ -24,6 +24,11 @@ public class CustomChargeOrdersQueryParam extends PageParams {
      * 充电订单号
      */
     private String startChargeSeq;
+
+    public void setMobilePhone(String mobilePhone) {
+        this.mobilePhone = mobilePhone != null ? mobilePhone.replaceAll(" ", "") : null;
+    }
+
     /**
      * 手机号
      */

+ 0 - 1
mapper/src/main/java/com/kym/mapper/miniapp/ChargeOrderMapper.java

@@ -1,6 +1,5 @@
 package com.kym.mapper.miniapp;
 
-import com.github.yulichang.base.MPJBaseMapper;
 import com.kym.entity.admin.queryParams.CustomChargeOrdersQueryParam;
 import com.kym.entity.admin.queryParams.StatQueryParam;
 import com.kym.entity.admin.vo.CustomOrderVo;