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,14 +564,15 @@ 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));
//constructSolution.ConstructSolutionId = SQLHelper.GetNewID(typeof(Model.Solution_CQMSConstructSolution));
CQMSConstructSolutionService.AddConstructSolution(constructSolution);
}