From d123dc5c9fd037024cbf6b01eb6aab75cb5515cb Mon Sep 17 00:00:00 2001 From: gaofei1985 <181547018@qq.com> Date: Fri, 26 Dec 2025 10:59:26 +0800 Subject: [PATCH] 1 --- .../ProjectHighlightsSitePic.aspx.cs | 14 +++++++------- .../ProjectHighlightsSitePicEdit.aspx.cs | 4 ++-- .../ProjectHighlightsSitePicReport.aspx.cs | 14 +++++++------- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/SGGL/FineUIPro.Web/CQMS/ProjectHighlightsSite/ProjectHighlightsSitePic.aspx.cs b/SGGL/FineUIPro.Web/CQMS/ProjectHighlightsSite/ProjectHighlightsSitePic.aspx.cs index e927f75f..51c19a21 100644 --- a/SGGL/FineUIPro.Web/CQMS/ProjectHighlightsSite/ProjectHighlightsSitePic.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/ProjectHighlightsSite/ProjectHighlightsSitePic.aspx.cs @@ -88,12 +88,12 @@ namespace FineUIPro.Web.CQMS.ProjectHighlightsSite string url = string.Empty; if (picUrl != null && !string.IsNullOrWhiteSpace(picUrl.ToString())) { - string httpUrl = string.Empty; - var sysSet6 = (from x in Funs.DB.Sys_Set where x.SetName == "程序访问地址" select x).ToList().FirstOrDefault(); - if (sysSet6 != null) - { - httpUrl = sysSet6.SetValue; - } + string httpUrl = Funs.SGGLUrl; + //var sysSet6 = (from x in Funs.DB.Sys_Set where x.SetName == "程序访问地址" select x).ToList().FirstOrDefault(); + //if (sysSet6 != null) + //{ + // httpUrl = sysSet6.SetValue; + //} url = BLL.UploadAttachmentService.ShowImage(httpUrl, picUrl.ToString()); } return url; @@ -268,7 +268,7 @@ namespace FineUIPro.Web.CQMS.ProjectHighlightsSite { return; } - var buttonList = BLL.CommonService.GetAllButtonList(this.ProjectId, this.CurrUser.UserId, BLL.Const.ProjectHighlightsSitePicMenuId); + var buttonList = BLL.CommonService.GetAllButtonList(this.ProjectId, this.CurrUser.PersonId, BLL.Const.ProjectHighlightsSitePicMenuId); if (buttonList.Count() > 0) { //if (buttonList.Contains(BLL.Const.BtnAdd)) diff --git a/SGGL/FineUIPro.Web/CQMS/ProjectHighlightsSite/ProjectHighlightsSitePicEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/ProjectHighlightsSite/ProjectHighlightsSitePicEdit.aspx.cs index 4149d05e..adb396a8 100644 --- a/SGGL/FineUIPro.Web/CQMS/ProjectHighlightsSite/ProjectHighlightsSitePicEdit.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/ProjectHighlightsSite/ProjectHighlightsSitePicEdit.aspx.cs @@ -68,8 +68,8 @@ namespace FineUIPro.Web.CQMS.ProjectHighlightsSite Model.CQMS_ProjectHighlightsSitePic model = new Model.CQMS_ProjectHighlightsSitePic(); model.Id = this.Id; model.Resume = this.txtResume.Text.Trim(); - model.CompileMan = this.CurrUser.UserId; - model.CompileManName = this.CurrUser.UserName; + model.CompileMan = this.CurrUser.PersonId; + model.CompileManName = this.CurrUser.PersonName; model.CompileDate = DateTime.Now; var attachFile = Funs.DB.AttachFile.FirstOrDefault(x => x.ToKeyId == this.Id); if (attachFile != null) diff --git a/SGGL/FineUIPro.Web/CQMS/ProjectHighlightsSite/ProjectHighlightsSitePicReport.aspx.cs b/SGGL/FineUIPro.Web/CQMS/ProjectHighlightsSite/ProjectHighlightsSitePicReport.aspx.cs index 02f831a6..8c1714de 100644 --- a/SGGL/FineUIPro.Web/CQMS/ProjectHighlightsSite/ProjectHighlightsSitePicReport.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/ProjectHighlightsSite/ProjectHighlightsSitePicReport.aspx.cs @@ -115,12 +115,12 @@ namespace FineUIPro.Web.CQMS.ProjectHighlightsSite string url = string.Empty; if (picUrl != null && !string.IsNullOrWhiteSpace(picUrl.ToString())) { - string httpUrl = string.Empty; - var sysSet6 = (from x in Funs.DB.Sys_Set where x.SetName == "程序访问地址" select x).ToList().FirstOrDefault(); - if (sysSet6 != null) - { - httpUrl = sysSet6.SetValue; - } + string httpUrl = Funs.SGGLUrl; + //var sysSet6 = (from x in Funs.DB.Sys_Set where x.SetName == "程序访问地址" select x).ToList().FirstOrDefault(); + //if (sysSet6 != null) + //{ + // httpUrl = sysSet6.SetValue; + //} url = BLL.UploadAttachmentService.ShowImage(httpUrl, picUrl.ToString()); } return url; @@ -333,7 +333,7 @@ namespace FineUIPro.Web.CQMS.ProjectHighlightsSite { return; } - var buttonList = BLL.CommonService.GetAllButtonList(null, this.CurrUser.UserId, BLL.Const.ProjectHighlightsSitePicReportMenuId); + var buttonList = BLL.CommonService.GetAllButtonList(null, this.CurrUser.PersonId, BLL.Const.ProjectHighlightsSitePicReportMenuId); if (buttonList.Count() > 0) { //if (buttonList.Contains(BLL.Const.BtnAdd))