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}