From 28215e381131b0919567ec5c3f236b29ebd3ad5c Mon Sep 17 00:00:00 2001
From: ZhuDongming <773644075@qq.com>
Date: Tue, 22 Oct 2019 16:02:18 +0800
Subject: [PATCH] update
---
src/main/java/com/moral/mapper/AccountMapper.java | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/moral/mapper/AccountMapper.java b/src/main/java/com/moral/mapper/AccountMapper.java
index 4bb4c92..bdd0b89 100644
--- a/src/main/java/com/moral/mapper/AccountMapper.java
+++ b/src/main/java/com/moral/mapper/AccountMapper.java
@@ -3,11 +3,29 @@
import java.util.List;
import java.util.Map;
+import org.apache.ibatis.annotations.Param;
+
import com.moral.common.mapper.BaseMapper;
import com.moral.entity.Account;
+import com.moral.entity.Menu;
+import com.moral.entity.Role;
public interface AccountMapper extends BaseMapper<Account> {
+
List<Map<String, Object>> getRoleNameByAccountId(Integer accountId);
+
Account getByAccountName(String name);
+
Map<String, Object> getOrganizationIdByAccountId(Integer accountId);
+
+ List<Account> getAccountList(@Param("accountName") String accountName);
+
+ List<Role> getRolesByAccountName(@Param("accountName") String accountName);
+
+ List<Menu> getParentMenuListsByAccountName(@Param("accountName") String accountName);
+
+ String getEmailByAccountName(@Param("accountName") String accountName);
+
+ List<Menu> getChildMenuIdsByAccountName(@Param("accountName") String accountName, @Param("id") Integer id);
+
}
\ No newline at end of file
--
Gitblit v1.8.0