Commit 51f0d1f2 authored by lcl's avatar lcl

Merge branch 'V20230915' of http://192.168.60.201/root/dsk-operate-sys into V20230915

parents c1e8bbaa 2d28dfc5
...@@ -32,7 +32,7 @@ public class UrbanInvestmentExportVo implements Serializable { ...@@ -32,7 +32,7 @@ public class UrbanInvestmentExportVo implements Serializable {
@Excel(name = "供应商", width = 10) @Excel(name = "供应商", width = 10)
private Integer supplierCount; private Integer supplierCount;
@Excel(name = "债余额" , suffix = "亿元") @Excel(name = "债余额" , suffix = "亿元")
private Double creditBalance; private Double creditBalance;
@Excel(name = "主体评级", width = 15) @Excel(name = "主体评级", width = 15)
......
...@@ -59,6 +59,7 @@ public class ExportController { ...@@ -59,6 +59,7 @@ public class ExportController {
if (StringUtils.isEmpty(compose.getExportExeclName())){ if (StringUtils.isEmpty(compose.getExportExeclName())){
object.put("exportExeclName","企业基本信息导出"); object.put("exportExeclName","企业基本信息导出");
} }
object.put("exportTemplateName","szh-enterprise-info.xlsx");
return exportService.enterpriseInfoExport(object); return exportService.enterpriseInfoExport(object);
} }
...@@ -76,6 +77,7 @@ public class ExportController { ...@@ -76,6 +77,7 @@ public class ExportController {
if (StringUtils.isEmpty(compose.getExportExeclName())){ if (StringUtils.isEmpty(compose.getExportExeclName())){
object.put("exportExeclName","企业资质信息导出"); object.put("exportExeclName","企业资质信息导出");
} }
object.put("exportTemplateName","szh-cert-info.xlsx");
return exportService.enterpriseAptitudeExport(object); return exportService.enterpriseAptitudeExport(object);
} }
...@@ -124,7 +126,7 @@ public class ExportController { ...@@ -124,7 +126,7 @@ public class ExportController {
} }
//市场经济 城投平台导出 //市场经济 城投平台导出
@PostMapping("/urbanInvestmentPlatform") @PostMapping("/urbanInvestment")
public AjaxResult export(@RequestBody UrbanInvestmentPlatformDto dto) { public AjaxResult export(@RequestBody UrbanInvestmentPlatformDto dto) {
return exportService.export(dto); return exportService.export(dto);
} }
......
...@@ -139,8 +139,6 @@ public class ExportService { ...@@ -139,8 +139,6 @@ public class ExportService {
return AjaxResult.success(); return AjaxResult.success();
} }
@Async
public AjaxResult uipSerachExport(EnterpriseUipSearchBody pageDto) { public AjaxResult uipSerachExport(EnterpriseUipSearchBody pageDto) {
// 分页参数 // 分页参数
pageDto.setPageNum(1); pageDto.setPageNum(1);
...@@ -153,7 +151,7 @@ public class ExportService { ...@@ -153,7 +151,7 @@ public class ExportService {
throw new RuntimeException(); throw new RuntimeException();
} }
List<Object> list = CommonUtils.assertAsArray(MapUtils.getObject(map, "data", "")); List<Object> list = CommonUtils.assertAsArray(MapUtils.getObject(map, "data", ""));
int i = 0; int i = 1;
List<UrbanInvestmentExportVo> resultList = new ArrayList<>(); List<UrbanInvestmentExportVo> resultList = new ArrayList<>();
for (Object obj : list) { for (Object obj : list) {
UrbanInvestmentExportVo vo = new UrbanInvestmentExportVo(); UrbanInvestmentExportVo vo = new UrbanInvestmentExportVo();
...@@ -214,7 +212,6 @@ public class ExportService { ...@@ -214,7 +212,6 @@ public class ExportService {
return AjaxResult.success(); return AjaxResult.success();
} }
@Async
public AjaxResult export(UrbanInvestmentPlatformDto pageDto) { public AjaxResult export(UrbanInvestmentPlatformDto pageDto) {
// 分页参数 // 分页参数
pageDto.setPageNum(1); pageDto.setPageNum(1);
...@@ -228,7 +225,7 @@ public class ExportService { ...@@ -228,7 +225,7 @@ public class ExportService {
throw new RuntimeException(); throw new RuntimeException();
} }
List<Object> list = CommonUtils.assertAsArray(MapUtils.getObject(map, "data", "")); List<Object> list = CommonUtils.assertAsArray(MapUtils.getObject(map, "data", ""));
int i = 0; int i = 1;
List<UrbanInvestmentExportVo> resultList = new ArrayList<>(); List<UrbanInvestmentExportVo> resultList = new ArrayList<>();
for (Object obj : list) { for (Object obj : list) {
UrbanInvestmentExportVo vo = new UrbanInvestmentExportVo(); UrbanInvestmentExportVo vo = new UrbanInvestmentExportVo();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment