于紫祥_1901
2020-08-12 f718fb9c06fa75b65870a3f5ef2fea10054009aa
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);
}