105040 Update 使用默认主键
This commit is contained in:
parent
bd4063346c
commit
abeb99c94b
|
@ -27,7 +27,7 @@ namespace Sinvo.EplanHpD.Plugin.Service
|
||||||
public bool SaveMotorLectotypeData(string motorOccId, string data)
|
public bool SaveMotorLectotypeData(string motorOccId, string data)
|
||||||
{
|
{
|
||||||
var motorData = new MotorDataModel { ID = motorOccId, Data = data };
|
var motorData = new MotorDataModel { ID = motorOccId, Data = data };
|
||||||
var result = DBHelper.DB.Storageable<MotorDataModel>(motorData).WhereColumns(p => p.ID).ExecuteCommand();
|
var result = DBHelper.DB.Storageable<MotorDataModel>(motorData).ExecuteCommand();
|
||||||
return result != 0;
|
return result != 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue