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

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

import cn.ezhizao.project.business.workshop.domain.BizWorkshop;
import cn.ezhizao.project.business.workshop.mapper.BizWorkshopMapper;
import cn.ezhizao.project.business.workshop.service.IBizWorkshopService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;


/**
 * 车间管理Service业务层处理
 *
 * @author ezhizao
 * @date 2024-02-22
 */
@Service
public class BizWorkshopServiceImpl  extends ServiceImpl<BizWorkshopMapper, BizWorkshop> implements IBizWorkshopService
{
    @Resource
    private BizWorkshopMapper bizWorkshopMapper;

    /**
     * 查询车间管理列表
     *
     * @param bizWorkshop 车间管理
     * @return 车间管理
     */
    @Override
    public List<BizWorkshop> getList(BizWorkshop bizWorkshop)
    {
        return bizWorkshopMapper.getList(bizWorkshop);
    }

    /**
     * 物理删除
     * @param bizWorkshop
     * @return 删除结果
     */
    @Override
    public int physicalDelete(BizWorkshop bizWorkshop){ return bizWorkshopMapper.physicalDelete(bizWorkshop); };

}
