package com.shkj.wms.mapper;


import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shkj.wms.bo.BasePunchRecordQueryBo;
import com.shkj.wms.domain.BasePunch;
import com.shkj.wms.domain.BasePunchRecord;
import com.shkj.wms.vo.BasePunchRecordVo;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 冲孔机冲孔记录Mapper接口
 *
 * @author zjx
 * @date 2023-04-20
 */

public interface BasePunchRecordMapper extends BaseMapper<BasePunchRecord> {
    /**
     * 查询冲孔机冲孔记录
     *
     * @param id 冲孔机冲孔记录主键
     * @return 冲孔机冲孔记录
     */
    public  BasePunchRecord selectBasePunchRecordById(Long id);

    /**
     * 查询冲孔机冲孔记录列表
     *
     * @param basePunchRecord 设备管
     * @return 冲孔机冲孔记录集合
     */
    public  List<BasePunchRecord> selectBasePunchRecordList(BasePunchRecord basePunchRecord);

    /**
     * 新增冲孔机冲孔记录
     *
     * @param basePunchRecord 冲孔机冲孔记录
     * @return 结果
     */
    public int insertBasePunchRecord(BasePunchRecord basePunchRecord);

    /**
     * 修改冲孔机冲孔记录
     *
     * @param basePunchRecord 冲孔机冲孔记录
     * @return 结果
     */
    public int updateBasePunchRecord(BasePunchRecord basePunchRecord);

    /**
     * 删除冲孔机冲孔记录
     *
     * @param id 冲孔机冲孔记录主键
     * @return 结果
     */
    public int deleteBasePunchRecordById(Long id);



    /**
     * 查询冲孔机的任务数量及状态
     *
     * @param basePunchRecord 冲孔机设定
     * @return 冲孔机任务集合
     */
    public BasePunchRecord selectBasePunchRecord(BasePunchRecordQueryBo basePunchRecord);
}
