package cn.iocoder.yudao.module.mes.dal.mysql.dvrepair;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import cn.iocoder.yudao.framework.mybatis.core.query.LambdaQueryWrapperX;
import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
import cn.iocoder.yudao.module.mes.dal.dataobject.dvrepair.DvRepairLineDO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 设备维修记录行 Mapper
 *
 * @author 内蒙必硕
 */
@Mapper
public interface DvRepairLineMapper extends BaseMapperX<DvRepairLineDO> {

    default List<DvRepairLineDO> selectListByRepairId(Long repairId) {
        return selectList(DvRepairLineDO::getRepairId, repairId);
    }

    default int deleteByRepairId(Long repairId) {
        return delete(DvRepairLineDO::getRepairId, repairId);
    }

}