package com.yuanchu.limslaboratory.service;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.yuanchu.limslaboratory.pojo.InspectionRecords;
|
import com.yuanchu.limslaboratory.pojo.dto.InspectionRecordsDto;
|
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* 检测记录(InspectionRecords)表服务接口
|
*
|
* @author zss
|
* @since 2023-07-24 14:05:12
|
*/
|
public interface InspectionRecordsService extends IService<InspectionRecords> {
|
|
/**
|
* 根据样品编号id以及状态(待提交)查询检测记录
|
* @param productId
|
* @return
|
*/
|
InspectionRecordsDto selectByProductId(Integer productId, Integer submitState);
|
|
/**
|
* 根据样品编号id以及状态(待提交)修改检测记录
|
* @param inspectionRecordsDto
|
*/
|
void upByProductId(InspectionRecordsDto inspectionRecordsDto);
|
|
/**
|
* 根据检验记录id修改提交状态
|
* @param id
|
*/
|
void submitRecords(Integer id);
|
|
|
}
|