2023-2-16

This commit is contained in:
2023-03-16 19:28:52 +08:00
parent 30e0673db6
commit ba4e383388
42 changed files with 1442 additions and 1766 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ namespace FineUIPro.Web.CQMS.ZLCH
U.UserName AS UploadManName
FROM dbo.Common_FileManager AS t
LEFT JOIN dbo.Sys_User AS U ON U.UserId = t.UploadMan
WHERE ToMenu='32' ";
WHERE ToMenu='32' and t.projectId='" + CurrUser.LoginProjectId+"' ";
List<SqlParameter> listStr = new List<SqlParameter>();
if (!string.IsNullOrEmpty(txtFileName.Text))
@@ -62,6 +62,7 @@ namespace FineUIPro.Web.CQMS.ZLCH
{
temp.UploadMan = this.drpUploadMan.SelectedValue;
}
temp.ProjectId = this.CurrUser.LoginProjectId;
temp.UploadDate = Funs.GetNewDateTime(this.txtUploadDate.Text.Trim());
temp.ToMenu = "32";
temp.Remark = this.txtRemark.Text.Trim();
+1 -1
View File
@@ -31,7 +31,7 @@ namespace FineUIPro.Web.CQMS.ZLCH
U.UserName AS UploadManName
FROM dbo.Common_FileManager AS t
LEFT JOIN dbo.Sys_User AS U ON U.UserId = t.UploadMan
WHERE ToMenu='31' ";
WHERE ToMenu='31' and t.projectId='" + CurrUser.LoginProjectId+"' ";
List<SqlParameter> listStr = new List<SqlParameter>();
if (!string.IsNullOrEmpty(txtFileName.Text))
@@ -62,6 +62,7 @@ namespace FineUIPro.Web.CQMS.ZLCH
{
temp.UploadMan = this.drpUploadMan.SelectedValue;
}
temp.ProjectId = this.CurrUser.LoginProjectId;
temp.UploadDate = Funs.GetNewDateTime(this.txtUploadDate.Text.Trim());
temp.ToMenu = "31";
temp.Remark = this.txtRemark.Text.Trim();
+1 -1
View File
@@ -31,7 +31,7 @@ namespace FineUIPro.Web.CQMS.ZLCH
U.UserName AS UploadManName
FROM dbo.Common_FileManager AS t
LEFT JOIN dbo.Sys_User AS U ON U.UserId = t.UploadMan
WHERE ToMenu='33' ";
WHERE ToMenu='33' and t.projectId='" + CurrUser.LoginProjectId+"' ";
List<SqlParameter> listStr = new List<SqlParameter>();
if (!string.IsNullOrEmpty(txtFileName.Text))
@@ -49,6 +49,7 @@ namespace FineUIPro.Web.CQMS.ZLCH
{
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);