From ef1d9800ac30bc4e844abb7a5a3af05096734e48 Mon Sep 17 00:00:00 2001 From: donqi Date: Wed, 20 Jul 2022 16:03:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B6=88=E8=B4=B9=E8=80=85=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=88=86=E9=94=80=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/ghy/customer/domain/Customer.java | 2 ++ .../src/main/resources/mapper/customer/CustomerMapper.xml | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ghy-custom/src/main/java/com/ghy/customer/domain/Customer.java b/ghy-custom/src/main/java/com/ghy/customer/domain/Customer.java index 1f0edcaa..7a548c27 100644 --- a/ghy-custom/src/main/java/com/ghy/customer/domain/Customer.java +++ b/ghy-custom/src/main/java/com/ghy/customer/domain/Customer.java @@ -45,4 +45,6 @@ public class Customer extends BaseEntity { @Excel(name = "祖级分销人", cellType = Excel.ColumnType.NUMERIC) private Long parentCustomerPlace; + private Integer placeStatus; + } diff --git a/ghy-custom/src/main/resources/mapper/customer/CustomerMapper.xml b/ghy-custom/src/main/resources/mapper/customer/CustomerMapper.xml index 18d55c07..71671333 100644 --- a/ghy-custom/src/main/resources/mapper/customer/CustomerMapper.xml +++ b/ghy-custom/src/main/resources/mapper/customer/CustomerMapper.xml @@ -10,6 +10,7 @@ + @@ -21,7 +22,7 @@ - SELECT customer_id, name, account, phone, open_id, password, status, + SELECT customer_id, name, account, phone, open_id, password, status, place_status, customer_logo_url, customer_place, parent_customer_place, create_by, create_time, remark FROM customer @@ -93,6 +94,7 @@ update_by = #{updateBy}, customer_place = #{customerPlace}, parent_customer_place = #{parentCustomerPlace}, + place_status = #{placeStatus}, update_time = sysdate() where customer_id = #{customerId}