修改接口参数
This commit is contained in:
@@ -201,10 +201,10 @@ namespace IRaCIS.Core.API.Controllers
|
||||
public async Task<IResponseOutput> AddOrUpdateQCChallenge(DataInspectionDto<AddOrUpdateQCChallengeDto> opt)
|
||||
{
|
||||
var fun = await _qCOperationService.AddOrUpdateQCChallenge(opt.OptCommand.qaQuestionCommand, opt.OptCommand.trialId, opt.OptCommand.trialQCProcess, opt.OptCommand.currentQCType);
|
||||
opt.AuditInfo.GeneralId = fun.Id;
|
||||
Dictionary<string, object> keyValuePairs = new Dictionary<string, object>();
|
||||
keyValuePairs.Add("ChallengeCode", "Q" + fun.ChallengeCode.ToString("D5"));
|
||||
opt.AuditInfo.JsonDetail = _inspectionService.AddJsonItem(opt.AuditInfo.JsonDetail, keyValuePairs);
|
||||
//opt.AuditInfo.GeneralId = fun.Id;
|
||||
//Dictionary<string, object> keyValuePairs = new Dictionary<string, object>();
|
||||
//keyValuePairs.Add("ChallengeCode", "Q" + fun.ChallengeCode.ToString("D5"));
|
||||
//opt.AuditInfo.JsonDetail = _inspectionService.AddJsonItem(opt.AuditInfo.JsonDetail, keyValuePairs);
|
||||
return await _inspectionService.Enforcement(opt.OptCommand, opt.AuditInfo, opt.SignInfo, null, ResponseOutput.Ok());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user