kaiyu
2020-09-17 613dd76a3aded439f1002d904d85d8332ddb03d1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
package com.moral.service;
 
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);
 
    Account getAccountById(Integer id);
 
    void setOrgIdsByAccount(Map<String, Object> parameters);
 
    PageBean<Account> getAccountListByPage(Map<String, Object> parameters);
 
    Integer saveOrUpdateAccount(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);
 
    Map<String, Object> webLogin(Map<String, Object> parameters);
 
    Map<String, Object> getAccountInfoById(String accountId);
}