แก้คิวรี่เครื่องราช
This commit is contained in:
parent
862408b289
commit
9379e1b421
2 changed files with 4 additions and 5 deletions
|
|
@ -59,7 +59,6 @@ namespace BMA.EHR.Application.Repositories.Reports
|
|||
var monthDiff = 0;
|
||||
var dayDiff = 0;
|
||||
var sb = new StringBuilder();
|
||||
var zxc = new List<dynamic>();
|
||||
foreach (var career in careers)
|
||||
{
|
||||
if (career.DurationEnd < career.DurationStart)
|
||||
|
|
@ -68,7 +67,6 @@ namespace BMA.EHR.Application.Repositories.Reports
|
|||
yearDiff = yearDiff + rangeObj.years;
|
||||
monthDiff = monthDiff + rangeObj.months;
|
||||
dayDiff = dayDiff + rangeObj.days;
|
||||
zxc.Add(rangeObj);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -76,7 +74,6 @@ namespace BMA.EHR.Application.Repositories.Reports
|
|||
yearDiff = yearDiff + rangeObj.years;
|
||||
monthDiff = monthDiff + rangeObj.months;
|
||||
dayDiff = dayDiff + rangeObj.days;
|
||||
zxc.Add(rangeObj);
|
||||
}
|
||||
if (dayDiff >= 30)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue