修改一版
parent
e74edc585d
commit
227621db6b
|
@ -45,7 +45,7 @@ namespace IRaCIS.Core.Application.ViewModel
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
public string Identification { get; set; }
|
public Guid Id { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -122,7 +122,7 @@ namespace IRaCIS.Core.Application.Service
|
||||||
[HttpPost]
|
[HttpPost]
|
||||||
public async Task<List<FrontAuditConfig>> GetChildrenItem(GetChildrenItem item)
|
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
|
join childrenType in _repository.GetQueryable<FrontAuditConfig>() on data.Id equals childrenType.ParentId
|
||||||
select childrenType).OrderBy(x=>x.Sort).ToListAsync();
|
select childrenType).OrderBy(x=>x.Sort).ToListAsync();
|
||||||
return list;
|
return list;
|
||||||
|
|
|
@ -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)))
|
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(CheckChallengeDialog)))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue