| | |
| | | package com.yuanchu.limslaboratory.service; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.yuanchu.limslaboratory.pojo.Product; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | import java.util.Objects; |
| | | |
| | | |
| | | /** |
| | |
| | | * @since 2023-07-17 |
| | | */ |
| | | public interface ProductService extends IService<Product> { |
| | | void deleteProductInformation(List<Integer> SpecificationsId); |
| | | |
| | | /*通过物料id获取物料信及下属的项目列表*/ |
| | | List<Product> selectProductByMaterialId(int materialId); |
| | | IPage<Map<String, Object>> pageProductInformation(String productCodeOrName, Page<Objects> page); |
| | | |
| | | 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); |
| | | List<Map<String, Object>> pageFatherNameProductInformation(String fatherName); |
| | | } |