From 18b7b57b5a0de5adafd3a744eaef90a43789d142 Mon Sep 17 00:00:00 2001 From: fanwensheng Date: Sun, 16 Jan 2022 10:22:29 +0800 Subject: [PATCH] Update --- 04.系统编码/DAL/ComputeDAL.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/04.系统编码/DAL/ComputeDAL.cs b/04.系统编码/DAL/ComputeDAL.cs index 3f9b082..72aeb5a 100644 --- a/04.系统编码/DAL/ComputeDAL.cs +++ b/04.系统编码/DAL/ComputeDAL.cs @@ -10,8 +10,10 @@ namespace Pingchuan.BeijingSafeguard.DAL { if (typeCode == "user") return UserStatistics(fromTime, toTime, pageIndex, pageSize); - else + else if (typeCode == "org") return OrgStatistics(fromTime, toTime, pageIndex, pageSize); + else + return null; } public static Pagination UserStatistics(DateTime fromTime, DateTime toTime, int pageIndex, int pageSize)