public static List <ApprovalComment> SelApprovalComment(ApprovalComment _param) { List <ApprovalComment> lTmpApprovalComment = DaoFactory.GetList <ApprovalComment>("Comm.SelApprovalComment", _param); lTmpApprovalComment.ForEach(approvComment => { approvComment.CreateUsNm = PersonRepository.SelPerson(new Person { OID = approvComment.CreateUs }).Name; }); return(lTmpApprovalComment); }
public static int InsApprovalComment(ApprovalComment _param) { return(DaoFactory.SetInsert("Comm.InsApprovalComment", _param)); }