fix 增加获取当前档案的下发记录
This commit is contained in:
@@ -109,4 +109,6 @@ public class GainfoDetailResponse
|
||||
/// 人脸base64
|
||||
/// </summary>
|
||||
public string Face { get; set; }
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -396,7 +396,10 @@ public class GainfoService : IGainfoService
|
||||
|
||||
if (info != null)
|
||||
{
|
||||
info.Face = await _dbContext.ChangeDb("face").Queryable<GainfoFaceEntity>().Where(x => x.UserCode == info.Code).Select(x => x.Face).SingleAsync();
|
||||
if (request.WithFace)
|
||||
{
|
||||
info.Face = await _dbContext.ChangeDb("face").Queryable<GainfoFaceEntity>().Where(x => x.UserCode == info.Code).Select(x => x.Face).SingleAsync();
|
||||
}
|
||||
}
|
||||
|
||||
return info;
|
||||
|
||||
Reference in New Issue
Block a user