From 62ae3c559df885ffc1e33eefa3834bc5dac6c17a Mon Sep 17 00:00:00 2001 From: 10191 <506754232@qq.com> Date: Tue, 2 May 2023 11:32:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E4=B8=8A=E4=BC=A0=20?= =?UTF-8?q?=E5=88=86=E9=A1=B9=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SGGL/FineUIPro.Web/JDGL/JDCH/GsbmJdGlgd.aspx.cs | 2 +- SGGL/FineUIPro.Web/JDGL/JDCH/GsbmJdGlgdEdit.aspx.cs | 1 + SGGL/FineUIPro.Web/JDGL/JDCH/XmjdGlgd.aspx.cs | 2 +- SGGL/FineUIPro.Web/JDGL/JDCH/XmjdGlgdEdit.aspx.cs | 1 + SGGL/FineUIPro.Web/JDGL/JDJH/SgzjdjhEdit.aspx.cs | 2 ++ SGGL/FineUIPro.Web/JDGL/JDJH/Yjdjh.aspx.cs | 2 +- SGGL/FineUIPro.Web/JDGL/JDJH/YjdjhEdit.aspx.cs | 1 + SGGL/FineUIPro.Web/JDGL/JDJH/Zjdjh.aspx.cs | 2 +- SGGL/FineUIPro.Web/JDGL/JDJH/ZjdjhEdit.aspx.cs | 1 + SGGL/FineUIPro.Web/JDGL/JDJH/Zlzb.aspx.cs | 2 +- SGGL/FineUIPro.Web/JDGL/JDJH/ZlzbEdit.aspx.cs | 1 + SGGL/FineUIPro.Web/JDGL/SGBG/Sgzrb.aspx.cs | 2 +- SGGL/FineUIPro.Web/JDGL/SGBG/SgzrbEdit.aspx.cs | 1 + 13 files changed, 14 insertions(+), 6 deletions(-) diff --git a/SGGL/FineUIPro.Web/JDGL/JDCH/GsbmJdGlgd.aspx.cs b/SGGL/FineUIPro.Web/JDGL/JDCH/GsbmJdGlgd.aspx.cs index f327b2c9..956dd3ec 100644 --- a/SGGL/FineUIPro.Web/JDGL/JDCH/GsbmJdGlgd.aspx.cs +++ b/SGGL/FineUIPro.Web/JDGL/JDCH/GsbmJdGlgd.aspx.cs @@ -31,7 +31,7 @@ namespace FineUIPro.Web.JDGL.JDCH U.UserName AS UploadManName FROM dbo.Common_FileManager AS t LEFT JOIN dbo.Sys_User AS U ON U.UserId = t.UploadMan - WHERE ToMenu='12' "; + WHERE ToMenu='12' and t.ProjectId = '"+this.CurrUser.LoginProjectId+"' "; List listStr = new List(); if (!string.IsNullOrEmpty(txtFileName.Text)) diff --git a/SGGL/FineUIPro.Web/JDGL/JDCH/GsbmJdGlgdEdit.aspx.cs b/SGGL/FineUIPro.Web/JDGL/JDCH/GsbmJdGlgdEdit.aspx.cs index 8bd14732..362cee98 100644 --- a/SGGL/FineUIPro.Web/JDGL/JDCH/GsbmJdGlgdEdit.aspx.cs +++ b/SGGL/FineUIPro.Web/JDGL/JDCH/GsbmJdGlgdEdit.aspx.cs @@ -49,6 +49,7 @@ namespace FineUIPro.Web.JDGL.JDCH { string fileId = Request.Params["fileId"]; Model.Common_FileManager temp = new Model.Common_FileManager(); + temp.ProjectId = this.CurrUser.LoginProjectId; if (txtFileName.Text == string.Empty) { ShowNotify("名称不能为空!", MessageBoxIcon.Warning); diff --git a/SGGL/FineUIPro.Web/JDGL/JDCH/XmjdGlgd.aspx.cs b/SGGL/FineUIPro.Web/JDGL/JDCH/XmjdGlgd.aspx.cs index 8d5816fb..fd7e9754 100644 --- a/SGGL/FineUIPro.Web/JDGL/JDCH/XmjdGlgd.aspx.cs +++ b/SGGL/FineUIPro.Web/JDGL/JDCH/XmjdGlgd.aspx.cs @@ -31,7 +31,7 @@ namespace FineUIPro.Web.JDGL.JDCH U.UserName AS UploadManName FROM dbo.Common_FileManager AS t LEFT JOIN dbo.Sys_User AS U ON U.UserId = t.UploadMan - WHERE ToMenu='11' "; + WHERE ToMenu='11' and t.ProjectId = '"+this.CurrUser.LoginProjectId+"' "; List listStr = new List(); if (!string.IsNullOrEmpty(txtFileName.Text)) diff --git a/SGGL/FineUIPro.Web/JDGL/JDCH/XmjdGlgdEdit.aspx.cs b/SGGL/FineUIPro.Web/JDGL/JDCH/XmjdGlgdEdit.aspx.cs index 00fe8d0a..09c81bab 100644 --- a/SGGL/FineUIPro.Web/JDGL/JDCH/XmjdGlgdEdit.aspx.cs +++ b/SGGL/FineUIPro.Web/JDGL/JDCH/XmjdGlgdEdit.aspx.cs @@ -49,6 +49,7 @@ namespace FineUIPro.Web.JDGL.JDCH { string fileId = Request.Params["fileId"]; Model.Common_FileManager temp = new Model.Common_FileManager(); + temp.ProjectId = CurrUser.LoginProjectId; if (txtFileName.Text == string.Empty) { ShowNotify("名称不能为空!", MessageBoxIcon.Warning); diff --git a/SGGL/FineUIPro.Web/JDGL/JDJH/SgzjdjhEdit.aspx.cs b/SGGL/FineUIPro.Web/JDGL/JDJH/SgzjdjhEdit.aspx.cs index a0f24910..0f28a238 100644 --- a/SGGL/FineUIPro.Web/JDGL/JDJH/SgzjdjhEdit.aspx.cs +++ b/SGGL/FineUIPro.Web/JDGL/JDJH/SgzjdjhEdit.aspx.cs @@ -24,6 +24,7 @@ namespace FineUIPro.Web.JDGL.JDJH if (!string.IsNullOrEmpty(fileId)) { Model.Common_FileManager t = BLL.FileManagerService.GetFileById(fileId); + t.ProjectId=CurrUser.LoginProjectId; if (t != null) { this.txtFileName.Text = t.FileName; @@ -50,6 +51,7 @@ namespace FineUIPro.Web.JDGL.JDJH { string fileId = Request.Params["fileId"]; Model.Common_FileManager temp = new Model.Common_FileManager(); + temp.ProjectId = this.CurrUser.LoginProjectId; if (txtFileName.Text == string.Empty) { ShowNotify("名称不能为空!", MessageBoxIcon.Warning); diff --git a/SGGL/FineUIPro.Web/JDGL/JDJH/Yjdjh.aspx.cs b/SGGL/FineUIPro.Web/JDGL/JDJH/Yjdjh.aspx.cs index 36bbee54..1704868b 100644 --- a/SGGL/FineUIPro.Web/JDGL/JDJH/Yjdjh.aspx.cs +++ b/SGGL/FineUIPro.Web/JDGL/JDJH/Yjdjh.aspx.cs @@ -31,7 +31,7 @@ namespace FineUIPro.Web.JDGL.JDJH U.UserName AS UploadManName FROM dbo.Common_FileManager AS t LEFT JOIN dbo.Sys_User AS U ON U.UserId = t.UploadMan - WHERE ToMenu='16' "; + WHERE ToMenu='16' and t.ProjectId = '"+this.CurrUser.LoginProjectId+"' "; List listStr = new List(); if (!string.IsNullOrEmpty(txtFileName.Text)) diff --git a/SGGL/FineUIPro.Web/JDGL/JDJH/YjdjhEdit.aspx.cs b/SGGL/FineUIPro.Web/JDGL/JDJH/YjdjhEdit.aspx.cs index 07265b17..b6132e7c 100644 --- a/SGGL/FineUIPro.Web/JDGL/JDJH/YjdjhEdit.aspx.cs +++ b/SGGL/FineUIPro.Web/JDGL/JDJH/YjdjhEdit.aspx.cs @@ -50,6 +50,7 @@ namespace FineUIPro.Web.JDGL.JDJH { string fileId = Request.Params["fileId"]; Model.Common_FileManager temp = new Model.Common_FileManager(); + temp.ProjectId = CurrUser.ProjectId; if (txtFileName.Text == string.Empty) { ShowNotify("名称不能为空!", MessageBoxIcon.Warning); diff --git a/SGGL/FineUIPro.Web/JDGL/JDJH/Zjdjh.aspx.cs b/SGGL/FineUIPro.Web/JDGL/JDJH/Zjdjh.aspx.cs index 8e7a7791..b841bdef 100644 --- a/SGGL/FineUIPro.Web/JDGL/JDJH/Zjdjh.aspx.cs +++ b/SGGL/FineUIPro.Web/JDGL/JDJH/Zjdjh.aspx.cs @@ -31,7 +31,7 @@ namespace FineUIPro.Web.JDGL.JDJH U.UserName AS UploadManName FROM dbo.Common_FileManager AS t LEFT JOIN dbo.Sys_User AS U ON U.UserId = t.UploadMan - WHERE ToMenu='17' "; + WHERE ToMenu='17' and t.ProjectId = '"+this.CurrUser.LoginProjectId+"' "; List listStr = new List(); if (!string.IsNullOrEmpty(txtFileName.Text)) diff --git a/SGGL/FineUIPro.Web/JDGL/JDJH/ZjdjhEdit.aspx.cs b/SGGL/FineUIPro.Web/JDGL/JDJH/ZjdjhEdit.aspx.cs index f23aa1fc..ea323d21 100644 --- a/SGGL/FineUIPro.Web/JDGL/JDJH/ZjdjhEdit.aspx.cs +++ b/SGGL/FineUIPro.Web/JDGL/JDJH/ZjdjhEdit.aspx.cs @@ -49,6 +49,7 @@ namespace FineUIPro.Web.JDGL.JDJH { string fileId = Request.Params["fileId"]; Model.Common_FileManager temp = new Model.Common_FileManager(); + temp.ProjectId = CurrUser.LoginProjectId; if (txtFileName.Text == string.Empty) { ShowNotify("名称不能为空!", MessageBoxIcon.Warning); diff --git a/SGGL/FineUIPro.Web/JDGL/JDJH/Zlzb.aspx.cs b/SGGL/FineUIPro.Web/JDGL/JDJH/Zlzb.aspx.cs index 78f7a292..e2f3dd37 100644 --- a/SGGL/FineUIPro.Web/JDGL/JDJH/Zlzb.aspx.cs +++ b/SGGL/FineUIPro.Web/JDGL/JDJH/Zlzb.aspx.cs @@ -31,7 +31,7 @@ namespace FineUIPro.Web.JDGL.JDJH U.UserName AS UploadManName FROM dbo.Common_FileManager AS t LEFT JOIN dbo.Sys_User AS U ON U.UserId = t.UploadMan - WHERE ToMenu='14' "; + WHERE ToMenu='14' and t.ProjectId = '"+this.CurrUser.LoginProjectId+"' "; List listStr = new List(); if (!string.IsNullOrEmpty(txtFileName.Text)) diff --git a/SGGL/FineUIPro.Web/JDGL/JDJH/ZlzbEdit.aspx.cs b/SGGL/FineUIPro.Web/JDGL/JDJH/ZlzbEdit.aspx.cs index 4fc6fe28..66017b9e 100644 --- a/SGGL/FineUIPro.Web/JDGL/JDJH/ZlzbEdit.aspx.cs +++ b/SGGL/FineUIPro.Web/JDGL/JDJH/ZlzbEdit.aspx.cs @@ -49,6 +49,7 @@ namespace FineUIPro.Web.JDGL.JDJH { string fileId = Request.Params["fileId"]; Model.Common_FileManager temp = new Model.Common_FileManager(); + temp.ProjectId = CurrUser.LoginProjectId; if (txtFileName.Text == string.Empty) { ShowNotify("名称不能为空!", MessageBoxIcon.Warning); diff --git a/SGGL/FineUIPro.Web/JDGL/SGBG/Sgzrb.aspx.cs b/SGGL/FineUIPro.Web/JDGL/SGBG/Sgzrb.aspx.cs index b800f1e8..61ccea1c 100644 --- a/SGGL/FineUIPro.Web/JDGL/SGBG/Sgzrb.aspx.cs +++ b/SGGL/FineUIPro.Web/JDGL/SGBG/Sgzrb.aspx.cs @@ -31,7 +31,7 @@ namespace FineUIPro.Web.JDGL.SGBG U.UserName AS UploadManName FROM dbo.Common_FileManager AS t LEFT JOIN dbo.Sys_User AS U ON U.UserId = t.UploadMan - WHERE ToMenu='19' "; + WHERE ToMenu='19' and t.ProjectId = '"+this.CurrUser.LoginProjectId+"' "; List listStr = new List(); if (!string.IsNullOrEmpty(txtFileName.Text)) diff --git a/SGGL/FineUIPro.Web/JDGL/SGBG/SgzrbEdit.aspx.cs b/SGGL/FineUIPro.Web/JDGL/SGBG/SgzrbEdit.aspx.cs index dcb7eb96..00ca436f 100644 --- a/SGGL/FineUIPro.Web/JDGL/SGBG/SgzrbEdit.aspx.cs +++ b/SGGL/FineUIPro.Web/JDGL/SGBG/SgzrbEdit.aspx.cs @@ -49,6 +49,7 @@ namespace FineUIPro.Web.JDGL.SGBG { string fileId = Request.Params["fileId"]; Model.Common_FileManager temp = new Model.Common_FileManager(); + temp.ProjectId = CurrUser.LoginProjectId; if (txtFileName.Text == string.Empty) { ShowNotify("名称不能为空!", MessageBoxIcon.Warning);