2 次代码提交 3b46ffbd7a ... 2d4fab2630

作者 SHA1 备注 提交日期
  wanglang 2d4fab2630 Merge branch 'v1.1-dev' of http://192.168.0.200:3000/wanglang/trade-platform into v1.1-dev 2 天之前
  wanglang 08229d80af 合同进口商地址 2 天之前

+ 4 - 2
trade-client/src/main/java/com/trade/client/trade/salescontract/service/impl/SalesServiceImpl.java

@@ -826,8 +826,10 @@ public class SalesServiceImpl implements SalesService {
                 contractTemplateDto.setBuyerContact(importerEntity.getContactName());
                 contractTemplateDto.setBuyerContactEn(importerEntity.getContactName());
                 // contractTemplateDto.setBuyerContactEn(getEnValues(importerEntity.getI18n(), "contactName"));
-                contractTemplateDto.setBuyerAddress(importerEntity.getBusinessAddress());
-                contractTemplateDto.setBuyerAddressEn(importerEntity.getBusinessAddress());
+                contractTemplateDto.setBuyerAddress(
+                        importerEntity.getBusinessAddress() + "," + importerEntity.getBusinessCity() + ","
+                                + importerEntity.getBusinessProvince() + "," + importerEntity.getBusinessPostCode());
+                contractTemplateDto.setBuyerAddressEn(contractTemplateDto.getBuyerAddress());
                 // contractTemplateDto.setBuyerAddressEn(getEnValues(importerEntity.getI18n(), "businessAddress"));
                 contractTemplateDto.setBuyerEmail(importerEntity.getContactEmail());
             }