From 093a58b2b7df015c371daa1c1634ff8bfd8f003b Mon Sep 17 00:00:00 2001
From: xufenglei <xufenglei>
Date: Wed, 21 Mar 2018 10:12:27 +0800
Subject: [PATCH] 报表 优化

---
 src/main/java/com/moral/service/AccountService.java |   10 +++++++---
 1 files changed, 7 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..68e8371 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,17 @@
 
 	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);
 }

--
Gitblit v1.8.0