package com.platform.modules.live.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.platform.common.utils.PageUtils;
import com.platform.common.utils.Query;

import com.platform.modules.live.dao.LiveSceneLiveInfoRecordDao;
import com.platform.modules.live.entity.LiveSceneLiveInfoRecordEntity;
import com.platform.modules.live.service.LiveSceneLiveInfoRecordService;
import org.springframework.transaction.annotation.Transactional;


@Service("liveSceneLiveInfoRecordService")
@Transactional
public class LiveSceneLiveInfoRecordServiceImpl extends ServiceImpl<LiveSceneLiveInfoRecordDao, LiveSceneLiveInfoRecordEntity> implements LiveSceneLiveInfoRecordService {

    @Override
    @Transactional(readOnly = true)
    public PageUtils queryPage(Map<String, Object> params) {
        Page<LiveSceneLiveInfoRecordEntity> page = this.selectPage(
                new Query<LiveSceneLiveInfoRecordEntity>(params).getPage(),
                new EntityWrapper<LiveSceneLiveInfoRecordEntity>()
        );

        return new PageUtils(page);
    }

}
