修復報表不能發送問題
This commit is contained in:
parent
f64badab88
commit
c7ade647e7
@ -1696,14 +1696,15 @@ 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