diff --git a/SGGL/FineUIPro.Web/CQMS/Solution/EditConstructSolution.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Solution/EditConstructSolution.aspx.cs index cda1dc55..453c55b1 100644 --- a/SGGL/FineUIPro.Web/CQMS/Solution/EditConstructSolution.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/Solution/EditConstructSolution.aspx.cs @@ -564,15 +564,16 @@ namespace FineUIPro.Web.CQMS.Solution } constructSolution.CompileMan = CurrUser.UserId; constructSolution.Edition = Convert.ToInt32(txtEdition.Text); + constructSolution.ConstructSolutionId = HFConstructSolutionId.Text; + if (!string.IsNullOrEmpty(ConstructSolutionId)) { - constructSolution.ConstructSolutionId = HFConstructSolutionId.Text; CQMSConstructSolutionService.UpdateConstructSolution(constructSolution); } else { - constructSolution.ConstructSolutionId = SQLHelper.GetNewID(typeof(Model.Solution_CQMSConstructSolution)); - CQMSConstructSolutionService.AddConstructSolution(constructSolution); + //constructSolution.ConstructSolutionId = SQLHelper.GetNewID(typeof(Model.Solution_CQMSConstructSolution)); + CQMSConstructSolutionService.AddConstructSolution(constructSolution); }