From af2ff6353abb09500ff08293490446a4d40d8e87 Mon Sep 17 00:00:00 2001 From: jinpengyong <jpy123456> Date: Fri, 31 Jul 2020 17:03:19 +0800 Subject: [PATCH] 更换天气预测接口,根据城市名获取预测与实测数据对比 --- src/main/java/com/moral/service/AccountService.java | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/moral/service/AccountService.java b/src/main/java/com/moral/service/AccountService.java index c82b183..0dd7c82 100644 --- a/src/main/java/com/moral/service/AccountService.java +++ b/src/main/java/com/moral/service/AccountService.java @@ -2,17 +2,23 @@ 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); @@ -22,4 +28,13 @@ 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