From 3e5c32288447da14ad6032aeb5bf5f79fa9a0560 Mon Sep 17 00:00:00 2001
From: xin <1099200748@qq.com>
Date: Tue, 24 Jun 2025 11:40:03 +0800
Subject: [PATCH] 封装返回值

---
 oying-system/src/main/java/com/oying/modules/system/mapper/UserMapper.java |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/oying-system/src/main/java/com/oying/modules/system/mapper/UserMapper.java b/oying-system/src/main/java/com/oying/modules/system/mapper/UserMapper.java
index d506a8c..928ffcc 100644
--- a/oying-system/src/main/java/com/oying/modules/system/mapper/UserMapper.java
+++ b/oying-system/src/main/java/com/oying/modules/system/mapper/UserMapper.java
@@ -27,6 +27,8 @@
 
     User findByUsername(@Param("username") String username);
 
+    User findByOpenid(@Param("openid") String openid);
+
     User findByEmail(@Param("email") String email);
 
     User findByPhone(@Param("phone") String phone);
@@ -39,13 +41,9 @@
 
     List<User> findByRoleId(@Param("roleId") Long roleId);
 
-    List<User> findByRoleDeptId(@Param("deptId") Long deptId);
-
     List<User> findByMenuId(@Param("menuId") Long menuId);
 
     int countByJobs(@Param("jobIds") Set<Long> jobIds);
-
-    int countByDepts(@Param("deptIds") Set<Long> deptIds);
 
     int countByRoles(@Param("roleIds") Set<Long> roleIds);
 

--
Gitblit v1.9.3