From abeb99c94bcae1b55356f41ecc8a8ce1e6cb831d Mon Sep 17 00:00:00 2001 From: lihanbo Date: Tue, 17 Dec 2024 15:11:33 +0800 Subject: [PATCH] =?UTF-8?q?105040=20Update=20=E4=BD=BF=E7=94=A8=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E4=B8=BB=E9=94=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sinvo.EplanHpD.Plugin.Service/MotorLectotypeService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sinvo.EplanHpD.Plugin.Service/MotorLectotypeService.cs b/Sinvo.EplanHpD.Plugin.Service/MotorLectotypeService.cs index ff85951..2f4aa15 100644 --- a/Sinvo.EplanHpD.Plugin.Service/MotorLectotypeService.cs +++ b/Sinvo.EplanHpD.Plugin.Service/MotorLectotypeService.cs @@ -27,7 +27,7 @@ namespace Sinvo.EplanHpD.Plugin.Service public bool SaveMotorLectotypeData(string motorOccId, string data) { var motorData = new MotorDataModel { ID = motorOccId, Data = data }; - var result = DBHelper.DB.Storageable(motorData).WhereColumns(p => p.ID).ExecuteCommand(); + var result = DBHelper.DB.Storageable(motorData).ExecuteCommand(); return result != 0; } }