|
|
@@ -56,7 +56,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration |
|
|
|
strSql.Append(" AND ( t.CheckTime >= @startTime AND t.CheckTime <= @endTime ) "); |
|
|
|
} |
|
|
|
var user = LoginUserInfo.Get(); |
|
|
|
if (!user.isSystem) |
|
|
|
if (!user.isSystem) //超管/安全办 |
|
|
|
{ |
|
|
|
if (user.roleIds.Contains("9593aeff-a62b-45ea-bfd1-c9766669c1a8"))//分管领导 |
|
|
|
{ |
|
|
@@ -66,6 +66,10 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration |
|
|
|
{ |
|
|
|
strSql.Append(" AND t.Department = '" + user.departmentId + "'"); |
|
|
|
} |
|
|
|
else if (user.roleIds.Contains("a58a6f8f-0e50-4708-ae35-1fb85761a7b1")) |
|
|
|
{ |
|
|
|
strSql.Append(" AND t.Status = '3' "); |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
strSql.Append(" AND t.Name = '" + user.userId + "' "); |
|
|
|