修改一版
This commit is contained in:
@@ -103,7 +103,7 @@ namespace IRaCIS.Core.Application.Service.Inspection
|
||||
CreateTime = data.CreateTime,
|
||||
CreateUserId = data.CreateUserId,
|
||||
ModuleType = leftmoduleTypec.Id,
|
||||
BlindName = data.BlindName,
|
||||
BlindName = leftsubjectVisit.BlindName,
|
||||
TrialId = data.TrialId,
|
||||
SiteId = data.SiteId,
|
||||
SubjectId = data.SubjectId,
|
||||
@@ -122,7 +122,7 @@ namespace IRaCIS.Core.Application.Service.Inspection
|
||||
LastName = leftsubject.LastName,
|
||||
Id = data.Id,
|
||||
ParentJson = leftparent.JsonDetail,
|
||||
VisitName = data.SubjectVisitName,
|
||||
VisitName = leftsubjectVisit.VisitName,
|
||||
CreateUser = leftuser.UserName,
|
||||
UserFirstName = leftuser.FirstName,
|
||||
UserLastName = leftuser.LastName,
|
||||
@@ -179,10 +179,14 @@ namespace IRaCIS.Core.Application.Service.Inspection
|
||||
/// <returns></returns>
|
||||
public async Task RecordSing(SignDTO SignInfo)
|
||||
{
|
||||
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 });
|
||||
if (SignInfo != null)
|
||||
{
|
||||
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>
|
||||
|
||||
Reference in New Issue
Block a user