admin
2021-01-27 e1a62ec62e7331d97af9302e90e1ce44af8235eb
fanli/src/main/java/com/yeshi/fanli/service/impl/push/PushInfoServiceImpl.java
@@ -226,7 +226,6 @@
        }
        // 执行推送
        executePush(record);
        record.setState(PushInfo.STATE_SUCCESS);
        record.setPushTime(new Date());
        record.setUpdateTime(new Date());
@@ -255,6 +254,16 @@
        pushInfoMapper.updateByPrimaryKey(record);
    }
    @Override
    public PushInfo selectByPrimaryKey(Long id) {
        return pushInfoMapper.selectByPrimaryKey(id);
    }
    @Override
    public void updateSelectiveByPrimaryKey(PushInfo info) {
        pushInfoMapper.updateByPrimaryKeySelective(info);
    }
    @Override
    @Transactional(rollbackFor = Exception.class)