Browse Source

1.增加运单收货人修改日志

pull/5/head
zhenghaoyu 7 months ago
parent
commit
9f846eb938
  1. 16
      blade-service-api/logpm-distribution-api/src/main/java/com/logpm/distribution/entity/DistributionStockArticleEntity.java

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

Loading…
Cancel
Save