2023-04-26

This commit is contained in:
2023-04-26 15:31:09 +08:00
parent 787eb249be
commit f2ab2d5b73
10 changed files with 10 additions and 6 deletions
+1 -1
View File
@@ -32,7 +32,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='15' ";
WHERE ToMenu='15' and t.ProjectId = '"+this.CurrUser.LoginProjectId+"' ";
List<SqlParameter> listStr = new List<SqlParameter>();
if (!string.IsNullOrEmpty(txtFileName.Text))
@@ -49,6 +49,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);
+1 -1
View File
@@ -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='18' ";
WHERE ToMenu='18' and t.ProjectId = '"+this.CurrUser.LoginProjectId+"' ";
List<SqlParameter> listStr = new List<SqlParameter>();
if (!string.IsNullOrEmpty(txtFileName.Text))
@@ -49,6 +49,7 @@ namespace FineUIPro.Web.JDGL.SGBG
{
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);