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