コード例 #1
0
 /// <summary>
 /// 修改
 /// </summary>
 public FineOffice.Modules.OA_FlowProcess Update(FineOffice.Modules.OA_FlowProcess model)
 {
     dal.Initialization();
     FineOffice.Entity.OA_FlowProcess entity = new Entity.OA_FlowProcess
     {
         ID = model.ID,
         ProcessDepartment = model.ProcessDepartment,
         ProcessRole       = model.ProcessRole,
         FlowID            = model.FlowID,
         Feedback          = model.Feedback,
         Remind            = model.Remind,
         AllowGoBack       = model.AllowGoBack,
         TimeLimit         = model.TimeLimit,
         AllowRefuse       = model.AllowRefuse,
         AllowSync         = model.AllowSync,
         IsEnd             = model.IsEnd,
         IsStart           = model.IsStart,
         MessageTo         = model.MessageTo,
         Next             = model.Next,
         Version          = model.Version,
         ProcessName      = model.ProcessName,
         ProcessPersonnel = model.ProcessPersonnel,
         Serial           = model.Serial,
         TopDefault       = model.TopDefault,
         MailTo           = model.MailTo,
         Remark           = model.Remark
     };
     dal.Update(entity);
     dal.Dispose();
     return(null);
 }
コード例 #2
0
 public void Delete(Modules.OA_FlowProcess model)
 {
     dal.Initialization();
     FineOffice.Entity.OA_FlowProcess entity = new Entity.OA_FlowProcess
     {
         ID = model.ID,
     };
     dal.Delete(entity);
     dal.Dispose();
 }