package com.yuanchu.mom.service;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.yuanchu.mom.pojo.Technique;
|
import com.yuanchu.mom.pojo.dto.TechniqueDto;
|
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* 标准BOM-生产工艺表(Technique)表服务接口
|
*
|
* @author zss
|
* @since 2023-08-31 11:57:53
|
*/
|
public interface TechniqueService extends IService<Technique> {
|
|
/**
|
* 根据型号id查询所有版本
|
* @param specificationsId
|
* @return
|
*/
|
List<Integer> selectVerByTeq(Integer specificationsId);
|
|
/**
|
* 右侧数据展示-->生产工艺
|
* @param specificationsId
|
* @param version
|
* @return
|
*/
|
List<Map<String,Object>> selectAllTeq(Integer specificationsId, Integer version,String message);
|
|
/**
|
* 右上角新增-->生产工艺-->选择工序,工艺
|
* @param specificationsId
|
* @return
|
*/
|
List<Map<String,Object>> chooseTech(Integer specificationsId);
|
|
/**
|
* 右上角新增-->生产工艺-->选择设备
|
* @param technologyId
|
* @return
|
*/
|
List<Map<String,Object>> chooseDev(Integer technologyId);
|
|
/**
|
*右上角新增-->生产工艺-->选择项目(父子),单位
|
* @param technologyId
|
* @return
|
*/
|
List<Map<String,Object>> choosePro(Integer technologyId);
|
|
/**
|
* 右上角新增-->生产工艺
|
* @param technologyId
|
* @param techniqueDto
|
*/
|
void addTechnique(Integer technologyId, TechniqueDto techniqueDto);
|
|
/**
|
* 添加同一个型号生产工艺的版本
|
* @param specificationsId
|
* @return
|
*/
|
Integer addVersion(Integer specificationsId,Integer version);
|
|
/**
|
* 删除
|
* @param id
|
*/
|
void delTeqById(Integer id);
|
|
/**
|
* 批量删除
|
* @param ids
|
*/
|
void delAllTeq(String ids);
|
}
|