報表查詢-月報表匯出: 修改條件判斷範圍
This commit is contained in:
parent
292a9e7322
commit
eea5486df1
@ -490,10 +490,11 @@ namespace SolarPower.Controllers
|
|||||||
monthmoney = dbody["monthmoney"] == null ? "0" : dbody["monthmoney"].ToString();
|
monthmoney = dbody["monthmoney"] == null ? "0" : dbody["monthmoney"].ToString();
|
||||||
monthmoneyone = (Convert.ToDouble(dbody["monthmoneyone"].ToString()) + Convert.ToDouble(monthmoneyone)).ToString();
|
monthmoneyone = (Convert.ToDouble(dbody["monthmoneyone"].ToString()) + Convert.ToDouble(monthmoneyone)).ToString();
|
||||||
monthGeneratingCapacity = Checknull(Math.Round(Convert.ToDouble(dbody["GeneratingCapacity"]), 2).ToString());
|
monthGeneratingCapacity = Checknull(Math.Round(Convert.ToDouble(dbody["GeneratingCapacity"]), 2).ToString());
|
||||||
}
|
|
||||||
|
|
||||||
double kwp = Convert.ToDouble(monthKWH) / Convert.ToDouble(monthGeneratingCapacity);
|
|
||||||
avgKWHKWP = Checknull(Math.Round(kwp, 2).ToString());
|
double kwp = Convert.ToDouble(monthKWH) / Convert.ToDouble(monthGeneratingCapacity);
|
||||||
|
avgKWHKWP = Checknull(Math.Round(kwp, 2).ToString());
|
||||||
|
}
|
||||||
|
|
||||||
if (dbody["SolarType"].ToString() == "1" && Formhead.Result.Data.ShowMoney == 1)//檢驗是否為租用
|
if (dbody["SolarType"].ToString() == "1" && Formhead.Result.Data.ShowMoney == 1)//檢驗是否為租用
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user