| | |
| | | |
| | | import com.yuanchu.limslaboratory.pojo.Product; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import io.swagger.models.auth.In; |
| | | import com.yuanchu.limslaboratory.pojo.dto.StandardProductAddDto; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | * @since 2023-07-17 |
| | | */ |
| | | public interface ProductService extends IService<Product> { |
| | | void deleteProductInformation(List<Integer> SpecificationsId); |
| | | |
| | | Integer addProductInformation(Product product); |
| | | /** |
| | | * 展示该型号下的检验项目要求-->选择版本 |
| | | * @param specificationsId |
| | | * @return |
| | | */ |
| | | List<Integer> chooseVersion(Integer specificationsId); |
| | | |
| | | List<Map<String, Object>> getListProductInformation(Integer materialId); |
| | | |
| | | Map<String, Object> getProductInformation(Integer productId); |
| | | /** |
| | | * 展示该型号下的检验项目要求 |
| | | * @param specificationsId |
| | | * @return |
| | | */ |
| | | List<Map<String,Object>> pageProductInformation(Integer specificationsId,Integer version); |
| | | |
| | | Integer deleteProductInformation(Integer productId); |
| | | /** |
| | | * 填写标准值与内控值,鼠标移开保存 |
| | | * @param id |
| | | * @param required |
| | | * @param internal |
| | | * @return |
| | | */ |
| | | Integer write(Integer id, String required, String internal); |
| | | |
| | | void deleteProductEqMaterialId(List<String> materialListId); |
| | | void deleteList(String ids); |
| | | |
| | | /** |
| | | * 添加同一个型号的其他版本 |
| | | * @param specificationsId |
| | | * @return |
| | | */ |
| | | Integer addVersion(Integer specificationsId,Integer version); |
| | | |
| | | |
| | | /** |
| | | * 查询该型号下的所有试验项目(父类) |
| | | * @param modelId |
| | | * @return |
| | | */ |
| | | List<Map<String,Object>> chooseProject(Integer modelId); |
| | | |
| | | String addProduct(StandardProductAddDto dto); |
| | | } |