修改签名
This commit is contained in:
@@ -272,13 +272,12 @@ namespace IRaCIS.Core.Application.Service.Inspection.DTO
|
||||
/// <typeparam name="T">泛型</typeparam>
|
||||
public class DataInspectionDto<T>
|
||||
{
|
||||
|
||||
|
||||
|
||||
public T Data { get; set; }
|
||||
|
||||
[NotDefault]
|
||||
public Guid SignCodeId { get; set; }
|
||||
|
||||
public SignDTO SignInfo { get; set; }
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -175,12 +175,14 @@ namespace IRaCIS.Core.Application.Service.Inspection
|
||||
/// <summary>
|
||||
/// 传入参数记录ID
|
||||
/// </summary>
|
||||
/// <param name="SignId"></param>
|
||||
/// <param name="SignInfo"></param>
|
||||
/// <returns></returns>
|
||||
public async Task RecordSing(Guid SignId)
|
||||
public async Task RecordSing(SignDTO SignInfo)
|
||||
{
|
||||
_userInfo.SignId = SignId;
|
||||
await _repository.BatchUpdateAsync<TrialSign>(t => t.Id == SignId, u => new TrialSign() { IsCompleted = true });
|
||||
var verifyResult = await VerifySignatureAsync(SignInfo);
|
||||
var signId = await AddSignRecordAsync(SignInfo);
|
||||
_userInfo.SignId = signId;
|
||||
await _repository.BatchUpdateAsync<TrialSign>(t => t.Id == signId, u => new TrialSign() { IsCompleted = true });
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace IRaCIS.Core.Application.Service.Inspection.Interface
|
||||
|
||||
Task<Guid> AddSignRecordAsync(SignDTO signDTO);
|
||||
|
||||
Task RecordSing(Guid SignId);
|
||||
Task RecordSing(SignDTO SignInfo);
|
||||
Task<dynamic> Enforcement(dynamic OptCommand, DataInspectionAddDTO AuditInfo, SignDTO SignInfo, dynamic fun, IResponseOutput? response = null);
|
||||
|
||||
//Task SetEnum(DataInspectionAddDTO Data);
|
||||
|
||||
Reference in New Issue
Block a user