|
@@ -113,11 +113,7 @@ public class SalesContractServiceImpl extends ServiceImpl<SalesContractMapper, S
|
|
|
Map<Long, String> areaMapByIds = CustomizeAreaUtil.getAreaMapByIds(Arrays.asList(
|
|
|
result.getBuyCountryId(),
|
|
|
result.getBuyProvinceId(),
|
|
|
- result.getBuyCityId(),
|
|
|
-
|
|
|
- result.getSellCountryId(),
|
|
|
- result.getSellProvinceId(),
|
|
|
- result.getSellCityId())
|
|
|
+ result.getBuyCityId())
|
|
|
);
|
|
|
result.setBuyCountryName(areaMapByIds.get(result.getBuyCountryId()));
|
|
|
result.setBuyProvinceName(areaMapByIds.get(result.getBuyProvinceId()));
|
|
@@ -132,10 +128,6 @@ public class SalesContractServiceImpl extends ServiceImpl<SalesContractMapper, S
|
|
|
result.setSellOpeningBank(accountManagement.getOpeningBank());
|
|
|
result.setSellSwiftCode(accountManagement.getSwiftCode());
|
|
|
result.setSellAccountOpening(accountManagement.getAccountOpening());
|
|
|
- //赋值卖方国省市名称
|
|
|
- result.setSellCountryName(areaMapByIds.get(result.getSellCountryId()));
|
|
|
- result.setSellProvinceName(areaMapByIds.get(result.getSellProvinceId()));
|
|
|
- result.setSellCityName(areaMapByIds.get(result.getSellCityId()));
|
|
|
|
|
|
return result;
|
|
|
}
|