From 4def1b383885aecdf55623381a914ef5bcd43cd0 Mon Sep 17 00:00:00 2001 From: hutongqing <hutongqing@hnkhzn.com> Date: 星期四, 31 十月 2024 14:33:11 +0800 Subject: [PATCH] 添加序列特性,可自动赋值 --- WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_RoleService.cs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_RoleService.cs b/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_RoleService.cs index c75161f..88811c2 100644 --- a/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_RoleService.cs +++ b/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_RoleService.cs @@ -192,7 +192,7 @@ x.AuthValue = ""; }); //灏嗗彇娑堢殑鏉冮檺璁剧疆涓�"" - _RoleAuthRepository.UpdateData(delAuths); + _RoleAuthRepository.DeleteData(delAuths); int addCount = updateAuths.Where(x => x.AuthId <= 0).Count(); int updateCount = updateAuths.Where(x => x.AuthId > 0).Count(); -- Gitblit v1.9.3