修改一版

Uat_Study
he 2022-05-07 14:54:00 +08:00
parent e74edc585d
commit 227621db6b
3 changed files with 13 additions and 2 deletions

View File

@ -45,7 +45,7 @@ namespace IRaCIS.Core.Application.ViewModel
{
public string Identification { get; set; }
public Guid Id { get; set; }
}

View File

@ -122,7 +122,7 @@ namespace IRaCIS.Core.Application.Service
[HttpPost]
public async Task<List<FrontAuditConfig>> GetChildrenItem(GetChildrenItem item)
{
var list =await (from data in _repository.GetQueryable<FrontAuditConfig>().Where(x => x.Identification == item.Identification&&x.Identification!=string.Empty&&x.Identification!=null)
var list =await (from data in _repository.GetQueryable<FrontAuditConfig>().Where(x => x.Id == item.Id)
join childrenType in _repository.GetQueryable<FrontAuditConfig>() on data.Id equals childrenType.ParentId
select childrenType).OrderBy(x=>x.Sort).ToListAsync();
return list;

View File

@ -234,6 +234,17 @@ namespace IRaCIS.Core.Infra.EFCore.Common
});
}
//质疑
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(QCChallengeDialog)))
{
type = _userInfo.UserTypeShortName + "/" + type;
await InsertInspection<QCChallengeDialog>(item, type, x => new DataInspection()
{
GeneralId = x.Id,
});
}
//一致性核查
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(CheckChallengeDialog)))
{