[後端] 調整device_item更新全更新相同點位
This commit is contained in:
parent
17b9f2485b
commit
28943e74b6
@ -577,7 +577,7 @@ namespace Backend.Controllers
|
|||||||
{ "@updated_at", DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")},
|
{ "@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.Code = "0000";
|
||||||
apiResult.Msg = "修改成功";
|
apiResult.Msg = "修改成功";
|
||||||
|
Loading…
Reference in New Issue
Block a user