From 8ca304e2e1b748f7ce16bcd664c12a193fe7fc95 Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Thu, 04 Jan 2018 14:10:27 +0800 Subject: [PATCH] 组织模块 --- src/main/java/com/moral/service/impl/AccountServiceImpl.java | 10 ---------- 1 files changed, 0 insertions(+), 10 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..53cfd53 100644 --- a/src/main/java/com/moral/service/impl/AccountServiceImpl.java +++ b/src/main/java/com/moral/service/impl/AccountServiceImpl.java @@ -127,16 +127,6 @@ @Override @Transactional - public Integer deleteAccountByLogic(Account account) { - account.setIsDelete(Constants.IS_DELETE_TRUE); - if (account.getId() > 0) { - throw new BusinessException("hahahahahah.................."); - } - return accountMapper.updateByPrimaryKeySelective(account); - } - - @Override - @Transactional public Integer deleteAccountsByLogic(List<Integer> ids) { Account account = new Account(); account.setIsDelete(Constants.IS_DELETE_TRUE); -- Gitblit v1.8.0