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 дни
променени са 1 файла, в които са добавени 4 реда и са изтрити 2 реда
  1. 4 2
      trade-client/src/main/java/com/trade/client/trade/salescontract/service/impl/SalesServiceImpl.java

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