Commit a135106a by 裴大威

Merge branch 'feature-zp-1002313new' into 'master'

corn fix  bug

See merge request rays/pcloud-book!389
parents e326ba8c 6fbbc592
...@@ -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