Commit 6fbbc592 by 曾迫 Committed by 桂前礼

corn bug修复

parent e326ba8c
...@@ -549,9 +549,6 @@ public class SelfPushBizImpl implements SelfPushBiz { ...@@ -549,9 +549,6 @@ public class SelfPushBizImpl implements SelfPushBiz {
@Override @Override
public void deleteByPushId(Long pushId) { public void deleteByPushId(Long pushId) {
SelfPush selfPush = selfPushDao.getById(pushId); SelfPush selfPush = selfPushDao.getById(pushId);
if (null != selfPush && selfPush.getSendTime().before(new Date())){
throw new BookBizException(BookBizException.ERROR,"已发送,不能删除");
}
selfPushDao.deleteById(pushId); selfPushDao.deleteById(pushId);
selfPushItemDao.deleteByPushId(pushId); selfPushItemDao.deleteByPushId(pushId);
selfPushUserDao.deleteByPushId(pushId); selfPushUserDao.deleteByPushId(pushId);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment