From 60c42d9ce9bfe565671ff9e45563447e23a609f2 Mon Sep 17 00:00:00 2001
From: zepengdev <lzpsmith@outlook.com>
Date: Tue, 17 Jun 2025 16:00:42 +0800
Subject: [PATCH] 补充前次提交的遗漏内容,前次提交SHA:a6f4dd

---
 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