package com.sy.coinage.workshop.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import org.springframework.stereotype.Service;

import com.sy.coinage.workshop.dao.ScreenDataDao;
import com.sy.coinage.workshop.model.*;
import com.sy.coinage.workshop.service.IScreenDataService;

/**
 * -大屏数据管理表ServiceImpl
 */
@Service
public class ScreenDataServiceImpl extends ServiceImpl<ScreenDataDao, ScreenData> implements IScreenDataService {
//    public void add(ScreenDataReq req, CacheUserVO user) {
//        this.save(model);
//    }
//    public void update(ScreenDataReq req, CacheUserVO user) {
//        this.updateById(model);
//    }
//    @Override
//    public IPage<ScreenDataVO> queryPage(ScreenDataListReq req) {
//        LambdaQueryWrapper<ScreenData> queryWrapper = new LambdaQueryWrapper<>();
//        QueryWrapper<ScreenData> queryWrapper = new QueryWrapper<>();
//        if (null != req.getUserId() && req.getUserId() > 0) {
//            queryWrapper.eq("user_id", userId);
//        }
//        if (StringUtils.isNotBlank(req.getRealName())) {
//            queryWrapper.like("sys_user.real_name", req.getRealName());
//        }
//        Page<ScreenData> page = new Page<>(req.getPage(), req.getRows());
//        IPage<ScreenDataVO> resp = this.baseMapper.queryPage(page, queryWrapper);
//        return resp;
//    }

}
