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

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import org.springframework.stereotype.Service;

import com.sy.coinage.workshop.dao.WorkshopTransferDetailDao;
import com.sy.coinage.workshop.model.*;
import com.sy.coinage.workshop.service.IWorkshopTransferDetailService;

import java.util.List;

/**
 * -ServiceImpl
 */
@Service
public class WorkshopTransferDetailServiceImpl extends ServiceImpl<WorkshopTransferDetailDao, WorkshopTransferDetail>
        implements IWorkshopTransferDetailService {
    @Override
    public List<WorkshopTransferDetail> querylist(QueryWrapper<WorkshopTransferDetail> queryWrapper) {
        return this.baseMapper.querylist(queryWrapper);
    }

    // @Override
    // public IPage<WorkshopTransferDetailVO> queryPageList(WorkshopTransferDetailListReq req) {
    // QueryWrapper<WorkshopTransferDetailVO> 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<WorkshopTransferDetailVO> page = new Page<>(req.getPage(), req.getRows());
    // IPage<WorkshopTransferDetailVO> resp = this.baseMapper.queryPageList(page, queryWrapper);
    // return resp;
    // }

}
