diff --git a/04.系统编码/App/Views/Register/Index.cshtml b/04.系统编码/App/Views/Register/Index.cshtml index 4d38d98..41bb64f 100644 --- a/04.系统编码/App/Views/Register/Index.cshtml +++ b/04.系统编码/App/Views/Register/Index.cshtml @@ -25,7 +25,7 @@
- +
diff --git a/04.系统编码/DAL/ComputeDAL.cs b/04.系统编码/DAL/ComputeDAL.cs index 76eee3e..838d1ec 100644 --- a/04.系统编码/DAL/ComputeDAL.cs +++ b/04.系统编码/DAL/ComputeDAL.cs @@ -9,7 +9,7 @@ namespace Pingchuan.BeijingSafeguard.DAL public static Pagination Statistics(DateTime fromTime, DateTime toTime, int pageIndex, int pageSize) { string sql = $@"select temp.*, u.real_name user_name, o.id org_id, o.name org_name from ( - select user_id, count(*) total_count, max(create_time) last_compute_time from computes + select user_id, count(*) compute_count, max(create_time) last_compute_time from computes where create_time >= @0 and create_time < @1 group by user_id) temp left join users u on u.id = temp.user_id