Commit 7766b0cb by 杨林龙

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

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