2023-2-16
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user