修改施工方案和关键事项
This commit is contained in:
@@ -66,6 +66,8 @@ namespace BLL
|
||||
newConstructSolution.Edition = constructSolution.Edition;
|
||||
newConstructSolution.SpecialSchemeTypeId = constructSolution.SpecialSchemeTypeId;
|
||||
newConstructSolution.Content= constructSolution.Content;
|
||||
newConstructSolution.CsUsers = constructSolution.CsUsers;
|
||||
|
||||
db.Solution_CQMSConstructSolution.InsertOnSubmit(newConstructSolution);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
@@ -75,20 +77,22 @@ namespace BLL
|
||||
/// <param name="constructSolution">方案审查实体</param>
|
||||
public static void UpdateConstructSolution(Model.Solution_CQMSConstructSolution constructSolution)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.Solution_CQMSConstructSolution newConstructSolution = db.Solution_CQMSConstructSolution.First(e => e.ConstructSolutionId == constructSolution.ConstructSolutionId);
|
||||
newConstructSolution.Code = constructSolution.Code;
|
||||
newConstructSolution.UnitId = constructSolution.UnitId;
|
||||
newConstructSolution.SolutionName = constructSolution.SolutionName;
|
||||
newConstructSolution.SolutionType = constructSolution.SolutionType;
|
||||
newConstructSolution.UnitWorkIds = constructSolution.UnitWorkIds;
|
||||
newConstructSolution.CNProfessionalCodes = constructSolution.CNProfessionalCodes;
|
||||
newConstructSolution.AttachUrl = constructSolution.AttachUrl;
|
||||
newConstructSolution.State = constructSolution.State;
|
||||
newConstructSolution.Edition = constructSolution.Edition;
|
||||
newConstructSolution.SpecialSchemeTypeId = constructSolution.SpecialSchemeTypeId;
|
||||
newConstructSolution.Content= constructSolution.Content;
|
||||
db.SubmitChanges();
|
||||
using (var db = new Model.SGGLDB(Funs.ConnString)) {
|
||||
Model.Solution_CQMSConstructSolution newConstructSolution = db.Solution_CQMSConstructSolution.First(e => e.ConstructSolutionId == constructSolution.ConstructSolutionId);
|
||||
newConstructSolution.Code = constructSolution.Code;
|
||||
newConstructSolution.UnitId = constructSolution.UnitId;
|
||||
newConstructSolution.SolutionName = constructSolution.SolutionName;
|
||||
newConstructSolution.SolutionType = constructSolution.SolutionType;
|
||||
newConstructSolution.UnitWorkIds = constructSolution.UnitWorkIds;
|
||||
newConstructSolution.CNProfessionalCodes = constructSolution.CNProfessionalCodes;
|
||||
newConstructSolution.AttachUrl = constructSolution.AttachUrl;
|
||||
newConstructSolution.State = constructSolution.State;
|
||||
newConstructSolution.Edition = constructSolution.Edition;
|
||||
newConstructSolution.SpecialSchemeTypeId = constructSolution.SpecialSchemeTypeId;
|
||||
newConstructSolution.Content= constructSolution.Content;
|
||||
newConstructSolution.CsUsers = constructSolution.CsUsers;
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -112,7 +116,11 @@ namespace BLL
|
||||
}
|
||||
else if (state.ToString() == BLL.Const.CQMSConstructSolution_Audit)
|
||||
{
|
||||
return "会签";
|
||||
return "一级审批";
|
||||
}
|
||||
else if (state.ToString() == BLL.Const.CQMSConstructSolution_Audit1)
|
||||
{
|
||||
return "二级审核";
|
||||
}
|
||||
else if (state.ToString() == BLL.Const.CQMSConstructSolution_Complete)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user