From 69a3e436bedfc828930e08cbbac7df57f4fd83cb Mon Sep 17 00:00:00 2001 From: ZhuDongming <773644075@qq.com> Date: Fri, 12 Jun 2020 16:46:03 +0800 Subject: [PATCH] update去除站点层,更改设备图标为站点图标 --- src/main/java/com/moral/service/AccountService.java | 21 ++++++++++++++++++--- 1 files changed, 18 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/moral/service/AccountService.java b/src/main/java/com/moral/service/AccountService.java index 36cff2f..0dd7c82 100644 --- a/src/main/java/com/moral/service/AccountService.java +++ b/src/main/java/com/moral/service/AccountService.java @@ -2,24 +2,39 @@ import java.util.List; import java.util.Map; +import java.util.Optional; import com.moral.common.bean.PageBean; import com.moral.entity.Account; +import com.moral.entity.Role; public interface AccountService { Map<String, Object> screenLogin(Map<String, Object> parameters); + Map<String, Object> screenLoginNew(Map<String, Object> parameters); + Account getAccountByAccountName(String account); - void setOrgIdsByAccount(Map<String, Object> parameters); + Account getAccountById(Integer id); + + void setOrgIdsByAccount(Map<String, Object> parameters); PageBean<Account> getAccountListByPage(Map<String, Object> parameters); Integer saveOrUpdateAccount(Account account); - Integer deleteAccountByLogic(Account account); - Integer deleteAccountsByLogic(List<Integer> ids); + Integer getAccountCountByAccountName(String accountName); + + Optional<Account> queryAccountByName(String accountName); + + Account companyLogin(Map<String, Object> parameters); + + Map<String, Object> getOrganizationIdByAccountId(String id); + + List<Role> getRolesByAccountName(String accountName); + + Map<String, Object> getMenuListsByAccountName(String accountName); } -- Gitblit v1.8.0