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