Commit 7766b0cb by 杨林龙

新E盾 1.30 版本开发 修改油耗报表导出

1 parent 5cefcb0f
...@@ -25,6 +25,9 @@ public class OilService { ...@@ -25,6 +25,9 @@ public class OilService {
@Autowired @Autowired
private ElectricOilMileageMapper electricOilMileageMapper; private ElectricOilMileageMapper electricOilMileageMapper;
@Autowired
private OrganizationApiService organizationApiService;
public List<OilReportExport> search(OilSearch search) { public List<OilReportExport> search(OilSearch search) {
// 没有年月查询消息时 默认显示当前年月 // 没有年月查询消息时 默认显示当前年月
if (StringUtils.isNullOrEmpty(search.getMonth()) && StringUtils.isNullOrEmpty(search.getYear())) { if (StringUtils.isNullOrEmpty(search.getMonth()) && StringUtils.isNullOrEmpty(search.getYear())) {
...@@ -196,6 +199,7 @@ public class OilService { ...@@ -196,6 +199,7 @@ public class OilService {
DecimalFormat df = new DecimalFormat("0.000"); DecimalFormat df = new DecimalFormat("0.000");
oilReportExport.setSummation(df.format(summation)); oilReportExport.setSummation(df.format(summation));
} }
organizationApiService.drawReportOrganization(oilReportExportList);
return oilReportExportList; return oilReportExportList;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!