/// <summary>
 /// 新增公司员工
 /// 传入dbhelper 方法调用使用事务 避免部分同步成功
 /// </summary>
 /// <param name="employee"></param>
 /// <param name="userCenterDbHelper"></param>
 /// <param name="k8DbHelper"></param>
 /// <returns></returns>
 public bool AddEmployee(TAB_EMPLOYEEEntity employee, IDbHelper userCenterDbHelper, IDbHelper k8DbHelper)
 {
     try
     {
         TAB_EMPLOYEEManager employeeManager = new TAB_EMPLOYEEManager(k8DbHelper);
         // 序列产生的ID,BaseUser表中员工的信息为负数
         employee.UPDATETIME = DateTime.Now;
         //新增公司员工到K8库中  k8停掉以后 下面的方法注释掉
         employeeManager.Add(employee, false, false);
         //添加公司员工成功成功后,同步到中天的baseuser表中
         AfterUpdateEmployee(employee, userCenterDbHelper);
         return(true);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
        /// <summary>
        /// 新增公司员工
        /// </summary>
        /// <param name="employee"></param>
        /// <returns></returns>
        public bool AddEmployee(TAB_EMPLOYEEEntity employee)
        {
            try
            {
                BaseSequenceManager sequenceManager = new BaseSequenceManager();
                TAB_EMPLOYEEManager employeeManager = new TAB_EMPLOYEEManager();
                // 序列产生的ID,BaseUser表中员工的信息为负数
                employee.ID         = (-1) * int.Parse(sequenceManager.Increment("TAB_USER"));
                employee.UPDATETIME = DateTime.Now;
                //新增公司员工到K8库中
                employeeManager.Add(employee, false, false);

                //添加公司员工成功成功后,同步到中天的baseuser表中
                AfterUpdateEmployee(employee);
                return(true);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }