2023-10-24

This commit is contained in:
李鹏飞 2023-10-24 14:36:11 +08:00
parent f8a2745bf7
commit 4cf5802d1f
1 changed files with 4 additions and 3 deletions

View File

@ -564,15 +564,16 @@ namespace FineUIPro.Web.CQMS.Solution
} }
constructSolution.CompileMan = CurrUser.UserId; constructSolution.CompileMan = CurrUser.UserId;
constructSolution.Edition = Convert.ToInt32(txtEdition.Text); constructSolution.Edition = Convert.ToInt32(txtEdition.Text);
constructSolution.ConstructSolutionId = HFConstructSolutionId.Text;
if (!string.IsNullOrEmpty(ConstructSolutionId)) if (!string.IsNullOrEmpty(ConstructSolutionId))
{ {
constructSolution.ConstructSolutionId = HFConstructSolutionId.Text;
CQMSConstructSolutionService.UpdateConstructSolution(constructSolution); CQMSConstructSolutionService.UpdateConstructSolution(constructSolution);
} }
else else
{ {
constructSolution.ConstructSolutionId = SQLHelper.GetNewID(typeof(Model.Solution_CQMSConstructSolution)); //constructSolution.ConstructSolutionId = SQLHelper.GetNewID(typeof(Model.Solution_CQMSConstructSolution));
CQMSConstructSolutionService.AddConstructSolution(constructSolution); CQMSConstructSolutionService.AddConstructSolution(constructSolution);
} }