20231025
This commit is contained in:
@@ -24,9 +24,13 @@ namespace BLL
|
|||||||
var getSeDinMonthReport = from x in db.SeDin_MonthReport
|
var getSeDinMonthReport = from x in db.SeDin_MonthReport
|
||||||
where x.ProjectId == projectId
|
where x.ProjectId == projectId
|
||||||
select x;
|
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)
|
if (monthD.HasValue)
|
||||||
|
|||||||
Reference in New Issue
Block a user