示例#1
0
 public override void Process(ApplyForLeaveRequest request)
 {
     if (request.Days > 3)
     {
         Console.WriteLine($"请假{request.Days}天,总经理{ApproverName}意见:同意!");
     }
 }
示例#2
0
 public override void Process(ApplyForLeaveRequest request)
 {
     if (request.Days <= 1)
     {
         Console.WriteLine($"请假{request.Days}天,组长{ApproverName}意见:同意!");
     }
     else
     {
         if (NexApprover != null)
         {
             NexApprover.Process(request);
         }
     }
 }
示例#3
0
 public abstract void Process(ApplyForLeaveRequest request);