Uat_Study
he 2022-10-10 13:54:49 +08:00
parent 713392e2c3
commit 1e94964378
3 changed files with 10 additions and 4 deletions

View File

@ -2334,6 +2334,12 @@ namespace IRaCIS.Application.Services
await VerifyTaskIsSign(inDto.VisitTaskId); await VerifyTaskIsSign(inDto.VisitTaskId);
// 修改编号
//var taskinfo
await this.SubmitTaskChangeState(inDto.VisitTaskId); await this.SubmitTaskChangeState(inDto.VisitTaskId);
return ResponseOutput.Ok(true); return ResponseOutput.Ok(true);
} }

View File

@ -756,7 +756,7 @@ namespace IRaCIS.Core.Application.Contracts
public class SetTrialReadingCriterionInDto public class SetTrialReadingCriterionInDto
{ {
public Guid TrialCriterionId { get; set; } public Guid TrialReadingCriterionId { get; set; }
/// <summary> /// <summary>
/// 表单类型 /// 表单类型

View File

@ -294,8 +294,8 @@ namespace IRaCIS.Core.Application
{ {
if (inDto.IsSignSave) if (inDto.IsSignSave)
{ {
var criterionFormType = await _readingQuestionCriterionTrialRepository.Where(x => x.Id == inDto.TrialCriterionId).Select(x => x.FormType).FirstOrDefaultAsync(); var criterionFormType = await _readingQuestionCriterionTrialRepository.Where(x => x.Id == inDto.TrialReadingCriterionId).Select(x => x.FormType).FirstOrDefaultAsync();
var count = _readingQuestionTrialRepository.Where(x => x.ReadingQuestionCriterionTrialId == inDto.TrialCriterionId) var count = _readingQuestionTrialRepository.Where(x => x.ReadingQuestionCriterionTrialId == inDto.TrialReadingCriterionId)
.WhereIf(criterionFormType == FormType.SinglePage, x => x.ReadingCriterionPageId == null) .WhereIf(criterionFormType == FormType.SinglePage, x => x.ReadingCriterionPageId == null)
.WhereIf(criterionFormType == FormType.MultiplePage, x => x.ReadingCriterionPageId != null).Count(); .WhereIf(criterionFormType == FormType.MultiplePage, x => x.ReadingCriterionPageId != null).Count();
@ -305,7 +305,7 @@ namespace IRaCIS.Core.Application
} }
} }
await _readingQuestionCriterionTrialRepository.UpdatePartialFromQueryAsync(inDto.TrialCriterionId, x => new ReadingQuestionCriterionTrial() await _readingQuestionCriterionTrialRepository.UpdatePartialFromQueryAsync(inDto.TrialReadingCriterionId, x => new ReadingQuestionCriterionTrial()
{ {
FormType = inDto.FormType, FormType = inDto.FormType,
DigitPlaces = inDto.DigitPlaces, DigitPlaces = inDto.DigitPlaces,