20231025
This commit is contained in:
@@ -24,9 +24,13 @@ namespace BLL
|
||||
var getSeDinMonthReport = from x in db.SeDin_MonthReport
|
||||
where x.ProjectId == projectId
|
||||
select x;
|
||||
if (!string.IsNullOrEmpty(states))
|
||||
if (states == "1")
|
||||
{
|
||||
getSeDinMonthReport = getSeDinMonthReport.Where(x => x.States == states || (states == "0" && (x.States == null || x.States == "0")));
|
||||
getSeDinMonthReport = getSeDinMonthReport.Where(x => x.States == BLL.Const.State_3);
|
||||
}
|
||||
else
|
||||
{
|
||||
getSeDinMonthReport = getSeDinMonthReport.Where(x => x.States == null || x.States != BLL.Const.State_3);
|
||||
}
|
||||
|
||||
if (monthD.HasValue)
|
||||
|
||||
Reference in New Issue
Block a user