zss
2023-07-27 0e1722e96e5483d560eda8f1cf96282955d4f224
standard-server/src/main/java/com/yuanchu/limslaboratory/service/ProductService.java
@@ -6,6 +6,7 @@
import java.util.List;
import java.util.Map;
/**
 * <p>
 *  服务类
@@ -17,6 +18,24 @@
public interface ProductService extends IService<Product> {
    /*通过物料id获取物料信及下属的项目列表*/
    List<Product> selectProductByMaterialId(int materialId);
    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);
}