项目文档发布稽查 区分接口
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
c44c37b76b
commit
fb66e2c738
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue