From af98ca3e729622b803a68e361c0a67f43769e880 Mon Sep 17 00:00:00 2001 From: yanghongwei Date: Thu, 26 Jun 2025 00:40:06 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Service/UserService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Service/UserService.cs b/Service/UserService.cs index 903137a..38fd77f 100644 --- a/Service/UserService.cs +++ b/Service/UserService.cs @@ -251,7 +251,8 @@ namespace LY.App.Service var entity = input.Adapt(); await _db.Updateable(entity).UpdateColumns(it => new { - it.IsAdmin + it.IsAdmin, + it.positionId }).ExecuteCommandAsync(); return null; }