Exemplo n.º 1
0
 public int InsertRole(string roleName, string remark, int deptId, string pid = "", string cid = "")
 {
     try
     {
         return(handler.InsertRole(roleName, remark, deptId, pid, cid));
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception innerEx)
     {
         var exception = new LogisticException(BizErrorCode.SystemError, "插入角色信息出错", innerEx);
         logger.Log(Level.Error, exception, "Error occurred in inserting into table of 'HrRoles'.");
         throw exception;
     }
 }