package com.jeeplus.assess.program.configuration.projectList.mapper;

import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jeeplus.assess.program.configuration.projectList.domain.ProgramReportNo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Entity com.jeeplus.test.program.configuration.projectList.domain.ProgramReportNo
 */
@Mapper
public interface ProgramReportNoMapper extends BaseMapper<ProgramReportNo> {

    /**
     * 根据项目id查报告号信息
     * 过滤限制保留
     * @param id
     * @return
     */
    @InterceptorIgnore(tenantLine = "true")
    ProgramReportNo selectByProgramId(String id);
    @InterceptorIgnore(tenantLine = "true")
    List<ProgramReportNo> getByProgramId(@Param("id") String id);
    @InterceptorIgnore(tenantLine = "true")
    List<ProgramReportNo> getCancelledProject();
    @InterceptorIgnore(tenantLine = "true")
    List<ProgramReportNo> selectByNo(@Param("reportNo") String reportNo);
}




