From 9f846eb938366a4ca982222f0f4562051f3866a0 Mon Sep 17 00:00:00 2001 From: zhenghaoyu Date: Thu, 28 Mar 2024 21:36:50 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=A2=9E=E5=8A=A0=E8=BF=90=E5=8D=95=E6=94=B6?= =?UTF-8?q?=E8=B4=A7=E4=BA=BA=E4=BF=AE=E6=94=B9=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../entity/DistributionStockArticleEntity.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/blade-service-api/logpm-distribution-api/src/main/java/com/logpm/distribution/entity/DistributionStockArticleEntity.java b/blade-service-api/logpm-distribution-api/src/main/java/com/logpm/distribution/entity/DistributionStockArticleEntity.java index b76863578..105d2df4b 100644 --- a/blade-service-api/logpm-distribution-api/src/main/java/com/logpm/distribution/entity/DistributionStockArticleEntity.java +++ b/blade-service-api/logpm-distribution-api/src/main/java/com/logpm/distribution/entity/DistributionStockArticleEntity.java @@ -472,6 +472,9 @@ public class DistributionStockArticleEntity extends TenantEntity { String customerName = distributionStockArticleEntity.getCustomerName(); String customerTelephone = distributionStockArticleEntity.getCustomerTelephone(); String customerAddress = distributionStockArticleEntity.getCustomerAddress(); + String consigneePerson = distributionStockArticleEntity.getConsigneePerson(); + String consigneeMobile = distributionStockArticleEntity.getConsigneeMobile(); + String consigneeAddress = distributionStockArticleEntity.getConsigneeAddress(); StringBuilder stringBuilder = new StringBuilder(); boolean nameFlag = ObjectUtil.equals(this.customerName, customerName); @@ -486,6 +489,19 @@ public class DistributionStockArticleEntity extends TenantEntity { if(!addressFlag){ stringBuilder.append("顾客地址:["+this.customerAddress+"]修改为["+customerAddress+"];"); } + boolean consigneePersonFlag = ObjectUtil.equals(this.consigneePerson, consigneePerson); + if(!consigneePersonFlag){ + stringBuilder.append("运单收货人:["+this.consigneePerson+"]修改为["+consigneePerson+"];"); + } + boolean consigneeMobileFlag = ObjectUtil.equals(this.consigneeMobile, consigneeMobile); + if(!consigneeMobileFlag){ + stringBuilder.append("运单收货人电话:["+this.consigneeMobile+"]修改为["+consigneeMobile+"];"); + } + boolean consigneeAddressFlag = ObjectUtil.equals(this.consigneeAddress, consigneeAddress); + if(!consigneeAddressFlag){ + stringBuilder.append("运单收货地址:["+this.consigneeAddress+"]修改为["+consigneeAddress+"];"); + } + return stringBuilder.toString(); }