Browse Source

安全排查流程添加安全办

长阳分支中职
ndbs 1 month ago
parent
commit
50aebbd0f4
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/SafetyCheck/SafetyCheckService.cs

+ 5
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/SafetyCheck/SafetyCheckService.cs View File

@@ -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 + "' ");


Loading…
Cancel
Save