package com.ximai.mes.pro.mapper.proWorkOrder;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ximai.mes.pro.domain.proWorkOrder.ProWorkOrderDtaRecord;

import java.util.List;

/**
 * dto排版记录Mapper接口
 *
 * @author generator
 * @date 2024-05-18
 */
public interface ProWorkOrderDtaRecordMapper extends BaseMapper<ProWorkOrderDtaRecord> {
    /**
     * 查询dto排版记录
     *
     * @param id dto排版记录主键
     * @return dto排版记录
     */
    ProWorkOrderDtaRecord selectProWorkOrderDtaRecordById(Long id);

    /**
     * 查询dto排版记录列表
     *
     * @param proWorkOrderDtaRecord dto排版记录
     * @return dto排版记录集合
     */
    List<ProWorkOrderDtaRecord> selectProWorkOrderDtaRecordList(ProWorkOrderDtaRecord proWorkOrderDtaRecord);

    /**
     * 新增dto排版记录
     *
     * @param proWorkOrderDtaRecord dto排版记录
     * @return 结果
     */
    int insertProWorkOrderDtaRecord(ProWorkOrderDtaRecord proWorkOrderDtaRecord);

    /**
     * 修改dto排版记录
     *
     * @param proWorkOrderDtaRecord dto排版记录
     * @return 结果
     */
    int updateProWorkOrderDtaRecord(ProWorkOrderDtaRecord proWorkOrderDtaRecord);

    /**
     * 删除dto排版记录
     *
     * @param id dto排版记录主键
     * @return 结果
     */
    int deleteProWorkOrderDtaRecordById(Long id);

    /**
     * 批量删除dto排版记录
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    int deleteProWorkOrderDtaRecordByIds(Long[] ids);
}
