性能提升

This commit is contained in:
thinkgem
2020-08-20 14:20:54 +08:00
parent f46b42d28e
commit 7750bfd49a

View File

@@ -268,6 +268,7 @@ public class CorpAdminController extends BaseController {
if (UserUtils.getUser().isSuperAdmin()){
User where = new User();
where.setCorpCode_(corpCode);
where.setPage(new Page<>(1, 1, -1));
List<User> list = userService.findCorpList(where);
if (list.size() > 0){
User user = list.get(0);