This commit is contained in:
MoYue 2024-08-30 13:38:32 +08:00
parent 76864f1cb1
commit 065fe14766

View File

@ -373,6 +373,7 @@ namespace InSituLaboratory.ViewModels.Pages.Dialogs
} }
#endregion #endregion
#region
//保存时 首次去查询 data == null 说明数据库中无数据 为第一次插入 //保存时 首次去查询 data == null 说明数据库中无数据 为第一次插入
if (data.Count() == 0) if (data.Count() == 0)
{ {
@ -515,6 +516,7 @@ namespace InSituLaboratory.ViewModels.Pages.Dialogs
} }
} }
#endregion
base.DoSave(); base.DoSave();