|
@ -974,7 +974,16 @@ public class CommonContractService extends MybatisBaseService<CommonContractMapp |
|
|
map.put("depositTotal", depositTotal); |
|
|
map.put("depositTotal", depositTotal); |
|
|
} |
|
|
} |
|
|
//车辆交付地点
|
|
|
//车辆交付地点
|
|
|
map.put("address", appBusSalesOrderPriceVo.getAddress()); |
|
|
if (StringUtils.isNotBlank(appBusSalesOrderPriceVo.getAddressKey())){ |
|
|
|
|
|
ScmWarehouseVo scmWarehouseVo = scmWarehouseFeign.fetchBySid(appBusSalesOrderPriceVo.getAddressKey()).getData(); |
|
|
|
|
|
if (StringUtils.isNotBlank(scmWarehouseVo.getCity()) && StringUtils.isNotBlank(scmWarehouseVo.getCounty())){ |
|
|
|
|
|
map.put("address", scmWarehouseVo.getCity() + scmWarehouseVo.getCounty()); |
|
|
|
|
|
}else { |
|
|
|
|
|
map.put("address", "暂无市、区/县"); |
|
|
|
|
|
} |
|
|
|
|
|
}else { |
|
|
|
|
|
map.put("address", "暂无预计交付地点"); |
|
|
|
|
|
} |
|
|
InputStream inputStream = this.getClass().getClassLoader().getResourceAsStream("ftl/" + ftl + ".ftl"); |
|
|
InputStream inputStream = this.getClass().getClassLoader().getResourceAsStream("ftl/" + ftl + ".ftl"); |
|
|
//生成word文件名
|
|
|
//生成word文件名
|
|
|
String targetPath = docPdfComponent.getUploadTemplateUrl(); |
|
|
String targetPath = docPdfComponent.getUploadTemplateUrl(); |
|
@ -1157,7 +1166,16 @@ public class CommonContractService extends MybatisBaseService<CommonContractMapp |
|
|
map.put("depositTotal", depositTotal); |
|
|
map.put("depositTotal", depositTotal); |
|
|
} |
|
|
} |
|
|
//车辆交付地点
|
|
|
//车辆交付地点
|
|
|
map.put("address", appBusSalesOrderPriceVo.getAddress()); |
|
|
if (StringUtils.isNotBlank(appBusSalesOrderPriceVo.getAddressKey())){ |
|
|
|
|
|
ScmWarehouseVo scmWarehouseVo = scmWarehouseFeign.fetchBySid(appBusSalesOrderPriceVo.getAddressKey()).getData(); |
|
|
|
|
|
if (StringUtils.isNotBlank(scmWarehouseVo.getCity()) && StringUtils.isNotBlank(scmWarehouseVo.getCounty())){ |
|
|
|
|
|
map.put("address", scmWarehouseVo.getCity() + scmWarehouseVo.getCounty()); |
|
|
|
|
|
}else { |
|
|
|
|
|
map.put("address", "暂无市、区/县"); |
|
|
|
|
|
} |
|
|
|
|
|
}else { |
|
|
|
|
|
map.put("address", "暂无预计交付地点"); |
|
|
|
|
|
} |
|
|
InputStream inputStream = this.getClass().getClassLoader().getResourceAsStream("ftl/" + ftl + ".ftl"); |
|
|
InputStream inputStream = this.getClass().getClassLoader().getResourceAsStream("ftl/" + ftl + ".ftl"); |
|
|
//生成word文件名
|
|
|
//生成word文件名
|
|
|
String targetPath = docPdfComponent.getUploadTemplateUrl(); |
|
|
String targetPath = docPdfComponent.getUploadTemplateUrl(); |
|
@ -1969,7 +1987,16 @@ public class CommonContractService extends MybatisBaseService<CommonContractMapp |
|
|
map.put("depositTotal", depositTotal); |
|
|
map.put("depositTotal", depositTotal); |
|
|
} |
|
|
} |
|
|
//车辆交付地点
|
|
|
//车辆交付地点
|
|
|
map.put("address", appBusSalesOrderPriceVo.getAddress()); |
|
|
if (StringUtils.isNotBlank(appBusSalesOrderPriceVo.getAddressKey())){ |
|
|
|
|
|
ScmWarehouseVo scmWarehouseVo = scmWarehouseFeign.fetchBySid(appBusSalesOrderPriceVo.getAddressKey()).getData(); |
|
|
|
|
|
if (StringUtils.isNotBlank(scmWarehouseVo.getCity()) && StringUtils.isNotBlank(scmWarehouseVo.getCounty())){ |
|
|
|
|
|
map.put("address", scmWarehouseVo.getCity() + scmWarehouseVo.getCounty()); |
|
|
|
|
|
}else { |
|
|
|
|
|
map.put("address", "暂无市、区/县"); |
|
|
|
|
|
} |
|
|
|
|
|
}else { |
|
|
|
|
|
map.put("address", "暂无预计交付地点"); |
|
|
|
|
|
} |
|
|
InputStream inputStream = this.getClass().getClassLoader().getResourceAsStream("ftl/" + ftl + ".ftl"); |
|
|
InputStream inputStream = this.getClass().getClassLoader().getResourceAsStream("ftl/" + ftl + ".ftl"); |
|
|
//生成word文件名
|
|
|
//生成word文件名
|
|
|
String targetPath = docPdfComponent.getUploadTemplateUrl(); |
|
|
String targetPath = docPdfComponent.getUploadTemplateUrl(); |
|
@ -2131,7 +2158,16 @@ public class CommonContractService extends MybatisBaseService<CommonContractMapp |
|
|
map.put("depositTotal", depositTotal); |
|
|
map.put("depositTotal", depositTotal); |
|
|
} |
|
|
} |
|
|
//车辆交付地点
|
|
|
//车辆交付地点
|
|
|
map.put("address", appBusSalesOrderPriceVo.getAddress()); |
|
|
if (StringUtils.isNotBlank(appBusSalesOrderPriceVo.getAddressKey())){ |
|
|
|
|
|
ScmWarehouseVo scmWarehouseVo = scmWarehouseFeign.fetchBySid(appBusSalesOrderPriceVo.getAddressKey()).getData(); |
|
|
|
|
|
if (StringUtils.isNotBlank(scmWarehouseVo.getCity()) && StringUtils.isNotBlank(scmWarehouseVo.getCounty())){ |
|
|
|
|
|
map.put("address", scmWarehouseVo.getCity() + scmWarehouseVo.getCounty()); |
|
|
|
|
|
}else { |
|
|
|
|
|
map.put("address", "暂无市、区/县"); |
|
|
|
|
|
} |
|
|
|
|
|
}else { |
|
|
|
|
|
map.put("address", "暂无预计交付地点"); |
|
|
|
|
|
} |
|
|
InputStream inputStream = this.getClass().getClassLoader().getResourceAsStream("ftl/" + ftl + ".ftl"); |
|
|
InputStream inputStream = this.getClass().getClassLoader().getResourceAsStream("ftl/" + ftl + ".ftl"); |
|
|
//生成word文件名
|
|
|
//生成word文件名
|
|
|
String targetPath = docPdfComponent.getUploadTemplateUrl(); |
|
|
String targetPath = docPdfComponent.getUploadTemplateUrl(); |
|
|