Commit 23072434 authored by 姜春辉's avatar 姜春辉

fix: 修正关闭疫情信息后识别记录保存失败的bug

parent 21573200
......@@ -109,7 +109,7 @@ namespace GS.Terminal.Identification.Enterprise.Logic
是否访客 = false,
面部识别对比结果 = faceResult,
进出标识 = human.Tag,
健康码颜色 = status?.healthcolor,
健康码颜色 = status != null ? status.healthcolor : "",
核酸检测结果 = status != null ? status.nat : 0,
疫苗接种剂次 = status != null ? status.inoculationtimes : 0,
现场照片 = Program.config.LogicConfig.IsTakePhoto ? Tools.SaveFile(ViewModel.ActiveVideo) : null,
......
......@@ -64,8 +64,11 @@ namespace GS.Terminal.Identification.LocalDbModel
/// </summary>
public int 进出标识 { get; set; }
[SugarColumn(IsNullable = true)]
public string 健康码颜色 { get; set; }
[SugarColumn(IsNullable = true)]
public int 核酸检测结果 { get; set; }
[SugarColumn(IsNullable = true)]
public int 疫苗接种剂次 { get; set; }
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment