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

import java.util.List;
import javax.annotation.Resource;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import cn.ezhizao.project.business.mapper.BizTakeStockPeriodMapper;
import cn.ezhizao.project.business.domain.BizTakeStockPeriod;
import cn.ezhizao.project.business.service.IBizTakeStockPeriodService;

/**
 * 盘点时间Service业务层处理
 *
 * @author ezhizao
 * @date 2024-08-15
 */
@Service
public class BizTakeStockPeriodServiceImpl  extends ServiceImpl<BizTakeStockPeriodMapper, BizTakeStockPeriod> implements IBizTakeStockPeriodService
{
    @Resource
    private BizTakeStockPeriodMapper bizTakeStockPeriodMapper;

    /**
     * 查询盘点时间列表
     *
     * @param bizTakeStockPeriod 盘点时间
     * @return 盘点时间
     */
    @Override
    public List<BizTakeStockPeriod> getList(BizTakeStockPeriod bizTakeStockPeriod)
    {
        return bizTakeStockPeriodMapper.getList(bizTakeStockPeriod);
    }

    @Override
    public int updateDruidPoolSize(Integer druidPoolSize) {
        return bizTakeStockPeriodMapper.updateDruidPoolSize(druidPoolSize);
    }

    /**
     * 物理删除
     * @param bizTakeStockPeriod
     * @return 删除结果
     */
    @Override
    public int physicalDelete(BizTakeStockPeriod bizTakeStockPeriod){ return bizTakeStockPeriodMapper.physicalDelete(bizTakeStockPeriod); };

}
