package com.yuanchu.limslaboratory.service;
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.yuanchu.limslaboratory.pojo.ProductModel;
|
import com.yuanchu.limslaboratory.pojo.dto.ProductModelDto;
|
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* 基础项目模版表(ProductModel)表服务接口
|
*
|
* @author zss
|
* @since 2023-08-19 11:00:39
|
*/
|
public interface ProductModelService extends IService<ProductModel> {
|
|
|
/**
|
* 选择样品
|
* @return
|
*/
|
List<String> selectmater();
|
|
/**
|
* 添加标准-->选择项目分组
|
* @return
|
*/
|
List<String> selectfather();
|
|
/**
|
* 添加标准
|
* @param productModelDto
|
*/
|
void addproductModel(ProductModelDto productModelDto);
|
|
|
/**
|
* 查询标准模版列表
|
* @param name
|
* @param father
|
* @param material
|
* @return
|
*/
|
List<Map<String,Object>> selectproductModel(String name, String father, String material);
|
|
/**
|
* 根据id查询
|
* @param id
|
* @return
|
*/
|
ProductModelDto selectproductModelById(Integer id);
|
|
/**
|
* 编辑
|
* @param id
|
* @param productModelDto
|
*/
|
void writeproductModel(Integer id, ProductModelDto productModelDto);
|
|
/**
|
* 删除
|
* @param id
|
*/
|
void delproductModel(Integer id);
|
|
/**
|
* 批量删除
|
* @param ids
|
*/
|
void delAllproductModel(String ids);
|
|
|
|
}
|