package cn.ezhizao.project.business.service.impl;

import cn.ezhizao.project.business.domain.BizProduct;
import cn.ezhizao.project.business.mapper.BizProductMapper;
import cn.ezhizao.project.business.service.IBizProductService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 产品管理Service业务层处理
 *
 * @author ezhizao
 * @date 2023-11-13
 */
@Service
public class BizProductServiceImpl  extends ServiceImpl<BizProductMapper, BizProduct> implements IBizProductService
{
    @Resource
    private BizProductMapper bizProductMapper;

    /**
     * 查询产品管理列表
     *
     * @param bizProduct 产品管理
     * @return 产品管理
     */
    @Override
    public List<BizProduct> getList(BizProduct bizProduct)
    {
        return bizProductMapper.getList(bizProduct);
    }

    /**
     * 物理删除
     * @param bizProduct
     * @return 删除结果
     */
    @Override
    public int physicalDelete(BizProduct bizProduct){ return bizProductMapper.physicalDelete(bizProduct); };

}
