提交集团数据穿透修改
This commit is contained in:
@@ -279,7 +279,7 @@ namespace BLL
|
||||
var q = (from x in db.Base_Unit
|
||||
join y in db.Project_ProjectUnit
|
||||
on x.UnitId equals y.UnitId
|
||||
where y.ProjectId == projectId && y.UnitType == unitType
|
||||
where y.ProjectId == projectId && (y.UnitType == unitType || string.IsNullOrEmpty(unitType))
|
||||
orderby x.UnitCode
|
||||
select x).ToList();
|
||||
return q;
|
||||
|
||||
Reference in New Issue
Block a user