oee相关修改
This commit is contained in:
1 parent
9c5ef7bb31
commit
4419a4de3c
9 files changed
+422
-121
No files matched your search
@@ -107,6 +107,13 @@ namespace WindowsFormsApp1.form
|
||||
var result = sQLiteHelper.Update(t_Oeeaddress);
|
||||
if (result.Success)
|
||||
{
|
||||
// 更新缓存
|
||||
var cacheIndex = Init.t_Oeeaddresses.FindIndex(x => x.id == dataid);
|
||||
if (cacheIndex != -1)
|
||||
{
|
||||
Init.t_Oeeaddresses[cacheIndex] = t_Oeeaddress;
|
||||
}
|
||||
|
||||
MessageBox.Show("修改成功");
|
||||
this.Close();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user