修改稽查,忽略UserRole 角色表的稽查
continuous-integration/drone/push Build is passing Details

Test_IRC_Net8
hang 2025-07-01 16:21:38 +08:00
parent bc5b93b924
commit 6d9cfe5e45
1 changed files with 1 additions and 1 deletions

View File

@ -364,7 +364,7 @@ namespace IRaCIS.Core.Application.Service
var relationParentInspection = await _dataInspectionRepository.Where(t => t.GeneralId == objectRelationParentId && (t.CreateTime <= createTime || t.BatchId == batchId) && t.Id != id).OrderByDescending(x => x.CreateTime).Select(t => new { t.ObjectRelationParentId, t.CreateTime, t.JsonDetail, t.BatchId, t.ObjectRelationParentId2, t.ObjectRelationParentId3, t.EntityName, t.Id }).FirstOrDefaultAsync();
if (relationParentInspection != null)
if (relationParentInspection != null && relationParentInspection.EntityName!="UserRole")
{
Dictionary<string, object> jsonDic = (JsonConvert.DeserializeObject<Dictionary<string, object>>(relationParentInspection.JsonDetail)).IfNullThrowConvertException();