@@ -1013,9 +1013,14 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
|||||||
|
|
||||||
var usertypeNames = await _dbContext.UserType.Where(x => needConfirmedUserTypeIdList.Contains(x.Id)).Select(x => x.UserTypeShortName).ToListAsync();
|
var usertypeNames = await _dbContext.UserType.Where(x => needConfirmedUserTypeIdList.Contains(x.Id)).Select(x => x.UserTypeShortName).ToListAsync();
|
||||||
var usertypeName = string.Join(",", usertypeNames);
|
var usertypeName = string.Join(",", usertypeNames);
|
||||||
|
var isDistinctionInterface = false;
|
||||||
|
if (_userInfo.RequestUrl == "TrialDocument/publishTrialDocument")
|
||||||
|
{
|
||||||
|
isDistinctionInterface = true;
|
||||||
|
}
|
||||||
await InsertInspection<TrialDocument>(entity, type, x => new InspectionConvertDTO()
|
await InsertInspection<TrialDocument>(entity, type, x => new InspectionConvertDTO()
|
||||||
{
|
{
|
||||||
IsDistinctionInterface = false,
|
IsDistinctionInterface = isDistinctionInterface,
|
||||||
ObjectRelationParentId = x.TrialId
|
ObjectRelationParentId = x.TrialId
|
||||||
},
|
},
|
||||||
new
|
new
|
||||||
|
|||||||
Reference in New Issue
Block a user