fix 身份证匹配
This commit is contained in:
@@ -55,7 +55,9 @@ public class GainfoFaceService : IGainfoFaceService
|
||||
throw new UserFriendlyException("凭证有误,无法获取人脸数");
|
||||
}
|
||||
|
||||
var gainfo = await _gainfoStore.Queryable(GainfoStatusEnumType.External).Where(x => x.No == request.UserNo).FirstAsync();
|
||||
var gainfo = await _gainfoStore.Queryable(GainfoStatusEnumType.External)
|
||||
.Where(x => x.IdNo == request.UserNo)
|
||||
.FirstAsync();
|
||||
gainfo.ThrowIfNull("人员信息不存在");
|
||||
|
||||
var faceContext = _dbContext.ChangeDb("face");
|
||||
|
||||
Reference in New Issue
Block a user