zss
2023-07-27 0e1722e96e5483d560eda8f1cf96282955d4f224
standard-server/src/main/java/com/yuanchu/limslaboratory/service/ProductService.java
@@ -2,10 +2,10 @@
import com.yuanchu.limslaboratory.pojo.Product;
import com.baomidou.mybatisplus.extension.service.IService;
import io.swagger.models.auth.In;
import java.util.List;
import java.util.Map;
/**
 * <p>
@@ -17,13 +17,25 @@
 */
public interface ProductService extends IService<Product> {
    /*通过物料id获取物料信及下属的项目列表*/
    List<Product> selectProductByMaterialId(String materialId);
    Integer addProductInformation(Product product);
    List<Map<String, Object>> getListProductInformation(Integer materialId);
    List<Map<String, Object>> getListProductInformation(String materialId);
    Map<String, Object> getProductInformation(Integer productId);
    Integer deleteProductInformation(Integer productId);
    void deleteProductEqMaterialId(List<String> materialListId);
    void MaterialIdDeleteProduct(List<String> deleteMaterialId);
    Integer updateMaterialInformation(Product product);
    /**
     * 通过项目名查询项目的试验方法
     * @param name
     * @return
     */
    List<Map> selectInstrumentByProname(String name);
}