增加数据穿透界面

This commit is contained in:
2023-06-07 18:55:33 +08:00
parent e66750312e
commit b592ccfe5e
358 changed files with 30974 additions and 2388 deletions
@@ -24,6 +24,7 @@ namespace FineUIPro.Web.DataShow
ddlPageSize.SelectedValue = Grid1.PageSize.ToString();
// 绑定表格t
BindGrid();
this.Panel1.Title = "环保数据(" + BLL.UnitService.GetUnitNameByUnitId(BLL.Const.UnitId_CWCEC) + "";
}
}
@@ -40,8 +41,8 @@ namespace FineUIPro.Web.DataShow
,(SELECT ThisYearValue FROM Environmental_ChemicalReportItem WHERE SortIndex='01'
AND ChemicalReportId=Report.ChemicalReportId) AS TotalEnergyConsumption
,0 AS IncomeComprehensiveEnergyConsumption
,(SELECT ThisYearValue FROM Environmental_ChemicalReportItem WHERE SortIndex='25'
AND ChemicalReportId=Report.ChemicalReportId) AS TotalEnergyConsumption
,(SELECT ThisYearValue FROM Environmental_ChemicalReportItem WHERE SortIndex='70'
AND ChemicalReportId=Report.ChemicalReportId) AS CO2
FROM Environmental_ChemicalReport AS Report";
}
else
@@ -51,8 +52,8 @@ namespace FineUIPro.Web.DataShow
AND ArchitectureReportId=Report.ArchitectureReportId) AS TotalEnergyConsumption
,(SELECT ThisYearValue FROM Environmental_ArchitectureReportItem WHERE SortIndex='15'
AND ArchitectureReportId=Report.ArchitectureReportId) AS IncomeComprehensiveEnergyConsumption
,(SELECT ThisYearValue FROM Environmental_ArchitectureReportItem WHERE SortIndex='24'
AND ArchitectureReportId=Report.ArchitectureReportId) AS TotalEnergyConsumption
,(SELECT ThisYearValue FROM Environmental_ArchitectureReportItem WHERE SortIndex='38'
AND ArchitectureReportId=Report.ArchitectureReportId) AS CO2
FROM Environmental_ArchitectureReport AS Report
WHERE 1=1 ";
}