From 28943e74b65b491b41707d41eecfd5d9d0e0e185 Mon Sep 17 00:00:00 2001 From: dev02 Date: Thu, 6 Jul 2023 15:42:41 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=BE=8C=E7=AB=AF]=20=E8=AA=BF=E6=95=B4device?= =?UTF-8?q?=5Fitem=E6=9B=B4=E6=96=B0=E5=85=A8=E6=9B=B4=E6=96=B0=E7=9B=B8?= =?UTF-8?q?=E5=90=8C=E9=BB=9E=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Backend/Controllers/SystemCategoryController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Backend/Controllers/SystemCategoryController.cs b/Backend/Controllers/SystemCategoryController.cs index e063514..d183bf2 100644 --- a/Backend/Controllers/SystemCategoryController.cs +++ b/Backend/Controllers/SystemCategoryController.cs @@ -577,7 +577,7 @@ namespace Backend.Controllers { "@updated_at", DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}, }; - await backendRepository.UpdateOneByCustomTable(Device_itemDic, "device_item", "id='" + device_Item.id + "'"); + await backendRepository.UpdateOneByCustomTable(Device_itemDic, "device_item", $"points='{device_Item.points}'"); apiResult.Code = "0000"; apiResult.Msg = "修改成功";