package com.shkj.wcs.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shkj.common.core.domain.Result;
import com.shkj.wcs.bo.BasePunchRecordQueryBo;
import com.shkj.wcs.domain.BasePunch;
import com.shkj.wcs.domain.BasePunchRecord;
import com.shkj.wcs.vo.BasePunchRecordVo;

import java.util.List;

/**
 * 冲孔机冲孔记录Service接口
 *
 * @author zjx
 * @date 2023-05-12
 */
public interface IBasePunchRecordService extends IService<BasePunchRecord>{
    /**
     * 查询冲孔机冲孔记录
     *
     * @param id 冲孔机冲孔记录主键
     * @return 冲孔机冲孔记录
     */
    public BasePunchRecord selectBasePunchRecordById(Long id);

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


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



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

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


}
