提交代码
This commit is contained in:
@@ -663,6 +663,19 @@ namespace FineUIPro.Web.common
|
||||
result = Convert.ToDouble(ndtList.TotalRate);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
var hjglData = (from x in db.HJGL_FL_Data where x.ProjectId == ProjectId orderby x.CompileDate descending select x).FirstOrDefault();
|
||||
if (hjglData != null)
|
||||
{
|
||||
a = Funs.GetNewDecimalOrZero(hjglData.OneTimeFilmQualifiedAmount);
|
||||
b = Funs.GetNewDecimalOrZero(hjglData.OneTimeFilmAmount);
|
||||
if (a > 0 && b > 0)
|
||||
{
|
||||
result = Convert.ToDouble(Convert.ToDecimal(100.0) * b / a);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (b > 0)
|
||||
{
|
||||
hjallNumber = b.ToString();
|
||||
|
||||
Reference in New Issue
Block a user