20240822 获取单位工程
This commit is contained in:
@@ -2287,7 +2287,7 @@ namespace FineUIPro.Web.CQMS.DataBase
|
||||
private void WBSDataBind(string cNProfessionalCode)
|
||||
{
|
||||
this.tvWBS.Nodes.Clear();
|
||||
var installations = from x in Funs.DB.WBS_UnitWork where x.ProjectId == this.CurrUser.LoginProjectId orderby x.UnitWorkCode select x;
|
||||
var installations = from x in Funs.DB.WBS_UnitWork where x.ProjectId == this.CurrUser.LoginProjectId && (x.SuperUnitWork == null || x.SuperUnitWork == "0") orderby x.UnitWorkCode select x;
|
||||
foreach (var q in installations)
|
||||
{
|
||||
TreeNode newNode = new TreeNode();
|
||||
@@ -2362,7 +2362,7 @@ namespace FineUIPro.Web.CQMS.DataBase
|
||||
private void WBSDataBind2(string cNProfessionalCode)
|
||||
{
|
||||
this.tvWBS2.Nodes.Clear();
|
||||
var installations = from x in Funs.DB.WBS_UnitWork where x.ProjectId == this.CurrUser.LoginProjectId orderby x.UnitWorkCode select x;
|
||||
var installations = from x in Funs.DB.WBS_UnitWork where x.ProjectId == this.CurrUser.LoginProjectId && (x.SuperUnitWork == null || x.SuperUnitWork == "0") orderby x.UnitWorkCode select x;
|
||||
foreach (var q in installations)
|
||||
{
|
||||
TreeNode newNode = new TreeNode();
|
||||
|
||||
Reference in New Issue
Block a user