/// <summary>
        /// 添加员工合同申请表
        /// </summary>
        /// <param name="employeeContractApply"></param>
        public void AddEmpContractApply(EmployeeContractApply employeeContractApply)
        {
            if (IsEmployeeContractApplyByEmpId(employeeContractApply.EmpID))//判断是否添加过
            {
                employeeContractApply.RowID       = Guid.NewGuid().ToString();
                employeeContractApply.FlagDeleted = 0;
                employeeContractApply.FlagAudit   = 0;
                employeeContractApply.FlagDone    = 0;
                employeeContractApply.FlagStatus  = "有效";

                EmployeeContractApplyRepository.Add(employeeContractApply);

                EmployeeContractApplyRepository.UnitOfWork.Commit();
            }
            else
            {
                throw new BusinessException("已经申请过员工合同流程");
            }
        }
 public void SetEmpContractApply(EmployeeContractApply EmployeeContractApply)
 {
     EmployeeContractApplyRepository.SetEmployeeContractApply(EmployeeContractApply);
 }
 public void AddEmpContractApply(EmployeeContractApply employeeContractApply)
 {
     EmpContractService.AddEmpContractApply(employeeContractApply);
 }