package com.yuanchu.limslaboratory.service;
|
|
import com.yuanchu.limslaboratory.pojo.Product;
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
import java.util.List;
|
import java.util.Map;
|
|
|
/**
|
* <p>
|
* 服务类
|
* </p>
|
*
|
* @author 江苏鵷雏网络科技有限公司
|
* @since 2023-07-17
|
*/
|
public interface ProductService extends IService<Product> {
|
|
/*通过物料id获取物料信及下属的项目列表*/
|
List<Product> selectProductByMaterialId(String materialId);
|
|
Integer addProductInformation(Product product);
|
|
List<Map<String, Object>> getListProductInformation(String materialId);
|
|
Map<String, Object> getProductInformation(Integer productId);
|
|
Integer deleteProductInformation(Integer productId);
|
|
void MaterialIdDeleteProduct(List<String> deleteMaterialId);
|
|
Integer updateMaterialInformation(Product product);
|
|
/**
|
* 通过项目名查询项目的试验方法
|
* @param name
|
* @return
|
*/
|
List<Map> selectInstrumentByProname(String name);
|
}
|