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(); }