zss
2023-09-11 19b596d3c05b1ca7ff80d8b802e7f6e03ad77dad
standard-server/src/main/java/com/yuanchu/mom/service/ProductService.java
@@ -14,7 +14,74 @@
*/
public interface ProductService extends IService<Product> {
    List<ProductDto> selectTreeProduct(String specifications, String project);
    /**
     * 根据型号id查询项目(技术指标)
     * @param specificationsId
     * @return
     */
    List<Map<String, Object>> selectProductList(Integer specificationsId);
    /**
     * 根据型号id查询版本
     * @param specificationsId
     * @return
     */
    List<Integer> selectVerByPro(Integer specificationsId);
    /**
     *右侧数据展示-->技术指标(检验项目)
     * @param specificationsId
     * @param version
     * @return
     */
    List<Map<String,Object>> selectAllPro(Integer specificationsId, Integer version,String message);
    /**
     * 右上角新增-->技术指标-->选择工序,工艺
     * @param specificationsId
     * @return
     */
    List<Map<String,Object>> chooseTech(Integer specificationsId);
    /**
     * 右上角新增-->技术指标-->选择项目父类
     * @param technologyId
     * @return
     */
    List<Map<String,Object>> chooseFather(Integer technologyId);
    /**
     * 右上角新增-->技术指标
     * @param technologyId
     * @param productDto
     */
    void addProduct(Integer technologyId, ProductDto productDto);
    /**
     * 填写标准值与内控值,鼠标移开保存
     * @param id
     * @param required
     * @param internal
     * @return
     */
    String write(Integer id, String required, String internal);
    /**
     * 删除
     * @param id
     */
    void delProById(Integer id);
    /**
     * 批量删除
     * @param ids
     */
    void delAllPro(String ids);
    /**
     * 查询标准BOM技术指标中该型号工艺下的检验项目
     * @param technologyId
     * @return
     */
    List<Product> selProByVerSpe(Integer technologyId);
}