From d70f7cf3cf5afbfa3d9ca396068d9ff4bfe4046f Mon Sep 17 00:00:00 2001
From: xufenglei <xufenglei>
Date: Mon, 22 Jul 2019 15:21:06 +0800
Subject: [PATCH] app更新

---
 src/main/java/com/moral/service/AccountService.java |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/src/main/java/com/moral/service/AccountService.java b/src/main/java/com/moral/service/AccountService.java
index 36cff2f..5ac31a0 100644
--- a/src/main/java/com/moral/service/AccountService.java
+++ b/src/main/java/com/moral/service/AccountService.java
@@ -2,6 +2,7 @@
 
 import java.util.List;
 import java.util.Map;
+import java.util.Optional;
 
 import com.moral.common.bean.PageBean;
 import com.moral.entity.Account;
@@ -12,14 +13,19 @@
 
 	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 deleteAccountByLogic(Account account);
-
 	Integer deleteAccountsByLogic(List<Integer> ids);
 
+	Integer getAccountCountByAccountName(String accountName);
+
+	Optional<Account> queryAccountByName(String accountName);
+
+	Account companyLogin(Map<String, Object> parameters);
 }

--
Gitblit v1.8.0