ZhuDongming
2019-08-16 8fbe4c86d435c2b5a572d9557a4bdb914d06c833
src/main/java/com/moral/service/AccountService.java
@@ -2,17 +2,30 @@
import java.util.List;
import java.util.Map;
import java.util.Optional;
import com.moral.common.bean.PageBean;
import com.moral.entity.Account;
public interface AccountService {
   Map<String, Object> screenLogin(Map<String, Object> parameters);
   List<Account> getAccountLists(String account, String password);
   List<Account> getAccountList(String account);
   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 deleteAccountsByLogic(List<Integer> ids);
   Integer getAccountCountByAccountName(String accountName);
   Optional<Account> queryAccountByName(String accountName);
   Account companyLogin(Map<String, Object> parameters);
}