Uat_Study
parent
713392e2c3
commit
1e94964378
|
@ -2334,6 +2334,12 @@ namespace IRaCIS.Application.Services
|
|||
|
||||
|
||||
await VerifyTaskIsSign(inDto.VisitTaskId);
|
||||
|
||||
// 修改编号
|
||||
|
||||
//var taskinfo
|
||||
|
||||
|
||||
await this.SubmitTaskChangeState(inDto.VisitTaskId);
|
||||
return ResponseOutput.Ok(true);
|
||||
}
|
||||
|
|
|
@ -756,7 +756,7 @@ namespace IRaCIS.Core.Application.Contracts
|
|||
|
||||
public class SetTrialReadingCriterionInDto
|
||||
{
|
||||
public Guid TrialCriterionId { get; set; }
|
||||
public Guid TrialReadingCriterionId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 表单类型
|
||||
|
|
|
@ -294,8 +294,8 @@ namespace IRaCIS.Core.Application
|
|||
{
|
||||
if (inDto.IsSignSave)
|
||||
{
|
||||
var criterionFormType = await _readingQuestionCriterionTrialRepository.Where(x => x.Id == inDto.TrialCriterionId).Select(x => x.FormType).FirstOrDefaultAsync();
|
||||
var count = _readingQuestionTrialRepository.Where(x => x.ReadingQuestionCriterionTrialId == inDto.TrialCriterionId)
|
||||
var criterionFormType = await _readingQuestionCriterionTrialRepository.Where(x => x.Id == inDto.TrialReadingCriterionId).Select(x => x.FormType).FirstOrDefaultAsync();
|
||||
var count = _readingQuestionTrialRepository.Where(x => x.ReadingQuestionCriterionTrialId == inDto.TrialReadingCriterionId)
|
||||
.WhereIf(criterionFormType == FormType.SinglePage, x => x.ReadingCriterionPageId == null)
|
||||
.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,
|
||||
DigitPlaces = inDto.DigitPlaces,
|
||||
|
|
Loading…
Reference in New Issue