2023-10-24

This commit is contained in:
2023-10-24 14:36:11 +08:00
parent f8a2745bf7
commit 4cf5802d1f
@@ -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);
}