public TzProjectProposalView() { TzProjectProposal = new Epm_TzProjectProposal(); TzSiteSurvey = new Epm_TzSiteSurvey(); TzInitialTalk = new Epm_TzInitialTalk(); TzFormTalkFile = new Epm_TzFormTalkFile(); TzTalkRecord = new Epm_TzTalkRecord(); TzLandTalk = new Epm_TzLandTalk(); TzProjectApproval = new Epm_TzProjectApproval(); TzSecondTakl = new Epm_TzSecondTakl(); TzSecondTalkAudit = new Epm_TzSecondTalkAudit(); }
///<summary> ///修改: ///</summary> /// <param name="model">要修改的model</param> /// <returns>受影响的行数</returns> public Result <int> UpdateTzProjectApproval(Epm_TzProjectApproval model) { Result <int> result = new Result <int>(); try { var rows = DataOperateBusiness <Epm_TzProjectApproval> .Get().Update(model); result.Data = rows; result.Flag = EResultFlag.Success; //WriteLog(AdminModule.TzProjectApproval.GetText(), SystemRight.Modify.GetText(), "修改: " + model.Id); } catch (Exception ex) { result.Data = -1; result.Flag = EResultFlag.Failure; result.Exception = new ExceptionEx(ex, "UpdateTzProjectApproval"); } return(result); }