Fixiaobai
2023-09-06 8abe275e36823f1065300af45e1f7a9a68f549a7
standard-server/src/main/java/com/yuanchu/limslaboratory/mapper/ProductMapper.java
@@ -4,6 +4,8 @@
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuanchu.limslaboratory.pojo.Product;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yuanchu.limslaboratory.pojo.dto.StandardProductAddDto;
import org.apache.ibatis.annotations.Param;
import java.util.List;
@@ -24,8 +26,21 @@
    List<Map> selectProductByMaterialId(int materialId);
    //展示该型号下的检验项目要求
    List<Map<String, Object>> pageProductInformation(Integer specificationsId);
    List<Map<String, Object>> pageProductInformation(Integer specificationsId,Integer version);
    void deleteList(String ids);
    //展示该型号下的检验项目要求-->选择版本
    List<Integer> chooseVersion(Integer specificationsId);
    //查询该型号下的所有试验项目(父类)
    List<Map<String,Object>> chooseProject(Integer modelId);
    //根据项目父类,型号id,版本查询二级详情
    List<Map<String, Object>> selFath(Integer specificationId, String exper, Integer version);
    //根据项目父类为空,项目名,型号id,版本查询
    Map<String, Object> selNam(Integer specificationId, String exper, Integer version);
    int addProduct(Product product);
}