zss
2023-09-01 a92b6f6175b1401071e5fb3bd9fab8a2a3b72011
standard-server/src/main/java/com/yuanchu/limslaboratory/service/ProductService.java
@@ -16,26 +16,46 @@
 * @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);
    void deleteProductInformation(List<Integer> SpecificationsId);
    /**
     * 通过项目名查询项目的试验方法
     * @param name
     * 展示该型号下的检验项目要求-->选择版本
     * @param specificationsId
     * @return
     */
    List<Map> selectInstrumentByProname(String name);
    List<Integer> chooseVersion(Integer specificationsId);
    /**
     * 展示该型号下的检验项目要求
     * @param specificationsId
     * @return
     */
    List<Map<String,Object>> pageProductInformation(Integer specificationsId,Integer version);
    /**
     * 填写标准值与内控值,鼠标移开保存
     * @param id
     * @param required
     * @param internal
     * @return
     */
    Integer write(Integer id, String required, String internal);
    void deleteList(String ids);
    /**
     * 添加同一个型号的其他版本
     * @param specificationsId
     * @return
     */
    Integer addVersion(Integer specificationsId,Integer version);
    /**
     * 查询该型号下的所有试验项目(父类)
     * @param modelId
     * @return
     */
    List<Map<String,Object>> chooseProject(Integer modelId);
}