稽查修改

This commit is contained in:
2022-08-19 18:15:18 +08:00
parent 5b1d676bb9
commit 8c03058f5b
3 changed files with 18 additions and 3 deletions
@@ -148,7 +148,7 @@ namespace IRaCIS.Core.Application.Service.Inspection
.WhereIf(dto.ObjectRelationParentId != null && dto.BatchId != null && dto.GeneralId != null,
x =>
x.BatchId == dto.BatchId || //同一事务批次
x.ObjectRelationParentId == dto.ObjectRelationParentId || //不同对象 但是同一层级 适用于子对象
//x.ObjectRelationParentId == dto.ObjectRelationParentId || //不同对象 但是同一层级 适用于子对象
( ( x.GeneralId == dto.ObjectRelationParentId || //子稽查 查询父记录