From 5b556b5a79433f7989fab10566fea5c1ea9c34da Mon Sep 17 00:00:00 2001
From: xufenglei <xufenglei>
Date: Thu, 28 Dec 2017 17:16:00 +0800
Subject: [PATCH] 报警用户 管理

---
 src/main/java/com/moral/service/impl/AccountServiceImpl.java |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/main/java/com/moral/service/impl/AccountServiceImpl.java b/src/main/java/com/moral/service/impl/AccountServiceImpl.java
index c25281e..0a93e6b 100644
--- a/src/main/java/com/moral/service/impl/AccountServiceImpl.java
+++ b/src/main/java/com/moral/service/impl/AccountServiceImpl.java
@@ -129,9 +129,6 @@
 	@Transactional
 	public Integer deleteAccountByLogic(Account account) {
 		account.setIsDelete(Constants.IS_DELETE_TRUE);
-		if (account.getId() > 0) {
-			throw new BusinessException("hahahahahah..................");
-		}
 		return accountMapper.updateByPrimaryKeySelective(account);
 	}
 

--
Gitblit v1.8.0