Пример #1
0
 private void OnDelete(IDA0 dao)
 {
     string fromActinstId = this.wfResinst.FromActinstId;
     if (fromActinstId.IndexOf(',') > 0)
     {
         throw new CannotCallBackException("不能撤回多个分支到发送任务");
     }
     Actinst from = dao.Load(typeof(Actinst), fromActinstId) as Actinst;
     if (from == null)
     {
         throw new CannotCallBackException("不能找到前一步环节任务");
     }
     this.RefreshFrom(from);
     this.DeleteToInstance(from, this.wfResinst.Actinst, dao);
 }