예제 #1
0
 /// <summary>
 /// 保存用户权限
 /// </summary>
 /// <param name="roleid"></param>
 /// <param name="deptid"></param>
 /// <param name="actions"></param>
 /// <returns></returns>
 public int SavePersonPower(int employeeid, int deptid, string actions)
 {
     try
     {
         return(handler.SavePersonPower(employeeid, deptid, actions));
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception innerEx)
     {
         var exception = new LogisticException(BizErrorCode.SystemError, "保存用户权限出错", innerEx);
         logger.Log(Level.Error, exception, "Error occurred.");
         throw exception;
     }
 }