From c82ca24c2deab53b7152277fbec80c3911edcb13 Mon Sep 17 00:00:00 2001 From: hurui <177768073@qq.com> Date: Mon, 11 Jul 2022 17:32:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/hai/dao/HighOrderMapperExt.java | 1 + .../src/main/java/com/hai/model/GasOrderModel.java | 9 +++++++++ 2 files changed, 10 insertions(+) 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 1b3c8122..189a86f2 100644 --- a/hai-service/src/main/java/com/hai/dao/HighOrderMapperExt.java +++ b/hai-service/src/main/java/com/hai/dao/HighOrderMapperExt.java @@ -1099,6 +1099,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 eff9bc3d..15b38e57 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; @@ -37,6 +38,14 @@ public class GasOrderModel { private Boolean printStatus; private Integer printNum; + public String getMerPhone() { + return merPhone; + } + + public void setMerPhone(String merPhone) { + this.merPhone = merPhone; + } + public Boolean getPrintStatus() { return printStatus; }