/// <summary> /// 给下一步操作人发邮件 /// </summary> public void SendPhoneToNextOperator(int nextOperator, LeaveRequestItem item, int nowAccount) { ConfirmMessage confirmmessage = new ConfirmMessage(); confirmmessage.FinishPhoneMessageOperationByAssessorID( new PhoneMessageType(PhoneMessageEnumType.LeaveRequest, item.LeaveRequestItemID), nowAccount); Account phoneToAccount = _AccountBll.GetAccountById(nextOperator); confirmmessage.SendConfirmMessage(phoneToAccount, new PhoneMessageType(PhoneMessageEnumType.LeaveRequest, item.LeaveRequestItemID)); }
/// <summary> /// 给下一步操作人发邮件 /// </summary> public void SendPhoneToNextOperator(Account nextOperator, Account nowAccount) { ConfirmMessage confirmmessage = new ConfirmMessage(); confirmmessage.FinishPhoneMessageOperationByAssessorID( new PhoneMessageType(PhoneMessageEnumType.OverWork, _OverWorkItem.ItemID), nowAccount.Id); if (nextOperator != null) { Account phoneToAccount = _AccountBll.GetAccountById(nextOperator.Id); confirmmessage.SendConfirmMessage(phoneToAccount, new PhoneMessageType(PhoneMessageEnumType.OverWork, _OverWorkItem.ItemID)); } }