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

import cn.ezhizao.project.business.daywork.domain.BizLot;
import cn.ezhizao.project.business.daywork.mapper.BizLotMapper;
import cn.ezhizao.project.business.daywork.service.IBizLotService;
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-12-04
 */
@Service
public class BizLotServiceImpl extends ServiceImpl<BizLotMapper, BizLot> implements IBizLotService
{
    @Resource
    private BizLotMapper bizLotMapper;

    /**
     * 查询批次号列表
     *
     * @param bizLot 批次号
     * @return 批次号
     */
    @Override
    public List<BizLot> getList(BizLot bizLot)
    {
        return bizLotMapper.getList(bizLot);
    }
    /**
     * 物理删除
     * @param bizLot
     * @return 删除结果
     */
    @Override
    public int physicalDelete(BizLot bizLot){ return bizLotMapper.physicalDelete(bizLot); }

}
