限制单位

This commit is contained in:
2023-04-06 15:58:37 +08:00
parent 04a09dbbc6
commit 787eb249be
21 changed files with 111 additions and 104 deletions
+1 -1
View File
@@ -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='13' ";
WHERE ToMenu='13' and t.ProjectId ='" + this.CurrUser.LoginProjectId+"'";
List<SqlParameter> listStr = new List<SqlParameter>();
if (!string.IsNullOrEmpty(txtFileName.Text))
@@ -64,6 +64,7 @@ namespace FineUIPro.Web.JDGL.JDJH
temp.UploadMan = this.drpUploadMan.SelectedValue;
}
temp.UploadDate = Funs.GetNewDateTime(this.txtUploadDate.Text.Trim());
temp.ProjectId = this.CurrUser.LoginProjectId;
temp.ToMenu = "13";
temp.Remark = this.txtRemark.Text.Trim();
if (!string.IsNullOrEmpty(fileId))