添加修改原因

This commit is contained in:
he
2022-04-25 10:26:40 +08:00
parent da0cf9cc28
commit 6f09114bda
7 changed files with 30 additions and 9 deletions
@@ -219,11 +219,11 @@ namespace IRaCIS.Core.API.Controllers
/// <returns></returns>
[HttpPost, Route("Inspection/QCOperation/CloseCheckChallenge")]
[UnitOfWork]
public async Task<IResponseOutput> CloseCheckChallenge(DataInspectionDto<IDDto> opt)
public async Task<IResponseOutput> CloseCheckChallenge(DataInspectionDto<CloseCheckChallengeDto> opt)
{
var fun = _qCOperationService.CloseCheckChallenge;
return await _inspectionService.Enforcement(opt.OptCommand.Id, opt.AuditInfo, opt.SignInfo, fun);
opt.AuditInfo.Reason = opt.OptCommand.CloseCheckChallenge;
return await _inspectionService.Enforcement(opt.OptCommand, opt.AuditInfo, opt.SignInfo, fun);
}
/// <summary>