Commit 4cf29cfc authored by 潘栩锋's avatar 潘栩锋 🚴

删除多余的 UpdateScanData

parent db5cc4ad
...@@ -295,28 +295,7 @@ namespace FLY.Thick.BlowingScan.Server.Model ...@@ -295,28 +295,7 @@ namespace FLY.Thick.BlowingScan.Server.Model
} }
#endregion #endregion
} }
/// <summary>
/// 需要通过 ID才能更新
/// </summary>
public void UpdateScanData(
Lc_ScanData scanData)
{
//添加 数据库必要的 field
//SQLs
List<string> sqls = new List<string>();
var db_scandata = Lc_AutoMapperProfile.Mapper.Map<Db_ScanData>(scanData);
sqls.Add(SQLiteHelper.GetUpdateCommandText(db_scandata, $"WHERE ID = {scanData.ID}"));
dbModel.sqliteHelper.QueryTranAsync(sqls);
#region IDBShareService
ScanDataChanged?.Invoke(this, new ScanDataChangedEventArgs()
{
isInsert = false,
scandata = scanData
});
#endregion
}
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
......
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