修復bug 綜合報表 改 租金為浮點數計算
This commit is contained in:
parent
e5e2f7880a
commit
cafbb586e8
@ -1351,14 +1351,14 @@ namespace SolarPower.Controllers
|
||||
PowerstationId = form.PowerstationId,
|
||||
SiteDB = form.PowerstationDB
|
||||
};
|
||||
var LeaseRate = 0;
|
||||
Double LeaseRate = 0;
|
||||
if(form.PowerstationType == 1)
|
||||
{
|
||||
var Hire = GetHireInfo(psIdAndSiteDB);
|
||||
|
||||
foreach (var a in Hire.Result.Data)
|
||||
{
|
||||
LeaseRate += Convert.ToInt32(a.LeaseRate);
|
||||
LeaseRate += Convert.ToDouble(a.LeaseRate);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user