diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/CdMajor/CdMajorService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/CdMajor/CdMajorService.cs index b8a427b1d..7f530e7ed 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/CdMajor/CdMajorService.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/CdMajor/CdMajorService.cs @@ -413,14 +413,16 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration } catch (Exception ex) { - if (ex is ExceptionEx) - { - throw; - } - else - { - throw ExceptionEx.ThrowServiceException(ex); - } + DataTable dtnull=new DataTable("v_total"); + dtnull.Columns.Add(new DataColumn("zy_nums")); + dtnull.Columns.Add(new DataColumn("bj_nums")); + dtnull.Columns.Add(new DataColumn("stu_nums")); + dtnull.Columns.Add(new DataColumn("tea_nums")); + dtnull.Columns.Add(new DataColumn("js_nums")); + dtnull.Columns.Add(new DataColumn("kc_nums")); + dtnull.NewRow(); + dtnull.Rows.Add(0, 0, 0, 0, 0, 0); + return dtnull; } } @@ -432,14 +434,12 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration } catch (Exception ex) { - if (ex is ExceptionEx) - { - throw; - } - else - { - throw ExceptionEx.ThrowServiceException(ex); - } + DataTable dtnull = new DataTable("v_zy_stu_nums"); + dtnull.Columns.Add(new DataColumn("name")); + dtnull.Columns.Add(new DataColumn("value")); + dtnull.NewRow(); + dtnull.Rows.Add(0, 0); + return dtnull; } }