From 0337f086a7a9fcd09d78f34240f89c79b36aa0fb Mon Sep 17 00:00:00 2001 From: fly-l <1420031550@qq.com> Date: Wed, 14 Sep 2022 23:26:49 +0800 Subject: [PATCH] =?UTF-8?q?20220914=20=E5=90=88=E5=90=8C=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E8=AF=84=E5=AE=A1=E5=B0=8F=E7=BB=84=E5=90=8D=E5=8D=95=E5=AE=A1?= =?UTF-8?q?=E6=89=B9=E8=A1=A8=E4=B8=8D=E6=98=BE=E7=A4=BA=E5=90=8D=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BidApproveUserReview_Sch1Service.cs | 12 +++++++++++- .../BiddingManagement/ApproveUserReviewEdit.aspx.cs | 2 ++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/SGGL/BLL/PHTGL/BiddingManagement/BidApproveUserReview_Sch1Service.cs b/SGGL/BLL/PHTGL/BiddingManagement/BidApproveUserReview_Sch1Service.cs index f25b1028..6882091f 100644 --- a/SGGL/BLL/PHTGL/BiddingManagement/BidApproveUserReview_Sch1Service.cs +++ b/SGGL/BLL/PHTGL/BiddingManagement/BidApproveUserReview_Sch1Service.cs @@ -24,7 +24,17 @@ namespace BLL Model.PHTGL_BidApproveUserReview_Sch1 table = new Model.PHTGL_BidApproveUserReview_Sch1(); table.ID = newtable.ID; table.ApproveUserReviewID = newtable.ApproveUserReviewID; - table.ApproveUserName = newtable.ApproveUserName; + var name= BLL.Person_PersonsService.GetPersonsNameById(newtable.ApproveUserName); + if (!string.IsNullOrEmpty(name)) + { + table.ApproveUserName = name; + } + else + { + table.ApproveUserName = newtable.ApproveUserName; + + + } table.ApproveUserSpecial = newtable.ApproveUserSpecial; table.ApproveUserUnit = newtable.ApproveUserUnit; table.Remarks = newtable.Remarks; diff --git a/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/ApproveUserReviewEdit.aspx.cs b/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/ApproveUserReviewEdit.aspx.cs index 95093167..e490f30c 100644 --- a/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/ApproveUserReviewEdit.aspx.cs +++ b/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/ApproveUserReviewEdit.aspx.cs @@ -4,6 +4,7 @@ using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; +using System.Web.DynamicData; namespace FineUIPro.Web.PHTGL.BiddingManagement { @@ -211,6 +212,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement BLL.PHTGL_BidApproveUserReview_Sch1Service.DeletePHTGL_BidApproveUserReview_Sch1ByReviewID(newtable.ApproveUserReviewID); + JArray EditorArr = Grid1.GetMergedData(); if (EditorArr.Count > 0) {