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<Product> {
|
|
//根据型号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);
|
}
|