修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
0642b9e4fb
commit
f802897b14
|
@ -1272,6 +1272,8 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
|||
|
||||
var entity = item.Entity as QCChallenge;
|
||||
|
||||
var challengeState= await _dbContext.SubjectVisit.Where(x => x.Id == entity.SubjectVisitId).Select(x => x.ChallengeState).FirstOrDefaultAsync();
|
||||
|
||||
await InsertInspection<QCChallenge>(entity, type, x => new InspectionConvertDTO()
|
||||
{
|
||||
SubjectVisitId = x.SubjectVisitId,
|
||||
|
@ -1281,7 +1283,8 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
|||
{
|
||||
|
||||
IsOverTime = entity.IsClosed ? entity.ClosedTime > entity.DeadlineTime : DateTime.Now > entity.DeadlineTime,
|
||||
});
|
||||
ChallengeState= challengeState,
|
||||
});
|
||||
}
|
||||
|
||||
// 质疑 对话
|
||||
|
|
Loading…
Reference in New Issue