package com.ruoyi.business.service.impl;

import java.util.List;

import com.ruoyi.business.domain.TCkPickingwavegoods;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.business.mapper.TCkPickingwavegoodsBackMapper;
import com.ruoyi.business.domain.TCkPickingwavegoodsBack;
import com.ruoyi.business.service.ITCkPickingwavegoodsBackService;
import com.ruoyi.common.core.text.Convert;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author wms
 * @date 2022-06-28
 */
@Service
public class TCkPickingwavegoodsBackServiceImpl extends ServiceImpl<TCkPickingwavegoodsBackMapper, TCkPickingwavegoodsBack> implements ITCkPickingwavegoodsBackService
{
    @Autowired
    private TCkPickingwavegoodsBackMapper tCkPickingwavegoodsBackMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param pickingid 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public TCkPickingwavegoodsBack selectTCkPickingwavegoodsBackByPickingid(String pickingid)
    {
        return tCkPickingwavegoodsBackMapper.selectTCkPickingwavegoodsBackByPickingid(pickingid);
    }

    /**
     * 按日期条件查询
     *
     * @param startDate 开始时间
     * @param endDate 结束时间
     * @return 入库任务列表
     */
    @Override
    public List<TCkPickingwavegoodsBack> selectTCkPickingwavegoodsBakByCreateDate(@Param("startDate") String startDate, @Param("endDate") String endDate, @Param("ckType") String ckType, @Param("search") String search)
    {
        return tCkPickingwavegoodsBackMapper.selectTCkPickingwavegoodsBakByCreateDate(startDate, endDate, ckType, search);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param tCkPickingwavegoodsBack 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<TCkPickingwavegoodsBack> selectTCkPickingwavegoodsBackList(TCkPickingwavegoodsBack tCkPickingwavegoodsBack)
    {
        return tCkPickingwavegoodsBackMapper.selectTCkPickingwavegoodsBackList(tCkPickingwavegoodsBack);
    }

    /**
     * 查询(空托)
     *
     * @param tCkPickingwavegoodsBack 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<TCkPickingwavegoodsBack> selectTCkPickingwavegoodsBackEmpty(TCkPickingwavegoodsBack tCkPickingwavegoodsBack) {
        return tCkPickingwavegoodsBackMapper.selectTCkPickingwavegoodsBackEmpty(tCkPickingwavegoodsBack);
    }

    /**
     * 查询(不含空托)
     *
     * @param tCkPickingwavegoodsBack 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<TCkPickingwavegoodsBack> selectTCkPickingwavegoodsBackWithoutEmpty(TCkPickingwavegoodsBack tCkPickingwavegoodsBack) {
        return tCkPickingwavegoodsBackMapper.selectTCkPickingwavegoodsBackWithoutEmpty(tCkPickingwavegoodsBack);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param tCkPickingwavegoodsBack 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertTCkPickingwavegoodsBack(TCkPickingwavegoodsBack tCkPickingwavegoodsBack)
    {
        return tCkPickingwavegoodsBackMapper.insertTCkPickingwavegoodsBack(tCkPickingwavegoodsBack);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param tCkPickingwavegoodsBack 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateTCkPickingwavegoodsBack(TCkPickingwavegoodsBack tCkPickingwavegoodsBack)
    {
        return tCkPickingwavegoodsBackMapper.updateTCkPickingwavegoodsBack(tCkPickingwavegoodsBack);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param pickingids 需要删除的【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteTCkPickingwavegoodsBackByPickingids(String pickingids)
    {
        return tCkPickingwavegoodsBackMapper.deleteTCkPickingwavegoodsBackByPickingids(Convert.toStrArray(pickingids));
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param pickingid 【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteTCkPickingwavegoodsBackByPickingid(String pickingid)
    {
        return tCkPickingwavegoodsBackMapper.deleteTCkPickingwavegoodsBackByPickingid(pickingid);
    }
}
