package com.yuanchu.mom.mapper; import com.yuanchu.mom.pojo.Product; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.yuanchu.mom.pojo.dto.ProductDto; import java.util.List; import java.util.Map; /** * @author Administrator * @description 针对表【product】的数据库操作Mapper * @createDate 2023-07-26 16:00:44 * @Entity com.yuanchu.mom.pojo.Product */ public interface ProductMapper extends BaseMapper { //根据型号id查询项目(技术指标) List> selectProductList(Integer specificationsId); //根据型号id查询所有版本 List selectVerByPro(Integer specificationsId); //右侧数据展示-->技术指标(检验项目) List> selectAllPro(Integer specificationsId, Integer version,String message); //右上角新增-->技术指标-->选择项目父类 List> chooseFather(Integer technologyId); //根据型号id查询该型号下的所有工艺的技术指标 List selAllBySpeId(Integer specificationsId,Integer version); //根据工艺路线id删除技术指标 void delProByTecId(Integer id); //根据工艺路线id批量删除 void delAllByTechId(String ids); //根据技术指标id批量删除 void delAllPro(String ids); //查询标准BOM技术指标中该型号工艺下的检验项目 List selProByVerSpe(Integer technologyId); }