package com.hzs.ground.product.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hzs.common.domain.scm.th.ThProduct;
import com.hzs.ground.product.mapper.ThProductMapper;
import com.hzs.ground.product.param.ProductInfoParam;

import com.hzs.ground.product.service.*;
import com.hzs.ground.product.vo.ProductVo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 服务实现类
 */
@Service
public class ThProductServiceImpl extends ServiceImpl<ThProductMapper, ThProduct> implements IThProductService {

    @Override
    public List<ProductVo> queryByList(ProductInfoParam productInfoParam) {
        return baseMapper.queryByList(productInfoParam);
    }

    @Override
    public ProductVo getProductInfoById(Integer productId) {
        return baseMapper.getProductInfoById(productId);
    }

}
