优化
This commit is contained in:
parent
76864f1cb1
commit
065fe14766
@ -373,6 +373,7 @@ namespace InSituLaboratory.ViewModels.Pages.Dialogs
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 保存
|
||||
//保存时 首次去查询 data == null 说明数据库中无数据 为第一次插入
|
||||
if (data.Count() == 0)
|
||||
{
|
||||
@ -515,6 +516,7 @@ namespace InSituLaboratory.ViewModels.Pages.Dialogs
|
||||
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
base.DoSave();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user