From b760be32e710b2f286128614ef1ace5283a32cdb Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Wed, 10 Jan 2024 10:53:27 +0800
Subject: [PATCH] 微信用户接口
---
src/main/java/org/springblade/modules/system/mapper/UserWxMapper.java | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/src/main/java/org/springblade/modules/system/mapper/UserWxMapper.java b/src/main/java/org/springblade/modules/system/mapper/UserWxMapper.java
index 846c088..5c68283 100644
--- a/src/main/java/org/springblade/modules/system/mapper/UserWxMapper.java
+++ b/src/main/java/org/springblade/modules/system/mapper/UserWxMapper.java
@@ -1,8 +1,27 @@
package org.springblade.modules.system.mapper;
+import com.baomidou.mybatisplus.annotation.SqlParser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import org.apache.ibatis.annotations.Param;
+import org.springblade.modules.system.entity.User;
import org.springblade.modules.system.entity.UserWx;
+import org.springblade.modules.system.vo.UserVO;
+
+import java.util.List;
public interface UserWxMapper extends BaseMapper<UserWx> {
UserWx getUserWx(String tenantId, String account, String password);
+
+ List<UserVO> selectUserPage(IPage<UserVO> page, User user, List<Long> deptIdList, String tenantId);
+
+ /**
+ * 查询当前部门名称及父级部门名称
+ * @param deptId 部门名称
+ * @return
+ */
+ @SqlParser(filter = true)
+ List<String> getDeptName(@Param("deptId") String deptId);
+
+ UserVO getUserDetailById(Long id);
}
--
Gitblit v1.9.3