From 1a73abc088caa0f5873d8143a6bd71937263a413 Mon Sep 17 00:00:00 2001 From: xufenglei <xufenglei> Date: Wed, 27 Dec 2017 15:43:46 +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