package com.chinaztt.mes.quality.mapper;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.chinaztt.mes.quality.entity.QualityMainIfsReport;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
|
|
/**
|
* @Description : 检测汇报对接ifs工序报工回应对照表mapper
|
* @interfaceName : QualityMainIfsReportMapper
|
* @Author : sll
|
* @Date: 2022-07-19 19:57
|
*/
|
@Mapper
|
public interface QualityMainIfsReportMapper extends BaseMapper<QualityMainIfsReport>{
|
/**
|
* 根据汇报材料id判断是否对接过ifs工序报工
|
* @param id
|
* @return true:对接过;false:未对接过
|
*/
|
Boolean isAlReportOperationBySystemNo(@Param("id") Long id);
|
|
/**
|
* 根据检测汇报id删除 检测汇报对接ifs工序报工回应对照表
|
* @param reportId 检测汇报id
|
*/
|
void delRecordsByReportId(@Param("reportId") Long reportId);
|
|
/**
|
* 根据检测汇报id获取 检测汇报对接ifs工序报工回应对照表
|
* @param reportId 检测汇报id
|
* @return
|
*/
|
List<QualityMainIfsReport> getQualityMainIfsReportListByReportId(@Param("reportId") Long reportId);
|
}
|