[FE API] 修改各盤總盤報表 匯出功能
This commit is contained in:
parent
18746d5a42
commit
25559996ab
@ -841,6 +841,7 @@ namespace FrontendWebApi.ApiControllers
|
|||||||
bool total_flag = false;
|
bool total_flag = false;
|
||||||
if (input.Mode == HydroMeterInputSearchMode.Custom)
|
if (input.Mode == HydroMeterInputSearchMode.Custom)
|
||||||
{
|
{
|
||||||
|
input.Mode = HydroMeterInputSearchMode.All;
|
||||||
result_for_sum = ElectricListEachTotal(input).Result.Value.Data.ToList();
|
result_for_sum = ElectricListEachTotal(input).Result.Value.Data.ToList();
|
||||||
flag = false;
|
flag = false;
|
||||||
total_flag = true;
|
total_flag = true;
|
||||||
@ -1038,11 +1039,16 @@ namespace FrontendWebApi.ApiControllers
|
|||||||
{
|
{
|
||||||
flag = false;
|
flag = false;
|
||||||
}
|
}
|
||||||
|
if (r.device_full_name == "綜合大樓總盤")
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
string buildingName = r.building_name;
|
string buildingName = r.building_name;
|
||||||
string floorTag = r.floor_tag;
|
string floorTag = r.floor_tag;
|
||||||
string deviceFullName = r.device_full_name;
|
string deviceFullName = r.device_full_name;
|
||||||
columnIndex = 0;
|
columnIndex = 0;
|
||||||
|
|
||||||
|
// 這兩個盤不納入該棟總計
|
||||||
if (last_device == "電機館分盤" || last_device == "薄膜分盤")
|
if (last_device == "電機館分盤" || last_device == "薄膜分盤")
|
||||||
{
|
{
|
||||||
flag = false;
|
flag = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user