Browse Source

Update

master
fanwensheng 3 years ago
parent
commit
49d82a9e52
  1. 2
      04.系统编码/App/Views/Register/Index.cshtml
  2. 2
      04.系统编码/DAL/ComputeDAL.cs

2
04.系统编码/App/Views/Register/Index.cshtml

@ -25,7 +25,7 @@
</div>
<div class="register-block register-password">
<span class="icon"><img src="~/Content/images/login-password.png" /></span>
<input type="password" id="password" placeholder="密码长度至少为6位" />
<input type="password" id="password" placeholder="请输入至少6位长度密码" />
<div class="password-toggle"></div>
</div>

2
04.系统编码/DAL/ComputeDAL.cs

@ -9,7 +9,7 @@ namespace Pingchuan.BeijingSafeguard.DAL
public static Pagination<Statistic> 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

Loading…
Cancel
Save