| | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.yuanchu.limslaboratory.pojo.InspectionMaterialList; |
| | | import com.yuanchu.limslaboratory.pojo.Plan; |
| | | import com.yuanchu.limslaboratory.pojo.dto.InspectionMaterialListDto; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | * @since 2023-07-17 |
| | | */ |
| | | public interface InspectionMaterialListService extends IService<InspectionMaterialList> { |
| | | |
| | | /** |
| | | * 查询检验单里面的物料信息 |
| | | * @param insId |
| | | * @return |
| | | */ |
| | | List<InspectionMaterialList> selectInspectionMaterialListByInsId(String insId); |
| | | |
| | | InspectionMaterialList addInspectionMaterialList(InspectionMaterialList inspectionMaterialList,String userId); |
| | | /** |
| | | * 添加检验单中的检验样品 |
| | | * @param inspectionMaterialList |
| | | * @param userId |
| | | * @return |
| | | */ |
| | | void addInspectionMaterialList(InspectionMaterialList inspectionMaterialList,String userId); |
| | | |
| | | boolean delInspectionMaterialListByInsId(int inspectionMaterialListId); |
| | | /** |
| | | * 根据检验样品id删除样品信息 |
| | | * @param inspectionMaterialListId |
| | | * @return |
| | | */ |
| | | void delInspectionMaterialListByInsId(int inspectionMaterialListId); |
| | | |
| | | /** |
| | | *根据样品id修改样品信息 |
| | | * @param inspectionMaterialListId |
| | | * @param inspectionMaterialListDto |
| | | * @return |
| | | */ |
| | | void updateInspectionMaterialList(Integer inspectionMaterialListId, InspectionMaterialListDto inspectionMaterialListDto); |
| | | } |