diff --git a/hai-service/src/main/java/com/hai/dao/HighOrderMapperExt.java b/hai-service/src/main/java/com/hai/dao/HighOrderMapperExt.java index f2c88454..1f78bc3a 100644 --- a/hai-service/src/main/java/com/hai/dao/HighOrderMapperExt.java +++ b/hai-service/src/main/java/com/hai/dao/HighOrderMapperExt.java @@ -1114,6 +1114,7 @@ public interface HighOrderMapperExt { " b.deduction_price deductionPrice," + " b.pay_real_price payRealPrice," + " b.order_status status," + + " REPLACE(b.mem_phone, SUBSTR(b.mem_phone,4,4), '****') merPhone," + " a.goods_name gasName," + " (select address from high_merchant_store where id = a.goods_id) gasAddress," + " a.goods_img gasLogo," + diff --git a/hai-service/src/main/java/com/hai/model/GasOrderModel.java b/hai-service/src/main/java/com/hai/model/GasOrderModel.java index 512895f1..fb068d8d 100644 --- a/hai-service/src/main/java/com/hai/model/GasOrderModel.java +++ b/hai-service/src/main/java/com/hai/model/GasOrderModel.java @@ -17,6 +17,7 @@ public class GasOrderModel { private BigDecimal deductionPrice; private BigDecimal payRealPrice; private Integer status; + private String merPhone; private String gasLogo; private String gasName; private String gasAddress; @@ -46,6 +47,14 @@ public class GasOrderModel { this.gasStaffName = gasStaffName; } + public String getMerPhone() { + return merPhone; + } + + public void setMerPhone(String merPhone) { + this.merPhone = merPhone; + } + public Boolean getPrintStatus() { return printStatus; }