From 931ed0eb0036d3505fd0a4bd7b2f1d54c7d5f903 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期六, 18 九月 2021 15:44:36 +0800 Subject: [PATCH] update [重大改动]重写 防重提交实现 使用分布式锁 解决并发问题 压测通过 --- ruoyi-system/src/main/java/com/ruoyi/system/service/ISysRoleService.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysRoleService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysRoleService.java index 2cde2ae..84e6478 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysRoleService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysRoleService.java @@ -101,7 +101,7 @@ * @param roleId 瑙掕壊ID * @return 缁撴灉 */ - public int countUserRoleByRoleId(Long roleId); + public long countUserRoleByRoleId(Long roleId); /** * 鏂板淇濆瓨瑙掕壊淇℃伅 -- Gitblit v1.9.3