zss
2023-09-05 b9e2c1619cf61bcd5f24b858fff738244d20566e
standard-server/src/main/java/com/yuanchu/mom/mapper/ProductMapper.java
@@ -15,7 +15,32 @@
*/
public interface ProductMapper extends BaseMapper<Product> {
    List<ProductDto> selectTreeProduct(String specifications, String project);
    //根据型号id查询项目(技术指标)
    List<Map<String, Object>> selectProductList(Integer specificationsId);
    //根据型号id查询所有版本
    List<Integer> selectVerByPro(Integer specificationsId);
    //右侧数据展示-->技术指标(检验项目)
    List<Map<String, Object>> selectAllPro(Integer specificationsId, Integer version,String message);
    //右上角新增-->技术指标-->选择项目父类
    List<Map<String, Object>> chooseFather(Integer technologyId);
    //根据型号id查询该型号下的所有工艺的技术指标
    List<Product> selAllBySpeId(Integer specificationsId,Integer version);
    //根据工艺路线id删除技术指标
    void delProByTecId(Integer id);
    //根据工艺路线id批量删除
    void delAllByTechId(String ids);
    //根据技术指标id批量删除
    void delAllPro(String ids);
    //查询标准BOM技术指标中该型号工艺下最新版本的检验项目
    List<Product> selProByVerSpe(Integer technologyId, Integer ver);
}