|
|
@ -387,6 +387,8 @@ public class DistributionStockArticleController extends BladeController { |
|
|
|
BeanUtil.copy(oldStockArticle,newStockArticle); |
|
|
|
BeanUtil.copy(oldStockArticle,newStockArticle); |
|
|
|
String consigneePerson = stockArticleEntity.getConsigneePerson(); |
|
|
|
String consigneePerson = stockArticleEntity.getConsigneePerson(); |
|
|
|
String customerName = stockArticleEntity.getCustomerName(); |
|
|
|
String customerName = stockArticleEntity.getCustomerName(); |
|
|
|
|
|
|
|
String mallName = stockArticleEntity.getMallName(); |
|
|
|
|
|
|
|
String consigneeUnit = stockArticleEntity.getConsigneeUnit(); |
|
|
|
if(StringUtil.isNotBlank(consigneePerson)){ |
|
|
|
if(StringUtil.isNotBlank(consigneePerson)){ |
|
|
|
newStockArticle.setConsigneePerson(consigneePerson); |
|
|
|
newStockArticle.setConsigneePerson(consigneePerson); |
|
|
|
newStockArticle.setConsigneeMobile(stockArticleEntity.getConsigneeMobile()); |
|
|
|
newStockArticle.setConsigneeMobile(stockArticleEntity.getConsigneeMobile()); |
|
|
@ -396,8 +398,8 @@ public class DistributionStockArticleController extends BladeController { |
|
|
|
newStockArticle.setCustomerTelephone(stockArticleEntity.getCustomerTelephone()); |
|
|
|
newStockArticle.setCustomerTelephone(stockArticleEntity.getCustomerTelephone()); |
|
|
|
newStockArticle.setCustomerAddress(stockArticleEntity.getCustomerAddress()); |
|
|
|
newStockArticle.setCustomerAddress(stockArticleEntity.getCustomerAddress()); |
|
|
|
}else { |
|
|
|
}else { |
|
|
|
newStockArticle.setMallName(customerName); |
|
|
|
newStockArticle.setMallName(mallName); |
|
|
|
newStockArticle.setConsigneeUnit(customerName); |
|
|
|
newStockArticle.setConsigneeUnit(consigneeUnit); |
|
|
|
} |
|
|
|
} |
|
|
|
String content = oldStockArticle.compareCustomerInfo(newStockArticle); |
|
|
|
String content = oldStockArticle.compareCustomerInfo(newStockArticle); |
|
|
|
if(StringUtil.isNotBlank(content)){ |
|
|
|
if(StringUtil.isNotBlank(content)){ |
|
|
|