admin
2021-01-25 2ba431be9c12a79783e0f9ef249292b7fa95f2a1
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)